Module 9111 Receive A Message Via Lsv2 - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

December 2001

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 (0 to 1020)
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
Error recognition:
Marker
Value
Meaning
M4203
0
Message was 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
Data Transfer by PLC
8 – 39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents