Create cip symbolic program (read) – Rockwell Automation 2080-LC50 Micro800 Controllers: Getting Started with CIP Client Messaging User Manual

Page 22

Advertising
background image

16

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

Chapter 2 Use CIP Symbolic Client Messaging

Create CIP Symbolic Program (Read)

The previous program illustrated how a write instruction is sent from Controller A to Controller B using the
MSG_CIPSYMBOLIC function block. This section shows how Controller A reads the value of Controller B’s global
variable, UDINT_ToA.

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

What’s the value of Global
Variable UDINT_ToA?

Global Variable UDINT_ToA

Stratix
Ethernet
Switc
h

Controller A
Catalog: 2080-LC50-48QVB
IP Address: 192.168.1.18
Subnet Mask: 255.255.255.1
Gateway Address: 192.168.1.1

Controller B
Catalog: 2080-LC50-48QBB
IP Address: 192.168.1.19
Subnet Mask: 255.255.255.
Gateway Address: 192.168.1.1

RUNG 1
Use MSG_CIPSYMBOLIC to read
Controller B global variable
UDINT_ToA

RUNG 2
Convert received USINT array value to UDINT
value

Advertising
This manual is related to the following products: