beautypg.com

Rockwell Automation DAG6.5.8 APPLICATION GUIDE SCADA SYSTEM User Manual

Page 387

background image

Publication AG-UM008C-EN-P - February 2005

Sample Ladder Logic E-5

The following two rungs are the MSG control rungs - they should be replicated for further messages. Set the MSG disable bit to prevent unnecessary
message retries to non-communicating nodes.

0001

B3:0

1

Disable
MSG #1

EN

DN

ER

MSG

Read/Write Message
Type

Peer-To-Peer

Read/Write

Read

Target Device

500CPU

Local/Remote

Local

Control Block

N11:0

Control Block Length

14

Setup Screen

MSG

MSG #1 to Node #1

0002

N11:0

15

MSG #1
Enabled

N11:0

13

MSG #1
Done

N11:0

12

MSG #1
Error

B3:16

1

MSG #1
Finished

T4:0

DN

MSG
Delay
Done

U

N11:0

15

MSG #1
Enabled

0003

B3:0

2

Disable
MSG #2

EN

DN

ER

MSG

Read/Write Message
Type

Peer-To-Peer

Read/Write

Read

Target Device

500CPU

Local/Remote

Local

Control Block

N12:0

Control Block Length

14

Setup Screen

MSG

MSG #2 to Node #2

0004

N12:0

15

MSG #2
Enabled

N12:0

13

MSG #2
Done

N12:0

12

MSG #2
Error

B3:16

2

MSG #2
Finished

T4:0

DN

MSG
Delay
Done

U

N12:0

15

MSG #2
Enabled

0005

B3:0

3

Disable
MSG #3

EN

DN

ER

MSG

Read/Write Message
Type

Peer-To-Peer

Read/Write

Read

Target Device

500CPU

Local/Remote

Local

Control Block

N13:0

Control Block Length

14

Setup Screen

MSG

MSG #3 to Node #3