beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 733

background image

Publication GMLC-5.2 - November 1999

696

Using the RIO Adapter Option

These inputs are level-sensitive, not edge-sensitive. Whenever the motion
controller sees the run application program bit set—even immediately
after power up—and the program is not currently running, it starts
running the program. Specifically, if the motion controller powers up with
the run application program bit set, the application program is executed
even if the motion controller is configured not to automatically run the
application program on power up.

Similarly, whenever the motion controller sees the stop application
program bit set—even immediately after power up—the program is
stopped. Specifically, if the motion controller powers up with the stop
application program bit set, the application program is not executed, even
if the motion controller is configured to automatically run the application
program on power up in this chapter in the General page of the Configure
Control Options dialog box.

The recommended ladder logic for starting and stopping the motion
controller application program using a single input to the PLC is shown
below. The rack address in the motion controller is set to 5 and the
starting group parameter to 0. Thus the dedicated discrete RIO bits appear
in I/O group 1 of rack 5 (I/O:051).

!

ATTENTION: If the motion controller powers up with the
Run Application Program bit set, the program will start
immediately.

!

ATTENTION: Do not set both the Run Application
Program bit and the Stop Application Program bit at the same
time otherwise unpredictable operation of the motion
controller can occur.