You are on page 1of 51

DATALINK

Congrav S

to

Allen-Bradley DF1™
(and Ethernet/IP™)

DL-4000 COMMUNICATION CONTROLLER

Rev: 1.01: Sep 18, 2003

DL-4000 VERSION: 1.10 or higher


Congrav S VERSION: S-02 or S-03 (with host interface) and S-E
Information in this document is subject to change without notice. Brabender Technologie Inc. assumes no responsibility for any errors or
omissions which may affect this performance of any system based on the contents of this document.
This document contains proprietary information. Therefore, no part of this manual may be reproduced or transmitted in any form or by
any means, electronic or mechanical, including photocopying and recording, for any purpose other than those approved by Brabender
Technologie Inc.
Brands and product names are trademarks or registered trademarks of their respective holders.
For further information contact:
Brabender Technologie Inc.
6500 Kestrel Road
Mississauga, Ontario, L5T 1Z6
Telephone:(905) 670-2933
Facsimile: (905) 670-2557
Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

TABLE OF CONTENTS

1. INTRODUCTION.................................................................................................................................4
2. DATALINK SPECIFICATIONS FOR CONGRAV S INTERFACE...................................................4
3. HARDWARE........................................................................................................................................5
3.1 DL-4000 to Congrav S Connection.......................................................................................5
3.2 DL-4000 to DF1 Device Connection ....................................................................................5
4. SOFTWARE .........................................................................................................................................6
4.1 Communication with DF1 .....................................................................................................6
4.2 Communication with Congrav S ...........................................................................................6
5. USE OF THE DL-4000 COMMUNICATION CONTROLLER ..........................................................7
6. SAMPLE APPLICATION – READ AND WRITE SETPOINT ..........................................................8
6.1 Sample #1 – Read and Write Setpoint with PLC-5 via DF1 .................................................8
6.2 Sample #2 – Read and Write Setpoint with PLC-5 via Ethernet...........................................13
6.3 Sample #3 – Read and Write Setpoint with SLC-500 via DF1 (SLC-5/03, 5/04 or 5/05) ....18
6.4 Sample #4 – Read and Write Setpoint with SLC-500 via Ethernet (SLC-5/05 only)............23
7. APPENDIXES ......................................................................................................................................28
A. Allen-Bradley DF1 Addressing in DL-4000 ..........................................................................29
1. Write data to Congrav S............................................................................................30
2. Read data from Congrav S ........................................................................................39
3. Read communication status.......................................................................................50
B. DATALINK Configuration ....................................................................................................51

Rev 1.01 Sep, 2003 Supersedes: Rev 1.00 PAGE 3


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

1. INTRODUCTION

The Congrav™ line of gravimetric Loss in Weight or weigh belt controllers is provided with a serial interface port
designated for the plant (host) interface.

The communication protocol used is Siemens RK-512 with the 3964R procedure. This protocol is capable of being
converted to Allen-Bradley DF1 (and Etherenet/IP) using the DataLink communication controller (and Allen-
Bradley Ethernet Interface Module). The present documentation refers to the model DL-4000 with the standard
Allen-Bradley DF1 protocol (and Allen-Bradley module 1761-NET-ENI).

2. DATALINK SPECIFICATIONS FOR CONGRAV S INTERFACE

The purpose of the DataLink controller is to provide easy interface between the Congrav S controller and the Allen-
Bradley DF1 (Ethernet/IP) where remote access of the feeder(s) is required. All interface software being fully
developed and the application requiring only data handling internally.

To achieve that goal the communication unit is designed to read selected information from the Congrav S and to
write selected information to the Congrav S. The information read from the Congrav S is stored in an internal
database. Information to be written to the Congrav S is read also from the internal database. This database can be
accessed by the Allen-Bradley PLC using the standard DF1 communication instructions (MSG).

The information from/to the Congrav S is processed in commands; each command reads/writes specific data. Each
read command has its own flag to determine whether or not to perform the command. These flags are managed
according to the specific application.

Remark: These flags are necessary because the Congrav S can process only up to two commands per second.
Therefore, only the commands required for the application should be active.

The communication unit shows also the communication status with the Congrav S.

All the information mentioned above is accessed via the DF1 as described in Appendix A – Allen-Bradley DF1
addressing in DL-4000.

Rev 1.01 Sep, 2003 Supersedes: Rev 1.00 PAGE 4


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

3. HARDWARE

The hardware used for the communication with the Congrav S consists of the DataLink DL-4000 unit with two
cables, one connecting to a DF1 device and the other to the Congrav S.

3.1 DL-4000 to Congrav S Connection

The DL-4000 is connected to the Congrav S through a 4 pin (EURO) connector on the rear panel –
labeled CHB. The connections are made according to the following pinouts for the DL-4000 and
Congrav S.

DL-4000 Congrav S
4 pin 15 Pin (-XS3)
(EURO) (male)

1 RS-422 10 (RX-)
2 2 (TX-)
3 1 (TX+)
4 9 (RX+)
Remark: Pin No. 1 on the EURO connector is the one closer to connector CHC and pin No. 4 is
closer the edge of the unit.

3.2 DL-4000 to DF1 Device Connection

The DL-4000 is connected to the DF1 Device through the 9 pin DB9M (male) connector on the front
panel. The connections are made according to the following pinouts for the DL-4000 and DF1 Device
(the wiring provided for the DF1 Device is only the minimum and additional connections may be
required, according to the DF1 Device used).

DL-4000 DF1 Device


9 pin (Typical)
Female Female
9 pin 25 pin
1 (SHLD) RS-232C
5 (GND) 5 7
3 (TX) 2 3
2 (RX) 3 2
Remark: When using an 1761-NET-ENI c/w 1761-CBL-PM02 cable as the DF1 device, the
cable for the DF1 device will need a 9 pin male and the pins 2 & 3 in the diagram above
should be exchanged.

Rev 1.01 Sep, 2003 Supersedes: Rev 1.00 PAGE 5


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

4. SOFTWARE

The software for the communication with Congrav S and with DF1 is part of the DL-4000 firmware, which includes
the following modes of operation:
ON-LINE – Communication with DF1 on port A (CHA) and with Congrav S on port B (CHB). Detailed
description of operation is provided in this manual.
OFF-LINE – Configuration, Diagnostic and Debug mode. Very rarely required. Therefore, details of
operation are provided in DataLink’s user’s manual. For configuration please see Appendix B.

4.1 Communication with DF1

The communication with DF1 is written in assembler language and is part of the standard DL-4000
product. This software is compiled, and the code generated is used to program a Flash EPROM, which
becomes part of the DL-4000 firmware.

4.2 Communication with Congrav S

The communication with Congrav S is written in assembler language and is a custom software for this
customized DL-4000. This software is compiled, linked (together with the DF1 software) and the code
generated is used to program a Flash EPROM, which becomes part of the DL-4000 firmware.

For an Allen-Bradley PLC application the DL-4000 is a DF1 station that contains a database similar to
PLC-5 data file structure. Therefore, to communicate with the DL-4000, the PLC application has to
access the correct addresses as detailed in Appendix A – Allen-Bradley DF1 addressing in DL-4000.

The database in the DL-4000 contains values. The representation of these values (i.e. bits, integers or
floating points) is determined by the PLC address (file type) specified in the MSG instruction.

Some examples, that contain the most frequently used parts of the database, are provided in this manual.

Rev 1.01 Sep, 2003 Supersedes: Rev 1.00 PAGE 6


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

5. USE OF THE DL-4000 COMMUNICATION CONTROLLER

The DL-4000 is designed with two separate virtual databases – one for values “Read” from the Congrav S and one
for values to “Write” to the Congrav S.

The values “Read” from the Congrav S are controlled by the DL-4000 with flags in the database. These flags are
constantly monitored by the software. Setting a flag (to a value of 80 hexadecimal or 128 decimal) signals the
software to “Read” the values pertaining to the command associated with that flag.
Each flag has an address in the database and is structured as part of the related command as detailed in Appendix A.

Each “Write” command interrupts the ‘Read’ cycle and is performed immediately. Therefore, “Write” commands
should be done upon value change and/or other specific logic conditions in the application (such as recipe
download), but NOT continuously, as this will practically disable the ‘Read’ cycle.

We recommend that each “Write” command is followed by the accordingly “Read” command so that data written to
the Congrav S is checked – considering Congrav S’s response time and entering the appropriate delays in the
application.

Remark: Floating Point values are being converted from one format to another. Therefore, when checking a
Floating Point value a narrow band should be used. For example it is possible that when a value of 100 is
written the value read may be 99.999 or 100.001.

The DL-4000 performs up to two commands per second to the Congrav S. Therefore, where response time is of an
importance, we suggest to limit the operations (the “Read” flags set to 80H) to the minimum required.

Rev 1.01 Sep, 2003 Supersedes: Rev 1.00 PAGE 7


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

6. SAMPLE APPLICATION – READ AND WRITE SETPOINT

This section gives four examples of the application required in an Allen-Bradley PLC. The first example is for a
PLC-5 and it is followed by another example for a PLC-5 with Ethernet port. After that an example for an SLC-500
(5/03, 5/04 or 5/05 – the only ones currently available with DF1 communication) and the last example is for an SLC-
5/05 (the only one currently with an Ethernet communication).

6.1 Sample #1 – Read and Write Setpoint with PLC-5 via DF1

This section gives an example of the application required in the PLC-5 for reading and writing the
setpoint from/to the Congrav S via DF1 protocol on Channel 0.

RUNG #1

Write the command flag to the DL-4000. This flag tells the DL-4000 to read the actual values of Feeder #1 from the
Congrav S. This flag (when Set) should also be updated at a lower frequency (say every 60 sec.), to ensure
communication will resume after power failure or reset on the DL-4000.

¦ Error bit Control reg. ¦


¦ for message to for message to ¦
¦Set read flag write the read write the read ¦
¦actual values flag for flag for ¦
¦(write MSG) actual values actual values ¦
¦W-AV-FLAG ERR-W-AV-1 CTL-W-AV-1 ¦
¦ B3 MG26:80 B3 +--MSG------------------------------ + ¦
+-----¦ ¦-------------------------¦/¦--------------[ONS]-------------- ¦ Send/Receive Message +-(EN)- ¦
¦ 22 ER 23 ¦ Control: MG26:80 +-(DN) ¦
¦ ¦ +-(ER) ¦
¦ +--------------------------------------- + ¦

Message Instruction Data Entry for Control Block: MG26:80

F1) Communication Command............……… : PLC-3 Word Range Write


F2) PLC-5 Data Table Address............…...… : N7:1
F3) Size in Elements............……………….... : 1
F4) Local/Remote............………………….... : Local
F5) Remote Station............………….... : N/A
F6) Link ID............………………….... : N/A
F7) Remote Link Type............………... : N/A
F8) Local Node Address............…………….. : 1
F9) Destination D.T. Address............……….. : N144:0
F10) Port Number............……………………. : 0

Block Size: 56 Words, 1 Element(s)

Data Entry Explanation:


1. Communication Command is always a PLC-3 Word Range Write.
2. PLC-5 Data Table Address can be any valid PLC address where the flag is set.
3. Size in Elements is always one for the flags.
4. F4 to F7 remain in their default values as above.
5. Local Node Address is the address assigned to the DL-4000 as described in the DL-4000 User’s Guide (it is
recommended to be 01).
6. Destination D.T. Address is the address in the DL-4000 as detailed in Appendix A.
7. Port Number is “0” for Channel 0.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 8


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #2

Control the frequency of polling the values from the DL-4000 on the DF1. This does not control the frequency of
polling from Congrav S, which is controlled by the DL-4000.
The poll is performed while bit B3/24 is set.

¦ Timer for the Timer for the ¦


¦Read frequency of frequency of ¦
¦actual values actual values actual values ¦
¦in FP Read Read ¦
¦R-AV AV-R-TIM AV-R-TIM ¦
¦ B3 T4:17 +--TON------------------------------ + ¦
+-----¦ ¦-----------------------¦/¦-------------------------------------- ¦ Timer On Delay +-(EN)- ¦
¦ 24 DN ¦ Timer: T4:17 ¦ ¦
¦ ¦ Base (SEC): 0.01 +-(DN) ¦
¦ ¦ Preset: 5 ¦ ¦
¦ ¦ Accum: 0 ¦ ¦
¦ +--------------------------------------- + ¦

Rev 1.00 Nov, 2001 Supersedes: None PAGE 9


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #3

Read the actual values of Feeder #1. The values are read from the DL-4000 via the DF1, so they can be read as fast
as the DF1 allows, and the frequency is controlled by the timer in the previous rung.

¦Timer for the Control reg. ¦


¦frequency of for the message ¦
¦actual values to read the ¦
¦Read actual values ¦
¦AV-R-TIM CTL-R-AV-1 ¦
¦ T4:17 +--MSG------------------------------ + ¦
+---------¦ ¦----------------------------------------------------------- ¦ Send/Receive Message +-(EN)- ¦
¦ DN ¦ Control: MG27:80 +-(DN) ¦
¦ ¦ +-(ER) ¦
¦ +--------------------------------------- + ¦

Message Instruction Data Entry for Control Block: MG27:80

F1) Communication Command............……… : PLC-3 Word Range Read


F2) PLC-5 Data Table Address............…...… : F8:11
F3) Size in Elements............……………….... : 2
F4) Local/Remote............………………….... : Local
F5) Remote Station............………….... : N/A
F6) Link ID............………………….... : N/A
F7) Remote Link Type............………... : N/A
F8) Local Node Address............…………….. : 1
F9) Destination D.T. Address............……….. : N144:1
F10) Port Number............……………………. : 0

Block Size: 56 Words, 1 Element(s)

Data Entry Explanation:


1. Communication Command is always a PLC-3 Word Range Read.
2. PLC-5 Data Table Address can be any valid PLC address where the data begins.
3. Size in Elements varies according to the data and the requirements of the application.
4. F4 to F7 remain in their default values as above.
5. Local Node Address is the address assigned to the DL-4000 as described in the DL-4000 User’s Guide (it is
recommended to be 01).
6. Destination D.T. Address is the address in the DL-4000 as detailed in Appendix A.
7. Port Number is “0” for Channel 0.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 10


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #4

Write a new set-point value. When an OFF to ON transition for bit B3/14 is recognized a new set-point value for the
Feeder is sent. The DL-4000 receives this new value and sends it to the Congrav S.

¦ Error bit Control reg. 1 ¦


¦Write feeder #1 for the message for the message ¦
¦set-point to write the to write the ¦
¦in FP set-point set-point ¦
¦W-SP-1 ERR-W-SP-1 CTL-W-SP-1 ¦
¦ B3 MG25:80 B3 +--MSG------------------------------ + ¦
+-----¦ ¦---------------------------¦/¦--------------[ONS]---- ¦ Send/Receive Message +-(EN)- ¦
¦ 14 ER 15 ¦ Control: MG25:80 +-(DN) ¦
¦ ¦ +-(ER) ¦
¦ +--------------------------------------- + ¦

Message Instruction Data Entry for Control Block: MG25:80

F1) Communication Command............……… : PLC-3 Word Range Write


F2) PLC-5 Data Table Address............…...… : F8:61
F3) Size in Elements............……………….... : 1
F4) Local/Remote............………………….... : Local
F5) Remote Station............………….... : N/A
F6) Link ID............………………….... : N/A
F7) Remote Link Type............………... : N/A
F8) Local Node Address............…………….. : 1
F9) Destination D.T. Address............……….. : N146:1
F10) Port Number............……………………. : 0

Block Size: 56 Words, 1 Element(s)

Data Entry Explanation:


1. Communication Command is always a PLC-3 Word Range Write.
2. PLC-5 Data Table Address can be any valid PLC address where the data begins.
3. Size in Elements varies according to the data and the requirements of the application.
4. F4 to F7 remain in their default values as above.
5. Local Node Address is the address assigned to the DL-4000 as described in the DL-4000 User’s Guide (it is
recommended to be 01).
6. Destination D.T. Address is the address in the DL-4000 as detailed in Appendix A.
7. Port Number is “0” for Channel 0.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 11


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #5

Reset possible DF1 errors. The application may require some counting, alarm generation etc.

¦ Error bit Error bit ¦


¦ for the message for the message ¦
¦ to write the to write the ¦
¦ set-point set-point ¦
¦ ERR-W-SP-1 ERR-W-SP-1 ¦
¦ MG25:80 MG25:80 ¦
+--------¦ ¦--------------------------------------------------------------------------------------------------(U)------------ ¦
¦¦ ER ¦ ¦ ER ¦ ¦
¦ ¦Error bit ¦ ¦Error bit ¦ ¦
¦ ¦for message to ¦ ¦for message to ¦ ¦
¦ ¦write the read ¦ ¦write the read ¦ ¦
¦ ¦flag for ¦ ¦flag for ¦ ¦
¦ ¦actual values ¦ ¦actual values ¦ ¦
¦ ¦ERR-W-AV-FL1 ¦ ¦ERR-W-AV-FL1 ¦ ¦
¦ ¦ MG26:80 ¦ ¦ MG26:80 ¦ ¦
¦ +------¦ ¦--------------- + +---------(U)---------- ¦ ¦
¦¦ ER ¦ ¦ ER ¦ ¦
¦¦ ¦ ¦ ¦ ¦
¦ ¦Error bit ¦ ¦Error bit ¦ ¦
¦ ¦for the message ¦ ¦for the message ¦ ¦
¦ ¦to read the ¦ ¦to read the ¦ ¦
¦ ¦actual values ¦ ¦actual values ¦ ¦
¦ ¦ERR-R-AV-1 ¦ ¦ERR-R-AV-1 ¦ ¦
¦ ¦ MG27:80 ¦ ¦ MG27:80 ¦ ¦
¦ +------¦ ¦--------------- + +---------(U)---------- + ¦
¦ ER ER ¦

Rev 1.00 Nov, 2001 Supersedes: None PAGE 12


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

6.2 Sample #2 – Read and Write Setpoint with PLC-5 via Ethernet

This section gives an example of the application required in the PLC-5 for reading and writing the
setpoint from/to the Congrav S via Ethernet protocol on Channel 2, using an Allen-Bradley Ethernet to
DF1 converter (1761-NET-ENI).

RUNG #1

Write the command flag to the DL-4000. This flag tells the DL-4000 to read the actual values of Feeder #1 from the
Congrav S. This flag (when Set) should also be updated at a lower frequency (say every 60 sec.), to ensure
communication will resume after power failure or reset on the DL-4000.

¦ Error bit Control reg. ¦


¦ for message to for message to ¦
¦Set read flag write the read write the read ¦
¦actual values flag for flag for ¦
¦(write MSG) actual values actual values ¦
¦W-AV-FLAG ERR-W-AV-1 CTL-W-AV-1 ¦
¦ B3 MG26:80 B3 +--MSG------------------------------ + ¦
+-----¦ ¦-------------------------¦/¦--------------[ONS]-------------- ¦ Read/Write Message +-(EN)- ¦
¦ 22 ER 23 ¦ Control: MG26:80 +-(DN) ¦
¦ ¦ Setup Screen +-(ER) ¦
¦ +--------------------------------------- + ¦

Setup Screen Data Entry for Control Block: MG26:80

This PLC-5 window:


Communication Command : PLC-3 Word Range Write
Data Table Address : N7:1
Size in Elements : 1
Port Number : 2

Target Device window:


Data Table Address : N144:0
MultiHop: : Yes

MultiHop Tab:
To Address on line that starts with ‘This PLC5’ (1st line) : 192.168.1.82
To Address on line that starts with ‘ControlLogix Backplane’ (2nd line) : 0

Data Entry Explanation:


1. Communication Command is always a PLC-3 Word Range Write.
2. Data Table Address can be any valid PLC address where the flag is set.
3. Size in Elements is always one for the flags.
4. Port Number is “2” for Channel 2 – Ethernet.
5. Data Table Address is the address in the DL-4000 as detailed in Appendix A.
6. MultiHop should always be “Yes” for Ethernet communication with the DL-4000.
7. The first ‘To Address’ is the IP address assigned to the 1761-NET-ENI connected to the DL-4000.
8. The second ‘To Address’ should always be “0”.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 13


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #2

Control the frequency of polling the values from the DL-4000 on the DF1 (via Ethernet). This does not control the
frequency of polling from Congrav S, which is controlled by the DL-4000.
The poll is performed while bit B3/24 is set.

¦ Timer for the Timer for the ¦


¦Read frequency of frequency of ¦
¦actual values actual values actual values ¦
¦in FP Read Read ¦
¦R-AV AV-R-TIM AV-R-TIM ¦
¦ B3 T4:17 +--TON------------------------------ + ¦
+-----¦ ¦-----------------------¦/¦-------------------------------------- ¦ Timer On Delay +-(EN)- ¦
¦ 24 DN ¦ Timer: T4:17 ¦ ¦
¦ ¦ Base (SEC): 0.01 +-(DN) ¦
¦ ¦ Preset: 5 ¦ ¦
¦ ¦ Accum: 0 ¦ ¦
¦ +--------------------------------------- + ¦

Rev 1.00 Nov, 2001 Supersedes: None PAGE 14


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #3

Read the actual values of Feeder #1. The values are read from the DL-4000 via the DF1 (via Ethernet), so they can
be read as fast as the DF1 (and Ethernet) allows, and the frequency is controlled by the timer in the previous rung.

¦Timer for the Control reg. ¦


¦frequency of for the message ¦
¦actual values to read the ¦
¦Read actual values ¦
¦AV-R-TIM CTL-R-AV-1 ¦
¦ T4:17 +--MSG------------------------------ + ¦
+---------¦ ¦----------------------------------------------------------- ¦ Read/Write Message +-(EN)- ¦
¦ DN ¦ Control: MG27:80 +-(DN) ¦
¦ ¦ Setup Screen +-(ER) ¦
¦ +--------------------------------------- + ¦

Setup Screen Data Entry for Control Block: MG27:80

This PLC-5 window:


Communication Command : PLC-3 Word Range Read
Data Table Address : F8:11
Size in Elements : 2
Port Number : 2

Target Device window:


Data Table Address : N144:1
MultiHop: : Yes

MultiHop Tab:
To Address on line that starts with ‘This PLC5’ (1st line) : 192.168.1.82
To Address on line that starts with ‘ControlLogix Backplane’ (2nd line) : 0

Data Entry Explanation:


1. Communication Command is always a PLC-3 Word Range Read.
2. Data Table Address can be any valid PLC address where the data begins.
3. Size in Elements varies according to the data and the requirements of the application.
4. Port Number is “2” for Channel 2 – Ethernet.
5. Data Table Address is the address in the DL-4000 as detailed in Appendix A.
6. MultiHop should always be “Yes” for Ethernet communication with the DL-4000.
7. The first ‘To Address’ is the IP address assigned to the 1761-NET-ENI connected to the DL-4000.
8. The second ‘To Address’ should always be “0”.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 15


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #4

Write a new set-point value. When an OFF to ON transition for bit B3/14 is recognized a new set-point value for the
Feeder is sent. The DL-4000 receives this new value and sends it to the Congrav S.

¦ Error bit Control reg. 1 ¦


¦Write feeder #1 for the message for the message ¦
¦set-point to write the to write the ¦
¦in FP set-point set-point ¦
¦W-SP-1 ERR-W-SP-1 CTL-W-SP-1 ¦
¦ B3 MG25:80 B3 +--MSG------------------------------ + ¦
+-----¦ ¦---------------------------¦/¦--------------[ONS]---- ¦ Read/Write Message +-(EN)- ¦
¦ 14 ER 15 ¦ Control: MG25:80 +-(DN) ¦
¦ ¦ Setup Screen +-(ER) ¦
¦ +--------------------------------------- + ¦

Setup Screen Data Entry for Control Block: MG25:80

This PLC-5 window:


Communication Command : PLC-3 Word Range Write
Data Table Address : F8:61
Size in Elements : 1
Port Number : 2

Target Device window:


Data Table Address : N146:1
MultiHop: : Yes

MultiHop Tab:
To Address on line that starts with ‘This PLC5’ (1st line) : 192.168.1.82
To Address on line that starts with ‘ControlLogix Backplane’ (2nd line) : 0

Data Entry Explanation:


1. Communication Command is always a PLC-3 Word Range Write.
2. Data Table Address can be any valid PLC address where the data begins.
3. Size in Elements varies according to the data and the requirements of the application.
4. Port Number is “2” for Channel 2 – Ethernet.
5. Data Table Address is the address in the DL-4000 as detailed in Appendix A.
6. MultiHop should always be “Yes” for Ethernet communication with the DL-4000.
7. The first ‘To Address’ is the IP address assigned to the 1761-NET-ENI connected to the DL-4000.
8. The second ‘To Address’ should always be “0”.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 16


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #5

Reset possible DF1 (or Ethernet) errors. The application may require some counting, alarm generation etc.

¦ Error bit Error bit ¦


¦ for the message for the message ¦
¦ to write the to write the ¦
¦ set-point set-point ¦
¦ ERR-W-SP-1 ERR-W-SP-1 ¦
¦ MG25:80 MG25:80 ¦
+--------¦ ¦--------------------------------------------------------------------------------------------------(U)------------ ¦
¦¦ ER ¦ ¦ ER ¦ ¦
¦ ¦Error bit ¦ ¦Error bit ¦ ¦
¦ ¦for message to ¦ ¦for message to ¦ ¦
¦ ¦write the read ¦ ¦write the read ¦ ¦
¦ ¦flag for ¦ ¦flag for ¦ ¦
¦ ¦actual values ¦ ¦actual values ¦ ¦
¦ ¦ERR-W-AV-FL1 ¦ ¦ERR-W-AV-FL1 ¦ ¦
¦ ¦ MG26:80 ¦ ¦ MG26:80 ¦ ¦
¦ +------¦ ¦--------------- + +---------(U)---------- ¦ ¦
¦¦ ER ¦ ¦ ER ¦ ¦
¦¦ ¦ ¦ ¦ ¦
¦ ¦Error bit ¦ ¦Error bit ¦ ¦
¦ ¦for the message ¦ ¦for the message ¦ ¦
¦ ¦to read the ¦ ¦to read the ¦ ¦
¦ ¦actual values ¦ ¦actual values ¦ ¦
¦ ¦ERR-R-AV-1 ¦ ¦ERR-R-AV-1 ¦ ¦
¦ ¦ MG27:80 ¦ ¦ MG27:80 ¦ ¦
¦ +------¦ ¦--------------- + +---------(U)---------- + ¦
¦ ER ER ¦

Rev 1.00 Nov, 2001 Supersedes: None PAGE 17


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

6.3 Sample #3 – Read and Write Setpoint with SLC-500 via DF1 (SLC-5/03, 5/04 or 5/05)

This section gives an example of the application required in the SLC-500 for reading and writing the
setpoint from/to the Congrav S via DF1 protocol on Channel 0.

RUNG #1

Write the command flag to the DL-4000. This flag tells the DL-4000 to read the actual values of Feeder #1 from the
Congrav S. This flag (when Set) should also be updated at a lower frequency (say every 60 sec.), to ensure
communication will resume after power failure or reset on the DL-4000.

¦ Error bit Control reg. ¦


¦ for message to for message to ¦
¦Set read flag write the read write the read ¦
¦actual values flag for flag for ¦
¦(write MSG) actual values actual values ¦
¦W-AV-FLAG ERR-W-AV-1 CTL-W-AV-1 ¦
¦ B3 N26:80 B3 +--MSG------------------------------ + ¦
+-----¦ ¦-------------------------¦/¦--------------[ONS]-------------- ¦ Read/Write Message +-(EN)- ¦
¦ 22 ER 23 ¦ Type Peer-To-Peer +-(DN) ¦
¦ ¦ Read/Write Write +-(ER) ¦
¦ ¦ Target Device PLC5 ¦ ¦
¦ ¦ Local/Remote Local ¦ ¦
¦ ¦ Control: N26:80 ¦ ¦
¦ ¦ Control Block Length 14 ¦ ¦
¦ +--------------------------------------- + ¦

Message Instruction Data Entry for Control Block: N26:80


F1) Local/Remote............………... : Local
F2) Channel.................…………… : 0
F3) Target Node.............…………. : 1 (001)
F7) Local File Address......………. : N7:1
F8) Target File Address/Offset…... : N144:0
F9) Message Length in Elements... : 1
F10 Message Timeout (Seconds)… : 0

Data Entry Explanation:


1. Target Device is always 'PLC-5'.
2. Local/Remote is always 'Local'.
3. Channel is always '0' for DF1.
4. Target Node is the address (in Hexadecimal format – the Octal number is given in brackets) assigned to the DL-
4000 as described in the DL-4000 User’s Guide (it is recommended to be 01).
5. Local File Address can be any valid PLC address where the flag is set.
6. Target File Address/Offset is the address in the DL-4000 as detailed in Appendix A.
7. Message Length in Elements is always '1' for the flags.
8. Message Timeout (Seconds) is always '0'.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 18


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #2

Control the frequency of polling the values from the DL-4000 on the DF1. This does not control the frequency of
polling from Congrav S, which is controlled by the DL-4000.
The poll is performed while bit B3/24 is set.

¦ Timer for the Timer for the ¦


¦Read frequency of frequency of ¦
¦actual values actual values actual values ¦
¦in FP Read Read ¦
¦R-AV AV-R-TIM AV-R-TIM ¦
¦ B3 T4:17 +--TON------------------------------ + ¦
+-----¦ ¦-----------------------¦/¦-------------------------------------- ¦ Timer On Delay +-(EN)- ¦
¦ 24 DN ¦ Timer: T4:17 ¦ ¦
¦ ¦ Base (SEC): 0.01 +-(DN) ¦
¦ ¦ Preset: 50 ¦ ¦
¦ ¦ Accum: 0 ¦ ¦
¦ +--------------------------------------- + ¦

Rev 1.00 Nov, 2001 Supersedes: None PAGE 19


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #3

Read the actual values of Feeder #1. The values are read from the DL-4000 via the DF1, so they can be read as fast
as the DF1 allows, and the frequency is controlled by the timer in the previous rung.

¦Timer for the Control reg. ¦


¦frequency of for the message ¦
¦actual values to read the ¦
¦Read actual values ¦
¦AV-R-TIM CTL-R-AV-1 ¦
¦ T4:17 +--MSG------------------------------ + ¦
+---------¦ ¦----------------------------------------------------------- ¦ Read/Write Message +-(EN)- ¦
¦ DN ¦ Type Peer-To-Peer +-(DN) ¦
¦ ¦ Read/Write Read +-(ER) ¦
¦ ¦ Target Device PLC5 ¦ ¦
¦ ¦ Local/Remote Local ¦ ¦
¦ ¦ Control: N27:80 +-(DN) ¦
¦ ¦ Control Block Length 14 ¦ ¦
¦ +--------------------------------------- + ¦

Message Instruction Data Entry for Control Block: N27:80


F1) Local/Remote............………... : Local
F2) Channel.................…………… : 0
F3) Target Node.............…………. : 1 (001)
F7) Local File Address......………. : F8:11
F8) Target File Address/Offset…... : N144:1
F9) Message Length in Elements... : 2
F10 Message Timeout (Seconds)… : 0

Data Entry Explanation:


1. Target Device is always 'PLC-5'.
2. Local/Remote is always 'Local'.
3. Channel is always '0' for DF1.
4. Target Node is the address (in Hexadecimal format – the Octal number is given in brackets) assigned to the DL-
4000 as described in the DL-4000 User’s Guide (it is recommended to be 01).
5. Local File Address can be any valid PLC address where the data begins.
6. Target File Address/Offset is the address in the DL-4000 as detailed in Appendix A.
7. Message Length in Elements varies according to the data and the requirements of the application.
8. Message Timeout (Seconds) is always '0'.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 20


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #4

Write a new set-point value. When an OFF to ON transition for bit B3/14 is recognized a new set-point value for the
Feeder is sent. The DL-4000 receives this new value and sends it to the Congrav S.

¦ Error bit Control reg. 1 ¦


¦Write feeder #1 for the message for the message ¦
¦set-point to write the to write the ¦
¦in FP set-point set-point ¦
¦W-SP-1 ERR-W-SP-1 CTL-W-SP-1 ¦
¦ B3 N25:80 B3 +--MSG------------------------------ + ¦
+-----¦ ¦---------------------------¦/¦--------------[ONS]---- ¦ Read/Write Message +-(EN)- ¦
¦ 14 ER 15 ¦ Type Peer-To-Peer +-(DN) ¦
¦ ¦ Read/Write Write +-(ER) ¦
¦ ¦ Target Device PLC5 ¦ ¦
¦ ¦ Local/Remote Local ¦ ¦
¦ ¦ Control: N25:80 ¦ ¦
¦ ¦ Control Block Length 14 ¦ ¦
¦ +--------------------------------------- + ¦

Message Instruction Data Entry for Control Block: N25:80


F1) Local/Remote............………... : Local
F2) Channel.................…………… : 0
F3) Target Node.............…………. : 1 (001)
F7) Local File Address......………. : F8:61
F8) Target File Address/Offset…... : N146:1
F9) Message Length in Elements... : 1
F10 Message Timeout (Seconds)… : 0

Data Entry Explanation:


1. Target Device is always 'PLC-5'.
2. Local/Remote is always 'Local'.
3. Channel is always '0' for DF1.
4. Target Node is the address (in Hexadecimal format – the Octal number is given in brackets) assigned to the DL-
4000 as described in the DL-4000 User’s Guide (it is recommended to be 01).
5. Local File Address can be any valid PLC address where the data begins.
6. Target File Address/Offset is the address in the DL-4000 as detailed in Appendix A.
7. Message Length in Elements varies according to the data and the requirements of the application.
8. Message Timeout (Seconds) is always '0'.
8. Port Number is “0” for Channel 0.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 21


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #5

Reset possible DF1 errors. The application may require some counting, alarm generation etc.

¦ Error bit Error bit ¦


¦ for the message for the message ¦
¦ to write the to write the ¦
¦ set-point set-point ¦
¦ ERR-W-SP-1 ERR-W-SP-1 ¦
¦ N25:80 N25:80 ¦
+--------¦ ¦--------------------------------------------------------------------------------------------------(U)------------ ¦
¦¦ ER ¦ ¦ ER ¦ ¦
¦ ¦Error bit ¦ ¦Error bit ¦ ¦
¦ ¦for message to ¦ ¦for message to ¦ ¦
¦ ¦write the read ¦ ¦write the read ¦ ¦
¦ ¦flag for ¦ ¦flag for ¦ ¦
¦ ¦actual values ¦ ¦actual values ¦ ¦
¦ ¦ERR-W-AV-FL1 ¦ ¦ERR-W-AV-FL1 ¦ ¦
¦ ¦ N26:80 ¦ ¦ N26:80 ¦ ¦
¦ +------¦ ¦--------------- + +---------(U)---------- ¦ ¦
¦¦ ER ¦ ¦ ER ¦ ¦
¦¦ ¦ ¦ ¦ ¦
¦ ¦Error bit ¦ ¦Error bit ¦ ¦
¦ ¦for the message ¦ ¦for the message ¦ ¦
¦ ¦to read the ¦ ¦to read the ¦ ¦
¦ ¦actual values ¦ ¦actual values ¦ ¦
¦ ¦ERR-R-AV-1 ¦ ¦ERR-R-AV-1 ¦ ¦
¦ ¦ N27:80 ¦ ¦ N27:80 ¦ ¦
¦ +------¦ ¦--------------- + +---------(U)---------- + ¦
¦ ER ER ¦

Rev 1.00 Nov, 2001 Supersedes: None PAGE 22


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

6.4 Sample #4 – Read and Write Setpoint with SLC-500 via Ethernet (SLC-5/05 only)

This section gives an example of the application required in the SLC-5/05 for reading and writing the
setpoint from/to the Congrav S via Ethernet protocol on Channel 1, using an Allen-Bradley Ethernet to
DF1 converter (1761-NET-ENI).

RUNG #1

Write the command flag to the DL-4000. This flag tells the DL-4000 to read the actual values of Feeder #1 from the
Congrav S. This flag (when Set) should also be updated at a lower frequency (say every 60 sec.), to ensure
communication will resume after power failure or reset on the DL-4000.
¦ Error bit Control reg. ¦
¦ for message to for message to ¦
¦Set read flag write the read write the read ¦
¦actual values flag for flag for ¦
¦(write MSG) actual values actual values ¦
¦W-AV-FLAG ERR-W-AV-1 CTL-W-AV-1 ¦
¦ B3 N26:80 B3 +--MSG------------------------------ + ¦
+-----¦ ¦-------------------------¦/¦--------------[ONS]-------------- ¦ Read/Write Message +-(EN)- ¦
¦ 22 ER 23 ¦ Type Peer-To-Peer +-(DN) ¦
¦ ¦ Read/Write Write +-(ER) ¦
¦ ¦ Target Device PLC5 ¦ ¦
¦ ¦ Local/Remote Local ¦ ¦
¦ ¦ Control: N26:80 ¦ ¦
¦ ¦ Control Block Length 51 ¦ ¦
¦ ¦ Setup Screen ¦ ¦
¦ +--------------------------------------- + ¦

Setup Screen Data Entry for Control Block: N26:80


This Controller window:
Communication Command : PLC5 Write
Data Table Address : N7:1
Size in Elements : 1
Channel : 1
Target Device window:
Message Timeout : 23
Data Table Address : N144:0
Local / Remote : Local
MultiHop: : Yes

MultiHop Tab:
To Address on line that starts with ‘This SLC500’ (1st line) : 192.168.1.82
To Address on line that starts with ‘ControlLogix Backplane’ (2nd line) : 0

Data Entry Explanation:


1. Communication Command is always a PLC5 Write.
2. Data Table Address can be any valid PLC address where the flag is set.
3. Size in Elements is always one for the flags.
4. Channel is “1” for Ethernet.
5. Message Timeout is automatically adjusted by the software to minimum “23”.
6. Data Table Address is the address in the DL-4000 as detailed in Appendix A.
7. Local/Remote should always be “Local”.
8. MultiHop should always be “Yes” for Ethernet communication with the DL-4000.
9. The first ‘To Address’ is the IP address assigned to the 1761-NET-ENI connected to the DL-4000.
10. The second ‘To Address’ should always be “0”.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 23


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #2

Control the frequency of polling the values from the DL-4000 on the DF1 (via Ethernet). This does not control the
frequency of polling from Congrav S, which is controlled by the DL-4000.
The poll is performed while bit B3/24 is set.

¦ Timer for the Timer for the ¦


¦Read frequency of frequency of ¦
¦actual values actual values actual values ¦
¦in FP Read Read ¦
¦R-AV AV-R-TIM AV-R-TIM ¦
¦ B3 T4:17 +--TON------------------------------ + ¦
+-----¦ ¦-----------------------¦/¦-------------------------------------- ¦ Timer On Delay +-(EN)- ¦
¦ 24 DN ¦ Timer: T4:17 ¦ ¦
¦ ¦ Base (SEC): 0.01 +-(DN) ¦
¦ ¦ Preset: 50 ¦ ¦
¦ ¦ Accum: 0 ¦ ¦
¦ +--------------------------------------- + ¦

Rev 1.00 Nov, 2001 Supersedes: None PAGE 24


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #3

Read the actual values of Feeder #1. The values are read from the DL-4000 via the DF1, so they can be read as fast
as the DF1 allows, and the frequency is controlled by the timer in the previous rung.

¦Timer for the Control reg. ¦


¦frequency of for the message ¦
¦actual values to read the ¦
¦Read actual values ¦
¦AV-R-TIM CTL-R-AV-1 ¦
¦ T4:17 +--MSG------------------------------ + ¦
+---------¦ ¦----------------------------------------------------------- ¦ Read/Write Message +-(EN)- ¦
¦ DN ¦ Type Peer-To-Peer +-(DN) ¦
¦ ¦ Read/Write Read +-(ER) ¦
¦ ¦ Target Device PLC5 ¦ ¦
¦ ¦ Local/Remote Local ¦ ¦
¦ ¦ Control: N27:80 +-(DN) ¦
¦ ¦ Control Block Length 51 ¦ ¦
¦ ¦ Setup Screen ¦ ¦
¦ +--------------------------------------- + ¦

Setup Screen Data Entry for Control Block: N27:80

This Controller window:


Communication Command : PLC5 Read
Data Table Address : F8:11
Size in Elements : 2
Channel : 1

Target Device window:


Message Timeout : 23
Data Table Address : N144:1
Local / Remote : Local
MultiHop: : Yes

MultiHop Tab:
To Address on line that starts with ‘This SLC500’ (1st line) : 192.168.1.82
To Address on line that starts with ‘ControlLogix Backplane’ (2nd line) : 0

Data Entry Explanation:


1. Communication Command is always a PLC5 Read.
2. Data Table Address can be any valid PLC address where the data begins.
3. Size in Elements varies according to the data and the requirements of the application.
4. Channel is “1” for Ethernet.
5. Message Timeout is automatically adjusted by the software to minimum “23”.
6. Data Table Address is the address in the DL-4000 as detailed in Appendix A.
7. Local/Remote should always be “Local”.
8. MultiHop should always be “Yes” for Ethernet communication with the DL-4000.
9. The first ‘To Address’ is the IP address assigned to the 1761-NET-ENI connected to the DL-4000.
10. The second ‘To Address’ should always be “0”.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 25


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #4

Write a new set-point value. When an OFF to ON transition for bit B3/14 is recognized a new set-point value for the
Feeder is sent. The DL-4000 receives this new value and sends it to the Congrav S.

¦ Error bit Control reg. 1 ¦


¦Write feeder #1 for the message for the message ¦
¦set-point to write the to write the ¦
¦in FP set-point set-point ¦
¦W-SP-1 ERR-W-SP-1 CTL-W-SP-1 ¦
¦ B3 N25:80 B3 +--MSG------------------------------ + ¦
+-----¦ ¦---------------------------¦/¦--------------[ONS]---- ¦ Read/Write Message +-(EN)- ¦
¦ 14 ER 15 ¦ Type Peer-To-Peer +-(DN) ¦
¦ ¦ Read/Write Write +-(ER) ¦
¦ ¦ Target Device PLC5 ¦ ¦
¦ ¦ Local/Remote Local ¦ ¦
¦ ¦ Control: N25:80 ¦ ¦
¦ ¦ Control Block Length 14 ¦ ¦
¦ ¦ Setup Screen ¦ ¦
¦ +--------------------------------------- + ¦

Setup Screen Data Entry for Control Block: N25:80

This Controller window:


Communication Command : PLC5 Write
Data Table Address : F8:61
Size in Elements : 1
Channel : 1

Target Device window:


Message Timeout : 23
Data Table Address : N146:1
Local / Remote : Local
MultiHop: : Yes

MultiHop Tab:
To Address on line that starts with ‘This SLC500’ (1st line) : 192.168.1.82
To Address on line that starts with ‘ControlLogix Backplane’ (2nd line) : 0

Data Entry Explanation:


1. Communication Command is always a PLC5 Write.
2. Data Table Address can be any valid PLC address where the data begins.
3. Size in Elements varies according to the data and the requirements of the application.
4. Channel is “1” for Ethernet.
5. Message Timeout is automatically adjusted by the software to minimum “23”.
6. Data Table Address is the address in the DL-4000 as detailed in Appendix A.
7. Local/Remote should always be “Local”.
8. MultiHop should always be “Yes” for Ethernet communication with the DL-4000.
9. The first ‘To Address’ is the IP address assigned to the 1761-NET-ENI connected to the DL-4000.
10. The second ‘To Address’ should always be “0”.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 26


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

RUNG #5

Reset possible DF1 errors. The application may require some counting, alarm generation etc.

¦ Error bit Error bit ¦


¦ for the message for the message ¦
¦ to write the to write the ¦
¦ set-point set-point ¦
¦ ERR-W-SP-1 ERR-W-SP-1 ¦
¦ N25:80 N25:80 ¦
+--------¦ ¦--------------------------------------------------------------------------------------------------(U)------------ ¦
¦¦ ER ¦ ¦ ER ¦ ¦
¦ ¦Error bit ¦ ¦Error bit ¦ ¦
¦ ¦for message to ¦ ¦for message to ¦ ¦
¦ ¦write the read ¦ ¦write the read ¦ ¦
¦ ¦flag for ¦ ¦flag for ¦ ¦
¦ ¦actual values ¦ ¦actual values ¦ ¦
¦ ¦ERR-W-AV-FL1 ¦ ¦ERR-W-AV-FL1 ¦ ¦
¦ ¦ N26:80 ¦ ¦ N26:80 ¦ ¦
¦ +------¦ ¦--------------- + +---------(U)---------- ¦ ¦
¦¦ ER ¦ ¦ ER ¦ ¦
¦¦ ¦ ¦ ¦ ¦
¦ ¦Error bit ¦ ¦Error bit ¦ ¦
¦ ¦for the message ¦ ¦for the message ¦ ¦
¦ ¦to read the ¦ ¦to read the ¦ ¦
¦ ¦actual values ¦ ¦actual values ¦ ¦
¦ ¦ERR-R-AV-1 ¦ ¦ERR-R-AV-1 ¦ ¦
¦ ¦ N27:80 ¦ ¦ N27:80 ¦ ¦
¦ +------¦ ¦--------------- + +---------(U)---------- + ¦
¦ ER ER ¦

Rev 1.00 Nov, 2001 Supersedes: None PAGE 27


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

7. APPENDIXES

Rev 1.00 Nov, 2001 Supersedes: None PAGE 28


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

A. Allen-Bradley DF1 Addressing in DL-4000

The following tables detail the addresses required for the “Destination Address” used in the MSG instruction data entry for
a Read/Write operation with the DL-4000.
Each address has the standard Allen-Bradley format of Nxxx:yyy where:
N – File type (always N).
xxx – Command number.
yyy – Offset in words (registers) within the command.

Notes:
1. Each floating point value requires two words (registers).
2. The values for “Write” are stored in a different data table than the values for “Read”, therefore at the same address
we may have different values stored for each category – Write or Read.
3. Wherever “Kg” is mentioned it can be either “Kg” or “Lb”.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 29


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

1. Write data to Congrav S

Each write command to the Congrav S performs a write of all the associated data even if only one value was changed
by the PLC (the other data is added from the DL-4000 database).

Write data to Congrav S


Command Address Format Description
No.
1 Installation Parameters
N1:1 Integer High byte - Analog control function
or hex (H-type, G-type and N-type only)
0 – Off
1 – On
Low byte - Not used
N1:2 Integer High byte - Not used
or hex Low byte - 0 – No function
1 – Load recipe (A-type)
2 – Store recipe (A-type)
3 – Reset RAM
N1:3 Integer Recipe number 1-10 (A-type)
or hex
N1:4 Integer High byte - Not used
or hex Low byte - Not used
N1:5 Integer High byte - Not used
or hex Low byte - Not used
N1:6 Integer High byte - Not used
or hex Low byte - Not used
2 Printer Parameters
N2:1 Integer High byte - Print in case of alarm
or hex 0 – No
1 – Yes
Low byte - Print calibration data (H-type and G-type)
Print batch data (N-type and A-type)
0 – No
1 – Yes
2 – Recipe print-out (A-type)
3 – Recipe and Batch print-out (A-type)
N2:2 Integer High byte - Not used
or hex Low byte - Not used
N2:3 Integer High byte - Not used
or hex Low byte - Not used
N2:4 Integer Print time (0 to 999 min) (H-type only)
3 Type of load cell
N3:1 Integer High byte - Load cell type
or hex 0 – No function
1 – IDL
2 – SGL 25mV
3 – AED
4 – SGL 10V
Low byte - Not used

Rev 1.00 Nov, 2001 Supersedes: None PAGE 30


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Write data to Congrav S


Command Address Format Description
No.
5 Feeder modes / Batch #1 modes (A-type)
N5:1 Integer High byte - Feeder mode (Batch #1 mode for A-type)
or hex 0 – No function
1 – GF (H-type and G-type)
2 – VR (H-type only)
3 – VS (H-type only)
4 – DI (H-type, N-type and A-type)
5 – CM (H-type only)
6 – GD (H-type only)
7 – VF (H-type only)
8 – B1 (N-type only)
9 – Not used
10 – Not used
11 – GM (G-type only)
12 – Not used
13 – Not used
14 – Not used
15 – B2 (N-type only)
16 – Not used
17 – A1 (A-type only)
18 – A2 (A-type only)
Low byte - Batch #2 mode (A-type only)
N5:2 Integer High byte - Batch #3 mode (A-type only)
or hex Low byte - Batch #4 mode (A-type only)
N5:3 Integer High byte - Batch #5 mode (A-type only)
or hex Low byte - Batch #6 mode (A-type only)
N5:4 Integer High byte - Batch #7 mode (A-type only)
or hex Low byte - Batch #8 mode (A-type only)
N5:5 Integer High byte - Batch #9 mode (A-type only)
or hex Low byte - Batch #10 mode (A-type only)
N5:6 Integer High byte - Batch #11 mode (A-type only)
or hex Low byte - Batch #12 mode (A-type only)
N5:7 Integer High byte - Batch #13 mode (A-type only)
or hex Low byte - Batch #14 mode (A-type only)
N5:8 Integer High byte - Batch #15 mode (A-type only)
or hex Low byte - Batch #16 mode (A-type only)
N5:9 Integer High byte - Batch #17 mode (A-type only)
or hex Low byte - Batch #18 mode (A-type only)
N5:10 Integer High byte - Batch #19 mode (A-type only)
or hex Low byte - Batch #20 mode (A-type only)
N5:11 Integer High byte - Batch #21 mode (A-type only)
or hex Low byte - Batch #22 mode (A-type only)
N5:12 Integer High byte - Batch #23 mode (A-type only)
or hex Low byte - Batch #24 mode (A-type only)
N5:13 Integer High byte - Batch #25 mode (A-type only)
or hex Low byte - Batch #26 mode (A-type only)
N5:14 Integer High byte - Batch #27 mode (A-type only)
or hex Low byte - Batch #28 mode (A-type only)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 31


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Write data to Congrav S


Command Address Format Description
No.
7 I/O configuration
N7:1 Integer H-type and G-type only
or hex High byte - Digital Inputs configuration (Not A-type)
0 – Interlocking
1 – Refill (H-type); auto-tare (G-type)
2 – Gravimetric discharge (GD for H-type)
3 – Key switch
Low byte - Digital Outputs configuration (Not A-type)
0 – Control deviation +/-
1 – Not used
2 – Overload
3 – Underload
4 – Alarm message
N7:2 Integer High byte - Alarm configuration (0-cut-out; 1-Report only)
or hex Bit 0 – Speed minimum
Bit 1 – Speed maximum
Bit 2 – Negative control deviation (H-type);
Negative control deviation (G-type);
Tolerance fault (N-type and A-type)
Bit 3 – Positive control deviation (H-type);
Positive control deviation (G-type);
Feeding time fault (N-type and A-type)
Bit 4 – Overload
Bit 5 – Underload (H-type, G-type and N-type);
Weight > discharge tolerance (A-type)
Bit 6 – Refill fault (Not A-type)
Bit 7 – Anti vibration (H-type and G-type)
Low byte - Not used
9 Sequence program (A-type only)
N9:1 Integer High byte - Feeder # (0 to 28) for Batch #1
or hex Low byte - Feeder # (0 to 28) for Batch #2
N9:2 Integer High byte - Feeder # (0 to 28) for Batch #3
or hex Low byte - Feeder # (0 to 28) for Batch #4
N9:3 Integer High byte - Feeder # (0 to 28) for Batch #5
or hex Low byte - Feeder # (0 to 28) for Batch #6
N9:4 Integer High byte - Feeder # (0 to 28) for Batch #7
or hex Low byte - Feeder # (0 to 28) for Batch #8
N9:5 Integer High byte - Feeder # (0 to 28) for Batch #9
or hex Low byte - Feeder # (0 to 28) for Batch #10
N9:6 Integer High byte - Feeder # (0 to 28) for Batch #11
or hex Low byte - Feeder # (0 to 28) for Batch #12
N9:7 Integer High byte - Feeder # (0 to 28) for Batch #13
or hex Low byte - Feeder # (0 to 28) for Batch #14
N9:8 Integer High byte - Feeder # (0 to 28) for Batch #15
or hex Low byte - Feeder # (0 to 28) for Batch #16
N9:9 Integer High byte - Feeder # (0 to 28) for Batch #17
or hex Low byte - Feeder # (0 to 28) for Batch #18
N9:10 Integer High byte - Feeder # (0 to 28) for Batch #19
or hex Low byte - Feeder # (0 to 28) for Batch #20
N9:11 Integer High byte - Feeder # (0 to 28) for Batch #21
or hex Low byte - Feeder # (0 to 28) for Batch #22
N9:12 Integer High byte - Feeder # (0 to 28) for Batch #23
or hex Low byte - Feeder # (0 to 28) for Batch #24
N9:13 Integer High byte - Feeder # (0 to 28) for Batch #25
or hex Low byte - Feeder # (0 to 28) for Batch #26
N9:14 Integer High byte - Feeder # (0 to 28) for Batch #27
or hex Low byte - Feeder # (0 to 28) for Batch #28

Rev 1.00 Nov, 2001 Supersedes: None PAGE 32


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Write data to Congrav S


Command Address Format Description
No.
10 Discharge program (A-type only)
N10:1 Integer High byte - Discharge Batch #1 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #2 (0-No; 1-Yes)
N10:2 Integer High byte - Discharge Batch #3 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #4 (0-No; 1-Yes)
N10:3 Integer High byte - Discharge Batch #5 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #6 (0-No; 1-Yes)
N10:4 Integer High byte - Discharge Batch #7 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #8 (0-No; 1-Yes)
N10:5 Integer High byte - Discharge Batch #9 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #10 (0-No; 1-Yes)
N10:6 Integer High byte - Discharge Batch #11 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #12 (0-No; 1-Yes)
N10:7 Integer High byte - Discharge Batch #13 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #14 (0-No; 1-Yes)
N10:8 Integer High byte - Discharge Batch #15 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #16 (0-No; 1-Yes)
N10:9 Integer High byte - Discharge Batch #17 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #18 (0-No; 1-Yes)
N10:10 Integer High byte - Discharge Batch #19 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #20 (0-No; 1-Yes)
N10:11 Integer High byte - Discharge Batch #21 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #22 (0-No; 1-Yes)
N10:12 Integer High byte - Discharge Batch #23 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #24 (0-No; 1-Yes)
N10:13 Integer High byte - Discharge Batch #25 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #26 (0-No; 1-Yes)
N10:14 Integer High byte - Discharge Batch #27 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #28 (0-No; 1-Yes)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 33


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Write data to Congrav S


Command Address Format Description
No.
16 Control parameters / Batch #1 parameters (A-type)
N16:1 Floating “P” term of loop 1 (H-type);
Point Coarse feeding (N-type and A-type)
N16:3 Floating “I” term of loop 1 (H-type);
Point Fine feeding (N-type and A-type)
N16:5 Floating “D” term of loop 1 (H-type);
Point Coarse/Fine switchover (N-type and A-type)
N16:7 Floating “P” term of loop 2 (H-type);
Point Always “1” (G-type);
Derivative action point (N-type and A-type)
N16:9 Floating “I” term of loop 2 (H-type);
Point Always “1” (G-type);
Feeding time (N-type and A-type)
17 Batch #2 parameters (A-type only)
N17:1 Floating Coarse feeding
Point
N17:3 Floating Fine feeding
Point
N17:5 Floating Coarse/Fine switchover
Point
N17:7 Floating Derivative action point
Point
N17:9 Floating Feeding time
Point
18 Batch #3 parameters (A-type only)
19 Batch #4 parameters (A-type only)
20 Batch #5 parameters (A-type only)
21 Batch #6 parameters (A-type only)
22 Batch #7 parameters (A-type only)
23 Batch #8 parameters (A-type only)
24 Batch #9 parameters (A-type only)
25 Batch #10 parameters (A-type only)
26 Batch #11 parameters (A-type only)
27 Batch #12 parameters (A-type only)
28 Batch #13 parameters (A-type only)
29 Batch #14 parameters (A-type only)
30 Batch #15 parameters (A-type only)
31 Batch #16 parameters (A-type only)
32 Batch #17 parameters (A-type only)
33 Batch #18 parameters (A-type only)
34 Batch #19 parameters (A-type only)
35 Batch #20 parameters (A-type only)
36 Batch #21 parameters (A-type only)
37 Batch #22 parameters (A-type only)
38 Batch #23 parameters (A-type only)
39 Batch #24 parameters (A-type only)
40 Batch #25 parameters (A-type only)
41 Batch #26 parameters (A-type only)
42 Batch #27 parameters (A-type only)
43 Batch #28 parameters (A-type only)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 34


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Write data to Congrav S


Command Address Format Description
No.
80 Production parameters Feeder / Batch #1 (A-type)
N80:1 Floating Bulk density (Not G-type);
Point Always “1” (G-type)
N80:3 Floating Checking maximum output (Not G-type);
Point Always “1” (G-type)
N80:5 Floating Auto-tare (H-type and G-type);
Point Feeding tolerance (A-type)
81 Production parameters Batch #2 (A-type)
N81:1 Floating Bulk density
Point
N81:3 Floating Checking maximum output
Point
N81:5 Floating Feeding tolerance
Point
82 Production parameters Batch #3 (A-type only)
83 Production parameters Batch #4 (A-type only)
84 Production parameters Batch #5 (A-type only)
85 Production parameters Batch #6 (A-type only)
86 Production parameters Batch #7 (A-type only)
87 Production parameters Batch #8 (A-type only)
88 Production parameters Batch #9 (A-type only)
89 Production parameters Batch #10 (A-type only)
90 Production parameters Batch #11 (A-type only)
91 Production parameters Batch #12 (A-type only)
92 Production parameters Batch #13 (A-type only)
93 Production parameters Batch #14 (A-type only)
94 Production parameters Batch #15 (A-type only)
95 Production parameters Batch #16 (A-type only)
96 Production parameters Batch #17 (A-type only)
97 Production parameters Batch #18 (A-type only)
98 Production parameters Batch #19 (A-type only)
99 Production parameters Batch #20 (A-type only)
100 Production parameters Batch #21 (A-type only)
101 Production parameters Batch #22 (A-type only)
102 Production parameters Batch #23 (A-type only)
103 Production parameters Batch #24 (A-type only)
104 Production parameters Batch #25 (A-type only)
105 Production parameters Batch #26 (A-type only)
106 Production parameters Batch #27 (A-type only)
107 Production parameters Batch #28 (A-type only)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 35


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Write data to Congrav S


Command Address Format Description
No.
113 Feeding parameters (A-type only)
N113:1 Floating Batch stabilization time
Point
N113:3 Floating Recipe stabilization
Point
N113:5 Floating Valve closing time
Point
N113:7 Floating Max. discharge time
Point
N113:9 Floating Discharge tolerance
Point
N113:11 Floating Time for discharge aid
Point
N113:13 Floating Setpoint factor
Point
N113:15 Floating Feeding time factor
Point
N113:17 Floating Discharge mode
Point
129 Feeder control
N129:1 Integer High byte - Feeder control
or hex 0 – No function
1 – Start
2 – Stop
3 – Reset alarm
4 – Not used
5 – Reset Throughput
6 – Not used
7 – Refill (Not A-type);
Discharge (A-type)
8 – Start sampling (H-type and G-type)
9 – Auto tare
10 – Interlocking on
11 – Interlocking off
12 – Key switch on
13 – Key switch off
14 – Batch cut-out (N-type);
Recipe cut-out (A-type)
Low byte - Not used

Rev 1.00 Nov, 2001 Supersedes: None PAGE 36


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Write data to Congrav S


Command Address Format Description
No.
145 Feeder / Batch set-point
N145:1 Floating In % of the Master set-point, analog control or GM (H-type and
Point G-type);
B1 or B2 (N-type);
Batch #15 set-point in Kg (A-type)
N145:3 Floating Batch #16 set-point in Kg (A-type only)
Point
N145:5 Floating Batch #17 set-point in Kg (A-type only)
Point
N145:7 Floating Batch #18 set-point in Kg (A-type only)
Point
N145:9 Floating Batch #19 set-point in Kg (A-type only)
Point
N145:11 Floating Batch #20 set-point in Kg (A-type only)
Point
N145:13 Floating Batch #21 set-point in Kg (A-type only)
Point
N145:15 Floating Batch #22 set-point in Kg (A-type only)
Point
N145:17 Floating Batch #23 set-point in Kg (A-type only)
Point
N145:19 Floating Batch #24 set-point in Kg (A-type only)
Point
N145:21 Floating Batch #25 set-point in Kg (A-type only)
Point
N145:23 Floating Batch #26 set-point in Kg (A-type only)
Point
N145:25 Floating Batch #27 set-point in Kg (A-type only)
Point
N145:27 Floating Batch #28 set-point in Kg (A-type only)
Point

Rev 1.00 Nov, 2001 Supersedes: None PAGE 37


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Write data to Congrav S


Command Address Format Description
No.
146 Feeder / Batch set-point
N146:1 Floating Feeder set-point in Kg/h (H-type and G-type);
Point Batch set-point in Kg (N-type);
Batch #1 set-point in Kg (A-type);
N146:3 Floating Batch #2 set-point in Kg (A-type only)
Point
N146:5 Floating Batch #3 set-point in Kg (A-type only)
Point
N146:7 Floating Batch #4 set-point in Kg (A-type only)
Point
N146:9 Floating Batch #5 set-point in Kg (A-type only)
Point
N146:11 Floating Batch #6 set-point in Kg (A-type only)
Point
N146:13 Floating Batch #7 set-point in Kg (A-type only)
Point
N146:15 Floating Batch #8 set-point in Kg (A-type only)
Point
N146:17 Floating Batch #9 set-point in Kg (A-type only)
Point
N146:19 Floating Batch #10 set-point in Kg (A-type only)
Point
N146:21 Floating Batch #11 set-point in Kg (A-type only)
Point
N146:23 Floating Batch #12 set-point in Kg (A-type only)
Point
N146:25 Floating Batch #13 set-point in Kg (A-type only)
Point
N146:27 Floating Batch #14 set-point in Kg (A-type only)
Point
147 Feeder set-point
N147:1 Floating In % for DI (H-type and G-type);
Point Batch number (0-9999) (N-type);
Recipe number (0-10) (A-type)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 38


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

2. Read data from Congrav S


To perform a read command from the Congrav S the attached flag has to be set, by activating a write MSG
instruction to the appropriate address.
Each read command from the Congrav S performs a read of all the associated data even if only one value is required
by the PLC.

Read data from Congrav S


Command Address Format Description
No.
1 Installation Parameters
N1:0 Integer Read flag
or hex 0 – No read
80h – Read
N1:1 Integer High byte - Analog control function
or hex (H-type, G-type and N-type only)
0 – Off
1 – On
Low byte - Not used
N1:2 Integer High byte - Not used
or hex Low byte - 0 – No function
1 – Load recipe (A-type)
2 – Store recipe (A-type)
3 – Reset RAM (A-type)
N1:3 Integer Recipe number 1-10 (A-type)
or hex
N1:4 Integer High byte - Not used
or hex Low byte - Not used
N1:5 Integer High byte - Not used
or hex Low byte - Not used
N1:6 Integer High byte - Not used
or hex Low byte - Not used
2 Printer Parameters
N2:0 Integer Read flag
or hex 0 – No read
80h – Read
N2:1 Integer High byte - Print in case of alarm
or hex 0 – No
1 – Yes
Low byte - Print calibration data (H-type and G-type)
Print batch data – batch end record (N-type)
0 – No
1 – Yes
2 – Recipe print-out (A-type)
3 – Recipe and Batch print-out (A-type)
N2:2 Integer High byte - Not used
or hex Low byte - Not used
N2:3 Integer High byte - Not used
or hex Low byte - Not used
N2:4 Integer Print time (0 to 999 min) (H-type and G-type)
3 Type of load cell
N3:0 Integer Read flag
or hex 0 – No read
80h – Read
N3:1 Integer High byte - Load cell type
or hex 0 – No function
1 – IDL
2 – SGL 25mV
3 – AED
4 – SGL 10V
Low byte - Not used

Rev 1.00 Nov, 2001 Supersedes: None PAGE 39


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Read data from Congrav S


Command Address Format Description
No.
5 Start conditions and Feeder / Batch #1 modes
N5:0 Integer Read flag
or hex 0 – No read
80h – Read
N5:1 Integer High byte - Feeder start condition
or hex 0 – All start conditions have been met
1 – Weigh < filling level minimum
2 – Not used
3 – Not used
4 – Setpoint > max. output + 10% (H-type);
Setpoint > max. batch size + 10% (N-type)
5 – Feeder mode is missing
6 – Bulk density = 0
7 – Not used
8 – Fill level minimum < underload
9 – Fill level maximum < fill level minimum
10 – Overload < fill level maximum
11 – Not used
12 – Checked maximum output = 0 (H-type)
13 – Auto tare is missing (G-type)
14 – Not used
15 – Setpoint > Hopper contents
(N-type and A-type)
16 – Setpoint = 0 (N-type and A-type)
17 – Feeding time is missing (N-type and A-type)
18 – Derivative action point missing
(N-type and A-type)
19 – Partial batch? (N-type)
20 – Weight > discharge tolerance (A-type)
21 – Sequence program missing (A-type)
Low byte - Batch number
N5:2 Integer High byte - Feeder mode (Batch #1 mode for A-type)
or hex 0 – No mode selected
1 – GF (H-type only)
2 – VR (H-type only)
3 – VS (H-type only)
4 – DI (Not A-type)
5 – CM (H-type only)
6 – GD (H-type only)
7 – VF (H-type only)
8 – B1 (N-type only)
9 – AT (H-type only)
10 – Not used
11 – GM (G-type only)
12 – Not used
13 – Not used
14 – Not used
15 – B2 (N-type only)
16 – Not used
17 – A1 (A-type only)
18 – A2 (A-type only)
Low byte - Batch #2 mode (A-type only)
N5:3 Integer High byte - Batch #3 mode (A-type only)
or hex Low byte - Batch #4 mode (A-type only)
N5:4 Integer High byte - Batch #5 mode (A-type only)
or hex Low byte - Batch #6 mode (A-type only)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 40


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Read data from Congrav S


Command Address Format Description
No.
5 N5:5 Integer High byte - Batch #7 mode (A-type only)
(cont’d) or hex Low byte - Batch #8 mode (A-type only)
N5:6 Integer High byte - Batch #9 mode (A-type only)
or hex Low byte - Batch #10 mode (A-type only)
N5:7 Integer High byte - Batch #11 mode (A-type only)
or hex Low byte - Batch #12 mode (A-type only)
N5:8 Integer High byte - Batch #13 mode (A-type only)
or hex Low byte - Batch #14 mode (A-type only)
N5:9 Integer High byte - Batch #15 mode (A-type only)
or hex Low byte - Batch #16 mode (A-type only)
N5:10 Integer High byte - Batch #17 mode (A-type only)
or hex Low byte - Batch #18 mode (A-type only)
N5:11 Integer High byte - Batch #19 mode (A-type only)
or hex Low byte - Batch #20 mode (A-type only)
N5:12 Integer High byte - Batch #21 mode (A-type only)
or hex Low byte - Batch #22 mode (A-type only)
N5:13 Integer High byte - Batch #23 mode (A-type only)
or hex Low byte - Batch #24 mode (A-type only)
N5:14 Integer High byte - Batch #25 mode (A-type only)
or hex Low byte - Batch #26 mode (A-type only)
N5:15 Integer High byte - Batch #27 mode (A-type only)
or hex Low byte - Batch #28 mode (A-type only)
7 I/O configuration
N7:0 Integer Read flag
or hex 0 – No read
80h – Read
N7:1 Integer H-type and G-type only
or hex High byte - Digital Inputs configuration
0 – Interlocking
1 – Refill (H-type); auto-tare (G-type)
2 – Gravimetric discharge (GD for H-type)
3 – Key switch
Low byte - Digital Outputs configuration
0 – Control deviation +/-
1 – Not used
2 – Overload
3 – Underload
4 – Alarm message
N7:2 Integer High byte - Alarm configuration (0-cut-out; 1-Report only)
or hex Bit 0 – Speed minimum
Bit 1 – Speed maximum
Bit 2 – Negative control deviation (H-type);
Negative control deviation (G-type);
Tolerance fault (N-type and A-type)
Bit 3 – Positive control deviation (H-type);
Positive control deviation (G-type);
Feeding time fault (N-type and A-type)
Bit 4 – Overload
Bit 5 – Underload (Not A-type)
Weight > discharge tolerance (A-type)
Bit 6 – Refill fault (Not A-type)
Bit 7 – Anti vibration (H-type and G-type)
Low byte - Not used

Rev 1.00 Nov, 2001 Supersedes: None PAGE 41


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Read data from Congrav S


Command Address Format Description
No.
9 Sequence program (A-type only)
N9:0 Integer Read flag
or hex 0 – No read
80h – Read
N9:1 Integer High byte - Feeder # (0 to 28) for Batch #1
or hex Low byte - Feeder # (0 to 28) for Batch #2
N9:2 Integer High byte - Feeder # (0 to 28) for Batch #3
or hex Low byte - Feeder # (0 to 28) for Batch #4
N9:3 Integer High byte - Feeder # (0 to 28) for Batch #5
or hex Low byte - Feeder # (0 to 28) for Batch #6
N9:4 Integer High byte - Feeder # (0 to 28) for Batch #7
or hex Low byte - Feeder # (0 to 28) for Batch #8
N9:5 Integer High byte - Feeder # (0 to 28) for Batch #9
or hex Low byte - Feeder # (0 to 28) for Batch #10
N9:6 Integer High byte - Feeder # (0 to 28) for Batch #11
or hex Low byte - Feeder # (0 to 28) for Batch #12
N9:7 Integer High byte - Feeder # (0 to 28) for Batch #13
or hex Low byte - Feeder # (0 to 28) for Batch #14
N9:8 Integer High byte - Feeder # (0 to 28) for Batch #15
or hex Low byte - Feeder # (0 to 28) for Batch #16
N9:9 Integer High byte - Feeder # (0 to 28) for Batch #17
or hex Low byte - Feeder # (0 to 28) for Batch #18
N9:10 Integer High byte - Feeder # (0 to 28) for Batch #19
or hex Low byte - Feeder # (0 to 28) for Batch #20
N9:11 Integer High byte - Feeder # (0 to 28) for Batch #21
or hex Low byte - Feeder # (0 to 28) for Batch #22
N9:12 Integer High byte - Feeder # (0 to 28) for Batch #23
or hex Low byte - Feeder # (0 to 28) for Batch #24
N9:13 Integer High byte - Feeder # (0 to 28) for Batch #25
or hex Low byte - Feeder # (0 to 28) for Batch #26
N9:14 Integer High byte - Feeder # (0 to 28) for Batch #27
or hex Low byte - Feeder # (0 to 28) for Batch #28

Rev 1.00 Nov, 2001 Supersedes: None PAGE 42


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Read data from Congrav S


Command Address Format Description
No.
10 Discharge program (A-type only)
N10:0 Integer Read flag
or hex 0 – No read
80h – Read
N10:1 Integer High byte - Discharge Batch #1 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #2 (0-No; 1-Yes)
N10:2 Integer High byte - Discharge Batch #3 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #4 (0-No; 1-Yes)
N10:3 Integer High byte - Discharge Batch #5 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #6 (0-No; 1-Yes)
N10:4 Integer High byte - Discharge Batch #7 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #8 (0-No; 1-Yes)
N10:5 Integer High byte - Discharge Batch #9 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #10 (0-No; 1-Yes)
N10:6 Integer High byte - Discharge Batch #11 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #12 (0-No; 1-Yes)
N10:7 Integer High byte - Discharge Batch #13 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #14 (0-No; 1-Yes)
N10:8 Integer High byte - Discharge Batch #15 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #16 (0-No; 1-Yes)
N10:9 Integer High byte - Discharge Batch #17 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #18 (0-No; 1-Yes)
N10:10 Integer High byte - Discharge Batch #19 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #20 (0-No; 1-Yes)
N10:11 Integer High byte - Discharge Batch #21 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #22 (0-No; 1-Yes)
N10:12 Integer High byte - Discharge Batch #23 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #24 (0-No; 1-Yes)
N10:13 Integer High byte - Discharge Batch #25 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #26 (0-No; 1-Yes)
N10:14 Integer High byte - Discharge Batch #27 (0-No; 1-Yes)
or hex Low byte - Discharge Batch #28 (0-No; 1-Yes)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 43


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Read data from Congrav S


Command Address Format Description
No.
16 Control parameters / Batch #1 parameters (A-type)
N16:0 Integer Read flag
or hex 0 – No read
80h – Read
N16:1 Floating “P” term of loop 1 (H-type);
Point Coarse feeding (N-type and A-type)
N16:3 Floating “I” term of loop 1 (H-type);
Point Fine feeding (N-type and A-type)
N16:5 Floating “D” term of loop 1 (H-type);
Point Coarse/Fine switchover (N-type and A-type)
N16:7 Floating “P” term of loop 2 (H-type);
Point Always “1” (G-type);
Derivative action point (N-type and A-type)
N16:9 Floating “I” term of loop 2 (H-type);
Point Always “1” (G-type);
Feeding time (N-type and A-type)
17 Batch #2 parameters (A-type only)
18 Batch #3 parameters (A-type only)
19 Batch #4 parameters (A-type only)
20 Batch #5 parameters (A-type only)
21 Batch #6 parameters (A-type only)
22 Batch #7 parameters (A-type only)
23 Batch #8 parameters (A-type only)
24 Batch #9 parameters (A-type only)
25 Batch #10 parameters (A-type only)
26 Batch #11 parameters (A-type only)
27 Batch #12 parameters (A-type only)
28 Batch #13 parameters (A-type only)
29 Batch #14 parameters (A-type only)
30 Batch #15 parameters (A-type only)
31 Batch #16 parameters (A-type only)
32 Batch #17 parameters (A-type only)
33 Batch #18 parameters (A-type only)
34 Batch #19 parameters (A-type only)
35 Batch #20 parameters (A-type only)
36 Batch #21 parameters (A-type only)
37 Batch #22 parameters (A-type only)
38 Batch #23 parameters (A-type only)
39 Batch #24 parameters (A-type only)
40 Batch #25 parameters (A-type only)
41 Batch #26 parameters (A-type only)
42 Batch #27 parameters (A-type only)
43 Batch #28 parameters (A-type only)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 44


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Read data from Congrav S


Command Address Format Description
No.
80 Production parameters Feeder / Batch #1 (A-type)
N80:0 Integer Read flag
or hex 0 – No read
80h – Read
N80:1 Floating Bulk density (Not G-type);
Point Always “1” (G-type)
N80:3 Floating Checking maximum output (Not G-type);
Point Always “1” (G-type)
N80:5 Floating Auto-tare (H-type and G-type);
Point Feeding tolerance (A-type)
81 Production parameters Batch #2 (A-type)
N81:0 Integer Read flag
or hex 0 – No read
80h – Read
N81:1 Floating Bulk density
Point
N81:3 Floating Checking maximum output
Point
N81:5 Floating Feeding tolerance
Point
82 Production parameters Batch #3 (A-type only)
83 Production parameters Batch #4 (A-type only)
84 Production parameters Batch #5 (A-type only)
85 Production parameters Batch #6 (A-type only)
86 Production parameters Batch #7 (A-type only)
87 Production parameters Batch #8 (A-type only)
88 Production parameters Batch #9 (A-type only)
89 Production parameters Batch #10 (A-type only)
90 Production parameters Batch #11 (A-type only)
91 Production parameters Batch #12 (A-type only)
92 Production parameters Batch #13 (A-type only)
93 Production parameters Batch #14 (A-type only)
94 Production parameters Batch #15 (A-type only)
95 Production parameters Batch #16 (A-type only)
96 Production parameters Batch #17 (A-type only)
97 Production parameters Batch #18 (A-type only)
98 Production parameters Batch #19 (A-type only)
99 Production parameters Batch #20 (A-type only)
100 Production parameters Batch #21 (A-type only)
101 Production parameters Batch #22 (A-type only)
102 Production parameters Batch #23 (A-type only)
103 Production parameters Batch #24 (A-type only)
104 Production parameters Batch #25 (A-type only)
105 Production parameters Batch #26 (A-type only)
106 Production parameters Batch #27 (A-type only)
107 Production parameters Batch #28 (A-type only)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 45


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Read data from Congrav S


Command Address Format Description
No.
143 Actual recipe values (A-type only)
N143:0 Integer Read flag
or hex 0 – No read
80h – Read
N143:1 Floating Recipe set-point
Point
N143:3 Floating Actual recipe value
Point
N143:5 Floating Filling level
Point
N143:7 Floating Throughput
Point
N143:9 Floating Number of recipes: set-point
Point
N143:11 Floating Number of recipes: actual value
Point
N143:13 Floating Auto-tare value
Point
144 Feeder / Batch #1 set-points and actual values
N144:0 Integer Read flag
or hex 0 – No read
80h – Read
N144:1 Floating Set-point [Kg/h] (H-type and G-type);
Point Set-point [Kg] (N-type and A-type)
N144:3 Floating Actual value [Kg/h] (H-type and G-type);
Point Actual value [Kg] (N-type and A-type)
N144:5 Floating Hopper level [Kg] (H-type and N-type);
Point Belt load [Kg] (G-type);
Speed [%] (A-type)
N144:7 Floating Speed [%]
Point
N144:9 Floating Throughput [Kg]
Point
N144:11 Floating Set-point [%] for Group and Master/Slave operation
Point
N144:13 Floating Set-point [%] for DI (H-type and G-type);
Point Batch number (N-type)
N144:15 Floating Sample [Kg/h] (H-type and G-type);
Point Actual batch number (N-type)
N144:17 Floating Auto tare value [Kg]
Point
N144:19 Floating Control difference [%] (H-type and G-type);
Point Batch difference [Kg] (N-type)
N145 Batch #2 values (A-type only)
N146 Batch #3 values (A-type only)
N147 Batch #4 values (A-type only)
N148 Batch #5 values (A-type only)
N149 Batch #6 values (A-type only)
N150 Batch #7 values (A-type only)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 46


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Read data from Congrav S


Command Address Format Description
No.
N151 Batch #8 values (A-type only)
N152 Batch #9 values (A-type only)
N153 Batch #10 values (A-type only)
N154 Batch #11 values (A-type only)
N155 Batch #12 values (A-type only)
N156 Batch #13 values (A-type only)
N157 Batch #14 values (A-type only)
N158 Batch #15 values (A-type only)
N159 Batch #16 values (A-type only)
N160 Batch #17 values (A-type only)
N161 Batch #18 values (A-type only)
N162 Batch #19 values (A-type only)
N163 Batch #20 values (A-type only)
N164 Batch #21 values (A-type only)
N165 Batch #22 values (A-type only)
N166 Batch #23 values (A-type only)
N167 Batch #24 values (A-type only)
N168 Batch #25 values (A-type only)
N169 Batch #26 values (A-type only)
N170 Batch #27 values (A-type only)
N171 Batch #28 values (A-type only)

Rev 1.00 Nov, 2001 Supersedes: None PAGE 47


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Read data from Congrav S


Command Address Format Description
No.
177 Feeder status and Alarms
N177:0 Integer Read flag
or hex 0 – No read
80h – Read
N177:1 Integer High byte - Feeder alarms
or hex 0 – No alarm
1 – Load cell signal failure
2 – Refill fault
3 – Underload
4 – Overload
5 – Negative control deviation (H&N-type)
6 – Positive control deviation (H&N-type)
7 – Speed minimum
8 – Speed maximum
9 – Memory module fault
10 – Auto tare fault (G-type)
11 – Not used
12 – AV fault (H-type)
13 – CM fault (H-type)
14 – Not used
15 – Not used
16 – Tolerance fault (N&A-type)
17 – Feeding time fault (N&A-type)
18 – Weight > discharge tolerance
Low byte - Batch number
N177:2 Integer High byte - Feeder status
or hex Bit 0 – Feeder interlocked stopped
Bit 1 – Feeder interlocked started
Bit 2 – Negative control deviation (H&G-type)
Anti vibration (N-type)
Bit 3 – Positive control deviation (H&G-type)
Bit 4 – Started
Bit 5 – Alarm
Bit 6 – Refill (H-type and N-type);
Auto tare (G-type)
Discharge (A-type)
Bit 7 – Alarm report
Low byte - Feeder status (continued)
Bit 0 – Feeder is coarse feeding (N&A-type)
Bit 1 – Feeder is fine feeding (N&A-type)
Bit 2 – Batch end (N-type and A-type)
Bit 3 – Tolerance check (N-type and A-type)
Bit 4 – Not used
Bit 5 – Derivative action correction
(N-type and A-type)
Bit 6 – Anti vibration (H-type)
Batch stabilization time (N&A-type)
Bit 7 – Material stabilization time

Rev 1.00 Nov, 2001 Supersedes: None PAGE 48


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

Read data from Congrav S


Command Address Format Description
No.
179 Hardware status
N179:0 Integer Read flag
or hex 0 – No read
80h – Read
N179:1 Integer High byte - 0 – Master controller not installed
or hex 1 – Master controller installed
Low byte - Not used
N179:2 Integer High byte - 0 – Memory card not installed
or hex 1 – Memory card installed
Low byte - Not used
N179:3 Integer High byte - 0 – Option card 1 not installed
or hex 1 – Option card 1 installed
Low byte - Not used
N179:4 Integer High byte - 0 – Option card 2 not installed
or hex 1 – Option card 2 installed
Low byte - Not used
180 Software status
N180:0 Integer Read flag
or hex 0 – No read
80h – Read
N180:1 Integer Master controller error code
or hex
N180:2 Integer Memory card error code
or hex
N180:3 Integer Option card 1 error code
or hex
N180:4 Integer Option card 2 error code
or hex

Rev 1.00 Nov, 2001 Supersedes: None PAGE 49


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

3. Read communication status

The following table details the addresses of the communication status between the DL-4000 and the Congrav S. This
data is in the DL-4000 and can be accessed by the PLC to ensure reliability of the communication.

Read communication status


Address Format Description
N0:0 Integer High byte Not used
or hex Low byte Bit 0 – NAK error
Bit 1 – Timeout error
Bit 2 – Unexpected character error
Bit 3 – Not used
Bit 4 – Not used
Bit 5 – Not used
Bit 6 – Not used
Bit 7 – Communication error
N0:1 Integer Counter for the NAK errors
or hex
N0:2 Integer Counter for the Timeout errors
or hex
N0:3 Integer Counter for the unexpected characters errors
or hex
N0:4 Integer Counter for the No. Of messages sent to Congrav S
or hex
N0:5 Integer Counter for more than three successive errors of any kind – sets
or hex the communication error bit

Note:
The data is byte swapped; i.e. low byte is actually the high byte and vice versa. Therefore the PLC application
should swap the bytes before using the values in the application.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 50


Congrav S to Allen-Bradley DF1™ – Communication Controller Manual

B. DATALINK Configuration
For most application the unit comes pre-configured with the appropriate data so that it is ready to “plug and play”. However for
those applications where this data is not available or was corrupted for whatever reason the following is the description of the
values required in the configuration, using the DataLink standard configuration software “DL32-4000” (ver 2.05 or later), which
is supplied with the unit.
A. Start the configuration program and select the following:
1. On the Main Menu click on the DL4000 ALL MODELS button.
2. Choose the DL4000 Model used by clicking on the DL4000-BTI button.
3. Select which COM port on the PC the DL4000 is connected to by clicking on the appropriate ‘Radio’ button. COM1 is
most commonly used, however COM2, COM3 and COM4 are also available.
4. Select operation you want to perform and follow instructions further below:
a) For preparing a new configuration file click on the Configure/Open File button.
b) To download to the DL-4000 an existing configuration file on the PC click on the Download from FILE button.
c) To upload the existing DL-4000 configuration to a file on the PC click on the Upload to FILE button.
B. To configure a new configuration (button in 4.a. above) select the following:
1. Choose Newtork protocol for CHA by clicking on the appropriate ‘Radio’ button. DF1 (should be selected in this
case) or Modbus are available.
2. Select communication speed (Baud rate) and station number with the appropriate drop down menus. Speed should be the
same as set on the DF1 host. Station number should be 1, unless otherwise required.
3. View and change as appropriate the communication parameters to correspond to the DF1 host. Selections are made by
clicking on the appropriate ‘Radio’ button.
4. Select communication speed (Baud rate) for the Congrav S with the appropriate drop down menu. Speed can be only 9600.
5. Select Congrav type connected to the DL-4000. S in this case. Selection is made by clicking on the appropriate ‘Radio’
button.
6. View and change as appropriate the communication parameters. Selections are made by clicking on the appropriate ‘Radio’
button. Parameters should be as follows:
PARITY YES
PARITY EVEN
DATA BITS 8
STOP BITS 1
HANDSHAKING IGNORE
SERIAL CONNECTION RS422-4 Wire
7. Save the configuration with the following:
a) Click on the CONFIGURATION Settings button
b) Select Save DataLink Configuration Settings… from the pull down menu.
c) Use the ‘Save As’ explorer type window to select the folder and enter the desired file name.
8. Return to previous menu by clicking on the RETURN to Main Menu button.
C. To download an existing configuration (button in A.4.b. above) select the following:
1. Click on the DOWNLOAD CONFIGURATION FILE TO A DATALINK button.
2. Use the ‘Open’ explorer type window to select the folder and file name as entered in A.7.c. above or as previously saved.
3. Follow the on-screen prompt and press the ‘Configure’ pushbutton on the DataLink unit (only the CHA and CHC lights
should be red and the Power light green).
4. Follow the on-screen prompt and press the ‘Reset’ pushbutton on the DataLink unit to put it ON-LINE.
5. After verifying that the ‘STATUS’ line includes the A-OK message, return to previous menu by clicking on the RETURN
to Main Menu button.
D. To upload an existing configuration (button in A.4.c. above) select the following:
1. Click on the UPLOAD button.
2. Follow the on-screen prompt and press the ‘Configure’ pushbutton on the DataLink unit (only the CHA and CHC lights
should be red and the Power light green).
3. Use the ‘Save As’ explorer type window to select the folder and enter the desired file name.
4. Verify that the ‘STATUS’ line includes the A-OK message.
5. View and change as appropriate the configuration by clicking on the VIEW button and following instructions in B. above.
6. When done, return to previous menu by clicking on the RETURN to Main Menu button.

Rev 1.00 Nov, 2001 Supersedes: None PAGE 51

You might also like