12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

plc function ref - 34.22<br />

MVM - MoVe Masked<br />

Description:<br />

Status Bits:<br />

A<br />

MVM<br />

MAKSED MOVE<br />

Source N7:0<br />

Mask N7:1<br />

Dest N7:2<br />

This function will retrieve the values from the source <strong>and</strong> mask memory<br />

<strong>and</strong> AND them together. Only the bits that are true in the mask will be<br />

copied to the new location.<br />

C<br />

V<br />

Z<br />

S<br />

Registers: none<br />

Available on: Micrologix, PLC-5<br />

Carry - always 0<br />

Overflow - always 0<br />

Zero-setsiftheresultiszero.<br />

Sign - sets if the MSB of the result is set<br />

34.1.8 File<br />

Most file instructions will contain Mode options. The user may choose these with<br />

the implications listed below.<br />

All - All of the operations will be completed in a single scan when the input to the<br />

function is edge triggered. Care must be used not to create an operation so long<br />

it causes a watchdog fault in the PLC<br />

Incremental - Each time there is a positive input edge the function will advance the<br />

file operation by one.<br />

’number’ - when a number is supplied the function will perform that many iterations<br />

while the input rung is true.

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

Saved successfully!

Ooh no, something went wrong!