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

Summary:
How do I use TS01? 

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: T,G,S[[,Sn]* D

Where
T - TS01 address on the serial line (1-15).
G - Group number, when a TS01 fails, all TS01 with the same group number are declared as failed.
S - SDF file number of the TS01
Sn SDF file number of the alternate SDF file (for multi address). Each unit can have up to 12 SDF files.
D - The time in seconds before switching to the next SDF file if any, the default is 120 seconds.

Protocol: TS
Port name: Use the "Port name" from the Ports form

NOTE: Multi-dropped TS01 is not supported.

Citect.ini option

[TS]
WriteProtect = 0
Allow writes to TS01.

ReLoadTime = 60
Reload TS01 if there is no data change or data received within 60 seconds

SDFPath = SDF file directory, [Ctedit]run

Standard citect.ini options

[TS]
MaxPending = 10
Block = 40 bytes
Retry = 1
Delay = 50 milliseconds
TimeOut = 750 milliseconds
PollTime = 0
WatchTime = 10 seconds

TS01 Variables

Ds,m,r Pulsed write variable (Dynamic output). Write to variable then write a zero to it 1.75 seconds later. This is a write only variable and zero value cannot be written by the user.

Where:

s is the station
m is the module
r is the register

Ls,m,r Write only variable (cannot be read but can be written to).
Ai Mapped Read Analog, A0000-A4000
Bi Mapped Read Bit, B0000-B32767

Data Types supported

Int: Integer between -16384 and 16383
BCD: BCD between -799 and 799
Long: Raw integer between -32768 and 32767
Real: Floating point between -200.0 and 200.0
String: String
Byte: Data Type value
 

Keywords:
 

Attachments