Conversion Instructions
Flags
Examples
532
condition in a CPU Unit that does not support it, an error will occur and pro-
gram execution will stop.
■ Restrictions on the CX-Programmer
GRY(474) can be used only with CX-Programmer version 3.2 or later.
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
When CIO 000000 is ON in the following example, the gray binary code in
CIO 0010 is converted according to the settings in the control data in D00000
to D00002 and the result is output to D00200 and D00201.
000000
ON if bits 12 to 15 of C are not 0 hex (operating mode =
gray binary code conversion).
ON if the zero point offset in C+1 is not within the specified
resolution (including user-specified resolutions).
ON if bits 04 to 07 of C are not 0 hex (= Binary Mode),
1 hex (= BCD Mode), or 2 hex (= 360 Mode).
ON if the specified encoder remainder compensation
exceeds the set user-specified resolution when bits 00 to
03 of C are 0 hex (= user-specified resolution).
ON if the converted binary value is less than the encoder
remainder compensation when bits 00 to 03 of C are 0 hex
(= user-specified resolution).
ON if the converted binary value is less than the resolution
when bits 00 to 03 of C are 0 hex (= user-specified resolu-
tion).
OFF in all other cases.
OFF in all cases.
OFF in all cases.
GRY
D00000
C
S
0010
D
D00200
Section 3-12
Operation
Need help?
Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?