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
Name
EnableOut
OnTime[] array ON times
OffTime[] array OFF times
The ON times OnTime[] and OFF times OffTime[] arrays each have 16 elements. The values of the ele-
ments with the same element numbers in both arrays are the ON time and OFF time for one pulse.
Therefore, you can specify up to 16 pulses. If the value of the same element in both arrays is 0, the val-
ues of all of the elements past them are disabled.
For example, the following figure shows the output operation for the following values of the elements of
OnTime[] and OffTime[]. The times specified in the following table indicate the number of milliseconds
after the reference time.
Name
OnTime[]
10 ms later
OffTime[]
20 ms later
Reference time
TRUE
Output
FALSE
10 ms
The values of the elements of OnTime[] and OffTime[] do not need to be in chronological order. For
example, the output operation for the following values of the elements of OnTime[] and OffTime[] would
be the same as the one shown above.
Name
OnTime[]
30 ms later
OffTime[]
35 ms later
 EnableOut (Output Enable)
Output enable EnableOut enables the settings in OnTime[] and OffTime[]. If the value of EnableOut
is FALSE, the output value is FALSE regardless of the values in OnTime[] and OffTime[].
You can change the value of EnableOut during execution of the instruction.
When the value of EnableOut changes to FALSE, the output value changes to FALSE.
2-1348
Meaning
Description
Output enable flag
TRUE: Enable OnTime
Output enable
and OffTime settings.
FALSE: Disable OnTime
and OffTime settings.
Times at which to turn
ON the output bit
Times at which to turn
OFF the output bit
Element numbers
0
1
30 ms later
60 ms later
35 ms later
80 ms later
20 ms
30 ms
35 ms
60 ms
80 ms
Element numbers
0
1
2
60 ms later
10 ms later
80 ms later
20 ms later
Data type
Valid range
BOOL
Depends on
data type.
ARRAY[0..15]
OF ULINT
ARRAY[0..15]
OF ULINT
2
3
0
90 ms later
0
100 ms later
3
4
0
90 ms later
0
100 ms later

NY-series Instructions Reference Manual (W560)

Unit
Default
---
FALSE
0 for all
ns
ele-
ments
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents