beautypg.com

HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 626

background image


01.98

TNC 407/TNC 415/TNC 425

4 PLC Modules

7-165

4.8.4 Transmit String across Data Interface (Module 9103)

Module 9103 transmits a string from one of the 4 string memories across one of the two serial
interfaces. References to the PLC error file and PLC dialogue file are deleted (see description of
Module 9082).

Constraints:
- The interface must be assigned to the PLC and initialized by Module 9100 before Module 9103 is

called.

- Module 9103 only operates within the scope of a Submit Job.

Possible errors:
- The call parameters are outside the permitted range (0..1 for the interface, 0..3 for the string

number).

- The interface is not assigned to the PLC.
- The module was not called from a SUBMIT Job.
- The transmit buffer is not empty.
- Deleting the references to error and dialogue files has resulted in a string that is longer than 127

characters.

- A transfer error was detected when the transfer was initialized.

Call:

PS

B/W/D/K

PS

K/B/W/D

CM

9103

Error status after call: M3171 =

0: String is transmitted
1: Error condition see above

4.8.5 Receive String across Data Interface (Module 9104)

With Module 9104 a string can be read from the receive buffer of an serial interface to one of the 4
string buffers and the receive buffer reset.

Constraints:
- The interface must be assigned to the PLC and initialized by Module 9100 before Module 9104 is

called.

- Module 9104 only operates within the scope of a Submit Job.

Possible errors:
- The call parameters are outside the permitted range (0..1 for the interface, 0..3 for the string

number).

- The interface is not assigned to the PLC.
- The module was not called from a SUBMIT Job.
- There is no complete string in the receive buffer.
- The string in the receive buffer is longer than 127 characters.