D-12Instruction Set Quick Reference

Instruction

Description

 

 

SRT

SORT

File#N7:1

ControlR6:0

Length4

Position0

Sort

SRT

Status Bits:

EN-Enable

DN-Done Bit

ER-Error Bit

When the input conditions go from false-to-true, the values in N7:1, N7:2, N7:3.and N7:4 are sorted into ascending order.

STD

STANDARD DEVIATION

File

#N7:1

Dest

N7:0

Control

R6:0

Length

4

Position

0

Standard Deviation

STD

Status Bits:

EN - Enable

DN - Done Bit

ER - Error Bit

When the input conditions go from false-to-true, take the standard deviation of the values in file #N7:1 and store the result in the Destination (N7:0).

Status

Description

Bit

 

 

 

C

always resets

Vsets if overflow is generated; otherwise resets

Z

sets if the result is zero; otherwise resets

S

always resets

Publication 1785-UM012D-EN-P - July 2005

Page 312
Image 312
Bradley Smoker PLC-5 user manual Srt, Std