Installation guide

Programming Commands 97
EVENT1 Motion Parameter
ACTION: Returns the state of the trigger input labeled EVNT1 for the selected axis
or sets the trigger polarity and enable, which are used in MOVEHOME,
MOVEREG and FOLMOVEREG cycles.
PROGRAM SYNTAX: EVENT1(axis)=expression
EVENT1=expression1, ... , expression 8
EVENT1(axis, ... , axis)=expression, expression
EVENT1(axis) - used in an expression
REMARKS: Axis specifies the number of the axis (1-8).
The EVENT1 command is used to select the effects of the hardware
signal at the EVNT1 input on the axis card. This input is typically wired
to a switch or sensor. It may be used as a home positioning trigger dur-
ing a MOVEHOME cycle. It may also be used as a position mark reg-
istration trigger during a MOVEREG or FOLMOVEREG cycle. When
used for mark registration, a trigger on EVNT1 will initiate the index
portion of the MOVEREG or FOLMOVEREG cycle.
The EVENT1 triggering for a MOVEHOME or MOVEREG cycle
may be combined with an encoder index pulse input, and is assigned in
the user program Configuration and Setup.
For a MOVEHOME cycle, the EVENT1 command may be used to
set the polarity of the move home trigger. If the expression of the com-
mand is positive the home trigger occurs when the EVNT1 input be-
comes active. If the expression of the command is negative the home
trigger occurs when the EVNT1 input becomes inactive. A Home cycle
trigger EVENT1 cannot be disabled using this command.
For a MOVEREG cycle, the EVENT1 command may be used to set
the polarity of the registration trigger. If the expression of the command
is positive the registration trigger occurs when the EVNT1 input be-
comes active. If the expression of the command is negative the regis-
tration trigger occurs when the EVNT1 input becomes inactive.
The EVENT1 trigger for a registration cycle may be disabled by setting
EVENT1=0. A registration trigger may be enabled to either polarity
during a move. It may not, however, be disabled once the cycle has be-
gun.
EXAMPLES: EVENT1(2)=0 ‘disables Event1 as a MOVEREG trigger on axis 2.
EVENT1(2)=1 ‘enables Event1 as an active input trigger on axis 2.
EVENT1(2)=-1 ‘enables Event1 as an inactive input trigger on axis 2.