Forum Home › Forums › Understanding the Software › Advice required for setting up a basic system
- This topic has 28 replies, 2 voices, and was last updated 8 years, 6 months ago by Mikhail.
-
AuthorPosts
-
August 21, 2015 at 1:06 pm #303BretLarkParticipant
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.
August 22, 2015 at 8:00 am #305MikhailModeratorHi 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.
August 22, 2015 at 9:50 am #306BretLarkParticipantHi 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
August 22, 2015 at 10:14 am #307MikhailModeratorHex 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?August 22, 2015 at 10:17 am #308BretLarkParticipantHi 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,
BretAugust 22, 2015 at 10:25 am #309MikhailModeratorDoes CeweMod provide any diagnostic tools, such as web console, for example?
In compare with other Modbus devices it’s behavior is strange.August 26, 2015 at 12:35 pm #327MikhailModeratorDear Bret,
Have you successfully received data from the meter?
8 byte doubles are now supported.September 3, 2015 at 5:17 pm #400BretLarkParticipantHi 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,
BretSeptember 3, 2015 at 8:36 pm #402MikhailModeratorHi 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.
September 5, 2015 at 2:52 pm #409BretLarkParticipantHi 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?
September 5, 2015 at 8:48 pm #411MikhailModeratorHi Bret,
I think, the reason of the issue is listed in the main log of Communicator C:\SCADA\ScadaComm\Log\ScadaCommSvc.log
September 8, 2015 at 11:51 am #429BretLarkParticipantHi 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,
BretSeptember 8, 2015 at 6:22 pm #431MikhailModeratorHi 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.
September 8, 2015 at 6:27 pm #432MikhailModeratorIf you’d like, I can make necessary settings remotely for a fee. This will save your time.
If not, let’s continue ) -
AuthorPosts
- You must be logged in to reply to this topic.