Access from the user program
KL3356
36
Version: 2.3.0
5
Access from the user program
5.1
Process image
In the process image, the KL3356 is always represented with 6 bytes of input data and 6 bytes of output
data.
Format
Input data
Output data
Byte
)
Control byte (
)
Word
DataIN1
DataOUT1
Byte
)
Control byte (
)
Word
DataIN2
DataOUT (this is not used and is not displayed by the TwinCAT
System Manager)
• The input data word DataIN1 and the output data word DataOUT1 are only used for register
communication.
• In process data mode, the input data word DataIN2 transmits the weight, and the output data word
DataOUT2 is not used.
page for the assignment of the bytes and words to the addresses
of the controller.
• The meaning of the control and status bytes is explained in
Compact process image not possible
The KL3356 cannot be operated with compact process image (without control and status bytes),
since control and status bytes are required for process data mode of the KL3356 to function cor-
rectly. Even if your Bus Coupler is set to compact process image, the KL3356 is represented with its
complete process image!
5.2
Mapping
The Bus Terminals occupy addresses within the process image of the controller. The assignment of process
data (input and output data) and parameterization data (control and status bytes) to the control addresses is
called mapping. The type of mapping depends on:
• the fieldbus system used
• the terminal type
• the parameterization of the Bus Coupler (conditions) such as
◦ Intel or Motorola format
◦ word alignment switched on or off
The Bus Couplers (BKxxxx, LCxxxx) and Bus Terminal Controllers (BCxxxx, BXxxxx) are supplied with
certain default settings. The default setting can be changed with the KS2000 configuration software or with a
master configuration software (e.g. TwinCAT System Manager or ComProfibus).
The following tables show the mapping depending on different conditions. For information about the contents
of the individual bytes please refer to the pages
Process image
and
Control and status byte
.
Compact evaluation
Compact process image not possible
The KL3356 cannot be operated with compact process image (without control and status bytes),
since control and status bytes are required for process data mode of the KL3356 to function cor-
rectly. Even if your Bus Coupler is set to compact process image, the KL3356 is represented with its
complete process image!
Summary of Contents for KL3356
Page 2: ......