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

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

Advertisement

Settings in OnTime[] and OffTime[]
When the value of EnableOut changes to TRUE, the values in OnTime[] and OffTime[] are enabled.
Settings in OnTime[] and OffTime[]
 Minimum Output Pulse Width
To output pulses with a time accuracy of 1 μs, set each of the interval between OnTime[] and Off-
Time[] to at least twice the task period. If the interval is less than two task periods, the pulse will be
delayed from the specified ON/OFF time by one task period when the pulse is not output as speci-
fied.
OnTime[0], OffTime[0]
OnTime[1], OffTime[1]
Refer to the following description for details on the operation.
 Setting the Same Value for the Same Elements of OnTime[] and OffTime[]
If you set the same value for the same elements of OnTime[] and OffTime[], the output will remain
FALSE. Therefore, the following figure shows the output operation for the following values of the ele-
ments of the two arrays.
Name
OnTime[]
OffTime[]
TRUE
Output
FALSE
 When Value in OnTime[] Is Larger Than Value in OffTime[] for the Same
Element
If the value in OnTime[] is larger than value in OffTime[] for the same element, the output value will
change to FALSE first and then change to TRUE.
Also, if the lowest value of the elements of OnTime[] is larger than the lowest value of the elements
of OffTime[], the output value will change to TRUE immediately after the instruction is executed.
Also, if the highest value of the elements of OnTime[] is larger than the highest value of the elements
of OffTime[], the output value will remain TRUE after the instruction is executed.

NY-series Instructions Reference Manual (W560)

TRUE
FALSE
TRUE
EnableOut
FALSE
TRUE
Output
FALSE
TRUE
FALSE
TRUE
EnableOut
FALSE
TRUE
Output
FALSE
TRUE
FALSE
TRUE
FALSE
Element numbers
0
1
10 ms later
30 ms later
20 ms later
30 ms later
Reference time
10 ms
Remains FALSE.
20 ms
30 ms
At least twice the task period
2
0
0
2 Instruction Descriptions
2-1349
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents