Design the logic for all controllers – Rockwell Automation 1755-OF8 GuardPLC Controller Systems User Manual

Page 182

Advertising
background image

182

Publication 1753-UM001C-EN-P - March 2010

Chapter 17 Configure Peer-to-Peer Communication

Output System Signal

Using the output system Connection Control signal, the user program
can control how the peer-to-peer connection is setup.

Design the Logic for all Controllers

Design the logic for the controllers, considering the variables intended
for network exchange.

The following examples show part of the routines for controllers
Robot A and Robot B, respectively. To evaluate the state of the
OutRange signal in Robot B, use the same signal name (OutRange) as
an input for the logic of Robot B. OutRange is sent over the Ethernet

Connection Control Values

Value

Setting

Description

0x0000

Autoconnect

After loss of peer-to-peer communication, the controller
tries to re-establish communication in the next CPU cycle.
This is the standard mode of operation.

0x0100

Toggle_Mode 0

These modes allow automatic connect with Disable after
loss of communication.

If Toggle_Mode is 0 and communication is lost
(Connection State = CLOSED), a connect is performed
only after Toggle_Mode is set to 1 by the user program.

If Toggle_Mode is 1 and communication is lost, a connect
is performed only after Toggle_Mode is set to 0 by the
user program.

0x0101

Toggle_Mode 1

0x8000

Disabled

Peer-to-peer communication is disabled.
No attempt to connect.

IMPORTANT

If the P2PControl signal, in the illustration above, is set to
32768, peer-to-peer communication is disabled. If Connection
Control is not set by the application, the default is 0 and
Autoconnect is enabled.

Advertising