11  PROCESS CONTROL INSTRUCTIONS
11.3  Control Operation Instructions
1303
11
Middle value selector
S.MID
This instruction outputs the intermediate values between the maximum and minimum values among the input data.
■Execution condition
■Description, range, data type
■Applicable devices
ST Ladder
ENO:=S_MID(EN,s1,s2,s3,d1);
FBD/LD
Instruction Execution condition
S.MID
Operand Description Range Data type
(s1) Input data start device Refer to "Input data". Word
(d1) Block memory start device Refer to "Block memory". Word
(s2) Empty string specification
(Specify "" in ladder. Specify '' in ST or FBD/LD.)
 String
(s3) Empty string specification
(Specify "" in ladder. Specify '' in ST or FBD/LD.)
 String
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)   
(s3)   
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)