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

Summary:
I've read the document that comes with the CIKT driver, but I'm a little unsure of how to set it up still. 

Solution:
The following is a simple version of the CIKT documentation, which seems to work in most cases.

Step 1: Copy the DLL files contained the the Zip file to the Citect\Bin Directory (as mentioned in the readme file)

Step 2: Make sure the KT board is configured as per the following Table:

KT Board: Memory Address 0xCC00 , IRQ 0
KTX Board: Memory Address 0xD000, IRQ 0
KTX/D Board: Memory Address 0xD000, IRQ 0

The important thing to remember here is that if your computer has 16 MB of ram, you should set your card at 0xD000, due to memory organisation. You should also set the card to Interrupt 0, as this is the recommended mode of operation (polled mode). This is done by changing the jumper from a horizontal pin connection to a vertical pin connection.

Step 3: If you are running Windows 3.x or Windows 95, you will need to modify your CONFIG.SYS and SYSTEM.INI with the following changes:

Config.sys - Modify the line that says "DEVICE=C:\DOS\EMM386.EXE" to "DEVICE=C:\DOS\EMM386.EXE NOEMS X=D000-DFFF". If your card is configured at 0xCC00, then specify " X=CC00-CFFF" instead.

System.ini - Add the following section to your System.ini, in the [386Enh] section:
EMMEXCLUDE=D000-DFFF (or CC00-CFFF, depending on your config)

Once you've done this, reboot your computer.

Step 4: Fill out the following information in the Citect Project Editor:

Communications/Boards menu:

Board Name: Choose a name for your board
Board Type: CIKT - you will need to type this in manually.
Address: This field will depend on the type of KT card used.
KT Card: 0xCC00
KTX Card: 0xD0 (use only the first two characters of the address)
KTX/D Card: 0xD0 (use only the first two characters of the address)
IO Port: use 0o77 (the address is in Octal)
IRQ: 0

Communications/Ports menu:

You must add a new port (with just a port name, board name and port number) for each PLC that you wish to talk to. No other information is needed on this form.

Communications/IO Device menu:

You should fill this form out as per normal, with the following differences:

Address: The address should be in the following format: 1kt:0,x where x is the station number of the plc (in Octal)

Protocol: You need to use:

ABTCP2 for a PLC 2
ABTCP3 for a PLC 3
ABTCP5 for a PLC 5
ABTCP500 for a Slc 5/04

Important Note: THIS DRIVER ONLY SUPPORTS DH+ , SO IF YOU ARE USING AN SLC, IT NEEDS TO BE A 504.

Step 5: Modify your CITECT.INI and add the following section:

[ABTCP]
Polltime=10

 

Keywords:
 

Attachments