Omron Sysmac NY-series Instruction & Reference Manual page 510

Industrial pc platform, motion control
Hide thumbs Also See for Sysmac NY-series:
Table of Contents

Advertisement

3 Axis Command Instructions
Name
Meaning
FirstOnPosition
ON Start Po-
sition
LastOnPosition
ON End Posi-
tion
AxisDirection
Axis Direction
Selection
CamSwitchMode
Switch Mode
Selection
Duration
ON Duration
*1.
You can specify up to the highest element number for the variable that is specified for Outputs (Output Signals).
*2.
The unit is command units. The command unit is millimeters, micrometers, nanometers, degrees, inches, or pulses.
When the Count Mode is set to Linear Mode, the setting range when the value is converted to pulses is 40 bits (sign-
ed integer: 0x8000000000 to 0x7FFFFFFFFF). When the Count Mode is set to Rotary Mode, the setting range is from
greater than or equal to the modulo minimum position to less than the modulo maximum position.
*3.
The default value for an enumeration variable is actually not the number, but the enumerator.
*4.
If you specify 1 (_mcPositionBased), operation is based on the values of FirstOnPosition (ON Start Position) and
LastOnPosition (ON End Position). The value of Duration (ON Duration) is ignored.
*5.
If you specify 2 (_mcTimeBased), operation is based on the values of FirstOnPosition (ON Start Position) and
Duration (ON Duration). The value of LastOnPosition (ON End Position) is ignored.
Setting Example
Name
Meaning
TrackNumber
Track Number
FirstOnPosition
ON Start Position
LastOnPosition
ON End Position
AxisDirection
Axis Direction Se-
lection
CamSwitchMode
Switch Mode Se-
lection
Duration
ON Duration
*1.
When the Switch Mode Selection is set for time-based operation, operation is performed with the ON Start Position
and ON Duration. The value of the ON End Position is ignored.
*2.
When the Switch Mode Selection is set for position-based operation, operation is performed with the ON Start Position
and ON End Position. The value of the ON Duration is ignored.
3-422
Data type
Valid range
LREAL
Negative number, posi-
tive number, or 0
LREAL
Negative number, posi-
tive number, or 0
_eMC_DI-
0: _mcPositiveDirec-
RECTION
tion
2: _mcNegativeDirec-
tion
4: _mcNoDirection
_eMC_SW
0: _mcSwitchDisable
ITCH_MO
1: _mcPositionBased
DE
2: _mcTimeBased
TIME
Positive number or
T#0s
Switch 0
Switch 1
0
0
2000.0
2500.0
3000.0
3000.0
Positive di-
Negative
rection
direction
Position
Position
based
based
*2
*2
---
---
NY-series Motion Control Instructions Reference Manual (W561)
Default
Description
0
Specify the position for the output to
*2
turn ON.
0
Specify the position for the output to
*2
turn OFF.
This member is valid when the
Switch Mode Selection is set for po-
sition-based operation.
Specify the rotation direction.
*3
0
0: Positive direction
2: Negative direction
4: No direction specified (both direc-
tions).
Specify the Switch Mode.
*3
0
0: Switch disabled.
1: Position based
2: Time based
T#0s
Specify the time for the output to
turn ON.
This member is valid when the
Switch Mode Selection is set for
time-based operation.
Switch 2
Switch 3
0
1
4000.0
3000.0
1000.0
*1
---
No direc-
No direc-
tion speci-
tion speci-
fied
fied
Position
Time based
based
T#1350ms
*2
---
*4
*5
• • •
Switch 255

Advertisement

Table of Contents
loading

Table of Contents