The serial drivers PCxI, MCxI, COMxI or
COMx may be used.
The recommended setting for the CIU (Computer Interface Unit) is
19200 baud, 8 data bits, even parity and 1 stop bit.
IO Devices form
|
|
Name |
User supplied unique name for IO
device |
Number |
Network wide IO device number |
Address |
NA |
Protocol |
BAILEY |
Port |
Name Use "Port Name" in Ports
form |
Citect.ini options
[BAILEY]
ReqDelay = 60 ms
delay on one read request at a time
SetupTime = 300
Allow 5 minutes to establish and connect all points during
startup
WatchDog = 0
Watch Dog Time-out period = 2.5 seconds * WatchDog
Options = 11
CIU Restart option
CheckQuality = 0 Don't check quality
Standard Citect.ini options
[BAILEY]
MaxPending = 10
Block = 128 bytes
Retry = 2
Delay = 0
TimeOut = 5000 milliseconds
PollTime = 0
WatchTime = 30 seconds
Files
- BAILEY.DLL BAILEY Driver for windows
- BAILEY.DBF BAILEY variables template
Bailey Variables
Type Index, Ring, Node, Module, Block [.Sub]
Space is not allowed within the variable.
Where:
Index to the point, 1 to 10000. "T" type must have an index of
0.
Ring number of point, 0 to 7.
Node number of point, 1 to 250.
Module number of point, 0 to 31.
Block number of point, 0 to 16383.
Type can be one of the following:
Read Only...
|
PV |
Process variable, Real. |
|
SP |
Set Point, Real. |
|
CO |
Control Output, Real. |
|
R |
Ratio Index, Real. |
|
SS |
Station Status (FC 21, 22, 23 or 80),
Digital. |
|
A |
Analog block (FC 30), Real. |
|
D |
Digital block (FC 45), Digital. |
|
RCM |
Remote switch (RCM, FC 62) status,
Digital. |
|
DD |
Device Driver (FC 123), Digital |
|
MSDD |
Multi-State Device Driver (FC 129),
Digital |
Write Only...
|
WSP |
Write Set Point, Real. |
|
WCO |
Write Control Output, Real. |
|
WR |
Write Ratio Index, Real. |
|
WA |
Write Analog block, Real. |
|
WD |
Write Digital block, Digital. |
|
SM |
Station Mode, Int. |
|
WRCM |
Remote switch (RCM) command, Int,
should use same the index as corresponding RCM, DD or MSDD. |
Read or Write...
|
RMSC |
Remote manual set constant (FC 68),
Real. |
|
TD |
Digital parameter in block,
Digital. |
|
TI |
Integer parameter in block,
Integer. |
|
TR |
Real parameter in block, Real. |
|
Only tunable parameters
of a block can be written to. |
Analog status (PV, SP, CO, R, A) can be qualified by...
|
.BAD |
Bad Quality |
|
.HL |
High Limit Alarm |
|
.LL |
Low Limit Alarm |
|
.HD |
High Deviation Alarm |
|
.LD |
Low Deviation Alarm |
|
.RTG |
One of more red tags |
|
.SPT |
Set Point tracking |
Digital values (D) must be qualified by...
|
.BAD |
Bad Quality |
|
.ALM |
Limit Alarm |
|
.VAL |
Value |
Station status (SS) must be qualified by...
|
.BYP |
Bypassed, bad analog output |
|
.MI |
Manual Interlock |
|
.OT |
Output Tracking |
|
.DSF |
Digital Station failure |
|
.COK |
Computer OK |
|
.LEV |
Computer |
|
.CRN |
Cascade/ratio |
|
.A |
Auto |
Remote switch (RCM) status must be qualified by...
|
.Q |
Bad quality (all other indication are
undefined) |
|
.ALM |
Alarm |
|
.TAG |
Block is tagged |
|
.OV |
Output value of block |
|
.SI |
Logic set input is 1 |
|
.SP |
Set permissive input is 1 |
|
.RI |
Logic reset input value is 1 |
|
.OR |
Override is 1 |
|
.FB |
Feedback value is 1 |
|
.SC |
Set command is 1 |
|
.RC |
Reset command is 1 |
Device Driver (FC 123) status must be qualified by...
|
.Q |
Bad quality (all other indication are
undefined) |
|
.ALM |
Alarm |
|
.TAG |
Block is tagged |
|
.V |
Block output value |
|
.F2 |
Input 2 feedback state is 1. |
|
.F1 |
Input 1 feedback state is 1 |
|
.FS |
Feedback status value bad is 1 |
|
.SO |
Override is 1 |
|
.M1 |
Mode bit 1 |
|
.M0 |
Mode bit 0 |
Multi-State Device Driver (FC 129) status must be qualified
by...
|
.Q |
Bad quality (all other indication are
undefined) |
|
.ALM |
Alarm |
|
.SO |
Status override is 1 |
|
.CO |
Control overide is 1 |
|
.M |
Auto mode |
|
.TAG |
Block is tagged |
|
.V |
Block output value |
|
.F1 |
Input 1 feedback state is 1 |
|
.F2 |
Input 2 feedback state is 1. |
|
.F3 |
Input 3 feedback state is 1. |
|
.F4 |
Input 4 feedback state is 1. |
|
.GS1 |
Good State Bit 1 |
|
.GS0 |
Good State Bit 0 |
|
.RS1 |
Request State bit 1 |
|
.RS0 |
Request State bit 0 |
Tune block (T) must be qualified by...
Station Mode Command
|
Value |
Meaning |
|
0 |
Go to Local-Manual (Console/Station-Manual) |
|
1 |
Go to Local-Auto (Console/Station-Auto) |
|
2 |
Go to Local-Cascade/Ratio
(Console/Station-Cascade/Ratio) |
|
3 |
Go to Computer-Manual |
|
4 |
Go to Computer-Auto |
|
5 |
Go to Computer Cascade Ratio |
|
6 |
Go to Local Level (Console/Station Level) |
|
7 |
Go to Computer Level |
|
8 |
Go to Computer Back-up State |
|
9 |
Computer OK |
|
10 |
Go to previous state |
Remote Switch (RCM) Command
|
Value |
Meaning |
|
1 |
Sustain Reset |
|
2 |
Sustain Set |
|
5 |
Pulse Reset |
|
6 |
Pulse Set |
Device Driver (FC 123) command
|
Bit Number |
|
|
0 |
Reset control output |
|
1 |
Set control output |
|
2 |
Request manual mode |
|
3 |
Request automatic mode |
Multistate Device Driver (FC 129) command
|
Bit Number |
|
|
0-1 |
Request Device Driver state (Value 0-3) |
|
2 |
Request manual mode |
|
3 |
Request automatic mode |
|
e.g. |
|
|
|
PV0023,0,12,5,100.BAD |
Bailey Driver Error (decimal)
40 (0x28) |
Spec out of range in block |
41 (0x29) |
Incompatible data type, e.g. Reading TI0 as
real. |
42 (0x2a) |
Spec specified is not tunable |
43 (0x2b) |
Bad Quality on read points |
Bailey Error
0x100 |
Bailey reply code offset |
e.g. |
|
0x104 |
Index already established by another point. |
0x105 |
Block already established by another index |
0x128 |
Index already established by another PCU |
0x169 |
Undefined block number - block number is valid but
not configured. |
For other error code, see section Reply Codes and Module Bus
Reply Codes in Bailey Product Instruction E93-905-9, Enhanced
Computer Interface Unit Programmer's Reference Manual.
|