Rockwell Automation 1403-NSC Smart Communication Card Instruction Sheet User Manual

Page 79

Advertising
background image

D–29

Sample Ladder Listing

Publication 1403-5.1

Rung 2:20
| Relay/ |
| Setpoint |
| +EQU–––––––––––––––+ N53:0 +MSG––––––––––––––––––––+ |
|–+EQUAL +––]/[–––––––––––––––––––––+READ/WRITE MESSAGE +–(EN)–|
| |Source A N9:0| 15 |Type PEER–TO–PEER+–(DN) |
| | 40| |Read/Write READ+–(ER) |
| |Source B 53| |Target Device 500CPU| |
| | | |Local/Remote LOCAL| |
| +––––––––––––––––––+ |Control Block N53:0| |
| |Control Block Length 14| |
| +–––––––––––––––––––––––+ |
Rung 2:21
| Command |
| +EQU–––––––––––––––+ N54:0 +MSG––––––––––––––––––––+ |
|–+EQUAL +––]/[–––––––––––––––––––––+READ/WRITE MESSAGE +–(EN)–|
| |Source A N9:0| 15 |Type PEER–TO–PEER+–(DN) |
| | 40| |Read/Write WRITE+–(ER) |
| |Source B 54| |Target Device 500CPU| |
| | | |Local/Remote LOCAL| |
| +––––––––––––––––––+ |Control Block N54:0| |
| |Control Block Length 14| |
| +–––––––––––––––––––––––+ |
Rung 2:22
| Config |
| +EQU–––––––––––––––+ N55:0 +MSG––––––––––––––––––––+ |
|–+EQUAL +––]/[–––––––––––––––––––––+READ/WRITE MESSAGE +–(EN)–|
| |Source A N9:0| 15 |Type PEER–TO–PEER+–(DN) |
| | 40| |Read/Write WRITE+–(ER) |
| |Source B 55| |Target Device 500CPU| |
| | | |Local/Remote LOCAL| |
| +––––––––––––––––––+ |Control Block N55:0| |
| |Control Block Length 14| |
| +–––––––––––––––––––––––+ |
Rung 2:23
Begin run mode once all setpoint block transfers are complete.
| One Shot 4 Status – Setpoint Setpoint |
| Bad Table Counter Mode |
| Check Done Bit |
| +EQU––––––––––––––+ B3 +EQU–––––––––––––––+ C5:0 B3 |
|–+EQUAL +–––[OSR]––––+EQUAL +––––] [––––+––––(U)–––––+–|
| |Source A N9:0| 303 |Source A N82:36| DN | 1 | |
| | 40| | 0| | | |
| |Source B 56| |Source B 0| | | |
| | | | | | | |
| +–––––––––––––––––+ +––––––––––––––––––+ | | |
| | Run | |
| | Mode | |
| | B3 | |
| +––––(L)–––––+ |
| 2 |

Rung 2:22

Configuration BTW.

Rung 2:20

Relay/setpoint BTR.

Rung 2:21

Command BTW.

Rung 2:23

If the setpoint counter done bit
is set, the last setpoint BTW has
occurred and was followed by a
diagnostic BTR. If the
diagnostic table indicates a
successful setpoint BTW,
setpoint mode is done. The
setpoint mode bit is unlatched,
and the run mode bit is latched.

Advertising