Table of Contents
6
5. Bit-shift instructions.................................................................................93
SHR Shift bits to the right
94
SHL Shift bits to the left
96
ROR Rotate N bits the right
98
ROL Rotate N bits to the left
100
6. Comparison instructions........................................................................103
GT Greater than
104
GE Greater than or equal to
106
EQ Equal to
108
LE Less than or equal to
109
LT Less than
110
NE Not equal
111
WITHIN_LIMITS Evaluate if a value is within the limits
112
7. Conversion instructions.........................................................................113
WORD_TO_BOOL WORD in BOOL
114
DWORD_TO_BOOL DOUBLE WORD in BOOL
115
INT_TO_BOOL INTEGER into BOOL
116
DINT_TO_BOOL DOUBLE INTEGER into BOOL
117
UINT_TO_BOOL Unsigned INTEGER into BOOL
118
UDINT_TO_BOOL Unsigned DOUBLE INTEGER into BOOL
119
BOOL_TO_WORD BOOL into WORD
120
BOOL16_TO_WORD BOOL16 to WORD
121
BOOLS_TO_WORD 16 Variables of the data type BOOL to WORD
122
DWORD_TO_WORD DOUBLE WORD in WORD
124
INT_TO_WORD INTEGER into WORD
125
DINT_TO_WORD DOUBLE INTEGER into WORD
126
UINT_TO_WORD Unsigned INTEGER into WORD
127
UDINT_TO_WORD Unsigned DOUBLE INTEGER into WORD
128
TIME_TO_WORD TIME into WORD
129
STRING_TO_WORD STRING (hexadecimal format) to WORD
130
STRING_TO_WORD_STEPSAVE
R
STRING (Hexadecimal Format right-justified) to WORD
131
BOOL_TO_DWORD BOOL into DOUBLE WORD
132
BOOL32_TO_DWORD BOOL32 to DOUBLE WORD
133
BOOLS_TO_DWORD 32 Variables of the data type BOOL to DWORD
134
WORD_TO_DWORD WORD in DOUBLE WORD
136
INT_TO_DWORD INTEGER into DOUBLE WORD
137