EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - Page 395

HEIDENHAIN MANUALPLUS 620
1818 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
January 2012 4.8 Reading or Changing Machine Parameters via PLC Modules 395
Module 9436 Change the numeric value of a machine parameter
permanently
Use Module 9436 to enter a numeric value in the indicated machine
parameter. The value of the machine parameter is overwritten in the run-time
memory, and the new value is stored (persistently) in the *.cfg file,
overwriting the previous value.
The new parameter value takes effect immediately, and is not lost when the
machine is switched off.
Constraints:
The module can only be called in a spawn or submit job.
The module can only be called while the PLC has control over the machine.
Call:
PS B/W/D/K <Name of the config object>
e.g. "CfgPositionLimits"
PS B/W/D/K <Key name>
Key name of the config object, e.g. "PX"
PS B/W/D/K <Name of the machine parameter>
e.g. "swLimitSwitchNeg"
PS B/W/D/K <Index>
Index of the parameter within an array (list field)
0: Parameter without array (list field)
PS B/W/D/K <Factor>
Division factor for conversion to a floating-point number
Enter 1 to receive integer parameters
PS B/W/D/K <New value of machine parameter>
CM 9436
PL B/W/D <Error>
See "Return codes of PLC Modules 9430 to 9433, 9436,
9438 (error stack)" on page 397.
Error recognition:
Marker Value Meaning
NN_GenApiModule
Error (M4203)
0 Machine parameter was written
1 Machine parameter was not written, for
error see W1022 or
NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode (W1022)
1 Parameter out of value range
2 Parameter invalid or does not exist, or
other error
3 Invalid string number
6 Changing this value not allowed
13 Error while communicating with the config
server
20 Module was not started from a spawn or
submit job

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals