Slcć5 programming, More – Rockwell Automation 1794-IP4 Series B FLEX I/O PULSE COUNTER User Manual User Manual

Page 34

Advertising
background image

3–3

Programming Your Pulse Counter Module

Publication 1794ĆUM016B-EN-P - August 2002

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

Advertising