3. Assign variable names:
•
In the ladder diagram POU, double-click a variable to display the
Variable Selector.
•
In the Variable Selector, assign variable names as listed in the
following table.
4. For the Data variable, double click Dimension and change the array size to
[1..4].
Configure initial values for the local variables
1. Add CtrlCfg initial values:
•
From the Local Variables page, expand the CtrlCfg parameter to view
additional parameters.
•
Enter the following values in the Initial Value column for each
parameter.
Parameter
A_CtrlCfg.Cancel
A_CtrlCfg.TriggerType
A_Ctrlcfg.StrMode
2. Add SymCfg initial values:
•
From the Local Variables page, expand the SymCfg parameter to view
additional parameters.
•
Enter the following values in the Initial Value column for each
parameter.
Parameter
A_SymCfg.Service
A_SymCfg.Symbol
A_SymCfg.Count
A_SymCfg.DataType
A_SymCfg.Offset
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Communication instructions
Initial value
Leave blank
300
Leave blank
Initial value
1
'UDINT_FromA'
Leave blank
200
Leave blank
Chapter 9
245