Bradley Smoker PLC-5 Condition the use of BTR data with a data valid bit, BR0200 BWO200, 002

Models: PLC-5

1 388
Download 388 pages 13.97 Kb
Page 113
Image 113

Communicating with a PLC-5 Adapter Channel

7-15

 

 

Example Bidirectional Repeating Block Transfer in

PLC-5/250 Supervisory Controller

Enter the following parameters in the block-transfer instructions in the supervisory processor.

Set the length to 0.

Use the remote I/O rack number for which you configure the adapter-mode processor.

Use the group and module numbers for which the adapter-mode processor is configured.

Condition the use of BTR data with a "data valid" bit.

All address comments for contacts shown in the following examples represent the set (1) state of the bit in the PLC-5 processor.

Read data from adapter-mode processor

BR020:0 BWO20:0

ENEN

Send data to adapter-mode processor

BR020:0 BWO20:0

ENEN

Buffer read data from adapter-mode processor to work area

BTR Done Bit

Data Not Valid Bit

BR020:0

I:020

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DN

10

 

 

 

 

 

 

 

 

 

 

BTR

 

 

 

 

BLOCK TRANSFER READ

EN

RACK

002

 

GROUP

0

DN

MODULE

0

 

CONTROL BLOCK

BR020:0

ER

DATA FILE

1BTD1:0

 

BT LENGTH

0

 

CONTINUOUS

N

 

BT TIMEOUT

3

 

 

 

 

 

 

 

 

BTW

 

 

BLOCK TRANSFER WRITE

EN

RACK

002

 

GROUP

0

DN

MODULE

0

 

CONTROL BLOCK

BW020:0

ER

DATA FILE

1BTD2:0

 

BT LENGTH

0

 

CONTINUOUS

N

 

BT TIMEOUT

3

 

 

 

 

 

 

 

FAL

 

 

 

 

 

 

 

FILE ARITH/LOGICAL

 

EN

 

CONTROL

1R0:0

 

 

 

LENGTH

64

DN

 

POSITION

0

 

 

 

MODE

ALL

ER

 

DEST

#1N0:0

 

 

 

EXPRESSION

1BTD1:0

 

 

 

 

 

 

 

PLC-5 adapter-mode processor is configured for rack 2

Effects of Programming Block-Transfers to an Adapter-Mode Controller Channel on Discrete Data Transfer

Because the discrete transfer configuration files are used for discrete data transfer as well as block-transfer status exchanges between a supervisory controller and adapter-mode controller channel, performing multiple block-transfer to and from the adapter-mode controller channel impacts discrete data transfer.

Publication 1785-UM012D-EN-P - July 2005

Page 113
Image 113
Bradley Smoker PLC-5 Condition the use of BTR data with a data valid bit, BR0200 BWO200, Data Not Valid Bit, 002, 1R00