Omron NY532-5400 Reference Manual page 790

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

Advertisement

2 Instruction Descriptions
Execute PIDAT instruction.
Run[index]
ManCtl[index]
StartAT[index]
PV[index]
SP[index]
OprSetParams
InitSetParams
PB[index]
TI[index]
TD[index]
ManMV[index]
Time-proportional output
TimeProportionalOut_ON
CtlPrd[index]
MinPlsWidth[index]
Perform outputs for bits 00 to 03 of output word 1.
Inline ST
Note: Refer to Contents of Inline ST 2 for the contents of the inline ST.
EN
 Contents of Inline ST 1
// Get values of inputs 1 to 4.
CASE index OF
INT#0:
AI:=AI1;
INT#1:
AI:=AI2;
INT#2:
AI:=AI3;
ELSE
AI:=AI4;
END_CASE;
// Convert PV AI to real number.
PV[index]:=INT_TO_REAL(AI)/REAL#10.0;
// CJ1W-PH41U output is ten times the process value, so divide by 10.0.
 Contents of Inline ST 2
// Perform outputs for bits 00 to 03 of output word 1.
CASE index OF
INT#0:
DO1:=DOut_TPO;
INT#1:
DO2:=DOut_TPO;
INT#2:
DO3:=DOut_TPO;
ELSE
DO4:=DOut_TPO;
END_CASE;
2-738
PIDAT_instance
PIDAT
Run
ATDone
ManCtl
ATBusy
StartAT
Error
PV
ErrorID
SP
MV
OprSetParams
InitSetParams
ProportionalBand
IntegrationTime
DerivativeTime
ManMV
TimeProportionalOut_Instance
TimeProportionalOut
Enable
MV[index]
AIn
CtlPrd
MinPlsWidth
Delay[index]
Delay
NEXT
ENO
ATDone[index]
ATBusy[index]
Error_PIDAT[index]
ErrorID[index]
MV[index]
PB[index]
TI[index]
TD[index]
ManMV[index]
DOut_TPO
DOut
Error
Error_TimeProportionalOut[index]
NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents