Publication 1763-RM001C-EN-P - October 2009
How to Use 40kHz PTO/PWM of MicroLogix 1100 Series B Controller
573
Otherwise, variable type should be changed to Long Type (32-bit) by
CPW instruction before the execution of these instructions as shown
below.
•
LES/ LEQ/ GRT/ GEQ/ LIM Instruction
The operands of LES, LEQ, GRT, GEQ and LIM instruction work as signed
value, but JF, OF, OFS of PTO/PWM are unsigned 16-bit variable at
MicroLogix 1100 Series B controller. Therefore, these instructions could
cause undesired results when JF, OF and OFS of PTO/PWM values are
greater than 32767. For example, assume the PWM:0.OF value is 35000
and the value to compare is 100. Actually, PWM:0.OF is greater than 100,
but the executed result of this instruction is just the opposite.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive