BECKHOFF KL5121 User Manual
Page 15
Data transfer, function
KL5121
15
Bit No.
Meaning
Bit 0-5
000000-
111111
Address bits A0 to A5 of the output table
Bit 6
0/1
0: read
1: write
Bit 7
0/1
Table bit
This bit must be set for table accesses.
If the controller sees a falling edge in the terminal
here, evaluation of the output table is started, so
that, if sorting or other tasks are necessary, they will
be performed.
Status byte 1
Status byte 1 is transmitted from the terminal to the controller.
Bit No.
Meaning
Bit 0-5
000000-
111111
Address bits A0 to A5 of the output table
Bit 6
0/1
Don't care
Bit
1
Acknowledge for table access
Output data word 1
Output data word AW1 returns the addressed table entry for a table
access.
Bit No.
Meaning
Bit 0-15
Content of the addressed table entry
Input data word 1
Input data word EW1 is written into the table by a controller write access.
Bit No.
Meaning
Bit 0-15
Entry in the output table
Output table
The appropriate values for the corresponding function must be entered into
the output table (max. 60 switching values).
Index
Entry
0
Number, N, of entries for the first output
1
Number, M, of entries for the second output
2
Number, O, of entries for the third output
3
Number, P, of entries for the fourth output
4
Switch value 1 channel 1
...
N+4
Switch value N channel 1
N+5
Switch value 1 channel 2
...
N+M+4
Switch value M channel 2
N+M+5
Switch value 1 channel 3
...
N+M+O+4
Switch value O channel 3
N+M+O+5
Switch value 1 channel 4
N+M+O+P+4
Switch value P channel 4