![Beckhoff KL85 Series Скачать руководство пользователя страница 56](http://html1.mh-extra.com/html/beckhoff/kl85-series/kl85-series_documentation_2719270056.webp)
Programming in TwinCAT
KL85xx und KL9309
56
Version: 2.1.0
Data type
Description
Reaction of the LEDs of the KL8519 in the event of a
K-bus error
4.3.1
E_KL8519_KBusOffReact
Reaction of the LEDs of the KL8519 in the event of a K-bus error. These LEDs must have been activated via
"wDisCh".
TYPE E_KL8519_KBusOffReact :
(
:= 1,
:= 2
)
END_TYPE
eKL8519_WatchdogOff:
In the case of a K-bus error, all LEDs set via the PLC turn off.
eKL8519_Watchdog500ms:
The last state of the LED toggles every 500 ms. If the last state was OFF the
LED remains OFF.
eKL8519_Watchdog1000ms:
The last state of the LED toggles every 1000 ms. If the last state was OFF the
LED remains OFF.
4.3.2
ST_KL8519InData
Process image of the inputs for the KL8519
Linked to the terminals in the System Manager.
TYPE ST_KL8519InData :
STRUCT
byState : BYTE;
byDataIN_1 : BYTE;
byDataIN_2 : BYTE;
END_STRUCT
END_TYPE
byState:
Status byte
byDataIN_1:
Data byte 1: Input 1 to 8
byDataIN_2:
Data byte 2: Input 9 to 16
4.3.3
ST_KL8519OutData
Process image of the outputs for the KL8519
Linked to the terminals in the System Manager.
TYPE ST_KL8519OutData :
STRUCT
byCtrl : BYTE;
byLEDoutGreen_1 : BYTE;
byLEDoutGreen_2 : BYTE;
byLEDoutRed_1 : BYTE;
byLEDoutRed_2 : BYTE;
END_STRUCT
END_TYPE
byCtrl:
Control byte
byLEDoutGreen_1:
Data byte 1: Green LED 1 to 8 (must be enabled via
wDisCh
)
byLEDoutGreen_2:
Data byte 2: Green LED 9 to 16 (must be enabled via
wDisCh
)
Содержание KL85 Series
Страница 2: ......