Parameter assignment and configuration
4.4 Ident instructions
Communications module RF120C with application blocks for S7-1200 and S7-1500
Operating Instructions, 07/2013, C79000-G8976-C328-01
33
Configuring the "HW_CONNECT" variable
Follow the steps below to configure an "HW_CONNECT" variable:
1.
Create an "HW_CONNECT_VAR" variable in a data block. The "HW_CONNECT_VAR"
data type is supplied with the function blocks.
Figure 4-6
Creating the "HW_CONNECT_VAR" variable
2.
Click on the triangle in front of the "Connect" entry to open the structure it contains.
3.
With the help of the parameters in the "Address" structure, you can set the addresses for
the RF120C to be used.
–
HW_ID: Hardware identifier of the module
–
CM_CHANNEL: Channel of the interface module. With the RF120C, the value is
always 1 because the CM only has one channel.
With RF180C or ASM 456 you need to enter "CM_CHANNEL = 2" for the second
reader.
–
LADDR: I/O address of the module
Figure 4-7
Address parameters
You will find the "HW_ID" and "LADDR" parameters in the device configuration in the
properties of the RF120C.