Manual – IPOSplus®
227
17
Standard functions
Compiler – Functions
17.3.15 _MovCommDef
The _MovCommDef command can only be used with MQx modules.
Syntax
_MovCommDef(H)
Description
The MovComm commands enable cyclical data exchange between MQx and usually up
to 4 MOVIMOT
®
units via the RS-485 interface with the MOVILINK profile.
_MovCommDef is used to set up a communication connection with MOVIMOT
®
by set-
ting parameters such as the unit address, for example. _MovCommOn is used to start
cyclical communication. Thereafter, the cyclical communication runs in the background,
irrespective of the current command processing in the IPOS
plus®
program. A copy of the
exchanged process data is available in the IPOS
plus®
variables and can be read and
written there. Cyclical communication stops when the IPOS
plus®
program is stopped.
Up to 8 communication links are permitted. Note that the number of communication links
has a very powerful influence on the bus cycle time of the RS-485 and therefore also on
the response time of the MOVIMOT
®
unit. Approximately 20 ms bus cycle time must be
taken into account per communication link or station. The prerequisite for achieving the
20 ms bus cycle time per station is fault-free cabling of the RS-485. If a timeout occurs
during cyclical communication, this is displayed in fault 91 Gateway Sysfault. When a
feedback signal is received from MOVIMOT
®
, the error message is revoked automati-
cally.
Enter all information required to execute a command into a data structure in the variable
area with a user program. The start of this variable structure is the argument for the com-
mand. The variable is defined by the
MOVCOM variable name;
and has the following
structure.
INFORMATION
With MOVIDRIVE
®
B and MOVITRAC
®
B, the timeout monitoring is checked for tele-
grams received within the defined timeout interval.
With MOVIMOT
®
, the timeout monitoring is activated with the first received cyclic
frames (ML_FT... at the sender). Acyclical communication deactivates the timeout
monitoring of MOVIMOT
®
.
Once cyclical communication has been started with the _MovCommOn command,
only the _MoviLink command to address 253 (internal) is possible. When using the
_MoviLink command, other units can no longer be accessed.
BusType (H+0)
Bus type (interface)
ML_BT_S1 = 2 (RS485 to MOVIMOT
®
)
Address (H+1)
Individual address or group address for the MOVIMOT
®
to be addressed
0 ... 99 single addressing
100 ... 199 group addressing
255 broadcast
Format (H+2)
Entry of process data for data transfer
3 = 2 process data words cyclically (for MOVIMOT
®
) = ML_FT_2
5 = 3 process data words cyclically (for MOVIMOT
®
) = ML_FT_3
Pd Pointer (H+3)
Number of the variable H" in which the process data is stored or from which
the data to be written is obtained
.
(The data structure for H" is described in detail below.)
Para Pointer (H+4)
Number of the variable H' in which the parameter data is stored or from
which the data to be written is obtained
.
MOVIMOT
®
does not support this function.
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n