Status Of Data Interface - 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>
CM
9101
Error status after call: M3171 =
4.8.3 Status of Data Interface (Module 9102)
Module 9102 reads all the relevant status information about one of the two serial interfaces in bit-
coded form.
Constraints:
- The information "interface ready" is only updated when the interface is assigned to either the PLC
or the NC. If the interface is not assigned, the Module reads the status which was valid before the
last interface enable (whether by PLC or NC).
- Module 9102 can also be called from the cyclical PLC program section.
Possible errors:
- The call parameter for interface selection is outside the permitted range (0..1).
Call:
PS
B/W/D/K
<Interface 0:RS232/ 1:RS422>
CM
9102
PL
B/W/D
<Interface status>
Bit 0: Interface is assigned
Error status after call: M3171 =
7-164
TNC 407/TNC 415/TNC 425
0: Interface assignment was cancelled
1: Error condition see above
1: Interface is assigned to PLC
2: Interface is ready (see above)
3: Transmit buffer is empty
4: Transmit error
5: Receive buffer is full
6: Receive error
7: ETX was received (not ready to receive)
0: Status was read
1: Wrong call parameter
4 PLC Modules
01.98

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents