Programming in TwinCAT
KL85xx und KL9309
59
Version: 2.1.0
wDataOut:
Data word 1: sets the output value via the PLC if the respective switch is set to "auto".
(0x0000=0V, 5V, 10V)
4.4
Error codes
Value
(hex)
Value
(dec)
Description
0x0000
0
No error
0x8001
32769
Watchdog Error. The terminal does not respond. This message usually means that
there is no connection to the terminal.
• Is the terminal linked to the variables in the TwinCAT System Manager?
• Terminal plugged in incorrectly?
• Clean all, rebuild all and load again into the TwinCAT System Manager?
0x8002
32770
Incorrect terminal connected. The terminal type can be checked in online mode
(
uiTerm
- internal variable of the function block).
0x8003
32771
The input variable
wOut
of the function block
is too big.
Maximum 32767 is allowed. Processing continues internally (in the function block)
with 32767 (corresponds to 10 V).
0x8004
32772
tries to set the outputs 1 and 2
simultaneously on channel 1. That is not allowed. No output is set.
0x8005
32773
tries to set the outputs 1 and 2
simultaneously on channel 2. That is not allowed. No output is set.
0x8006
32774
tries to set the outputs 1 and 2
simultaneously on channel 3. That is not allowed. No output is set.
0x8007
32775
tries to set the outputs 1 and 2
simultaneously on channel 4. That is not allowed. No output is set.
4.5
Adjustment of the LED displays
4.5.1
Standard function LED KL8519
In delivery state the LEDs light up green when the respective input is occupied and are off when the input is
not occupied.
The variable
wSetCol
can be used to specify that the respective LED lights up red.
The channel can be inverted with the variable
wInv
. This means that the LEDs light up if the input is not
occupied and are off if the input is occupied.
Using the variable
wBiCol
the LEDs can be activated in two colors. This means that the LEDs light up green
if the input is occupied and red if the input is not occupied. This behavior is reversed if the channels are
inverted with
wInv
.
This functionality can be disabled with the variable
wDisCh
. The LEDs can then be set from the PLC.
4.5.2
Standard function LED KL8524
The LEDs light up steadily yellow if the automatic switch is set to
auto
and the respective output is FALSE.
The LEDs light up steadily green if the automatic switch is set to
auto
and the respective output is TRUE (set
by the PLC).
The LEDs flash yellow if the automatic switch is set to "man" and the respective output is FALSE.
Summary of Contents for KL85 Series
Page 2: ......