Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
Settings in OnTime[0]
and OffTime[0]
Settings in OnTime[1]
and OffTime[1]
Output
 Simultaneous TRUE and FALSE Settings for an Output Value
If there are TRUE and FALSE settings at the same time for an output value, an error will not occur
and the setting for the element in OnTime[] and OffTime[] with the lower element number is given
priority. Therefore, the following figure shows the output operation for the following values of the ele-
ments of the two arrays.
Name
OnTime[]
OffTime[]
Settings in OnTime[0]
and OffTime[0]
Settings in OnTime[1]
and OffTime[1]
Output
Additional Information
This instruction is used with the MC_DigitalCamSwitch instruction. Refer to the NJ/NX-series Motion
Control Instructions Reference Manual (Cat. No. W508) for the detailed specifications of the MC_Digi-
talCamSwitch instruction.
Precautions for Correct Use
• You can execute this instruction only for a Digital Output Unit that supports time stamp refreshing.
However, an error will not occur even if you execute this instruction when no Digital Output Unit that
supports time stamp refreshing is connected.
• If an EtherCAT communications error occurs or if the task period is exceeded, the output may not
occur at the specified time. In that case, the value is output in the next task period or later.
• If the device variables that are used with this instruction are used with other instructions in the same
or a different program, perform exclusive control processing.
2-1352
Reference time
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
10 ms
20 ms
30 ms
40 ms
Element numbers
0
1
10 ms later
20 ms later
20 ms later
30 ms later
Reference time
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
10 ms
20 ms
30 ms
The output value is already
TRUE so it remains TRUE.
The output value is already
FALSE so it remains FALSE.
2
0
0
The setting of OffTime[0] is given
priority over the setting of
OnTime[1], so the output value
changes to FALSE.

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents