Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 235 of 271)
 
 
IPIN
 
IPIN refers to an input pin. The argument is the input number. IPIN [32] is the 32nd input.
The IPIN statements can be used in conditional statement or to assign variables.
 
Examples:  
IF IPIN[20] EQ 1 THEN PB50=1
 
WHILE IPIN[10] NE 0 
M62
M63 
WEND
P5=P3 + IPIN[41]
 
OPIN
 
OPIN refers to an output pin. The argument is the output number. OPIN [14] is the 14th
output. The OPIN statements can be used in conditional statements or to assign variables.