![background image](http://html1.mh-extra.com/html/omron/sysmac-cj-series/sysmac-cj-series_operation-manual_743585187.webp)
All BASIC commands
Section 4-2
175
4-2-138 INVERT_IN
/i
4-2-139 INVERT_STEP
/i
Type
System command
Syntax
INVERT_IN(input, on/off)
Description
The
INVERT_IN
command allows the input channels 0..31 to be individ-
ually inverted in software. This is important as these input channels can
be assigned to activate functions such as feedhold.
The
INVERT_IN
function sets the inversion for one channel ON or OFF.
It can only be applied to inputs 0..31.
Arguments
•
input
Any valid BASIC expression
Example
>>? IN(3)
0.0000
>>INVERT_IN(3,ON)
>>? IN(3)
1.0000
See also
N/A
Type
Axis parameter
Syntax
INVERT_STEP
Description
INVERT_STEP
is used to switch a hardware Inverter into the stepper
pulse output circuit. This can be necessary for connecting to some step-
per drivers. The electronic logic inside the Trajexia stepper pulse gener-
ator 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 drivers. 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
Summary of Contents for SYSMAC CJ Series
Page 2: ......
Page 70: ...Specifications Section 2 4 58...
Page 84: ...FINS commands Section 3 4 72...
Page 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Page 370: ...Section 358...