Transmit A Message By Lsv/2 - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

Call:
PS
B/W/D/K
<Interface 0:RS232/1:RS422>
PS
B/W/D/K
<Offset of byte to be read in binary block>
CM
9107
PL
B/W/D
<read binary value>
Error status after call: M3171 =
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<msg.I>".
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
<Data type>
0: Binary data doubleword
1: String
PS
B/W/D/K
<Source address>
With binary: number of doubleword (0..1020)
With string: number of string (0..3)
CM
9110
PL
B/W/D
<Error code>
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 =
01.98
TNC 407/TNC 415/TNC 425
0: Binary value was read
1: Error condition see above
0: Message downloaded
1: Error condition see above
4 PLC Modules
7-169

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents