Download Chapter 6 - AutomationDirect

Transcript
Chapter 6: Modbus Communications
DirectLOGIC Ladder Programming Example (continued)
Rung 9: C12 is triggered once the Position is loaded into the drive.
C11
Comm Interlock
C10
C11
( RST )
9
C12
(
)
PD
Positions loaded
Rung 10 sets the drive’s Command Trigger input to begin the motor position
movement and sets C13, the drive triggered bit. Y1 is connected to drive digital input
2.
C3
Servo Ready
C120
10
Y1
( SET )
CMD Trigger
C13
( SET )
Drive triggered
Rung 11: If the drive has been triggered and is not in position (motor is moving),
the drive input CMD trigger and drive triggered flag are reset.
Drive
Triggered
C13
In Position
C123
Y1
( RST )
11
CMD Trigger
C13
( RST )
Drive triggered
Rung 12: If C4 is turned on, drive faults and the ladder logic is reset.
Y2 is connected to drive input 3. Y4 is connected to drive input 5.
C4
12
Y2
(
OUT
C10
)
Clear Pulse
C13
( RST )
Control Bits
Y0
PLC outputs
connected to
drive reset
Y4
( RST )
(example program cont. on next page)
6–20
SureServo™ AC Servo Systems User Manual
2nd Ed, Rev B
08/2011