Programming via Rockwell controller
9.3 Project preparation
SIMATIC RF650R/RF680R/RF685R
158
Configuration Manual, 03/2018, C79000-G8976-C386-06
5.
Assign parameters for the variable as follows:
In the "Configuration" tab:
–
Message Type = CIP generic
–
Service Type = Custom
–
Service Code = 41
–
Class = 80
–
Instance = 1
–
Attribute = 1
–
Source Element = RF68xR_001_ConfigData.Parameter
–
Source Length = 10
In the "Communication" tab:
–
Large Connection = ✓
6.
Select the reader for which you want to assign parameters in the "Communication" tab in
the input box "Path".
7.
Start the block by calling the "PARAMETERIZE" parameter.
9.3.2
Assigning parameters to the "Param_RF68xR" block
In the next step, the "Reset_RF68xR" block must be linked into the project and have
parameters assigned. For this block two further message variables must be created and
assigned to the parameters "MSG_READ" and "MSG_WRITE". These two variables can
used with all other application blocks.
Before the read point is operational, the reset command needs to be executed. This resets
the relevant read point.
Creating the block "Reset_RF68xR"
Follow the steps below to create the "Reset_RF68xR" block:
1.
Drag the block from the "Controller Organizer" into the project.
2.
Create a instance variable.
3.
Select the variable (e.g. "RF680R_001_ConfigData.Channel1") for the parameter
"HW_CONNECT".
4.
Create a variable for "MSG_READ".