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.

Example: oct(%M30.&, %M20.&,2)<br />

%M20.B<br />

%M21.B<br />

%M27.B<br />

Bit 7<br />

Bit 7<br />

Bit 7<br />

6 - 14 en-938846/7<br />

1<br />

0<br />

1<br />

%M2E.B 1<br />

%M2F.B 1<br />

Return code<br />

If OK<br />

0<br />

Bit 7<br />

Bit 7<br />

Error<br />

-1: n negative or zero<br />

Programming error causing a CPU fault<br />

Access to a prohibited address:<br />

- &source parameter error,<br />

- &dest parameter error,<br />

- &source+n outside authorised area,<br />

- &dest+n outside authorised area.<br />

1<br />

x x x x x<br />

Bit 7 Bit 0<br />

1 1 x x x x x x<br />

Bit 7 Bit 0<br />

0<br />

1<br />

%M30.B<br />

%M31.B

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

Saved successfully!

Ooh no, something went wrong!