Additional Information
For details on the NX_AryDOutTimeStamp instruction, refer to the NY
-series Instructions
Reference Manual (Cat. No. W560).
Instruction Details
You can use this instruction to implement a mechanical cam switch that controls a sensor output signal
according to cam rotation angles in a program in the Controller
. One track corresponds to one cam.
Track 0
ON start position
ON end position
ON start position
ON end position
ON start position
ON end position
ON start position
ON end position
ON start position
ON end position
ON start position
ON end position
ON start position
ON end position
ON start position
ON end position
ON start position
ON end position
Track 0
Track 1
Track 2
Track 1
Track 2
Position
TrackNumber corresponds to the cam number
. The values of the FirstOnPosition (ON Start Position)
and LastOnPosition (ON End Position) correspond to the shape of the cam.
The MC_DigitalCamSwitch instruction calculates the OnTime (ON Time) and OffTime (OFF Time) to
reach the specified ON start position and ON end position and stores them in the parameter that is
specified for Outputs (Output Signals).
Outputs[0]
OnTime[0]
OffTime[0]
OnTime[0]
OffTime[0]
OnTime[1]
OffTime[1]
OnTime[2]
OffTime[2]
OnTime[0] OffTime[0] OnTime[1] OffTime[1] OnTime[2] OffTime[2]
OnTime[3]
OffTime[3]
OnTime[4]
OffTime[4]
Outputs[1]
Outputs[2]
Time
The NX_AryDOutTimeStamp instruction turns the actual digital outputs ON or OFF according to
OnT
ime (ON Time) and OffTime (OFF Time) in the parameter that is specified for SetDOut (Output
Pulses).
3 Axis Command Instructions
3-420
NY-series Motion Control Instructions Reference Manual (W561)