Applies To:
  • CitectSCADA 3.xx, 4.xx

Summary:
How do I set up Citect to talk to an SLC 5/02 and SLC 5/03 via a 1747 KE module? 

Solution:
The SLC 5/02 has one DH-485 port while the SLC 5/03 has 3 ports, a DH-485 and DF1 port. In order for either of the processors to talk to Citect you need to set up a unique station address. This can be done using a 1747-PIC (DH-485) module which connects directly to the DH-485 port on the processor and using Allen Bradley's APS software. You cannot use the KE500 driver with a 1747-PIC module instead of a 1747-KE. The 1747-PIC does not support the DF1 protocol that Citect uses, and is only useful for the AB programming software etc.

Note : When using the APS software, you may encounter some problems such as "Duplicate Node address" and other fault or error codes if you run from a Win 95 or NT DOS box. You should boot up into DOS only when running this software.

The 1747 KE module has 3 ports, a DH-485, DF1 and CONFIG port. The CONFIG port is used to configure the DF1 port and the DH-485 port. To be able to use this CONFIG port and also the DF1 port for RS 232, jumper settings on the side of the KE module need to be set. For the CONFIG port, the jumper needs to be across the first 2 vertical rows of jumper JW1. For the DF1 port the jumpers need to be across the last 2 vertical rows of the jumper JW2.

To configure the DF1 port to set up the communication settings you will need to place the KE module in configuration mode. To do this remove power to the chassis and set the jumper JW4 across the first 2 jumpers horizontally on the KE module (Depending on whether your processor is Series A or B the jumper is either vertical or horizontal. In series A the jumper is horizontal). Connect a RS232 cable from the PC to the CONFIG port and start Windows Terminal or Hyperterminal set to 1200 Baud, 8 Data bits, 1 Stop bit and no parity then connect power to the chassis. A menu should appear allowing you to set the DF1 and DH-485 ports. You should set these up as below from the online help:

1747-KE Interface Module Setup

The recommended hardware settings for the 1747-KE Interface Module are as follows:

Setting Value
Baud Rate 9600
Data Bits 8
Stop Bits 1
Parity No Parity

NOTE: These settings are recommendations only. If you use the Express Setup procedure, these default settings are configured in your project automatically. Your hardware may support other values. If you do set the baud rate, data bits, stop bits or parity to another value, you must use Custom Setup to set the new value(s) in your project.

KE Settings

Follow the configuration procedure as described in the Allen-Bradley 1747-KE manual. Set the following configuration options for the 1747-KE Interface Module at your terminal:

DF1 Port: Baudrate 9600
Bits 8
Parity None
Stop Bits 1
DH485 Port: Node Address 2
Max Node Address 31
Time Out 1000
Pass Through Enabled
Baudrate 19200
DF1: Half Duplex Dup pocket Detection Enable
Check Sum BCC
Carrier Detect Disabled
Init String
Handshaking Disabled
Poll Time Out 500
Retries 2
RTS On Delay 0
RTS Off Delay 0
Local/Remote Local
Slave Address 2 (Same as the node address of the KE module.)
Master Address 9

SLC S/03 Setup

Set the Online configuration of the SLC 5/03 processor to the following:

Com 1
1747-PLC
19200 baud
Term Address 0
Processor Address 1 (This must correspond to the first number in the I/O Device Address (defined in the I/O Devices form.)
Max Address 31

After setting up the above remove power to the chassis and place the KE module back into RUN mode by setting Jumper JW4 horizontally across the last jumpers and restore power again. Move the RS232 cable from the CONFIG port to the DF1 port on the KE module. You are now ready to set up Citect with these new settings. The forms should be as below.

Boards form
Server name: IOServer
Board name: Board1
Board type: COMX
Address: 1
I/O Port: not used
Interrupt: not used
Special Opt: not used
Ports form
Port name: Port_1
Port number: not used
Board name: Board1
Baud rate: 9600
Data bits: 8
Stop bits: 1
Parity: None
Special Opt: not used
I/O Devices form
Name: IODev1
Number: 1
Address: 2,1
Protocol: KE500
Port name: Port_1
Variable Tags form
Variable Tag Name: I1
Data Type: INT
IO Device Name: IO1 or the "Name" from the I/O Devices form
Address: 100/1

The IO device address has changed from decimal for KF to octal for the KE500 protocol. The custom/express wizards in versions 3.X and 4.X give a contrary indication. If talking to the SLC 5/03 directly via the DF1 port then the address will just be 1 in the IO DEVICES form. You will also need to set up the processor using the APS software and the 1747-PIC (DH-485) module to configure the Baud Rate, Data Bits, Stop Bit and Parity and to place the DF1 port in Half-Duplex. Citect will not communicate in Full-Duplex mode.

 

Keywords:
 

Attachments