2. Object index
Interbus-S
56
Operand codes
An operand consists of 7 bytes; 1 byte for the type indicator and 6 data bytes.
Operand Type D1 D2 D3 D4 D5 D6
Parameter 0x50 No.H
Nr.L 0x00 0x00 0x00 0x00
Status 0x53 No.H Nr.L 0x00 0x00 0x00 0x00
Variable 0x56 No.H Nr.L 0x00 0x00 0x00 0x00
Constants 0x20 NL NM NH VL VM VH
Comparison operator codes
A comparison operator consists of 1 byte.
Comparison operator Symbols Code
Equal = 0x3D
Less than < 0x3C
More than > 0x3E
Equal to/less than <= 0xBC
Equal to/greater than >= 0xBE
Does not equal <> 0xBB
Arithmetic operator
codes
An arithmetic operator consists of 1 byte.
Arithmetic Operator Symbols Code
Addition + 0x2B
Subtraction - 0x2D
Multiplication
*0x2A
Division / 0x2F
Whole number division
\0x5C
Modulo calculation
%0x25
The following set memory – command code table is a result of the application of these codes. All of the
commands are listed individually here!