1254
11 PROCESS CONTROL INSTRUCTIONS
11.3 Control Operation Instructions
Sample PI control
S.SPI
The instruction checks whether ST or HT is applicable and, if ST is applicable, performs the following processing steps: SV
setting, tracking, gain (Kp) operation, SPI operation, and deviation check.
■Execution condition
■Description, range, data type
■Applicable devices
Ladder ST
ENO:=S_SPI(EN,s1,s2,s3,d1,d2);
FBD/LD
Instruction Execution condition
S.SPI
Operand Description Range Data type
(s1) Input data start device Refer to "Input data". Single-precision real
number
(d1) Block memory start device Refer to "Block memory". Word
(s2) Operation constant start device Refer to "Operation constant". Word
(d2) Loop tag memory start device Refer to "Loop tag memory". Word
(s3) When E2 is used: Set value start device
When E2 is not used: Dummy device
Refer to "Set value". Single-precision real
number
EN Execution condition Bit
ENO Execution result Bit
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, R, ZR,
RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s1)
(d1)
(s2)
(d2)
(s3)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)