8 – 38
Module 9110 Transmit a message via LSV2
Module 9110 transmits a message (binary data or string) to a host computer
connected by LSV2 protocol.
The message is transmitted to the host by the LSV2 command
"M_PC<msg.l>".
Call:
PS
B/W/D/K <Data type>
0: Binary data double word
1: String
PS
B/W/D/K <Source address>
With binary: Number of the double word (0 to 1020)
With string: Number of the string
CM
9110
PL
B/W/D
<Error code>
0: Message is being transmitted
1: No connection to host
2: Transmit buffer full
3: Incorrect data type (not 0 or 1)
4: Incorrect source address
Error recognition:
Marker
Value
Meaning
M4203
0
Message was transmitted
1
Error code in W1022
W1022
2
Incorrect data type
4
No double word address, or incorrect string number
11
String too long
13
No connection
15
Transmit buffer not empty
16
Receiving buffer empty
HEIDENHAIN Technical Manual TNC 426, TNC 430