elektronik67
Üye
- Katılım
- 20 Eyl 2006
- Mesajlar
- 440
- Puanları
- 1
- Yaş
- 40
Arkadaşlar merhaba,
Aşağıdaki programı kısa yoldan yapma yöntemi var mıdır? Yardımlarınızı rica ederim.
IF #QShiftRegister[53]= True THEN
#bDenemeCapSensor := True;
ELSIF #QShiftRegister[100]= True AND NOT #QShiftRegister[53]= True AND NOT #QShiftRegister[54]= True AND NOT #QShiftRegister[55]= True AND NOT #QShiftRegister[56]= True
AND NOT #QShiftRegister[57]= True AND NOT #QShiftRegister[58]= True AND NOT #QShiftRegister[59]= True AND NOT #QShiftRegister[60]= True AND NOT #QShiftRegister[61]= True AND NOT #QShiftRegister[62]= True
AND NOT #QShiftRegister[63]= True AND NOT #QShiftRegister[64]= True AND NOT #QShiftRegister[65]= True
AND NOT #QShiftRegister[66]= True AND NOT #QShiftRegister[67]= True AND NOT #QShiftRegister[68]= True
AND NOT #QShiftRegister[69]= True AND NOT #QShiftRegister[70]= True AND NOT #QShiftRegister[71]= True
AND NOT #QShiftRegister[72]= True AND NOT #QShiftRegister[73]= True AND NOT #QShiftRegister[74]= True
AND NOT #QShiftRegister[75]= True AND NOT #QShiftRegister[76]= True AND NOT #QShiftRegister[77]= True
AND NOT #QShiftRegister[78]= True
AND NOT #QShiftRegister[79]= True AND NOT #QShiftRegister[80]= True AND NOT #QShiftRegister[81]= True
AND NOT #QShiftRegister[82]= True
AND NOT #QShiftRegister[83]= True AND NOT #QShiftRegister[84]= True AND NOT #QShiftRegister[85]= True
AND NOT #QShiftRegister[86]= True
AND NOT #QShiftRegister[87]= True AND NOT #QShiftRegister[87]= True AND NOT #QShiftRegister[89]= True
AND NOT #QShiftRegister[90]= True
AND NOT #QShiftRegister[91]= True AND NOT #QShiftRegister[92]= True AND NOT #QShiftRegister[93]= True
AND NOT #QShiftRegister[94]= True
AND NOT #QShiftRegister[95]= True AND NOT #QShiftRegister[96]= True AND NOT #QShiftRegister[97]= True
AND NOT #QShiftRegister[98]= True AND NOT #QShiftRegister[99]= True
THEN
#bDenemeCapSensor := False;
END_IF;
Aşağıdaki programı kısa yoldan yapma yöntemi var mıdır? Yardımlarınızı rica ederim.
IF #QShiftRegister[53]= True THEN
#bDenemeCapSensor := True;
ELSIF #QShiftRegister[100]= True AND NOT #QShiftRegister[53]= True AND NOT #QShiftRegister[54]= True AND NOT #QShiftRegister[55]= True AND NOT #QShiftRegister[56]= True
AND NOT #QShiftRegister[57]= True AND NOT #QShiftRegister[58]= True AND NOT #QShiftRegister[59]= True AND NOT #QShiftRegister[60]= True AND NOT #QShiftRegister[61]= True AND NOT #QShiftRegister[62]= True
AND NOT #QShiftRegister[63]= True AND NOT #QShiftRegister[64]= True AND NOT #QShiftRegister[65]= True
AND NOT #QShiftRegister[66]= True AND NOT #QShiftRegister[67]= True AND NOT #QShiftRegister[68]= True
AND NOT #QShiftRegister[69]= True AND NOT #QShiftRegister[70]= True AND NOT #QShiftRegister[71]= True
AND NOT #QShiftRegister[72]= True AND NOT #QShiftRegister[73]= True AND NOT #QShiftRegister[74]= True
AND NOT #QShiftRegister[75]= True AND NOT #QShiftRegister[76]= True AND NOT #QShiftRegister[77]= True
AND NOT #QShiftRegister[78]= True
AND NOT #QShiftRegister[79]= True AND NOT #QShiftRegister[80]= True AND NOT #QShiftRegister[81]= True
AND NOT #QShiftRegister[82]= True
AND NOT #QShiftRegister[83]= True AND NOT #QShiftRegister[84]= True AND NOT #QShiftRegister[85]= True
AND NOT #QShiftRegister[86]= True
AND NOT #QShiftRegister[87]= True AND NOT #QShiftRegister[87]= True AND NOT #QShiftRegister[89]= True
AND NOT #QShiftRegister[90]= True
AND NOT #QShiftRegister[91]= True AND NOT #QShiftRegister[92]= True AND NOT #QShiftRegister[93]= True
AND NOT #QShiftRegister[94]= True
AND NOT #QShiftRegister[95]= True AND NOT #QShiftRegister[96]= True AND NOT #QShiftRegister[97]= True
AND NOT #QShiftRegister[98]= True AND NOT #QShiftRegister[99]= True
THEN
#bDenemeCapSensor := False;
END_IF;