Command Summary - Homing Operation; Operand Summary - Homing Operation; High Speed Position Capture (The Latch Function); Example - Galil Motion Control CDS-3310 User Manual

Table of Contents

Advertisement

Command Summary - Homing Operation

command
FE ABCD
FI ABCD
HM ABCD
SC ABCD
TS ABCD

Operand Summary - Homing Operation

Operand
_HMa
_SCa
_TSa

High Speed Position Capture (The Latch Function)

Often it is desirable to capture the position precisely for registration applications. The CDS-3310
provides a position latch feature. This feature allows the position of the main or auxiliary encoder to
be captured when the latch input changes state. This function can be set up such that the position is
captured when the latch input goes high or low. When the latch function is enabled for active low
operation, the position will be captured within 12 microseconds. When the latch function is enabled
for active high operation, the position will be captured within 35 microseconds. General input 1 is
associated to the axis for position capture.
The CDS-3310 software commands, AL and RL, are used to arm the latch and report the latched
position. The steps to use the latch are as follows:
1. Give the AL ABCD command to arm the latch for the main encoder and ALSASBSCSD for
2. Test to see if the latch has occurred (Input goes low) by using the _AL A or B or C or D
3. After the latch has occurred, read the captured position with the RL ABCD command or _RL
NOTE: The latch must be re-armed after each latching event.

Example

CDS-3310
Description
Find Edge Routine. This routine monitors the Home Input
Find Index Routine - This routine monitors the Index Input
Home Routine - This routine combines FE and FI as Described Above
Stop Code
Tell Status of Switches and Inputs
Description
Contains the value of the state of the Home Input
Contains stop code
Contains status of switches and inputs
the auxiliary encoders.
command. Example, V1=_ALA returns the state of the A latch into V1. V1 is 1 if the latch
has not occurred.
ABCD.
#LATCH
JG,5000
BG B
AL B
#WAIT
JP #WAIT,_ALB=1
Result=_RLB
Result=
EN
Latch program
Jog B
Begin motion on B axis
Arm Latch for B axis
#Wait label for loop
Jump to #Wait label if latch has not occurred
Set 'Result' equal to the reported position of y axis
Print result
End
Chapter 6 Programming Motion
i
15

Advertisement

Table of Contents
loading

Table of Contents