Rung 2:3, Rung 2:4 – Rockwell Automation 1403-NENET Ethernet Communication Card Installation Instructions User Manual
Page 69
Advertising
Publication 1403-IN005A-EN-P
Sample Ladder Listing C-9
Rung 2:3
Initialize the sequencer for setpoint
mode. Same functionality as Rung
2:0.
Rung 2:4
Move the number of setpoints into
the setpoint address counter. Reset
the setpoint count.
Initialize for appropriate mode
0003
B3:0
1
Setpoint mode
OSR
B3:18
12
One-shot 1
COP
Copy File
Source
#N12:0
Dest
#N10:0
Length
3
Move
Source
2
2<
Dest
R6:0.LEN
17<
MOV
Initialize Sequencer
length
CLR
Clear
Dest
R6:0.POS
1<
Initialize sequencer
position
MOV
Move
Source
N10:0
0<
Dest
N9:0
40<
Initialize sequencer
address
Load number of setpoints into setpoint counter
0004
B3:0
1
Setpoint mode
OSR
B3:18
13
One-shot 2
MOV
Move
Source
N20:0
0<
Dest
C5:0.PRE
3<
Numberof setpoints
RES
C5:0
Setpoint number
Advertising