Read A Message By Lsv/2 - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

4.8.10 Read a Message by LSV/2 (Module 9111)
With Module 9111 a message (doubleword or string) that has been received from a host
computer connected by LSV/2 protocol can be read.
Constraint:
- The message must be sent from the host by the LSV/2 command "M PC<msg.I>".
Possible errors:
- The control has no LSV/2 connection to a host computer.
- There is no message of the desired type in the receive buffer.
- A wrong value was specified for the data type (doubleword or string).
- A wrong value was specified for the address. String: 0..3 Binary: 0..1020, divisible by 4.
Call:
PS
B/W/D/K
<Data type>
0: Binary data doubleword
1: String
PS
B/W/D/K
<Target address>
For binary: number of doubleword (0..1020)
For string: number of string (0..3)
CM
9111
PL
B/W/D
<Error code>
0: Message was read
1: No connection to host
2: No message of this type in receive buffer
3: Wrong data type (not 0 or 1)
4: Wrong target address
Error status after call: M3171 =
7-170
TNC 407/TNC 415/TNC 425
0: Message uploaded
1: Error condition see above
4 PLC Modules
01.98

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents