High
−
level Instructions
3
−
297
Description
Checks the state [on (1) or off (0)] of bit position specified by n in the 16-bit data specified by D. The judgment
result is output to special internal relay R900B (=flag).
The specified bit is checked by special internal relay R900B.
−
When the specified bit is on (1), special internal relay R900B (= flag) turns off.
−
When the specified bit is off (0), special internal relay R900B (= flag) turns on.
The “n” is decimal data specifying the bit position to be checked. Range of “n”: K0 to K15
n
· ··
·
Bit position
·
· ·
· ·
15
12 11
8 7
4 3
0
The data in bit positions
4 through 15 are invalid.
Range of “n”: K0 to K15 (H0 to HF)
— — — — — — — —
— — — —
0 0 0 0
Precaution when the judgement flag R900B is used two or more times
The judgment flag R900B is updated each time an operation instruction or comparison instruction is
executed.
If the judgment flag is used two or more times,
−
the program in which the judgment flag is used should be input immediately following the instruction
which executes the judgment.
−
the flag should be output to output relays or internal relays for each separate instruction.
Flag conditions
・
Error flag (R9007): Turns on and stays on when the area specified using the index modifier
exceeds the limit.
・
Error flag (R9008): Turns on for an instant when the area specified using the index modifier
exceeds the limit.
・
= flag (R900B):
Turns on for an instant when the specified bit to be checked is in the off (0)
state.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...