%IB6The variables below, contained in the group GLOBAL_SYSTEM of the variable table, have the fixed tag.
Some markers of the BYTE type (%SB or %CB) are allocated in the same Modbus address for registers. In this case:
| • | (L): indicates that it is the least significant byte of te WORD; |
| • | (H): indicates that it is the most significant byte of te WORD. |
Reading System Markers (Status)
Address |
Bit |
Modbus |
Tag |
Description |
Ladder |
||||
%SB0004 |
0 |
0 |
FALSE |
Its value will always remain 0 (zero) |
%SB0004 |
1 |
0 |
TRUE |
Its value will always remain 1 (one) |
%SB0004 |
2 |
0 |
FREQ_2HZ |
Oscillates at 2 Hz |
%SB0004 |
3 |
0 |
PULSE_1SCAN |
Set by a scan cycle in the transition from STOP to RUN of the user program |
PLC State |
||||
%SW0002 |
-- |
60001 |
INTERNAL_VOLTAGE |
Product internal voltage in mV. It should be between 3100mV and 3400mV. |
%SW0004 |
-- |
60002 |
INTERNAL_TEMP |
Product internal temperature in ºC. An alarm is triggered if TEMP > 110º, and the product enters a fault state if TEMP > 120º. |
%SW0006 |
-- |
60003 |
SUPERCAP_VOLTAGE |
Battery/Supercap voltage in mV. |
Task watchdog |
||||
%SB0020 |
0 |
160 |
INTERVAL_TASK1_WATCHDOG |
Watchdog task 1 by time |
%SB0020 |
1 |
161 |
INTERVAL_TASK2_WATCHDOG |
Watchdog task 2 by time |
%SB0020 |
2 |
162 |
INTERVAL_TASK3_WATCHDOG |
Watchdog task 3 by time |
%SB0020 |
3 |
163 |
INTERVAL_TASK4_WATCHDOG |
Watchdog task 4 by time |
%SB0020 |
4 |
164 |
INTERVAL_TASK5_WATCHDOG |
Watchdog task 5 by time |
%SB0020 |
5 |
165 |
INTERVAL_TASK6_WATCHDOG |
Watchdog task 6 by time |
%SB0020 |
6 |
166 |
INTERVAL_TASK7_WATCHDOG |
Watchdog task 7 by time |
%SB0020 |
7 |
167 |
INTERVAL_TASK8_WATCHDOG |
Watchdog task 8 by time |
%SB0021 |
0 |
168 |
INTERVAL_TASK9_WATCHDOG |
Watchdog task 9 by time |
%SB0021 |
1 |
169 |
INTERVAL_TASK10_WATCHDOG |
Watchdog task 10 by time |
%SB0021 |
2 |
170 |
INTERVAL_TASK11_WATCHDOG |
Watchdog task 11 by time |
%SB0021 |
3 |
171 |
INTERVAL_TASK12_WATCHDOG |
Watchdog task 12 by time |
%SB0021 |
4 |
172 |
INTERVAL_TASK13_WATCHDOG |
Watchdog task 13 by time |
%SB0021 |
5 |
173 |
INTERVAL_TASK14_WATCHDOG |
Watchdog task 14 by time |
%SB0021 |
6 |
174 |
INTERVAL_TASK15_WATCHDOG |
Watchdog task 15 by time |
%SB0021 |
7 |
175 |
INTERVAL_TASK16_WATCHDOG |
Watchdog task 16 by time |
%SB0022 |
0 |
176 |
SINGLE_TASK1_WATCHDOG |
Watchdog task 1 by event |
%SB0022 |
1 |
177 |
SINGLE_TASK2_WATCHDOG |
Watchdog task 2 by event |
%SB0022 |
2 |
178 |
SINGLE_TASK3_WATCHDOG |
Watchdog task 3 by event |
%SB0022 |
3 |
179 |
SINGLE_TASK4_WATCHDOG |
Watchdog task 4 by event |
%SB0022 |
4 |
180 |
SINGLE_TASK5_WATCHDOG |
Watchdog task 5 by event |
%SB0022 |
5 |
181 |
SINGLE_TASK6_WATCHDOG |
Watchdog task 6 by event |
%SB0022 |
6 |
182 |
SINGLE_TASK7_WATCHDOG |
Watchdog task 7 by event |
%SB0022 |
7 |
183 |
SINGLE_TASK8_WATCHDOG |
Watchdog task 8 by event |
%SB0023 |
0 |
184 |
SINGLE_TASK9_WATCHDOG |
Watchdog task 9 by event |
%SB0023 |
1 |
185 |
SINGLE_TASK10_WATCHDOG |
Watchdog task 10 by event |
%SB0023 |
2 |
186 |
SINGLE_TASK11_WATCHDOG |
Watchdog task 11 by event |
%SB0023 |
3 |
187 |
SINGLE_TASK12_WATCHDOG |
Watchdog task 12 by event |
%SB0023 |
4 |
188 |
SINGLE_TASK13_WATCHDOG |
Watchdog task 13 by event |
%SB0023 |
5 |
189 |
SINGLE_TASK14_WATCHDOG |
Watchdog task 14 by event |
%SB0023 |
6 |
190 |
SINGLE_TASK15_WATCHDOG |
Watchdog task 15 by event |
%SB0023 |
7 |
191 |
SINGLE_TASK16_WATCHDOG |
Watchdog task 16 by event |
%SB0024 |
0 |
192 |
EXT_EVENT_TASK1_WATCHDOG |
Watchdog task 1 by external event |
%SB0024 |
1 |
193 |
EXT_EVENT_TASK2_WATCHDOG |
Watchdog task 2 by external event |
%SB0024 |
2 |
194 |
EXT_EVENT_TASK3_WATCHDOG |
Watchdog task 3 by external event |
%SB0024 |
3 |
195 |
EXT_EVENT_TASK4_WATCHDOG |
Watchdog task 4 by external event |
%SB0024 |
4 |
196 |
EXT_EVENT_TASK5_WATCHDOG |
Watchdog task 5 by external event |
%SB0024 |
5 |
197 |
EXT_EVENT_TASK6_WATCHDOG |
Watchdog task 6 by external event |
%SB0024 |
6 |
198 |
EXT_EVENT_TASK7_WATCHDOG |
Watchdog task 7 by external event |
%SB0024 |
7 |
199 |
EXT_EVENT_TASK8_WATCHDOG |
Watchdog task 8 by external event |
%SB0025 |
0 |
200 |
EXT_EVENT_TASK9_WATCHDOG |
Watchdog task 9 by external event |
%SB0025 |
1 |
201 |
EXT_EVENT_TASK10_WATCHDOG |
Watchdog task 10 by external event |
%SB0025 |
2 |
202 |
EXT_EVENT_TASK11_WATCHDOG |
Watchdog task 11 by external event |
%SB0025 |
3 |
203 |
EXT_EVENT_TASK12_WATCHDOG |
Watchdog task 12 by external event |
%SB0025 |
4 |
204 |
EXT_EVENT_TASK13_WATCHDOG |
Watchdog task 13 by external event |
%SB0025 |
5 |
205 |
EXT_EVENT_TASK14_WATCHDOG |
Watchdog task 14 by external event |
%SB0025 |
6 |
206 |
EXT_EVENT_TASK15_WATCHDOG |
Watchdog task 15 by external event |
%SB0025 |
7 |
207 |
EXT_EVENT_TASK16_WATCHDOG |
Watchdog task 16 by external event |
%SB0026 |
0 |
208 |
COUNT_TASK1_WATCHDOG |
Watchdog task 1 by count |
%SB0026 |
1 |
209 |
COUNT_TASK2_WATCHDOG |
Watchdog task 2 by count |
%SB0026 |
2 |
210 |
COUNT_TASK3_WATCHDOG |
Watchdog task 3 by count |
%SB0026 |
3 |
211 |
COUNT_TASK4_WATCHDOG |
Watchdog task 4 by count |
%SB0026 |
4 |
212 |
COUNT_TASK5_WATCHDOG |
Watchdog task 5 by count |
%SB0026 |
5 |
213 |
COUNT_TASK6_WATCHDOG |
Watchdog task 6 by count |
%SB0026 |
6 |
214 |
COUNT_TASK7_WATCHDOG |
Watchdog task 7 by count |
%SB0026 |
7 |
215 |
COUNT_TASK8_WATCHDOG |
Watchdog task 8 by count |
%SB0027 |
0 |
216 |
COUNT_TASK9_WATCHDOG |
Watchdog task 9 by count |
%SB0027 |
1 |
217 |
COUNT_TASK10_WATCHDOG |
Watchdog task 10 by count |
%SB0027 |
2 |
218 |
COUNT_TASK11_WATCHDOG |
Watchdog task 11 by count |
%SB0027 |
3 |
219 |
COUNT_TASK12_WATCHDOG |
Watchdog task 12 by count |
%SB0027 |
4 |
220 |
COUNT_TASK13_WATCHDOG |
Watchdog task 13 by count |
%SB0027 |
5 |
221 |
COUNT_TASK14_WATCHDOG |
Watchdog task 14 by count |
%SB0027 |
6 |
222 |
COUNT_TASK15_WATCHDOG |
Watchdog task 15 by count |
%SB0027 |
7 |
223 |
COUNT_TASK16_WATCHDOG |
Watchdog task 16 by count |
%SB0028 |
0 |
224 |
MAIN_TASK_WATCHDOG |
Watchdot MAIN task |
%SB0028 |
1 |
225 |
START_TASK_WATCHDOG |
Watchdot START task |
%SB0028 |
2 |
226 |
STOP_TASK_WATCHDOG |
Watchdot STOP task |
Modbus RTU |
||||
%SW0038 |
-- |
60019 |
MBUS_REQUEST_COUNT |
Counter of requests made by the Modbus RTU master |
%SW0040 |
-- |
60020 |
MBUS_RESPONSE_COUNT |
Counter of responses successfully received by the Modbus RTU master |
%SW0042 |
-- |
60021 |
MBUS_NO_ANSWER_COUNT |
Counter of unanswered requests received by the Modbus RTU master (timeout) |
%SW0044 |
-- |
60022 |
MBUS_RESP_ERROR_COUNT |
Counter of error responses received by the Modbus RTU master |
%SB0046 |
-- |
60023 (L) |
MBUS_LAST_ERROR_ADDR |
Last error detected: Modbus RTU slave address |
%SB0047 |
-- |
60023 (H) |
MBUS_LAST_ERROR_TYPE |
Last detected error: error type |
%SB0048 |
-- |
60024 |
MBUS_LAST_ERROR_CODE |
Last detected error: error code |
Modbus TCP |
||||
%SW0070 |
-- |
60035 |
MBTCP_REQUEST_COUNT |
Counter of requests made by the Modbus TCP client |
%SW0072 |
-- |
60036 |
MBTCP_RESPONSE_COUNT |
Counter of responses successfully received by the Modus TCP client |
%SW0074 |
-- |
60037 |
MBTCP_NO_ANSWER_COUNT |
Counter of unanswered requests received by the Modbus TCP client (Timeout) |
%SW0076 |
-- |
60038 |
MBTCP_RESP_ERROR_COUNT |
Counter of error responses received by the Modbus TCP client |
%SW0078 |
-- |
60039 |
MBTCP_LAST_ERROR_TCP_PORT |
Last error detected: Modbus server TCP port |
%SD0080 |
-- |
60040 |
MBTCP_LAST_ERROR_IP |
Last error detected: modbus TCP server IP address |
%SB0084 |
-- |
60042 (L) |
MBTCP_LAST_ERROR_UNITID |
Last error detected: Modbus TCP server unit ID |
%SB0085 |
-- |
60042 (H) |
MBTCP_LAST_ERROR_TYPE |
Last detected error: error type |
%SB0086 |
-- |
60043 |
MBTCP_LAST_ERROR_CODE |
Last detected error: error code |
Write/Read System Markers (Command)
Address |
Bit |
Modbus |
Tag |
Description |
Time, event and count interruptions |
||||
%CB0000 |
0 |
0 |
INTERVAL_TASK1_DISABLE |
Disables time interruption 1 |
%CB0000 |
1 |
1 |
INTERVAL_TASK2_DISABLE |
Disables time interruption 2 |
%CB0000 |
2 |
2 |
INTERVAL_TASK3_DISABLE |
Disables time interruption 3 |
%CB0000 |
3 |
3 |
INTERVAL_TASK4_DISABLE |
Disables time interruption 4 |
%CB0000 |
4 |
4 |
INTERVAL_TASK5_DISABLE |
Disables time interruption 5 |
%CB0000 |
5 |
5 |
INTERVAL_TASK6_DISABLE |
Disables time interruption 6 |
%CB0000 |
6 |
6 |
INTERVAL_TASK7_DISABLE |
Disables time interruption 7 |
%CB0000 |
7 |
7 |
INTERVAL_TASK8_DISABLE |
Disables time interruption 8 |
%CB0001 |
0 |
8 |
INTERVAL_TASK9_DISABLE |
Disables time interruption 9 |
%CB0001 |
1 |
9 |
INTERVAL_TASK10_DISABLE |
Disables time interruption 10 |
%CB0001 |
2 |
10 |
INTERVAL_TASK11_DISABLE |
Disables time interruption 11 |
%CB0001 |
3 |
11 |
INTERVAL_TASK12_DISABLE |
Disables time interruption 12 |
%CB0001 |
4 |
12 |
INTERVAL_TASK13_DISABLE |
Disables time interruption 13 |
%CB0001 |
5 |
13 |
INTERVAL_TASK14_DISABLE |
Disables time interruption 14 |
%CB0001 |
6 |
14 |
INTERVAL_TASK15_DISABLE |
Disables time interruption 15 |
%CB0001 |
15 |
15 |
INTERVAL_TASK16_DISABLE |
Disables time interruption 16 |
%CB0002 |
0 |
16 |
SINGLE_TASK1_DISABLE |
Disables event interruption 1 |
%CB0002 |
1 |
17 |
SINGLE_TASK2_DISABLE |
Disables event interruption 2 |
%CB0002 |
2 |
18 |
SINGLE_TASK3_DISABLE |
Disables event interruption 3 |
%CB0002 |
3 |
19 |
SINGLE_TASK4_DISABLE |
Disables event interruption 4 |
%CB0002 |
4 |
20 |
SINGLE_TASK5_DISABLE |
Disables event interruption 5 |
%CB0002 |
5 |
21 |
SINGLE_TASK6_DISABLE |
Disables event interruption 6 |
%CB0002 |
6 |
22 |
SINGLE_TASK7_DISABLE |
Disables event interruption 7 |
%CB0002 |
7 |
23 |
SINGLE_TASK8_DISABLE |
Disables event interruption 8 |
%CB0003 |
0 |
24 |
SINGLE_TASK9_DISABLE |
Disables event interruption 9 |
%CB0003 |
1 |
25 |
SINGLE_TASK10_DISABLE |
Disables event interruption 10 |
%CB0003 |
2 |
26 |
SINGLE_TASK11_DISABLE |
Disables event interruption 11 |
%CB0003 |
3 |
27 |
SINGLE_TASK12_DISABLE |
Disables event interruption 12 |
%CB0003 |
4 |
28 |
SINGLE_TASK13_DISABLE |
Disables event interruption 13 |
%CB0003 |
5 |
29 |
SINGLE_TASK14_DISABLE |
Disables event interruption 14 |
%CB0003 |
6 |
30 |
SINGLE_TASK15_DISABLE |
Disables event interruption 15 |
%CB0003 |
7 |
31 |
SINGLE_TASK16_DISABLE |
Disables event interruption 16 |
%CB0004 |
0 |
32 |
EXT_EVENT_TASK1_DISABLE |
Disables external event interruption 1 |
%CB0004 |
1 |
33 |
EXT_EVENT_TASK2_DISABLE |
Disables external event interruption 2 |
%CB0004 |
2 |
34 |
EXT_EVENT_TASK3_DISABLE |
Disables external event interruption 3 |
%CB0004 |
3 |
35 |
EXT_EVENT_TASK4_DISABLE |
Disables external event interruption 4 |
%CB0004 |
4 |
36 |
EXT_EVENT_TASK5_DISABLE |
Disables external event interruption 5 |
%CB0004 |
5 |
37 |
EXT_EVENT_TASK6_DISABLE |
Disables external event interruption 6 |
%CB0004 |
6 |
38 |
EXT_EVENT_TASK7_DISABLE |
Disables external event interruption 7 |
%CB0004 |
7 |
39 |
EXT_EVENT_TASK8_DISABLE |
Disables external event interruption 8 |
%CB0005 |
0 |
40 |
EXT_EVENT_TASK9_DISABLE |
Disables external event interruption 9 |
%CB0005 |
1 |
41 |
EXT_EVENT_TASK10_DISABLE |
Disables external event interruption 10 |
%CB0005 |
2 |
42 |
EXT_EVENT_TASK11_DISABLE |
Disables external event interruption 11 |
%CB0005 |
3 |
43 |
EXT_EVENT_TASK12_DISABLE |
Disables external event interruption 12 |
%CB0005 |
4 |
44 |
EXT_EVENT_TASK13_DISABLE |
Disables external event interruption 13 |
%CB0005 |
5 |
45 |
EXT_EVENT_TASK14_DISABLE |
Disables external event interruption 14 |
%CB0005 |
6 |
46 |
EXT_EVENT_TASK15_DISABLE |
Disables external event interruption 15 |
%CB0005 |
7 |
47 |
EXT_EVENT_TASK16_DISABLE |
Disables external event interruption 16 |
%CB0006 |
0 |
48 |
COUNT_TASK1_DISABLE |
Disables count interruption 1 |
%CB0006 |
1 |
49 |
COUNT_TASK2_DISABLE |
Disables count interruption 2 |
%CB0006 |
2 |
50 |
COUNT_TASK3_DISABLE |
Disables count interruption 3 |
%CB0006 |
3 |
51 |
COUNT_TASK4_DISABLE |
Disables count interruption 4 |
%CB0006 |
4 |
52 |
COUNT_TASK5_DISABLE |
Disables count interruption 5 |
%CB0006 |
5 |
53 |
COUNT_TASK6_DISABLE |
Disables count interruption 6 |
%CB0006 |
6 |
54 |
COUNT_TASK7_DISABLE |
Disables count interruption 7 |
%CB0006 |
7 |
55 |
COUNT_TASK8_DISABLE |
Disables count interruption 8 |
%CB0007 |
0 |
56 |
COUNT_TASK9_DISABLE |
Disables count interruption 9 |
%CB0007 |
1 |
57 |
COUNT_TASK10_DISABLE |
Disables count interruption 10 |
%CB0007 |
2 |
58 |
COUNT_TASK11_DISABLE |
Disables count interruption 11 |
%CB0007 |
3 |
59 |
COUNT_TASK12_DISABLE |
Disables count interruption 12 |
%CB0007 |
4 |
60 |
COUNT_TASK13_DISABLE |
Disables count interruption 13 |
%CB0007 |
5 |
61 |
COUNT_TASK14_DISABLE |
Disables count interruption 14 |
%CB0007 |
6 |
62 |
COUNT_TASK15_DISABLE |
Disables count interruption 15 |
%CB0007 |
7 |
63 |
COUNT_TASK16_DISABLE |
Disables count interruption 16 |