Programming via SIMATIC controller
8.3 Setting the "IID_HW_CONNECT" data type
SIMATIC RF650R/RF680R/RF685R
Configuration Manual, 03/2018, C79000-G8976-C386-06
113
Parameter assignment of the "IID_HW_CONNECT" data type
Follow the steps below to set the parameters for the "IID_HW_CONNECT" data type for a
channel:
1.
In the project tree, double-click on the entry "Create new block" in the "Program block"
folder.
2.
Click the "Data block" button and assign a name to the block.
3.
Confirm your entry with "OK".
The data block is opened.
4.
Create a new variable by entering a variable name in the "Name" column.
5.
In the "Data type" column, select the "IID_HW_CONNECT" data type.
Figure 8-2
Creating a data block
6.
Specify the address data of the reader.
–
HW_ID: Hardware identifier of the module (with S7-1200 and S7-1500)
–
CM_CHANNEL: Selection of read point
–
LADDR: I/O address of the module
You can read out the values of the "HW_ID" and "LADDR" parameters in the device
configuration in the properties of the reader. Enter the parameter values you have read
out in the "Start value" column of the corresponding parameters. Reading out parameter
values is described below.
Follow the steps below to read out the parameter values "HW_ID" and "LADDR" for a
channel:
1.
Open the device view.
2.
Double-click on the reader.
The properties window of the reader opens.
3.
In the "RFID communication" > "I/O addresses" tab, and you will find the I/O address that
corresponds to "LADDR".
Note that the input and output address must have the same value.