Error in TCP modbus simulation

Forum Home Forums Communicating with Devices Modbus Error in TCP modbus simulation

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1309
    rambo
    Participant

    Hello Mikhail,

    I am trying to simulate , with modbus simulator ove modbus TCP/IP…. most of the time it gives communication error.

    1) scada server running is required all the time??

    2) mod simulator register value need to change to keep communication alive.

    3) error log say CRC error.

    How upload error log… I have tried capy paste … not working??

    Regards,

    #1311
    rambo
    Participant

    root cause is identified…. my mistake I am trying to communicate over TCP with simulator, but in scada communicator device properties i selected modbus RTU.

    Now I get communication established and values are comming … but after some time it give error.

    ——————————————————————————–
    2016-06-21 10:43:55 Initialize communication line 7 “read test”
    2016-06-21 10:43:55 Load device template from file meter1_one byte.xml
    2016-06-21 10:43:56 Start communication line 7 “read test”

    2016-06-21 10:43:56 Establish a TCP connection with 127.0.0.1:502

    2016-06-21 10:43:56 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!

    2016-06-21 10:43:56 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!

    2016-06-21 10:43:57 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!

    2016-06-21 10:43:58 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!

    2016-06-21 10:43:58 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!

    2016-06-21 10:43:59 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!

    2016-06-21 10:44:00 Stop communication line 7 “read test”
    ——————————————————————————–
    ——————————————————————————–
    2016-06-21 10:44:24 Initialize communication line 7 “read test”
    2016-06-21 10:44:24 Load device template from file meter1_one byte.xml
    2016-06-21 10:44:24 Start communication line 7 “read test”

    2016-06-21 10:44:24 Establish a TCP connection with 127.0.0.1:502

    2016-06-21 10:44:24 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 03 00 03
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 03 00 03
    OK!

    2016-06-21 10:44:25 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 03 00 03
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 03 00 03
    OK!

    2016-06-21 10:44:25 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 04 00 04
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 04 00 04
    OK!

    2016-06-21 10:44:26 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 04 00 04
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 04 00 04
    OK!

    2016-06-21 10:44:27 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 04 00 04
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 04 00 04
    OK!

    2016-06-21 10:44:27 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 04 00 04
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 05 00 05
    OK!

    2016-06-21 10:44:28 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 05 00 05
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 05 00 05
    OK!

    2016-06-21 10:44:29 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 05 00 05
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 05 00 05
    OK!

    2016-06-21 10:44:30 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 05 00 05
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 05 00 05
    OK!

    2016-06-21 10:44:30 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 06 00 06
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 06 00 06
    OK!

    2016-06-21 10:44:31 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 06 00 06
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 06 00 06
    OK!

    2016-06-21 10:44:32 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 06 00 06
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 06 00 06
    OK!

    2016-06-21 10:44:32 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 06 00 06
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 06 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 07 00 07
    OK!

    2016-06-21 10:44:33 Stop communication line 7 “read test”
    ——————————————————————————–
    ——————————————————————————–
    2016-06-21 10:44:35 Initialize communication line 7 “read test”
    2016-06-21 10:44:35 Load device template from file meter1_one byte.xml
    2016-06-21 10:44:35 Start communication line 7 “read test”

    2016-06-21 10:44:35 Establish a TCP connection with 127.0.0.1:502

    2016-06-21 10:44:35 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!

    2016-06-21 10:44:42 Disconnect from 127.0.0.1

    2016-06-21 10:44:42 Establish a TCP connection with 127.0.0.1:502

    2016-06-21 10:44:42 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!

    2016-06-21 10:44:48 Disconnect from 127.0.0.1

    2016-06-21 10:44:49 Establish a TCP connection with 127.0.0.1:502

    2016-06-21 10:44:49 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!

    2016-06-21 10:44:55 Disconnect from 127.0.0.1

    2016-06-21 10:44:55 Establish a TCP connection with 127.0.0.1:502

    2016-06-21 10:44:55 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!

    2016-06-21 10:45:02 Disconnect from 127.0.0.1

    2016-06-21 10:45:02 Stop communication line 7 “read test”
    ——————————————————————————–
    ——————————————————————————–
    2016-06-21 10:46:24 Initialize communication line 7 “read test”
    2016-06-21 10:46:24 Load device template from file meter1_one byte.xml
    2016-06-21 10:46:25 Start communication line 7 “read test”

    2016-06-21 10:46:25 Establish a TCP connection with 127.0.0.1:502

    2016-06-21 10:46:25 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (0/7):
    Communication error!

    2016-06-21 10:46:30 Disconnect from 127.0.0.1

    2016-06-21 10:46:30 Stop communication line 7 “read test”

    #1313
    Mikhail
    Moderator

    You are requesting the same when the communication is OK and when it’s broken.
    It means that something wrong with a simulator application. May be some settings of the simulator were changed, e.g. device address.

    #1314
    Mikhail
    Moderator

    If you’d like to switch off SCADA-Server, you should uncheck Use SCADA-Server option in Communicator.

    #1315
    rambo
    Participant

    Dear Mikhail,

    Thanx for reply….

    I have manipulate with period and delays now I am getting stable connection.

    2016-06-21 17:34:04 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1A 00 1A
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 07 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1A 00 1A
    OK!

    2016-06-21 17:34:06 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1B 00 1B
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 07 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1B 00 1B
    OK!

    2016-06-21 17:34:08 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1B 00 1B
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 07 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1B 00 1B
    OK!

    2016-06-21 17:34:10 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1C 00 1C
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 07 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1C 00 1C
    OK!

    2016-06-21 17:34:12 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1D 00 1D
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 07 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1D 00 1D
    OK!

    2016-06-21 17:34:14 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1E 00 1E
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 07 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1E 00 1E
    OK!

    2016-06-21 17:34:16 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1F 00 1F
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 07 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 1F 00 1F
    OK!

    I am increasing the word in simulation to change the 4X registers …. as u can see in the log…

    Now how to fetch the required information from this data…..

    voltage reg received is say (09 AC 74 47) , manufactrur says consider it as (P, Q, R , S), then apply formula (((256*P)+Q)+(R/256)+(S/(256*256)))/10 that is final voltage value 247.64 how to apply this formula and get value..

    Thanx

    #1319
    Mikhail
    Moderator

    You should use a formula of the appropriate input channel in SCADA-Administrator application.

    The formula below will be useful. Add it in the Formulas table and use in the formula of the input channel.

    public double GetByte(double val, int n)
    {
        UInt64 uintVal = (UInt64)val;
        return (uintVal >> (n*8)) & 0xFF;
    }
    

    The formula of the input channel is like

    (((256*GetByte(Cnl,3))+GetByte(Cnl,2))+(GetByte(Cnl,1)/256)+(GetByte(Cnl,0)/(256*256)))/10
    

    I haven’t tested it.

    #1322
    rambo
    Participant

    Dear Mikhail ,

    I have tried it but it did not work.

    In formulas A pasted in source code section

    public double GetByte(double val, int n)
    {
    UInt64 uintVal = (UInt64)val;
    return (uintVal >> (n*8)) & 0xFF;
    }

    then in i/p channel formula

    (((256*GetByte(Cnl,3))+GetByte(Cnl,2))+(GetByte(Cnl,1)/256)+(GetByte(Cnl,0)/(256*256)))/10

    Communication log is as follows I have
    2016-06-24 01:24:48 Communication session with the Device 38 “mod simulator”, type: KpModbus, address: 4, call number: 127.0.0.1
    Request element group “Voltage”
    Send (12): 00 00 00 00 00 06 04 03 00 05 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 09 AC 74 47
    OK!
    Request element group “Current”
    Send (12): 00 00 00 00 00 06 04 03 00 07 00 02
    Receive (7/7): 00 00 00 00 00 07 04
    Receive (6/6): 03 04 00 00 00 00
    OK!

    But in Communicator device data , I did not find any change.

    Device 38 “mod simulator”
    ————————-
    DLL : KpModbus
    State : undefined
    Comm. session : 24/06/2016 01:34:04
    Command : time is undefined

    Comm. sessions (total / errors) : 5 / 0
    Commands (total / errors) : 0 / 0
    Requests (total / errors) : 10 / 0

    Current device tags data
    +——–+———+——-+———+
    | Signal | Name | Value | Channel |
    +——–+———+——-+———+
    | ******** Voltage ***************** |
    +——–+———+——-+———+
    | 1 | Va | 0.000 | |
    +——–+———+——-+———+
    | ******** Current ***************** |
    +——–+———+——-+———+
    | 2 | Ia | 0.000 | |
    +——–+———+——-+———+

    No archive data

    No events

    I have even tried putting direct formula i.e.

    ((256*9)+172+(116/256)+(71/(256*256)))/10

    at formula of i/p channel but still no result,

    I think I have not understood how to use formula.

    Pls help how to go now,

    Thanx & Regards

    #1326
    Mikhail
    Moderator

    The formula is applied in SCADA-Server. That’s why you can’t see a result in Communicator. You have to configure displaying data by SCADA-Web app and you will be able to see calculation results.

    #1345
    rambo
    Participant

    Hello Mikhail,

    thanx for reply, Its still not working,

    I think I have still not understood the basic working and interlinking of all the applications,

    For now i am trying to simulate server room:-

    t4 (10000 decimal) (Burnout4 is set to 1) and t5( decimal 11000) (Burnout5 is set to 1) values are received by scadacomm, and communication line 1 is bound to server, but in scada web i am not getting any update.

    I have tried generator of scada server, its work fine in web..

    but in normal comm process i am not getting scada web upgarede.

    Please suggest what to look for.

    Regards

    #1346
    Mikhail
    Moderator

    Can you see input channel numbers in the Channel column of Device Data page in Communicator? If not, it means that input channels are not bound to the device tags, so data are not passed from Communicator to Server.

    #1351
    rambo
    Participant

    In channel column no input channel are displayed….

    I have tried services creating channels in scada admin but it says, error created channels are missing…

    How to resolve this…..

    Regards,

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.