Mikhail

Forum Replies Created

Viewing 15 posts - 5,881 through 5,895 (of 5,971 total)
  • Author
    Posts
  • Mikhail
    Moderator

    Hi Kevin,

    You can swap bytes using formulas which are edited by SCADA-Administrator application.
    Seeing that Modbus driver is currently improved it is possible to implement this function in Modbus Template Editor of Rapid SCADA Modbus driver. Probable within 2 weeks.

    in reply to: Advice required for setting up a basic system #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.

    in reply to: Advice required for setting up a basic system #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?

    in reply to: Advice required for setting up a basic system #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.

    in reply to: Advice required for setting up a basic system #301
    Mikhail
    Moderator

    Hi,
    It’s weird:
    If “Address” field is 0, the result is allways [02] ILLEGAL DATA ADDRESS!
    If “Address” field is 1, there are some success results and some errors [02].
    If “Address” field is 2 or more, all the test requests is OK. But voltages and energies are 0. Is it normal? Do you have a clue why address must be 2 or more?

    I’ll send you a template file.

    • This reply was modified 10 years, 1 month ago by Mikhail.
    in reply to: Advice required for setting up a basic system #299
    Mikhail
    Moderator

    OK, send it to the e-mail written here http://rapidscada.org/contact/

    • This reply was modified 10 years, 1 month ago by Mikhail.
    in reply to: Advice required for setting up a basic system #297
    Mikhail
    Moderator

    Try changing 465 to 466 in the template.

    I would like to take advantage of your offer and test the new version of Modbus driver with your device when the driver becomes ready. It would be great.

    in reply to: Advice required for setting up a basic system #295
    Mikhail
    Moderator

    The next steps:
    1. Open Device Template Editor.
    2. Add element group by clicking the toolbar button.
    3. Input any group name.
    4. Choose “Input Registers” Data table (as written on the 5th page of your manual).
    5. Set “Start element address” to 465.
    6. Set “Element count” to 8 (from 465 to 472)
    7. Save the template and restart SCADA-Communicator service.

    Then watch the log and post it, please.
    At this time KpModbus.dll can convert max. 4 bytes values. But in your case you need to convert 8 bytes. Fortunately, Modbus driver is now under upgrade and I’ll try to implement required functionality in the next week.

    While waiting, you could tune the other necessary registers. Most of them are 4 bytes or less.

    in reply to: Advice required for setting up a basic system #293
    Mikhail
    Moderator

    Hi Bret,

    Fine. This log means that the connection is OK, but you need to tune your device template. Look for register addresses in the documentation of your device. After it is found, copy an appropriate part of manual here.

    in reply to: Advice required for setting up a basic system #290
    Mikhail
    Moderator

    5a. Your Modbus TCP device is CeweMod gateway.
    5b. Address field probably should contains the Modbus ID of the meter.

    in reply to: Advice required for setting up a basic system #288
    Mikhail
    Moderator

    We will go the simplest way based on the default configuration.
    Step One. Connect to the Device
    1. Run SCADA-Communicator.
    2. Untick “Use SCADA-Server”.
    3. Untick “Active” of the Lines 2 and 3. The line 1 must be active.
    4. Select Line 1, go to “Request Sequence” page and click on the first device in the grid.
    5. Set “Call number” to the IP of your device.
    6. Set “Command Line” to MyTemplate.xml
    7. Apply settings changes.
    8. Click “Device Libraries” node, then select KpModbus.dll and click “Properties”.
    9. You should create a template of your device using Device Template Editor according the device documentation. Save it to file MyTemplate.xml. We can discuss it in details.
    10. Start SCADA-Communicator service and watch the communication state.

    • This reply was modified 10 years, 1 month ago by Mikhail.
    in reply to: Advice required for setting up a basic system #286
    Mikhail
    Moderator

    Hello Bret,

    There are a few articles which can help: http://rapidscada.org/category/articles/
    If you read them and the situation is still not clear, let’s do step-by-step configuration right here in this topic.
    What communication protocol is supported by your device?

    in reply to: Animated components #284
    Mikhail
    Moderator

    My assumptions how the controls work:
    – They locate in C:\SCADA\ScadaWeb\controls\
    – Each control set has its own folder, for example, C:\SCADA\ScadaWeb\controls\myControlSet
    – Each control is a div in DOM tree
    – SCADA-Web “knows” what channels every control needs
    – SCADA-Web periodically execute update control method
    – A control can execute JavaScript methods for redirect to another view, send command, draw chart and show custom dialog

    in reply to: Animated components #283
    Mikhail
    Moderator

    Hi,
    Good news )

    API for including components in SCADA-Web has not ready yet. For starting development right now you should develop some kind of shell that will be changed to API when it is ready. You can create custom web page like written here http://rapidscada.org/scada-web-development/ Then embed your controls in the page.

    New schemes engine will be based on HTML5 and JavaScript. I suppose that each set of visual controls is a set of xml file that describes controls, js files, images, etc.
    Every control should implements methods those will be executed by the engine, for example, Update, GetBoundChannels.

    Please make a fork from https://github.com/RapidScada/SCADA/tree/develop
    Later we can sync like described here (Fork & pull) https://help.github.com/articles/using-pull-requests/

    Let’s discuss here any ideas about creating the controls.

    in reply to: Minimum data writing period #281
    Mikhail
    Moderator

    Thanks for the good idea. It can be useful in some cases. But I’m not sure that this function will be implemented in the nearest future. If you would like to purchase it, please contact me in private.

Viewing 15 posts - 5,881 through 5,895 (of 5,971 total)