158 •
Overview of Commands for Move Mode
Position table commands
WAGO-I/O-SYSTEM
750
I/O
Modules
Function
Opcode Meaning
Page
SET_ACTUALPOSITION_
ZERO
0x2F
The current position is set to zero
SET_CURRENT 0x39
Sets the motor current for drive
movement.
Math commands
VAR_SET 0x50
Sets one of the variables FILT1 ...
FILT8 to the specified value
VAR_INC 0x51
Adds the specified value to one of the
variables FILT1 … FILT8.
VAR_DEC 0x52
Subtracts the specified value from one
of the variables FILT1 … FILT8.
VAR_ADD 0x53
Adds two variables and writes the
results to a third variable.
VAR_SUB 0x54
Subtracts two variables and writes the
results to a third variable.
VAR_MUL 0x55
Multiplies one variable by another one
and writes the results to a third variable.
VAR_COPY
0x56
Copes one variable to another variable. 191
VAR_DIV 0x57
Divides one variable by another one and
writes the results to a third variable.
WAIT_TIME 0x70
Waits a defined time period before
processing the next command.
WAIT_TEST_BIT 0x71
Before processing the next command
waits until the specified bit has the
status 0 or 1.
Auxiliary commands
WR_BIT
0x78
Sets a bit to 0 or 1.
NOP 0xF0
No
function
PROG_STOP
0xF1
Ends table processing.
PROG_END
0x00 or
0xFF
End of table.
GOTO 0xF5
Continues table process at the addressed
entry.
GOTO_IF 0xF6
If a bit has been set, table processing is
continued at the addressed entry;
otherwise from the next entry.
GOTO_IF_NOT 0xF7
If a bit has been deleted, table
processing is continued at the addressed
entry; otherwise from the next entry.
GOTO_LABEL 0xF8
Continues table process from a defined
label.
GOTO_LABEL_IF 0xF9
Continues table processing for a defined
label if a bit has been set.