Citect SCADA compilation error

J

Thread Starter

jeffchye

I am using Omron CP1H PLC communicate with Citect SCADA v6.0. I define data type for one of the variable tag to read "REAL". But when do compilation, it will come out a error saying "bad raw data type". There are fine for define other type of data type.

Any help for that will be appreciate. Thx.
 
I
..\Citect\CitectSCADA\Bin\PROTDIR.DBF only shows up 2 Omron related drivers OMFINS.DBF or OMRON.DBF

OMFINS: only supports Type0.digital and type1.INT (16bit)
OMRON: only supports Type0.digital and type1.INT (16bit) (but does support LONG/STRING/LONGBCD


It does not look like 32bit data types are supported through the omron specific drivers. Can this PLC use Modbus/Modnet instead

Suggest, i) convert to string in PLC, or INT

Refer knwledge base Q3067

KB Q1679 OMRON Variables

Digital
Sbb Status
Ewbb Error
LRwbb Link Relay
HRwbb Holding Relay
wbb I/O Relay / Internal Aux Relay
TC0 Timer / Counter status
Where w is the word number
bb is the bit number 00 to 15
When writing to Status bits. bb is the bit
pattern to be written.
0 Program mode
2 Monitor Mode
3 Run Mode

Integer
DM0 Data Memory
PV0 Timer/Counter Present value

All the best

Ian Finlay
Freelance Citect/Cicode/C++/VB/.NET/C#
www.earthed.net.au
 
Top