AX-Series Motion Controller Instructions Manual Chapter 2
153
2.2.16 MC_DigitalCamSwitch
Supported Devices: AX-308E, AX-8, AX-364E
MC_DigitalCamSwitch uses the axis position to control a switch of a digital output.
FB/FC Instruction Graphic Expression ST Language
FB
MC_DigitalCam
Switch
MC_DigitalCamSwitch_instance(
Axis : =,
Switches : =,
Outputs: =,
TrackOptions: =,
Enable: =,
EnableMask: =,
TappetMode: =,
InOperation =>,
Busy =>,
Error =>,
ErrorID =>,
Inputs
Name Function Data Type
Setting Value
Timing to Take Effect
Enable
The instruction is run
when Execute
changes from False to
BOOL True/False (False) -
EnableMask
Enable the different
DWORD Positive or 0(16#FFFFFFFF)
When Enable turns to
TappetMode
Define the positions
for the position-
defined calculation of
the tappets.
MC_TAPPETMODE
*
0: tp_mode_auto
1: tp_mode_demandposition
2: tp_mode_actualposition
(tp_mode_auto)
When Enable turns to
True.
*Note: MC_TAPPETMODE: Enumeration (Enum)
Outputs
Output Range (Default Value)
InOperation
True when the track and
instruction is activated.
BOOL True/False (False)
Busy
True when the instruction is
run.
BOOL True/False (False)
Error True if an error occurs
BOOL
True/False (False)