beautypg.com

7 summary, f-tran instruction set – Micromod Micro-DCI: 53MC5000 Multi-Loop Process Controller CUSTOMIZATION GUIDE User Manual

Page 49

background image

2.7 Summary, F-TRAN Instruction Set

LEGENDS: Symbols used in this discussion.

< >Used to enclose an expression

| Separates possible alternatives

Expressions — combination of operators and operands
Rule: Reverse Polish Notation

Legitimate expressions are defined as follows:

B expression = < B operand > | < B expression B expression B operator >|
< C operand $ > | < H operand $ $ > | < B literal >

C expression = < C operand > | < B expression % > | < H operand $ > |
< C expression C expression C operator > | < C literal >

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

L expression = < L operand > | < L expression L unary operator > |

< L expression L expression L binary operator > |

< C expression C expression : > |

< B expression B expression : > | < B expression Q > |

< H expression H expression : > | < B expression Z > |

< C expression Z > | < H expression Z >

A expression = < A operand > | < A literal >

F expression = < F operand > | < F literal >

NOTE : A binary operator requires two operands (such as an AND gate);

a unary operator requires only one operand (such as an

INVERT).

NOTE: The expression on the right side must be an operand (i.e., no

computed data).

MODULAR CONTROLLER CUSTOMIZATION GUIDE

2-42