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

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

Advertisement

Operation of Time-proportional Output DOut for Delay
The delay prevents DOut from changing to TRUE until the set time has elapsed from the start of the
control period. If more than one of this instruction is used, you can offset the timing of when DOut
changes to TRUE by setting Delay. This reduces the chance that DOut will turn ON simultaneously for
more than one instruction. For example, if you operate more than one heating device, you can use
Delay to offset when the output to each heating device turns ON to reduce the power that is used at any
one time.
DOut changes to TRUE after the percentage of time specified with Delay elapses from the start of the
control period.
For example, you could set the following values for devices A and B, which have the same control
period.
Device
Device A
Device B
DOut for device A changes to TRUE at the start of the control period. DOut for device B changes to
TRUE three seconds after the start of the control period.
DOut for device A
DOut for device B
Precautions for Correct Use
• Set the value of control period CtlPrd to a multiple of the task period of the task to which the program
is assigned. If the task period is not set to a multiple of CtlPrd, the actual control period will be from
when control period CtlPrd ends until the next time the task is executed. For example, if the task
period is set to 3 ms and the value of CtlPrd is 1 s, the actual control period will be 1,002 ms (from
when CtlPrd ends until the next time the task is executed).
TRUE
DOut
FALSE
• Set the task period and control period CtlPrd so that the resolution of DOut is 0.1% or less. If the res-
olution of DOut exceeds 0.1%, the error between the ratio when DOut is TRUE and the value of AIn
will be excessive and control performance will decrease. For example, if CtlPrd is 10 s, set the task
period to 10 ms or lower.
• If you use more than one of this instruction and need to synchronize the control periods, use the
instructions in the same program. If you use them in different programs, the control periods will
depend on the timing of the execution of the programs, and they will not be synchronized.
• The time from when the value of Enable changes to TRUE and operation starts for DOut is not con-
stant.

NY-series Instructions Reference Manual (W560)

Value of Delay
Value of AIn
0%
20%
30%
CtlPrd = 10 s
2 s
TRUE
FALSE
3 s
2 s
TRUE
FALSE
Actual control period = 1,002 ms
CtlPrd = 1 s
Task period = 3 ms
2 Instruction Descriptions
Value of CtlPrd
10 s
CtlPrd = 10 s
2 s
3 s
2 s
Time
2 ms
2
Time
2-731

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents