
3–3
Programming Your Pulse Counter Module
Publication 1794-6.5.16 – September 1998
EN
BTR
BLOCK TRANSFER READ
Rack
Group
Slot
Control
001
0
0
N17:10
DN
Data File
Length
Continuous
N18:10
10
N
ER
EN
BLOCK TRANSFER WRITE
Rack
Group
Slot
Control
001
0
0
N17:0
DN
Data File
Length
Continuous
N18:0
3
N
ER
N17:10
15
S:1
15
Rung 2:0
The IP4 module is located in rack 1, I/O group 0, slot 0. The integer control file starts at N17:0. The data sent by the
PLC-5 processor to the IP4 module starts at N18:0 and is 3 words long. At power up in RUN mode, or when the
processor is first switched from PROG to RUN, the user program enables a block transfer write to configure the module..
Rung 2:1
The IP4 module is located in rack 1, group 0, slot 0. The integer control file starts at N17:10,. The data obtained by the
PLC-5 processor from the IP4 module is placed in memory starting at N18:10 and is 10 words long. lThe program
continuously performs read block transfers to read data from the module.
IP4 BTR
Enable Bit
IP4 BTR
Control File
First scan of
ladder or SFC
IP4 BTW
Control File
PLC-5 Processor
Program Example
BTW
Module Type
Generic BT
Module Type
Generic BT
The SLC-5 programs (using the 1747-SN scanner) follow the same
logic as the PLC-5 family programs in the previous example.
Differences occur in the implementation of block transfers due to the
use of “M” files in the SLC system.
Configuration data for the FLEX I/O Pulse Counter module and the
1747-SN scanner must be in place before executing the following
programs. Chapter 4 contains information on module configuration.
For more information on using the 1747-SN scanner module and
block transfer programming, refer to publication 1747-6.6, “Remote
I/O Scanner User Manual.”
More
SLC-5 Programming
Allen-Bradley HMIs
Содержание FLEX I/O 1794-IP4
Страница 1: ...User Manual FLEX I O 4 Input Pulse Counter Module Cat No 1794 IP4 Allen Bradley Allen Bradley HMIs...
Страница 6: ...Using This Manual P 4 Publication 1794 6 5 16 September 1998...
Страница 10: ...Table of Contents iv Publication 1794 6 5 16 September 1998...
Страница 62: ...7 2 Troubleshoot the Pulse Counter Module Publication 1794 6 5 16 September 1998...