15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Structure of the transmission Buffer<br />

@ Buffer start address<br />

Written<br />

by the user<br />

programme<br />

15 - 30 en-938846/7<br />

Buffer size<br />

(not significant)<br />

Request size<br />

(1 word)<br />

Request<br />

(see Sec. 15.3)<br />

1 word<br />

128 bytes<br />

max.<br />

Programming error causing a CPU fault<br />

Access to a prohibited address:<br />

- &datagram parameter error,<br />

- &datagram+size outside authorised area.<br />

15.4.2 Read an Answer uniti<br />

Syntax<br />

uniti (source_port, &datagram)<br />

source_port: Number of the source port.<br />

&datagram: Address of the memory block which will receive the request.<br />

Description<br />

The uniti <strong>function</strong> works on ports 0x30 to 0x3F and 0x10 to 0x17.<br />

This <strong>function</strong>:<br />

- Receives the answer to a request previously sent by unito() on the same source port<br />

- Receives an «unsolicited» request sent by the part programme of an axis group. In this case, the source port<br />

indicates the axis group from which the message is to be received (0x10 to 0x17).<br />

REMARKS If the return code is 0x06, the uniti() <strong>function</strong> must be called periodically until the<br />

message is received.

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

Saved successfully!

Ooh no, something went wrong!