06.08.2013 Views

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.9.5 Module 9106: Receive binary data via data interface<br />

Module 9106 reads a block of binary data from the receiving buffer of an interface into the word<br />

memory of the PLC. This process clears the receiving buffer.<br />

The length of the received binary block is fed back as the output.<br />

The appropriate interface must be assigned to the PLC with module 9100 before module 9106 is<br />

called.<br />

Module 9106 can only be run within a SUBMIT program.<br />

Module call:<br />

PS K/B/W/D Interface 0 = RS-232-C/V.24<br />

(1 = RS-422/V.11)<br />

PS K/B/W/D Address of first byte<br />

in binary block<br />

(Start address: 0 to 1023)<br />

CM 9106<br />

PL B/W/D Length of binary block in bytes<br />

If the module is incorrectly processed the block of binary data is not read into the word memory and<br />

marker M3171 is set.<br />

Potential errors:<br />

- The call parameters of the module are outside the permitted range.<br />

- The interface is not assigned to the PLC.<br />

- The receiving buffer contains no data.<br />

- The number of characters in the receiving buffer is uneven or greater than 126.<br />

- The binary block cannot be stored at the specified address because it is too long (start address +<br />

length > 1024).<br />

- The data in the receiving buffer contain characters that cannot be interpreted as hexadecimal<br />

values. Only the characters 0 to 9, A to F and control characters are permitted.<br />

8/95 <strong>TNC</strong> <strong>360</strong> 4 PLC Modules 7-113

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!