afzal

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: setting output channel value on the base of data received #8646
    afzal
    Participant

    i am using this formula

    if (Val(110)<800)
    {
    SetVal(801, 32);
    }

    but it’s not working.
    input channel is 110
    output channel is 801, value is 32.
    i want to read input channel value and want to set the value of output channel.
    inbetween these 2 commands i want to put some delay.
    can you please help me out ?

    Thanks

    in reply to: Data not coming in Realtime #8628
    afzal
    Participant

    i place the communication log below.

    2021-04-01 15:47:15 Communication session with the Device 1 “IN_TEMP”, type: KpModbus, address: 1
    Request element group “TEMPERATURE”
    Send (8): 01 03 11 93 00 0A 30 DC
    Receive (5/5): 01 03 14 08 34
    Receive (20/20): 08 2A 00 0A 00 0A 00 14 00 2D 00 28 00 32 00 3C 00 46 83 84
    OK!

    2021-04-01 15:47:16 Communication session with the Device 2 “IN_FLOW”, type: KpModbus, address: 2
    Request element group “Flow”
    Send (8): 02 04 0D AB 00 05 43 76
    Receive (5/5): 02 04 0A 04 0B
    Receive (10/10): 03 77 03 61 03 6B 03 75 AC 3D
    OK!

    2021-04-01 15:47:16 Communication session with the Device 3 “IN_PRESSURE”, type: KpModbus, address: 3
    Request element group “PRESSURE”
    Send (8): 03 03 09 C3 00 05 77 8B
    Receive (5/5): 03 03 0A 03 4D
    Receive (10/10): 03 57 03 61 03 6B 03 75 D1 0C
    OK!

    2021-04-01 15:47:17 Communication session with the Device 4 “OUT_SENECA_DO”, type: KpModbus, address: 4
    No elements for request

    2021-04-01 15:47:17 Communication session with the Device 5 “OUT_POMPA_A”, type: KpModbus, address: 5
    No elements for request

    2021-04-01 15:47:17 Communication session with the Device 6 “OUT_POMPA_B”, type: KpModbus, address: 6
    No elements for request

    2021-04-01 15:47:18 Communication session with the Device 1 “IN_TEMP”, type: KpModbus, address: 1
    Request element group “TEMPERATURE”
    Send (8): 01 03 11 93 00 0A 30 DC
    Receive (5/5): 01 03 14 08 38
    Receive (20/20): 08 2E 00 0A 00 0A 00 14 00 2D 00 28 00 32 00 3C 00 46 D2 14
    OK!

    2021-04-01 15:47:18 Communication session with the Device 2 “IN_FLOW”, type: KpModbus, address: 2
    Request element group “Flow”
    Send (8): 02 04 0D AB 00 05 43 76
    Receive (5/5): 02 04 0A 04 0F
    Receive (10/10): 03 7B 03 65 03 6F 03 79 E2 F9
    OK!

    2021-04-01 15:47:19 Communication session with the Device 3 “IN_PRESSURE”, type: KpModbus, address: 3
    Request element group “PRESSURE”
    Send (8): 03 03 09 C3 00 05 77 8B
    Receive (5/5): 03 03 0A 03 52
    Receive (10/10): 03 5C 03 66 03 70 03 7A 62 3F
    OK!

    2021-04-01 15:47:19 Communication session with the Device 4 “OUT_SENECA_DO”, type: KpModbus, address: 4
    No elements for request

    2021-04-01 15:47:19 Communication session with the Device 5 “OUT_POMPA_A”, type: KpModbus, address: 5
    No elements for request

    2021-04-01 15:47:20 Communication session with the Device 6 “OUT_POMPA_B”, type: KpModbus, address: 6
    No elements for request

    if you observe, Device 1 data come for 15:47:15 then 15:47:18, 2 seconds are missing.

    in reply to: LED not working at output channel #8563
    afzal
    Participant

    is it possible to use it for output channel ?

    in my case it is not working for output channel.
    i would like to use for output channel to show that switch is pressed/ON.

    in reply to: Current Data Export #8533
    afzal
    Participant

    i solved the problem.

    in reply to: Current Data Export #8525
    afzal
    Participant

    above problem was related to mysql authentication.
    that is solved now i think now there is connection between rapidscada and mysql.

    but i get another error

    2021-03-17 15:38:27 Error export current data to DB MySQL – localhost: Duplicate entry ‘2021-03-17 15:38:26-101’ for key ‘cnldata.PRIMARY’

    in reply to: Current Data Export #8523
    afzal
    Participant

    Hi,

    the message that i see in log file is

    2021-03-17 12:57:08 Error connecting to DB MySQL – localhost: Authentication method ‘caching_sha2_password’ not supported by any of the available plugins.

    what could be the problem ?

Viewing 6 posts - 1 through 6 (of 6 total)