Bosch Rexroth IndraMotion MLD Series Applications Manual page 183

Table of Contents

Advertisement

DOK-INDRV*-MLD3-**VRS*-AP02-EN-P
Rexroth IndraDrive Rexroth IndraMotion MLD (2G) as of MPx-18
Safe programming
Using pointers
Stack check
Array access (exceeding the
Subrange types (exceeding the
LSA Control S.L. www.lsa-control.com comercial@lsa-control.com (+34) 960 62 43 01
The "Retain forcing" functionality is not supported.
The task runtimes are not displayed in IndraLogic 2G. Instead, the run‐
times can be determined in the program with the "MX_IECTaskGet‐
Load" function from the "MX_PLCopen.library".
The "Persistent variables" functionality is only available if a memory
card is used. Due to the system, this function can be selected for all
projects in the PLC variable declaration.
Pointer accesses are monitored at runtime. This prevents programs from ac‐
cessing memory outside of the PLC data areas. An incorrect access attempt
generates a PLC exception with F6010.
DANGER
⇒ When using pointers, incorrect access can have unforeseeable conse‐
quences, so exercise extreme caution.
Stack requirements are checked during compilation. This prevents a program
with excessive stack requirements from being compiled.
DANGER
⇒ Using functions with large data volumes can have unforeseeable conse‐
quences. The stack requirement for function blocks is minimal, as their data
are stored in the PLC data. Functions, however, have no instance and store
all data in the stack. Avoid using big data structures or fields, or create func‐
tion blocks.
range)
DANGER
⇒ If there is no "CheckBounds" function in the project, indexed access to ar‐
rays is not checked (see also documentation "PLC Program Development
with Rexroth IndraLogic 1.0"). If the index is outside of the allowed range, for‐
eign data are read or overwritten. This presents the risk of incorrect access
having unforeseeable consequences.
For new projects created with version MPx-18, the corresponding
check function is contained in the automatically loaded
"CheckRtv" library.
range)
Bosch Rexroth AG
Notes on commissioning and application
Lethal injury or property damage from vertical
axes moving inadvertently or dropping sud‐
denly!
Lethal injury or property damage from vertical
axes moving inadvertently or dropping sud‐
denly!
Lethal injury or property damage from vertical
axes moving inadvertently or dropping sud‐
denly!
181/267

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rexroth indramotion mld-sRexroth indramotion mld-m

Table of Contents