![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268572.webp)
533
Conversion Instructions
Section 3-12
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.
Flags
Examples
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.
Name
Label
Operation
Error Flag
ER
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.
Equals Flag
=
OFF in all cases.
Negative Flag
N
OFF in all cases.
GRY
0010
D00000
D00200
000000
C
S
D
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...