25.07.2014 Views

1756-PM003H-EN-E, SFC and ST Programming Languages ...

1756-PM003H-EN-E, SFC and ST Programming Languages ...

1756-PM003H-EN-E, SFC and ST Programming Languages ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Force Logic Elements 13-5<br />

FORCE LED<br />

If your controller has a FORCE LED, use the LED to determine the<br />

status of any I/O forces.<br />

IMPORTANT<br />

The FORCE LED shows only the status of I/O forces. It<br />

does not show that status of <strong>SFC</strong> forces.<br />

If the FORCE LED is:<br />

off<br />

flashing<br />

solid<br />

Then:<br />

• No tags contain force values.<br />

• I/O forces are inactive (disabled).<br />

• At least one tag contains a force value.<br />

• I/O forces are inactive (disabled).<br />

• I/O forces are active (enabled).<br />

• Force values may or may not exist.<br />

GSV Instruction<br />

IMPORTANT<br />

The ForceStatus attribute shows only the status of I/O<br />

forces. It does not show the status of <strong>SFC</strong> forces.<br />

This example shows how to use a GSV instruction to get the status of<br />

forces.<br />

where:<br />

Force_Status is a DINT tag.<br />

To determine if: Examine this bit: For this value:<br />

forces are installed 0 1<br />

no forces are installed 0 0<br />

forces are enabled 1 1<br />

forces are disabled 1 0<br />

Publication <strong>1756</strong>-<strong>PM003H</strong>-<strong>EN</strong>-E (excerpt from <strong>1756</strong>-PM001H-<strong>EN</strong>-P) - August 2005

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

Saved successfully!

Ooh no, something went wrong!