Access from the user program
KL8001 and KL9060
29
Version: 2.0.0
5.1.1.1
Control and status byte 0 in process data mode
Control byte 0 in process data mode
Control byte 0 (CB0) is in the
and is transferred from the controller to the power terminal.
Bit
CB0.7
CB0.6
CB0.5
CB0.4
CB0.3
CB0.2
CB0.1
CB0.0
Name
RegAccess
R/W
DR no.
Key
Bit
Name
Description
CB0.7
RegAccess
0
bin
Register communication off (process data mode)
CB0.6
R/W
0
bin
Read access
(1
bin
)
Because the KL8001 data registers can only be read, write access is not useful.
CB0.5 to
CB0.0
DR no.
Data register number:
Enter the number of the
that you want to read with input data word 0 here.
Status byte 0 in process data mode
Status byte 0 (SB0) is located in the power terminal's
, and is transmitted from the power
terminal to the controller.
Bit
SB0.7
SB0.6
SB0.5
SB0.4
SB0.3
SB0.2
SB0.1
SB0.0
Name
RegAccess
ES Error Info
DR no.
Key
Bit
Name
Description
SB0.7
RegAccess
0
bin
Acknowledgement for process data access
SB0.6
ES Error Info
1
bin
The lowest nibble (ES.3 to ES.0) in the
contains error information.
Evaluate the extended status byte!
SB0.5 to
SB0.0
DR no.
that is to be read.
5.1.1.2
Control and status byte 0 for register communication
Control byte 0 in register communication
Control byte 0 (CB0) is in the
and is transferred from the controller to the power terminal.
Bit
CB0.7
CB0.6
CB0.5
CB0.4
CB0.3
CB0.2
CB0.1
CB0.0
Name
RegAccess
R/W
PR no.
Key
Bit
Name
Description
CB0.7
RegAccess
1
bin
Register communication switched on
CB0.6
R/W
0
bin
Read access
1
bin
Write access
CB0.5 to
CB0.0
PR no.
Parameter register number:
Enter the number of the
that you want to
• to read with input data word 0 or
• write to with output data word 0.
WARNING
Invalid process data during register communication!
It is not possible to access the data registers during register communication! Process data
that may still be displayed is not valid!
Содержание KL8001
Страница 2: ......
Страница 4: ...Table of contents KL8001 and KL9060 4 Version 2 0 0...