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.

Error<br />

Code Report message<br />

0x01 Size parameter error<br />

0x02 Activity parameter error<br />

0x03 Size incompatible with the station address (if activity == 1)<br />

0x04 Network processor error<br />

0x05 Network processor in test mode<br />

15.5.5 Answer to the STATU Request netst_ad<br />

Syntax<br />

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

netst_ad(&status_address)<br />

&status_address Address of the first byte in the user status area.<br />

Description<br />

Defines the address of the user area containing the specific values concerning the status of the numerical <strong>control</strong><br />

accessible by the STATUS request (code 0x31) (see UNITE Protocol Manual).<br />

Operation<br />

This <strong>function</strong> must be called in task %INI.<br />

It defines the start address for storage of the 16 bytes of the USER_SPECIFIC field.<br />

REMARK If this <strong>function</strong> is not called, the USER_SPECIFIC field is not significant.<br />

Example<br />

netst_ad(%M100.&)<br />

The STATUS request reads the USER_SPECIFIC field at address %M100.&.<br />

Return Code<br />

If OK<br />

Code Report message<br />

0x00 Setup OK<br />

Programming error causing a CPU fault<br />

Access to a prohibited address:<br />

- &status_address parameter error,<br />

- end of status field outside authorised area.

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

Saved successfully!

Ooh no, something went wrong!