Instruction Sheet User guide

D–11Sample Ladder Listing
Publication
1403-5.1
Rung 2:0
Enable configuration mode and clear one shot bits.
| First Config |
| Pass Mode |
| S:1 B3 |
|––––] [––––––––––––––––––––––––––––––––––––––––––––––+––––(L)–––––––––––––––+–|
| 15 | 0 | |
| | Setpoint | |
| | Mode | |
| | B3 | |
| +––––(U)–––––––––––––––+ |
| | 1 | |
| | Run | |
| | Mode | |
| | B3 | |
| +––––(U)–––––––––––––––+ |
| | 2 | |
| | Clear | |
| | One Shots | |
| | +CLR–––––––––––––––+ | |
| +–+CLEAR +–+ |
| | |Dest B3:18| | |
| | | 0100000000000000| | |
| | +––––––––––––––––––+ | |
| | +CLR–––––––––––––––+ | |
| +–+CLEAR +–+ |
| |Dest B3:19| |
| | 0000000000000000| |
| +––––––––––––––––––+ |
Rung 2:1
Initialize for appropriate mode.
| First Initialize |
| Pass Sequencer |
| Input File |
| S:1 +COP–––––––––––––––+ |
|––––] [––––––––––––––––––––––––––––––––––––––––––––––+–+COPY FILE +–+–|
| 15 | |Source #N11:0| | |
| | |Dest #N10:0| | |
| | |Length 3| | |
| | +––––––––––––––––––+ | |
| |
| |
| | Initialize | |
| | Sequencer | |
| | Length | |
| | +MOV–––––––––––––––+ | |
| +–+MOVE +–+ |
| | |Source 2| | |
| | | | | |
| | |Dest R6:0.LEN| | |
| | | 1| | |
| | +––––––––––––––––––+ | |
| | Initialize | |
| | Sequencer | |
| | Position | |
| | +CLR–––––––––––––––+ | |
| +–+CLEAR +–+ |
| | |Dest R6:0.POS| | |
| | | 1| | |
| | +––––––––––––––––––+ | |
| | Initialize | |
| | Sequencer | |
| | Address | |
| | +MOV–––––––––––––––+ | |
| +–+MOVE +–+ |
| | |Source N10:0| | |
| | | 40| | |
| | |Dest N9:0| | |
| | | 40| | |
| | +––––––––––––––––––+ | |
| | BT Done | |
| | Bit | |
| | N[N9:0]:0 | |
| +––––(U)–––––––––––––––+ |
| | 13 | |
| | Prepare | |
| | For BT | |
| | +JSR–––––––––––––––+ | |
| +–+JUMP TO SUBROUTINE+–+ |
| |SBR file number 5| |
| +––––––––––––––––––+ |
SLC-500 R I/O
Rung
2:0
Latch configuration mode and
unlatch setpoint and run modes.
Clear one-shot bits.
Rung
2:1
Initialize the sequencer for
configuration mode. This
includes loading the sequencer
input file with the configuration
block transfer numbers, setting
the sequencer length, clearing
the sequencer position and
moving the reset word into the
sequencers output file. Also,
the sequencer
s output file done
bit is unlatched to insure that
the next rung is not active
immediately and the block
transfer preparation subroutine
is called.