Scanner Configuration; Example Program - Allen-Bradley 1747-SN User Manual

Remote i/o scanner
Table of Contents

Advertisement

Scanner Configuration

The baud rate is 115.2K. DIP switch 1 should be in the ON position;
DIP switch 2 should be OFF.
The G file size is set to 3 using the Specialty I/O Configuration
function. The M0 and M1 file sizes are set to 32 in the Advanced Set
Up function.
Since only the first 30 words of the input and output files contain
valid information, the scanned input and output words can be set to
30. Reducing the number of scanned input and output words
decreases your SLC scan time.
Configuration information is entered in the Modify G File function.
Word 0 is reserved and, therefore, cannot be modified. Word 1
indicates the starting address of the device; word 2 indicates its size.

Example Program

If the ON push button is pressed, turn the
pump on. If the OFF pushbutton is
pressed, turn the pump off.
When the pump is on, display the pressure
from the pressure gauge on the PanelView
terminal Numeric Value Display.
When the pump is on, display the ON state
of the multi state indicator on the
PanelView.
Application Examples
OFF button
ON button
I:1.16
I:1.16
0
1
O:2
] [
0
O:2
0
Pump ON
Conditions
Pump
( )
MOV
MOVE
Source
I:3.0
Dest
O:1.17
O:1.16
( )
END
Publication 1747 6.6 - July 1996
7–13
O:2
0
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents