beautypg.com

Example: jogging an axis, E example: jogging an, Axis – Delta RMC151 User Manual

Page 402: Jog button

background image

RMC70/150 and RMCTools User Manual

5.16.5. Example: Jogging an Axis

This topic provides two examples on how to program the RMC to jog on a position axis. Each

example uses closed-loop moves to jog the axis, which requires that the axis has already been

tuned. The examples can of course be modified to do open-loop motion.

Description

Jogging an axis typically refers to moving an axis forward or backward while a button is

pressed. As soon as the button is released, the axis stops.
There are two main types of buttons that can be used for this application:

1. Momentary "buttons" on a touch panel HMI.

In this case, the HMI must be programmed to write a value to a bit or register in the

RMC when it is pressed, and write another when is released.
Note:

For help on how to communicate with the RMC via an HMI, see the Communicating

with HMIs topic.

2. Momentary voltage switches, buttons, or a joystick.

In this case, the switches, buttons, or joystick must be wired to two discrete inputs on

the RMC.

Method

Programming the RMC for the jog function consists of the following steps:

1. Set up the buttons

If you are using an HMI, this requires placing two buttons on the screen; one

to move the axis forward, and another to move it backward. Each button press

should cause a value to be written to a variable in the RMC.

If you are using a joystick, or buttons or switches, the outputs should be wired

to two discrete inputs on the RMC.

2. Create three User Programs:

1.

a. User Program 1 will consist of one step that moves the axis forward.
b. User Program 2 will consist of one step that moves the axis backward.
c. User Program 3 will consist of one step that stops the axis.

2. Create four Program Triggers:

a. The first condition will continuously monitor the discrete input (or variable

register) for moving the axis forward. When it turns "on", it will start User

Program 1, which will move the axis forward.

b. The second condition will continuously monitor the discrete input (or variable

register) for moving the axis backward. When it turns "on", it will start User

Program 2, which will move the axis backward.

c. The third condition will continuously monitor the discrete input (or variable

register) for moving the axis forward. When it turns "off", it will start User

Program 3, which will stop the axis.

382

Delta Computer Systems, Inc.

This manual is related to the following products: