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
Function
The TimeProportionalOut instruction converts a manipulated variable, such as the one for PID control,
to a time-proportional output. A time-proportional output converts a manipulated variable to a time ratio
between ON and OFF.
While Enable is TRUE, the value of manipulated variable AIn is converted to time-proportional output
DOut for control period CtlPrd. If Enable changes to FALSE, the time-proportional output is reset. DOut
and Error change to FALSE. The values of CtlPrd, MinPlsWidth, and Delay are updated when Enable
changes from FALSE to TRUE.
The following example is for when the value of CtlPrd is 10 s and the value of AIn is 20%. While Enable
is TRUE, DOut is TRUE for two seconds and then FALSE for eight seconds. This is repeated at a 10-
second period.
LD
A
PV
T#10s
REAL#0
REAL#0
ST
TimeProportionalOut_instance(A,PV,T#10s,REAL#0,REAL#0,B,Error0);
TRUE
Enable = A
FALSE
AIn = PV = 20%
TRUE
DOut = B
FALSE
Resolution of Time-proportional Output DOut
The minimum unit for the conversion of the value of AIn to DOut is the resolution of DOut.
If the resolution of the value of AIn is higher than the resolution of DOut, AIn is rounded to the resolution
of DOut when it is converted to DOut.
The resolution of DOut is given by the following formula.
Resolution of DOut (%) = Task period ÷ CtlPrd × 100
For example, if the task period is 1 ms and the value of CtlPrd is 1 s, the resolution of DOut is 0.1%. In
this case, the digits after the first decimal digit of the value of AIn are truncated.
2-728
TimeProportionalOut_Instance
TimeProportionalOut
Enable
DOut
AIn
Error
CtlPrd
MinPlsWidth
Delay
CtlPrd = T#10s
2 s
8 s
When Enable changes to TRUE,
DOut starts operation.
B
Error0
CtlPrd = T#10s
2 s
8 s
When Enable changes to FALSE,
DOut changes to FALSE.

NY-series Instructions Reference Manual (W560)

CtlPrd = T#10s
2 s
Time

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents