Manual – IPOSplus®
319
23
Communication commands
Assembler – Commands
TRANSMIT
ACYCLIC
This argument initializes a data object, whose user data is transmitted once immedi-
ately. Variable H of the
SCOM TRANSMIT ACYCLIC H
command defines the start of
the communication and user data. A SCOMON command is not required.
A SCOM TRANSMIT ACYCLIC H command is used to send several variables. To do
so, set the variable pointer (H+2) accordingly in the IPOS
plus®
program before calling
each command.
Object structure
RECEIVE
This argument initializes a data object that contains data received cyclically or acycli-
cally. The variable in the argument of the SCOM RECEIVE command contains the vari-
able number as of which the receive data is to be stored.
The process of reading in the data must be started with the SCOMON command. The
process of reading in data runs in the background once it has been started, regardless
of the current command processing in the IPOS
plus®
program. After the first SCOMON
command, no other SCOM RECEIVE commands are accepted. A change of the data
object will only become active following an IPOS
plus®
program restart (F5 A/P-STOP /
F9 P-Start, or mains (24V auxiliary operation) turned off and then on again)
You can set up max. 32 data objects for reading in data.
H+0
Object number (CAN-Bus-ID):
The object number is used for addressing the data object. An
object number can only be allocated once in a bus system. The object numbers of the sender
(TRANSMIT) and receiver (RECEIVE) must be the same for the data exchange. The object
numbers > 1024 ... 2048 should be used to avoid a data clash whenever MOVLNK com-
mands are also used via the SBus.
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 variable H" at which the data to be sent are to start.
H+3
Status of the transmission command
0
Ready
1
Sending
2
Sending successful
10
Send error
INFORMATION
Prior to transmitting acyclical telegrams, the SBus must also be activated with
SCOMON and SCOMSTATE.
The IPOS
plus®
program waits at this command until the message has been sent. If no
other station is connected the telegram cannot be sent. The wait status can only be
ended by a monitoring function, for example, from another task.
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n