Bosch Rexroth IndraMotion MLD Series Applications Manual page 212

Table of Contents

Advertisement

210/267
Bosch Rexroth AG
Notes on commissioning and application
Accessing files with MLD
The following data types must be converted for transmission via a network:
Data type
WORD, INT, UINT
DWORD, DINT, UDINT,
TIME
The BYTE, CHAR, STRING data types do not need to be converted. The RE‐
AL and LREAL data types do not have any specified byte order. In this case,
the correct setting can only be determined in trials.
Files can only be accessed in conjunction with an ADVANCED control panel.
If files are accessed using the "MX_SysLibFile" library, the byte order also
has to be observed. In the figure below, variable "ardiBuffer" (32-bit values) is
used to write ASCII characters to a text file ("Test.txt"). The characters are
stored differently on systems with different byte orders. Especially when user
programs are ported between systems with differing byte order, a check must
be run to verify whether the data are still consistent after the porting. If this is
not the case, either the order has to be exchanged manually or the values
have to be converted to 8-bit values.
Fig. 7-37:
Checking the byte order
There are two options of adapting the PLC program:
Fig. 7-38:
Exchanging the byte order
- or -
LSA Control S.L. www.lsa-control.com comercial@lsa-control.com (+34) 960 62 43 01
DOK-INDRV*-MLD3-**VRS*-AP02-EN-P
Rexroth IndraDrive Rexroth IndraMotion MLD (2G) as of MPx-18
Control unit to network
SysSockHtons()
SysSockHtonl()
Network to control unit
SysSockNtohs()
SysSockNtohl()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rexroth indramotion mld-sRexroth indramotion mld-m

Table of Contents