Allen-Bradley Micro800 General Instructions Manual page 233

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Parameter
Input variable
CtrlCfg
MyCtrlCfg
AppCfg
MyAppCfg
Target
MyTargetCfg
ReqData
MyReqData
ReqLength
MyReqLength
ResData
MyResData
To assign the variables to the parameters
1. In the ladder diagram POU, click the top portion of the variable input
block to display the variable drop-down list.
2. From the list, assign each input parameter to its correct input variable as
identified in the following table.
Comments
The catalog number must only be retrieved one time so the MyCtrlCfg.TriggerType initial value is
set to 0.
The initial values were determined by looking up the object data values for Service, Class,
Instance and Attribute.
The initial values are for target device configuration.
Because this is a Read message, there is no request data so the ReqData parameters is not used.
Because this is a Read message, there is no request data so the ReqLength parameters is not
used.
The catalog number string is stored in the array in the ODVA short string format.
The first array element defines the strength length and the rest store the string character's
hexadecimal value.
The maximum number of characters is 80, plus the length element so MyResData is defined as a 1
dimension array with 81 elements.
Result
Your instance of the MSG_CIPGENERIC function block should look similar to
the following image.
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Chapter 9
Communication instructions
233

Advertisement

Table of Contents
loading

Table of Contents