![background image](http://html1.mh-extra.com/html/omron/smartslice-grt1-ml2/smartslice-grt1-ml2_programming-manual_742305126.webp)
BASIC commands
PROGRAMMING MANUAL
120
R
e
vi
si
o
n
1
.0
3.2.170 INVERT_STEP
/i
3.2.171 INVERTER_COMMAND
/i
/i
Arguments
•
input
Any valid BASIC expression
Example
>>? IN(3)
0.0000
>>INVERT_IN(3,ON)
>>? IN(3)
1.0000
Example
Typical setting when POT and NOT inputs of the Servo Drive are also used
for limits in Trajexia:
BASE(base_axis)
FWD_IN=16
INVERT_IN(16,ON)
REV_IN=17
INVERT_IN(17,ON)
And configure the POT and NOT inputs of the Servo Drive as required via
Servo Drive parameters.
See also
N/A
Type
Axis parameter
Syntax
INVERT_STEP
Description
INVERT_STEP
is used to switch a signal inverter into the stepper pulse out-
put circuit. This can be necessary for connecting to some stepper Drives. The
electronic logic inside the Trajexia stepper pulse generator assumes that the
FALLING edge of the step output is the active edge which results in motor
movement. This is suitable for the majority of stepper Drives. Setting
INVERT_STEP=ON
effectively makes the RISING edge of the step signal the
active edge.
INVERT_STEP
should be set if required prior to enabling the
controller with
WDOG=ON
. Default is off.
Note: If the setting is incorrect a stepper motor may lose position by one step
when changing direction.
Note: This parameter is applicable only to Flexible axis stepper output axes
with ATYPE=46. With other types of axes, this parameter has no effect.
Arguments
N/A
Example
No example.
See also
N/A
Type
System command
Syntax
INVERTER_COMMAND(module, station, 1, alarm_number)
INVERTER_COMMAND(module, station, 8, mode)
INVERTER_COMMAND(module, station, 7, operation_signals)
Description
INVERTER_COMMAND
controls inputs and clears alarm of the Inverter con-
nected to the system via the MECHATROLINK-II bus.
There are three
INVERTER_COMMAND
functions:
•
1: Clears an alarm.
•
7: Controls operation signals.
•
8: Set an Inverter to Servo Drive mode, so it acts as a servo axis. This is
possible only for Inverters with an encoder feedback option card con-
nected.
To use an Inverter via MECHATROLINK-II you must put the command and
the reference via communication option:
•
Inverter MV/V7: N3=3; N4=9
•
Inverter F7/G7: B1-01=3; B1-02=3.
Make sure that the Inverter firmware supports the MECHATROLINK-II board.
The command returns -1 if successfully executed and 0 if failed.
The command sent to the Inverter corresponds with the bits given in the table
below.
Bit
Value
Command
Description
0
Hex 1
Run
forward
1
Hex 2
Run
reverse
2
Hex
4
Inverter multifunction Input 3
3
Hex
8
Inverter multifunction Input 4