Advice required for setting up a basic system

Forum Home Forums Understanding the Software Advice required for setting up a basic system

Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • #303
    BretLark
    Participant

    Hi Mikhail,

    I did send you a response by email yesterday evening so it isn’t showing on this thread. I now have what looks like good data from the meter, I suppose my next step is to configure the next part of the software and try to get the hex data converted to decimal.

    This will be easy to check as I can see hte figures directly from the CeweMod also.

    Thanks for your help.

    #305
    Mikhail
    Moderator

    Hi Bret,

    Step Two. Try to display data in a web page using the default configuration.
    1. Run SCADA-Communicator.
    2. Tick “Use SCADA-Server” back.
    3. Start SCADA-Server and SCADA-Communicator services.

    Then click to your device tree node in SCADA-Communicator and post here the content of “Device Data” page. The easiest way is copying it from the file C:\SCADA\ScadaComm\Log\kp021.txt

    Voltages already should be decimal. To convert energies we need improve KpModbus.dll possibilities.

    #306
    BretLark
    Participant

    Hi Mikhail,

    OK thanks. Everything is decimal at least but all showing zero values although looking at the hex values there does seem to be something there.

    Device 1 "Hale Farm Generation Meter", DLL: KpModbus
    ----------------------------------------------------
    State         : normal
    Comm. session : 22/08/2015 10:47:16
    Command       : time is undefined
    
    Comm. sessions (total / errors) : 12 / 1
    Commands       (total / errors) : 0 / 0
    Requests       (total / errors) : 45 / 1
    
    Current data
    +--------+--------------------+-------+---------+
    | Signal | Name               | Value | Channel |
    +--------+--------------------+-------+---------+
    | ******** Phase Voltages ********************* |
    +--------+--------------------+-------+---------+
    |      1 |                    | 0.000 |         |
    +--------+--------------------+-------+---------+
    |      2 |                    | 0.000 |         |
    +--------+--------------------+-------+---------+
    |      3 |                    | 0.000 |         |
    +--------+--------------------+-------+---------+
    | ******** Main Voltages ********************** |
    +--------+--------------------+-------+---------+
    |      4 |                    | 0.000 |         |
    +--------+--------------------+-------+---------+
    |      5 |                    | 0.000 |         |
    +--------+--------------------+-------+---------+
    |      6 |                    | 0.000 |         |
    +--------+--------------------+-------+---------+
    | ******** Active Energy Imp. ***************** |
    +--------+--------------------+-------+---------+
    |      7 |                    |     0 |         |
    +--------+--------------------+-------+---------+
    |      8 |                    |     0 |         |
    +--------+--------------------+-------+---------+
    |      9 |                    |     0 |         |
    +--------+--------------------+-------+---------+
    |     10 |                    |     0 |         |
    +--------+--------------------+-------+---------+
    | ******** Active Energy Exp. ***************** |
    +--------+--------------------+-------+---------+
    |     11 |                    |     0 |         |
    +--------+--------------------+-------+---------+
    |     12 |                    |     0 |         |
    +--------+--------------------+-------+---------+
    |     13 |                    |     0 |         |
    +--------+--------------------+-------+---------+
    |     14 |                    |     0 |         |
    +--------+--------------------+-------+---------+
    
    No archive data
    
    No events
    
    #307
    Mikhail
    Moderator

    Hex values shown in log also contains address, number of bytes, etc. That is why they are not 0 when data is 0.
    If meter shows not 0 voltages, there is a mistake in received data. May be you send a request to CeweMod support?

    #308
    BretLark
    Participant

    Hi Mikhail,

    I’ve got the manual here, I will try some different registers and also check that the meter is still configured at address 2 on the CeweMod.

    I am also awaiting confirmation that the protocol document is correct but it is the latest as far as I am aware. I’ll keep trying different configurations today to try and get some values.

    Thanks,
    Bret

    #309
    Mikhail
    Moderator

    Does CeweMod provide any diagnostic tools, such as web console, for example?
    In compare with other Modbus devices it’s behavior is strange.

    #327
    Mikhail
    Moderator

    Dear Bret,

    Have you successfully received data from the meter?
    8 byte doubles are now supported.

    #400
    BretLark
    Participant

    Hi Mikhail,

    Thanks for your replies, sorry for the delay I’ve been really busy and haven’t had much time to look at it.

    I spoke with Cewe and they can’t see any reason why I receive these values, although they did suggest that I should be using modbus address 0 which we already know doesn’t work within Rapid SCADA for an unknown reason.

    Where can I obtain the new Modbus driver? Is it downloadable from the website or do I need to download the full package?

    I’m keen to get this working and I’ve now got other devices I want to connect so my project has become larger.

    Many thanks,
    Bret

    #402
    Mikhail
    Moderator

    Hi Bret,

    If Cewe provides its own utility that request devices, we can sniff data exchange and realize what should we do.

    First, download and install the full package. Then download http://rapidscada.org/download/scada_4.5_update.zip and overwrite files in C:\SCADA\ScadaComm folder. If you find any bugs, post them in a separate topic.

    #409
    BretLark
    Participant

    Hi Mikhail,

    I’ve done the upgrade but now my communication line will not initialise, I just get the following and then no further…

    ——————————————————————————–
    2015-09-05 09:59:26 Initialize communication line 1 “Hartwell GM”

    Any idea what I might have broken?

    #411
    Mikhail
    Moderator

    Hi Bret,

    I think, the reason of the issue is listed in the main log of Communicator C:\SCADA\ScadaComm\Log\ScadaCommSvc.log

    #429
    BretLark
    Participant

    Hi Mikhail,

    I have tried everything to get the connections working again but since I’ve re-installed and done the update all I get is the following:

    “2015-09-08 12:39:10 Unable to communicate with the device because connection is not established”

    This is configured using “Undefined” in the Communication Line Parameters and the IP address and port in the call number field in the request sequence. The only way I can get a connection to work is by configuring it in the Communication channel, which is obviously wrong.

    Have you seen this problem anywhere else?

    Many thanks,
    Bret

    #431
    Mikhail
    Moderator

    Hi Bret,

    Probably my explanations were not so clear. You have to use TCP client connection channel. But it is not necessary to set IP address of the TCP client channel, because IP address of your device must be set in Call Number fileld.

    #432
    Mikhail
    Moderator

    If you’d like, I can make necessary settings remotely for a fee. This will save your time.
    If not, let’s continue )

Viewing 14 posts - 16 through 29 (of 29 total)
  • You must be logged in to reply to this topic.