Software functions
7-3
7.1.1.2 Calendar clock
The calendar clock is assigned to Modbus/TCP addresses 160 to 163.
Enter the current year, month, day, and time.
The relationship between the memory address and input address are as follows.
Modbus/TCP address
Data
Memory address Offset address
Upper byte
Lower byte
30161 160
Year
(Western year format ex: 2013 = 2013 (DEC))
30162 161
Month
(ex: August = 0x08 (HEX))
Day
(ex: 30th day = 0x1E (HEX))
30163 162
Hour
(ex: 13:00 = 0x0D (HEX))
Minute
(ex: 26 minutes = 0x1A (HEX))
30164 163
Second
(ex: 21 seconds = 0x15 (HEX))
-
7.1.1.3 Error status
The H/W status indicates the status of the ASLINK transmission line.
The error status consists of error flags, number of error IDs, and 16 error IDs (in ID ascending order) in
which disconnection is detected.
The relationship between error flags and data memory is as follows.
Modbus/TCP address
Data
Memory
address
Offset
address
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
30165 164
15 14 13 12 11 10
9
8
7
6
5
4 3 2 1
0
Bit
Error content
"ERR" LED status
Remarks
0
ON: Short-circuit between DP
and DN
OFF: Normal
Slow flashing
Turns ON when there is a short-circuit
between DP-DN.
Turns OFF when the erroneous state is
canceled.
This state is not retained.
1
Reserved
-
-
2
ON: 24V voltage drop
OFF: Normal
Quick flashing
Turns ON when 24V voltage drops (approx.
19V).
Turns OFF when the erroneous state is
canceled.
This state is not retained.
3
ON: Disconnection or failure
of the unit
OFF: Normal
Lit
This state is retained until the power is
turned off or the error is cleared.
4 - 15 Reserved
-
-
If disconnection or a unit failure occurs, the number of error IDs is written to 165, and up to 16 error IDs
(addresses) are written to addresses 166 to 181.
Modbus/TCP address
Data
Memory
address
Offset
address
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
30166 165
Error ID number
30167 166
Error ID1
30168 167
Error ID2
30169 168
Error ID3
¦
¦
¦
30181 180
Error ID15
30182 181
Error ID16