Rockwell Automation 1402-LSM Line Synchronization Module Installation Instructions User Manual

Page 70

Advertising
background image

Appendix C
Sample Ladder Listing

C–4

Rung 2:8
Sequence through pre–selected block transfers when the active
block transfer has completed or has encountered an error. The
configuration sequence is located in #N21:0.

| |Config | |
| |Active | |Sequence,&| |
| Config |Transfer |Config |BT’S Done.| Config |
| Mode |Done |Sequencer |Status |Module Sequencer |
| Enable |Bit |Control |Data Valid|Status Control |
| B3 N[N10:0]:0 R6:0 B3 B3 +SQO–––––––––––––––+ |
+––––] [––––+–––] [––––+–––]/[––––––––]/[––––––––]/[–––+SEQUENCER OUTPUT +–(EN)–+
| 1 | 13 | EN 6 7 |File #N21:0| |
| |Active | |Mask FFFF+–(DN) |
| |Transfer | |Destination N10:0| |
| |Error | |Control R6:0| |
| |Bit | |Length 4| |
| |N[N10:0]:0| |Position 1| |
| +–––] [––––+ +––––––––––––––––––+ |
| 12

Rung 2:9
Sequence through pre–selected block transfers when the active
block transfer has completed or has encountered an error. The
run sequence is located in #N22:0.

| |Active |Run | Run |
| Config |Transfer |Mode | Mode |
| Mode |Done |Sequencer |Module Sequencer |
| Enable |Bit |Control |Status Control |
| B3 N[N10:0]:0 R6:1 B3 +SQO–––––––––––––––+ |
+––––]/[––––+–––] [––––+–––]/[––––––––]/[––––––––––––+SEQUENCER OUTPUT +–(EN)–––+
| 1 | 13 | EN 7 |File #N22:0| |
| |Active | |Mask FFFF+–(DN) |
| |Transfer | |Destination N10:0| |
| |Error | |Control R6:1| |
| |Bit | |Length 8| |
| |N[N10:0]:0| |Position 5| |
| +–––] [––––+ +––––––––––––––––––+ |
| 12 |

Rung 2:10
Perform BTR Factory Configuration Parameters

| Factory |
| Config. |
| Sequencer BT |
| output Read |
| +CMP–––––––––––––––+ +BTR––––––––––––––––––––+ |
+–+COMPARE +––––––––––––––––––––––––––+BLOCK TRANSFER READ +–(EN)–––+
| |Expression | |Rack 00| |
| |N10:0 = 50 | |Group 0+–(DN) |
| +––––––––––––––––––+ |Module 0| |
| |Control block N50:0+–(ER) |
| |Data file N30:1| |
| |Length 35| |
| |Continuous N| |
| +–––––––––––––––––––––––+ |

Rung 2:8
Sequences through
block transfers
pre–selected by the
Data file #N21. The
sequencer is triggered
when the previous
block transfer has
completed or failed.
The sequence continues
until the module has
valid data.

Rung 2:9
Sequences through
block transfers
pre–selected by the
Data file #N22. The
sequencer is triggered
when the previous
block transfer has
completed or failed.
The sequence
continues until the
ladder is in the config
mode.

Rung 2:10
Performs block transfer
read of the factory
configuration
parameters.

Advertising