greenfoxx

Forum Replies Created

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • in reply to: MQTT in-depth Installation Help #6267
    greenfoxx
    Participant

    to phachakorn:
    Please check Communication Lines->Request Sequence -> Column Command Line.
    You need to write KpMqtt_Config.xml in this column and than Upload Configuration.
    If a file name KpMqtt_Config.xml has already been written in this column, just Upload Configuration.

    to ALnaluk:
    Please show connection settings in working mqtt-spy and compare with <MqttParams Hostname=”tailor.cloudmqtt.com” ClientID=”” Port=”15043″ UserName=”pscmbdmc” Password=”pscmbdmc”/>

    in reply to: MQTT in-depth Installation Help #6253
    greenfoxx
    Participant

    Please check connect with tailor.cloudmqtt.com using other emulator programs, for example mqtt-spy.

    in reply to: MQTT in-depth Installation Help #6238
    greenfoxx
    Participant

    Hi!

    Could you please check Configuration Database->Dictionaries->Device Type column DLL Filename
    You need to write KpMqtt.dll (pay attention to the case of letters)

    Also could you please check Line Parameters ->Request Sequence text DLL.
    You need to write KpMqtt.dll (pay attention to the case of letters)

    In your picture KpMQTT (MQTT in uppercase)

    • This reply was modified 4 years, 4 months ago by greenfoxx.
    in reply to: MQTT in-depth Installation Help #6183
    greenfoxx
    Participant

    Hi!
    We’ve just added a new video https://www.youtube.com/watch?v=QTcimIik6uU&feature=youtu.be
    Perhaps it will be useful to you

    in reply to: MQTT in-depth Installation Help #6127
    greenfoxx
    Participant

    Hi!
    Brief instruction
    1. Make sure that the library is available in the driver list.
    Communicator-> Drivers.
    Here you will see lists of available drivers. The KpMqtt.dll should be on the list.

    2. Add device type to the Dictionaries.
    Configuration Database->Dictionaries->Devices Type
    For example:
    ID Name DLL Filename Description
    (Last ID)* MQTT KpMqtt.dll MQTT driver

    3. Add Communication line.
    Configuration Database->System->Communication line
    For example:
    Number Name Description
    21 MQTT MQTT

    4. Add devices.
    Configuration Database->System->Devices
    For example
    Number Name Device Type Communication line Description
    42 MQTTtest MQTT MQTT MQTTtest

    Other fields are empty

    5. Add input channel.
    Configuration Database->System->Input channels
    Before to this, you need to update data. Stand on the ‘input channel’, right-click and click on the ‘Refresh’ button
    For example for [42] MQTTtest (here name devices)
    Number Active Name Channel Type Object Device Signal
    600 V mqttparam1 Calculate Real Enterprise MQTTtest 1
    601 V Mqttparam2 Calculate Real Enterprise MQTTtest 2
    602 V Mqttparam3 Calculate Real Enterprise MQTTtest 3

    Other fields are empty
    * Number, Name must be the same like in configuration file

    6. Upload Configuration

    7. Configure MQTT
    Instances->Communicator->Communication Line
    Stand on the ‘Communication Line’, right-click and click on the ‘Import’ button. Select communication line [21]MQTT (for example)
    Line Parameters contains 3 tabs.

    1. Main Parameters
    Here you can see the name and number communication line. In our example, number 21
    2. Custom Parameters
    Can be empty.
    3. Request Parameters
    Add following data:
    In our example:
    Number: 42 (number device)
    Name: MQTTtest
    Driver: KpMqtt.dll
    Command line: KpMQTT_Config.xml

    8. Save and upload configuration

    9. Start line (Stand on the [21]MQTTest, right-click and click on the ‘Start line’ button)

    10. If everything is configured correctly, on the tab
    Communication line->[21]MQTT->[42]MQTTtest you can see data. In our Example.

    in reply to: MQTT in-depth Installation Help #6117
    greenfoxx
    Participant

    Hi!
    We have posted a brief instruction in English https://github.com/RapidScada/scada-community/blob/master/Drivers/KpMqtt/README-EN.md recently. Maybe you will find it useful. In the manual we can get an example of configuring KpMQTT_Config.xml

    You need to place
    1.kpmqtt.dll file in the folder C:\SCADA\ScadaComm\KP
    2.kpmqtt_config file in the folder C:\SCADA\Projects\TestProject\Instances\Default\ScadaComm\Config
    3.jint.dll file in the folder C:\SCADA\ScadaComm\KP
    4.file job.js in the folder C:\SCADA\ScadaComm\KP

    This driver was developed by our community, and at the moment the Rapid SCADA team has begun to finalize the driver.

    • This reply was modified 4 years, 4 months ago by Mikhail.
    in reply to: MQTT – Rapid scada #6029
    greenfoxx
    Participant

    Hi!

    For undestanding, Can you please draw a diagram of the project?
    Could you please clarify, do you receive data from ESP32 in Rapid SCADA?

    The MQTT driver can both read and write data.

    • This reply was modified 4 years, 5 months ago by greenfoxx.
    in reply to: Secure MQTT conncetion #5757
    greenfoxx
    Participant

    Hello pyrotoef,
    Your question is very interesting. The MQTT driver has been developed by our community, the author is https://github.com/bersim
    We can recommend the following ways for solution to your issue:
    1) You can contact the developer of this diver, perhaps he was facing with this issue.
    2) Developers of Rapid SCADA on a paid basis can solve this problem.
    Thank you for your question.
    Rapid SCADA team

Viewing 8 posts - 16 through 23 (of 23 total)