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

Remote i/o scanner
Table of Contents

Advertisement

7–10
Application Examples
value 1 to output module group 0 of the
This also updates an embedded variable in
message 1 by moving the accumulated
value of counter C5:0 to output module
If alarm conditions go from false to true,
trigger message 2 by sending the value 2
to output module group 0 of the Dataliner.
If B3/0 is ON, message 2 has not been
If the Dataliner input module group 1 is
displayed) and the
pressed (I:1.8/13), unlatch the Alarm Not
Publication 1747 6.6 - July 1996

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 12 words of the input and output files contain
valid information, the scanned input and output words can be set to
12. 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

Message 1 is triggered by moving the
Dataliner.
group 1 of the Dataliner.
acknowledged.
equal to 2 (message 2 is presently
button is
[MSG ACK]
Acknowledged bit (B3/0).
Cycle
Counting
Conditions
Conveyor
Alarm
Conditions
OSR
EQU
EQUAL
Source A
I:1.9
Source B
2
MOV
MOVE
Source
Dest
O:1.8
MOV
MOVE
Source
C5:0.ACC
Dest
O:1.9
MOV
MOVE
Source
Dest
O:1.8
(
OTL
I:1.8
(
OTU
13
END
1
2
B3
)
0
B3
)
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents