Firmware: V2.18 / V--
26.10.2022
37/119
5.4.5.3 Status of the SIOX 1..3 extension modules
The status can be queried separately for each SIOX extension module by the application. The variables
SIOX0_STAT represent the internal SIOX of the controller or SIOX1_STAT to SIOX3_STAT the extension
modules SIOX 1..3. The statuses here are also bit by bit. The following table shows the connections:
Bit
Mask
Status of the SIOX 1..3 extension modules
7
16#80
-
6
16#40
-
5
16#20
-
4
16#10
-
3
16#08
-
2
16#04
Error read-back status of the SIOX counter (0-14)
1
16#02
SIOX watchdog failed
0
16#01
Incorrect module address read:
SIOX configuration resistors read back incorrectly
In CODESYS, the defined variable name and the associated IEC address can be looked up using the following
path:
Controller configuration → GLT3010_V2 → System → System state → SIOXn_STATE
Example in STRUCTURED TEXT:
SIOX_WDOG := EXTRACT(SIOX0_STATE, 1); (* Query the second bit in the table *)