47
Program Examples
Section 3-1
Operation
When the command execution input is ON, the number of words in the com-
mand (5) and the beginning word where the command is stored (DM 0800)
are set using MOV, and the command execution flag (10000) is turned ON.
IR 10906 holds this status until the ID Sensor Unit begins executing the com-
mand. While the ID Sensor Unit is executing the command, the ID Busy flag
(word n+4 bit 00) is set to ON. When the write operation is completed, the ID
Busy flag turns OFF.
When the write operation has been completed, the result can be checked with
an error flag. If there has been an error, the Command Error Output (10907)
turns ON.
Note
Although the ID Busy flag normally turns OFF upon completion of the com-
mand, if the command execution flag is ON at this time, the ID Busy flag will
stay ON. Therefore, design the program so that the command execution flag
will be turned OFF when the ID Busy flag turns ON, as in the example.
Содержание SYSMAC C200H-IDS01-V1
Страница 1: ...OPERATION MANUAL ID Sensor SYSMAC C200H IDS01 V1 IDS21 Cat No W153 E1 04...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS Glossary 89 Index 91 Revision History 95...
Страница 9: ......
Страница 15: ...xvi Application Precautions 5...
Страница 25: ......
Страница 95: ......
Страница 97: ......
Страница 98: ...83 Appendix C ASCII Code List ASCII Code List Lower digit lower 4 bits Higher digit higher 4 bits...
Страница 99: ......
Страница 103: ......
Страница 109: ......
Страница 111: ......
Страница 114: ...SYSMAC C200H IDS01 V1 IDS21 ID Sensor Cat No W153 E1 04 OPERATION MANUAL...