Variable tags Real

Hello,

I have an issue with real variable tags in CirectSCADA 7.40 SP2.  A real variable is declared in the PLC at address DDT1220, I create the same name variable tag, pointing to DT1220 (CitectSCADA does not accept the format DDT...) and select the type as Real, and each time it compiles, it returns the error "Bad raw data type" on that variable.  If I set the type as Long, it compiles without any error, what am I missing?

Thanks.

  • Hi Hubert,
    What driver / protocol are you using?
    The [Protocol].DBF file found in the [BIN] directory defines the addressing syntax and supported data types.
    Let me know and I can assist you further.
    Kind regards
    Olivier
  • Hello Olivier,
    Thanks for the fast reply! I'm using MewToCom. I opened the DBF and I do not see any 32 bits types... Should I use another driver to communicate with the PLC?
    Thanks.
  • Hi Hubert,
    From the help file (MEWTOCOM.CHM) it doesn't look like this driver supports the REAL data type.
    Can you tell me a bit more about the device you are trying to communicate? Does it support REAL data type? It is possible this driver hasn't kept up with the development and changes on the PLC side. It might be possible to update the driver, but some development work would be required.
    You may also check out 3rd party OPC Servers which communicate with the PLC. Then use the OPC driver in Citect which definitely supports Real data type.
  • Our PLC is a Panasonic FP2SH 60k. It supports real data types. What I did for now is convert the real to int, multiplying by 100 before and reconverting to real in SCADA and divide it by 100, this way I have sort of a real number with two decimals.
    OPC sounds interesting, it will depends how much development adjustment would be required, I'll check it out.
    Thanks for the information!