
The macro has the following tasks:
■
If button 4 is not pressed: End the execution of BUTTON4
■
If button 4 is pressed: Enable HID control and start the main loop
10.Start the STARTUP macro on the controller.
MAC START startup
Axis X starts a reference move to the reference point switch. HID control is then enabled for
axis X, so that the absolute target position can be controlled with the joystick. As long as HID
control is enabled, buttons 1 and 2 have no effect. HID control is disabled by pressing button
3. Relative motion of axis X can then be started with buttons 1 and 2, and HID control can be
enabled again with button 4.
8.6.8
Commands
#
Page
#24
Stop All Axes
119
#8
Query If Macro Is Running
119
A
Page
ADD
Add And Save To Variable
120
C
Page
CPY
Copy Into Variable
120
D
Page
DEL
Delay The Command Interpreter
124
J
Page
JRC
Jump Relatively Depending On Condition
144
M
Page
MAC BEG
Call Macro Function: BEG
145
MAC DEF
Call Macro Function: DEF
145
MAC DEF?
Call Macro Function: DEF?
145
MAC DEL
Call Macro Function: DEL
146
MAC END
Call Macro Function: END
146
MAC ERR?
Call Macro Function: ERR?
146
MAC NSTART
Call Macro Function: NSTART
146
MAC START
Call Macro Function: START
147
MAC?
List Macros
147
MEX
Stop Macro Execution Due To Condition
148
R
Page
RBT
Reboot System
154
RMC?
List Running Macros
154
S
Page
STP
Stop All Axes
162
8 E-871.1A1N FUNCTIONS
PZ285EN
‒
1/30/2019
101
M O T I O N | P O S I T I O N I N G