Process Control Instructions
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 137
Structured Text
Place the PIDE instruction in a slow, lower priority task.
BarrelTempLoop.PV := BarrelTemp;
PIDE(BarrelTempLoop);
LoopOutput := BarrelTempLoop.CVEU;
Place the SR
TP instruction in a faster, higher priority task.
SRTP_02.In := LoopOutput;
SRTP(SRTP_02);
ResistiveHeater := SRTP_02.HeatOut;
CoolingSolenoid := SRTP_02.CoolOut;
See also
Common Attributes on page 537
Structured Text Syntax on page 508
This information applies to the CompactLogix 5370, ControlLogix 5570,
Compact GuardLogix 5370, GuardLogix 5570, Compact GuardLogix 5380,
CompactLogix 5380, CompactLogix 5480, ControlLogix 5580, and GuardLogix
5580 controllers.
The TOT instruction provides a time-scaled accumulation of an analog input
value.
Available Languages
Ladder Diagram
This instruction is not available in ladder diagram logic.