beautypg.com

HEIDENHAIN TNC 335 Technical Manual User Manual

Page 491

background image


7-112

TNC 360

4 PLC Modules

8/95

4.9.4 Module 9105: Transmit binary data via data interface

Module 9105 transfers a block of binary data from the word memory via the interfaces.

The appropriate interface must be assigned to the PLC with module 9100 before module 9105 is
called.

Module call:

PS K/B/W/D Interface

0 = RS-232-C/V.24
(1 = RS-422/V.11)

PS K/B/W/D

Address of first byte in binary block
(start address: 0 to 1023)

PS K/B/W/D

Length of binary block in bytes (0 to 63)

CM 9105

If the module is incorrectly processed the block of binary data is not transferred and marker M3171
is set.

Potential errors:

- The call parameters are outside the permitted range.
- The interface is not assigned to the PLC.
- The transmitting buffer is not empty.
- A part of the binary block is above address 1024

(e.g.

Start of binary block: 1020
Length of binary block: 60
=> End address 1080 is above the upper limit of 1024)

- The previous transfer contained an error but the interface was not re-assigned with module 9100.