2.3 Detailed Description of the Services
17
■ Reading Timers, Counters, and Comparators
● Reading Timer Types and Time Units
Timer types and time units can be read. For timers other than twin
timers (normal timer operation), the data is set in the rightmost four
bytes. For twin timers, the data is set in the rightmost and leftmost two
bytes.
Example 1: Twin Timer
Example 2: Other Timers
1101 Area type error The variable type is wrong.
110B Response too long The number of elements is greater
than 0001.
1100 Parameter error • Bit position is not 00.
• The bit address is out of range.
2203 Operation error Unit error (memory error occurred,
or unused command was sent.)
Response
code
Error name Cause
0 0 4 1 0 0 0 2
Command
Response
OFF time unit (example: 2 = H:M)
ON time unit (example: 1 = M:S)
Timer type (example: 4 = twin timer)
[STX]000000101C00001000001
[STX]000000101000000410002
Command
Response
0 0 1 1 0 0 0 0
ON time unit (example: 1 = H:M)
Timer type (example: 1 = OFF delay timer)
[STX]000000101C00001000001
[STX]000000101000000110000