EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - Page 1247

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 7.1 Display and Operation 1247
Call:
PS B/W/D/K <Mode>
When called from a cyclic PLC program, the <Mode>
setting is omitted. The block number of the active
NC program is always returned.
When called from a spawn job or submit job:
0: String / block number and path refer only to the active
NC (sub)program. Block number from block scan.
1: String / block number and path refer only to the active
NC (sub)program or cycle. Block number from block
scan.
2: Only the name of the NC main program without
information about the block number; block number is set
to 0 when executed correctly.
PS B/W/D/K <String number for path of the NC program or cycle>
Call from a cyclic PLC program: Without effect.
CM 9322
PL B/W/D <Block number>
–1: Error if error marker is set
–1: Block number in certain cases, if call was from a cyclic
PLC program
Error recognition:
Marker Value Meaning
NN_GenApiModule
Error
0 Successful execution of module
1 Error. See NN_GenApiModuleError
NN_GenApiModule
ErrorCode
1 Invalid mode programmed
2 Invalid string number programmed
12 Path name is longer than PLC string
13 Internal error
20 Module was not started from a spawn or
submit job

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals