Registration example, Latched_position_ready, Registration – Yaskawa FSP Amplifier FlexWorks User Manual

Page 88: Example

Advertising
background image

Operating the FSP Amplifier Using FlexWorks

88

4.10.4.4. Latched_position_ready

This variable indicates whether or not the latching condition has
been met. The variable has two possible states:

♦ 0: The latching condition has not yet been met.
♦ 1: The latching condition has been met.

This variable is automatically set to 0 by the LATCHING_TRIGGER
command. It is set to 1 once the latching data has been processed

(this may take up to 4ms).

4.10.5. Registration

Example

The following short example program illustrates the use of the
commands and variables discussed above.
1. Speed 300 - Sets the speed for the MOVE_H command.
2. LATCHING_TRIGGER Rising Edge - Sets latching condition.
3. MOVE_H 5000 - Starts motion.
4. WAIT_VAR Latched_position_ready = 1 - Delays next
command until variable changes to 1.
5. REGISTRATION_DISTANCE 100 - Starts registration
movement to stop 100 user position units
after latching condition is met.

Advertising
This manual is related to the following products: