beautypg.com

1 statements, 2 assignment statements, 3 conditional statements – Micromod Micro-DCI: 53MC5000 Multi-Loop Process Controller CUSTOMIZATION GUIDE User Manual

Page 50: 4 if statements

background image

2.7.1 Statements

Composed of operands and expressions

2.7.2 Assignment Statements

NOTE: In cases where the right side of the statement is a different type

than the left side, the instrument will truncate or expand the

right side to make it compatible.

B operand = < B expression > | < C expression > | < H expression > | < L expression >

C operand = < C expression > | < B expression > | < H expression > | < L expression >

H operand = < H expression > | < C expression > | < B expression > | < L expression >

L operand = < L expression > | < B expression > | < C expression > | < H expression >

A operand = < A expression > | < F expression >

F operand = < F expression > | < A expression >

2.7.3 Conditional Statements

1) < Logical expression > Sxxx

2) < B expression > < B expression > Sxxx

3) < C expression > < C expression > Sxxx

4) < H expression > < H expression > Sxxx

2.7.4 IF Statements

IF

< logical expression >

{

}

ELSE (optional)

{

}

MODULAR CONTROLLER CUSTOMIZATION GUIDE

2-43