Applies To:
  • CitectSCADA 3.00

How to use the Yokogawa HR2400/HR2500 Serial Interfaces. 

The serial drivers PCxI, MCxI, COMxI or COMx may be used. Setup the HR2400 with the communication parameters. RS-232C mode, 9600 baud, 8 data bits, even parity, 2 stop bits and no handshaking.
I/O Devices form
Name: User supplied unique name
Number: Network wide I/O device number
Address: Not used
Protocol: HR2400 or HR2500
Port name: Use the "Port name" from the Ports form

Citect.ini option

CacheTime = 60 milliseconds
The driver caches all data from the device. If will only read from the device if the data in the cache is older than 60 milliseconds, otherwise the data from the cache is used.

Standard citect.ini options

MaxPending = 1
Block = 24 bytes
Retry = 1
Delay = 0
TimeOut = 2000 milliseconds
PollTime = 0
WatchTime = 30 seconds


  • HR.DLL - the HR2400/2500 driver for windows
  • HR2400.DBF - the HR2400 variable definitions

HR2400 Variables

AIn Analog input from Channel n, Integer.
An:l.a Digital Alarm level l from Channel n, Digital.
ALn Alarm Level from channel n, Long.
The long will be of the form: CC65 4321
CC - Channel Number 1 to 60
1-6 - Alarm status of each level
0 No alarm
1 High Alarm
2 Low Alarm
3 Differential high alarm
4 Differential low alarm
5 Velocity alarm high
6 Velocity alarm low
Where n is the channel, 1 to 60.
l is the alarm level, 1 to 6.
.a is the alarm
.H High alarm
.L Low alarm
.dH Differential high alarm
.dL Differential low alarm
.RH Velocity alarm high
.RL Velocity alarm low
.OV Data overflow
.LO Data low
if data is skipped .OV and .LO will both be set.