1926
Module 9111 Receive a message via LSV2
Module 9111 reads a message (double word or string) that has been received
from a host computer connected by LSV2 protocol.
The message must be transmitted from 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 <>Target address>
With binary: Number of the double word
With string: Number of the string
CM
9111
PL
B/W/D
<>Error code>
0: Message was read
1: No connection to host
2: No message of this type in receiving buffer
3: Incorrect data type (not 0 or 1)
4: Incorrect target address
5: String to be received is too long (>= 128 characters)
Error code:
Marker
Value
Meaning
M4203
0
Message received
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 iTNC 530 HSCI