Chapter 9
Communication instructions
228
Add a MSG_CIPGENERIC function block and variables
Follow these steps to start a project, add a MSG_CIPGENERIC function block to
a ladder diagram program and then add input variables to the function block.
Add a MSG_CIPGENERIC function block
1. Add a controller:
•
Expand the Controllers folder and the Micro850 folder to view all
Micro850 controllers.
•
Double-click a controller (2080-LC50-48QVB) to add it to the Project
Organizer.
2. Add a ladder diagram program:
•
In the Project Organizer, right-click Programs, click Add, and then
click New LD: Ladder Diagram.
•
Right-click the ladder diagram icon in the Project Organizer, click
Rename and type CIPExplicitMessage.
•
Double-click the ladder diagram program in the Project Organizer to
display the LD POU in the language editor.
3. Add the MSG_CIPGENERIC function block:
•
In the Toolbox, select Instruction Block and drag and drop it onto the
ladder rung to display the Block Selector.
•
In Search, type MSG to display the message function blocks.
•
Type MSG_ReadDrive in the Instance field.
•
Double-click MSG_CIPGENERIC to add an instance of the function
block to the ladder diagram.
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015