10 read a message by lsv/2 (module 9111) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 631

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
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
0: Binary data doubleword
1: String
PS
B/W/D/K
For binary: number of doubleword (0..1020)
For string: number of string (0..3)
CM
9111
PL
B/W/D
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 =
0: Message uploaded
1: Error condition see above