Rockwell Automation 1769-SM2 Compact I/O DSI/Modbus Communication Module User Manual
Page 95
MicroLogix 1500 Example Ladder Programs
6-15
Figure 6.6 Example MicroLogix 1500 Multi-Drive Ladder Logic CH1 Drive 0 Subroutine (Continued)
This rung unlatches the contact that turns on the Start command when the drive is not communicating with the 1769-SM2. This prevents the drive
from immediately starting when communications is restored. If an immediate start is desired for the application, this rung could be deleted.
0007
I:1
0
1769-SM2
CH1
Drive 0
Logic Sts Valid
U
B3:11
1
CH1
Drive 0
Start
0008
B3:11
1
CH1
Drive 0
Start
O:1
17
1769-SM2
CH1 Drv0
Logic Cmd
Bit 01
0009
B3:11
2
CH1
Drive 0
Jog
O:1
18
1769-SM2
CH1 Drv0
Logic Cmd
Bit 02
0010
B3:11
3
CH1
Drive 0
Clear Faults
O:1
19
1769-SM2
CH1 Drv0
Logic Cmd
Bit 03
0011
B3:11
4
CH1
Drive 0
Forward
O:1
20
1769-SM2
CH1 Drv0
Logic Cmd
Bit 04
0012
B3:11
4
CH1
Drive 0
Forward
O:1
21
1769-SM2
CH1 Drv0
Logic Cmd
Bit 05
This rung displays the Reference being sent to the drive. The data is used by the drive as xxx.x Hz format (decimal is implied), so entering a value
of "300" equates to 30.0 Hz.
0013
MOV
Move
Source
N7:0
101<
Dest
O:1.2
101<
MOV
CH1
Drive 0
Reference
The following rungs are used to send explicit messages to the 1769-SM2 to read and write Parameter 78 [Jog Frequency] in PowerFlex 4/40 drives.
N7:2 = Write value
N7:3 = Read value
In Single mode, the desired parameter number is the value entered for the Target Device Instance number.
0014
B3:11
14
Read
Parameter
Request
EN
DN
ER
MSG
Read/Write Message
MSG File
MG9:0
Setup Screen
MSG
0015
B3:11
15
Write
Parameter
Request
EN
DN
ER
MSG
Read/Write Message
MSG File
MG9:1
Setup Screen
MSG
0016
RET
Return
RET
0017
END