Access from the user program
KL279132 Version: 2.0.0
6 Access from the user program
6.1 Process image
The KL2791 is represented in the complex process image with 3bytes of input data and 3bytes of output
data. These are organized as follows:
Byte offset (without
word alignment)
Byte offset (with word align-
ment*)
Format Input data Output data
0 0 Byte
SB [}32] CB [}32]
1 2 Word DataIN DataOUT
The KL2791 is represented in the compact process image without input data and with 2bytes of output
data. These are organized as follows:
Byte offset (without
word alignment)
Byte offset (with word align-
ment*)
Format Input data Output data
0 0 Word - DataOUT
*) Word alignment: The Bus Coupler places values on even byte addresses
Key
SB: Status byte
CB: Control byte
DataIN: input word
DataOUT: output word
In process data mode, the output word DataOUT controls the output power of the speed controller terminal.
Valid values are 0
dec
to 32767
dec
.
6.2 Control and status bytes
Process data mode
Control byte (for process data mode)
The control byte(CB) is located in the output image [}32], and is transmitted from the controller to the
terminal.
Bit CB.7 CB.6 CB.5 CB.4 CB.3 CB.2 CB.1 CB.0
Name RegAccess - - - - - - -
Key
Bit Name Description
CB.7 RegAccess 0
bin
Register communication off (process data mode)
CB.6 to CB.0 - 0
bin
reserved
Status byte (for process data mode)
The status byte(SB) is located in the input image [}32], and is transmitted from terminal to the controller.
Bit SB.7 SB.6 SB.5 SB.4 SB.3 SB.2 SB.1 SB.0
Name RegAccess Error Temperatur
e warning
Overload Operation mode Synchrono
us