Create cip symbolic program (write), Build the code – Rockwell Automation 2080-LC50 Micro800 Controllers: Getting Started with CIP Client Messaging User Manual

Page 14

Advertising
background image

8

Rockwell Automation Publication 2080-QS002A-EN-E - April 2013

Chapter 2 Use CIP Symbolic Client Messaging

Create CIP Symbolic Program (Write)

At the end of these instructions, you should have created the following program in Connected Components Workbench in
your Controller A project.

Build the Code

1. Open the project you created for

Controller A in the last chapter
through Connected
Components Workbench.

2. Configure the IP address, subnet

mask and gateway of Controller
A as shown.

RUNG 1
Use COP instruction to convert value
’ValueToWrite’ to ’A_Data’ (USINT[1...4]) which
will be used in message instruction

RUNG 2
If COP instruction is successful then trigger
’WriteValue’ to coil

RUNG 3
Send message to Controller B

IP Address:
192.168.1.18

Subnet Mask:
255.255.255.0

Gateway Address:
192.168.1.1

Advertising
This manual is related to the following products: