
45
Z Flag
Word n+4, bit 01
The Z flag indicates the status of input Z. When the flag is ON, the input is high;
when the flag is OFF, the input is low. This flag can be accessed during counting.
Note The Z flag may not turn ON if the Z phase pulse width is less than or equal to
the C200H/C200HS cycle time +3 ms.
IN1 Flag
Word n+4, bit 02
The IN1 flag indicates the status of control input IN1. When the flag is ON, the
input is high; when the flag is OFF, the input is low. This flag can be accessed
during counting.
IN2 Flag
Word n+4, bit 03
The IN2 flag indicates the status of control input IN2. When the flag is ON, the
input is high; when the flag is OFF, the input is low. This flag can be accessed
during counting.
Transfer Completed Flag
Word n+4, bit 04
The transfer completed flag is inverted following completion of TRANSFER
DATA.
Error Flag
Word n+4, bit 05
The error flag is turned ON whenever an error has occurred. Information on the
type and location of the error is available in IR word n+5 upon execution of READ
ERROR.
READ ERROR Command
Word n, bit 05
READ ERROR can be set to access information on the error whenever the error
flag is ON. Error information is output to IR word n+5. If more then one error has
occurred, information on other errors can be output to IR word n+5 by again set-
ting READ ERROR. The next error will be output each time this bit is turned ON.
Error Location
Word n+5, bit 07 through 00
The error location gives the rightmost two digits of the DM address, i.e., the word
number, where the data causing the error is stored.
Error Code
Word n+5, bit 15 through 08
Error codes indicate the nature of the error and are given in Appendix A Error
Code List.
Count Overflow Flag
Word n+4, bit 06
The count overflow flag is turned ON when the counter value is greater than
8,388,607 or less than –8,388,608. This flag turns OFF when the next operation
is started.
Reset Flag
Word n+4, bit 07
The reset flag turns ON for one PC cycle time after the Counter Unit is reset.
Current Counter Value
Word n+6 and n+7
The current counter value is accessible in words n+6 and n+7 as 6 BCD digits
with a sign digit.
Range Flags
Word n+8
The number of each bit in IR word n+8 corresponds to a range number. A range
flag is ON whenever the current counter value is within the specified range.
Linear and Circular Modes
Section 4-2
Summary of Contents for SYSMAC C200H-CT001-V1
Page 1: ...Cat No W141 E1 4 High speed Counter Units SYSMAC C200H CT001 V1 CT002 OPERATION MANUAL...
Page 2: ......
Page 3: ...C200H CT001 V1 CT002 High speed Counter Units Operation Manual Revised September 2000...
Page 4: ...iv...
Page 6: ...vi...
Page 8: ......
Page 10: ......
Page 20: ......
Page 46: ......
Page 96: ......
Page 98: ......