Macro commands and examples, Pm designer operation manual – B&B Electronics WOP-2121V-N4AE - Manual User Manual
Page 419

14
PM Designer Operation Manual
14-10
CHAPTER 14 USING MACROS
14.4. Macro Commands and Examples
14.4.1. Macro Notations and Terminology
The following notations and terminology will be used in the Macro Commands and Examples sections.
■ Notations
1) P1, P2, P3, P4, P5: Parameters of macro commands.
2) I, E, C, A, CS, M, AE, CE: Used for indicating the types of parameter a macro command can accept for a specific
command parameter.
Abbreviation
Parameter Type
I
Internal Variable
E
External Variable
C
Constant
A
ASCII character string
CS
Character string of the program label
M
Sub-macro name
AE
Arithmetic expression
CE
Comparison expression
3) U, S, UD, SD, F, B: Used for indicating the types of data a macro command can support.
Abbreviation
Data Type
U
16-bit Unsigned Integer
S
16-bit Signed Integer
UD
32-bit Unsigned Integer
SD
32-bit Signed Integer
F
32-bit Floating Point
B
Bit
■ Terminology
Terminology
Definition
Internal memory
The memory space in the PM that can be accessed by the panel application. For example, the
user memory $U, the non-volatile memory $N, the system memory $S, and the recipe
memory $R are all parts of the internal memory.
Internal variable
An address or a tag referring to an address of a space in the internal memory.
Internal bit variable
An internal variable that refers to a bit in the internal memory.
For easy to read, we usually use “internal variable” instead of “internal bit variable” when
referring to a bit if there is no ambiguity.
Internal word variable
An internal variable that refers to a word in the internal memory.
The variables can also be used to refer to a double-word, a block of bytes (byte array), a block
of words (word array), and a block of double-words (double-word array).
For easy to read, we usually use “internal variable” instead of “internal word variable” when
referring to a word or a block of memory space if there is no ambiguity,
External memory
The memory spaces or the collections of addressable devices in the controllers that can be
accessed by the panel application through communication links.
Continued