9 transmit a message by lsv/2 (module 9110) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 630
![background image](https://www.manualsdir.com/files/815340/content/doc630.png)
Call:
PS
B/W/D/K
PS
B/W/D/K
CM
9107
PL
B/W/D
Error status after call: M3171 =
0: Binary value was read
1: Error condition see above
4.8.9 Transmit a Message by LSV/2 (Module 9110)
With Module 9110 a message (binary data or string) can be transmitted to a host computer
connected by LSV/2 protocol.
Constraint:
- The message is transmitted to the host by the LSV/2 command "M PC
Possible errors:
- The control has no LSV/2 connection to a host computer.
- The transmit buffer for the transfer is full.
- 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
With binary: number of doubleword (0..1020)
With string: number of string (0..3)
CM
9110
PL
B/W/D
0: Message transmitted
1: No connection to host
2: Transmit buffer full
3: Wrong data type (not 0 or 1)
4: Wrong source address
Error status after call: M3171 =
0: Message downloaded
1: Error condition see above