Applies To:
  • CitectSCADA 1.00 1.01 1.10 1.11 1.20 2.00 2.01 3.00

Summary:
How do I setup communications to the Taylor Mod 30. 

Solution:
The serial drivers PCxI, MCxI, ComxI or COMx may be used.
I/O Devices form
Name: User supplied unique name
Number: Network wide I/O device number
Address: ICN,INST
ICN is the ICN number 0-7
INST is the instrument number 1-15
Protocol: TAYLOR
Port name: Use the "Port name" from the Ports form

Citect.ini option

[TAYLOR]
MaxOut = 4
Up to 4 of request frames can be issued at the same time.

MaxBlock = 1
Pack one request per request frame.

Standard citect.ini options

[TAYLOR]
MaxPending = 4 (MaxOut * MaxBlock)
Block = 1 bytes
Retry = 1
Delay = 0
TimeOut = 1000 milliseconds
PollTime = 0
WatchTime = 30 seconds

Files

  • TAYLOR.DLL - Mod 30 driver for windows
  • TAYLOR.DBF - Mod 30 variable template

Mod 30 Variables

Cblock/byte Int, 2 bytes, Raw Integer value
Lblock/byte Long, 4 bytes, Long integer value
Bblock/byte Byte, 1 byte, Byte value
Dblock/byte.bit Digital, 1 byte, Digital value
block is the block number, 0-255
blocks 0-19 are operator read/write blocks 0 to 19.
blocks 100-119 are Tune read/write blocks 0 to 19.
block 200-219 are Configure read/write blocks 0 to 19.
block 223 is the Foreground data
/byte is the byte number, 0-255
.bit is the bit number
.OPEN
.FB
.FF
.CASC
.AUTO
.MAN
.DDC
.OPTK
.REM
.LOC
.SPTK
.SUPV

Foreground data read

For performance, CITECT should only be configure to read data from the foreground block. Variable data starts from byte 4. Data of the same type (C,B,D or L) must be grouped together. For example:

The Controller instrument has the following foreground data defined.
Citect Variable Name
1. CPROC C223/4
2. CSETPT C223/6
3. COUTPT C223/8
4. ALM1 D223/10.OPEN
5. ALM2 D223/11.OPEN
6 CSPSTA D223/12.REM
7. CACTMD D223/13.AUTO
 

Keywords:
 

Attachments