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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Return code<br />

If OK<br />

0: Read OK.<br />

Error<br />

1: The variables requested exceed the card limits. The exchange does<br />

take place after truncating to the limits authorised by the card.<br />

2: Request to access an absent card.<br />

3: Parameter rcmch outside the limits.<br />

-1: Bus exchange error. The exchange does take place.<br />

10.3 Explicit Write to an Output Card write_q<br />

Syntax<br />

10 - 4 en-938846/7<br />

write_q(rcmch, n)<br />

rcmch: Word encoding the rack, card, module and channel.<br />

n: Number of bytes to be read.<br />

Operation<br />

The system checks the coherence of parameters rcmch and n.<br />

The system immediately writes image area %Qrcmch to %Qrcmch+n in card rc.<br />

Detail of argument «rcmch»<br />

Bit 15 Bit 0<br />

! CAUTION<br />

Channel No. (from 0x0 to 0xF)<br />

Module No. (from 0x0 to 0x3)<br />

Card No. (from 0x0 to 0xC)<br />

Rack No. (from 0x0 to 0x6)<br />

This instruction causes rapid write of the outputs selected provided they were previously<br />

written.

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

Saved successfully!

Ooh no, something went wrong!