Read In Word Range - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

4.1.2 Read in Word Range (Module 9010/9011/9012)
A byte, word or doubleword is read from the defined position in the word memory and returned to
the stack as an output variable. Indexed reading in the memory is possible by specifying a variable
as the name of the memory cell.
Possible errors:
- The defined address is outside the valid range (0..1023).
- Module 9011: The defined address is not a word address (not divisible by 2).
- Module 9012: The defined address is not a doubleword address (not divisible by 4).
Call:
PS
B/W/D/K
<Number of byte to be read>
CM
9010
read byte
PL
B
<byte read>
or
PS
B/W/D/K
<Number of word to be read>
CM
9011
read word
PL
W
<word read>
or
PS
B/W/D/K
<Number of doubleword to be read>
CM
9012
read doubleword
PL
D
<doubleword read>
Example of Module 9010
Wortspeicher
B10
35
B35
80
B100
80
Error status after call: M3171 =
01.98
TNC 407/TNC 415/TNC 425
STACK
35 (80)
0: Byte/word/doubleword was read
1: Error condition see above
4 PLC Modules
(Address)
(Value)
(Address)
(Value)
(Address)
(Value)
. .
.
PS B10
CM9010
PL B100
. .
.
7-137

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents

Save PDF