Rockwell Automation GMLC Reference Manual User Manual

Page 842

Advertising
background image

Publication GMLC-5.2 - November 1999

Programmable Limit Switch Example

805

Figure 10: GML Commander Program for a Limit Switch

SLC Program

In your SLC program:

•

Determine which slot the 1394 resides in.

•

Move the data from the input file to the floating-point file.

•

Use the floating-point file in a comparison to determine the state of
the output bit (1 or 0).

Advertising