320
Manual – IPOSplus®
23
Communication commands
Assembler – Commands
Object structure
Example 1 Cyclical transmission of two variable values (H008 and H009) with the SCOM command
from the sender to the receiver to variables H005 and H006.
Sender settings
H+0 Object number: The object number is used for addressing the data object. The object num-
bers of the sender (TRANSMIT) and receiver (RECEIVE) must be the same for the data
exchange.
H+1 Number of data bytes and data format
Bit Value Function
0...3 0...8 Number of data bytes
4...7 0 Reserved
8 0...1 0 = MOTOROLA format
1 = INTEL format
The format of the sender and receiver must be
the same!
9...31 0 Reserved
H+2 Number of the variable H" from which point the received data is stored
Differences in user data formats MOTOROLA and INTEL:
MOTOROLA format INTEL format
CAN Data Byte 0123456701234567
Variable H"+1 H" H" H"+1
Variables byte 3210321001230123
INFORMATION
In order to send or receive the data via SBus2, you have to add 0x1000000 to the ob-
ject number (OR operation).
With the SCOM command, even the variables that can be stored in the non-volatile
memory (H0 – H127) and all the parameters are only written in the volatile memory.
514587147
H0 Objectno. 1025 = user-defined
H1 Cycletime 10 = 10 ms
H2 Timeoffset 0 = no Offset
H3 Len 8 = Variable length 8 bytes
H4 D-Pointer 8 = Data pointer value at H8
H5 Returncode 96
H8 11111 = sent value