Comunicação Modbus Multimedidor Schneider PowerLogic PM5340

Pessoal,

Estou tentando comunicar um multimedidor da Schneider PowerLogic PM5340 via modbus tcp utilizando o driver modcom. Até então sem sucesso.

Alguem tem alguma luz?

Segue log do modcom.

08/04/2015 16:08:43.931 (0C3C) [DRIVER] - ModiconModbus.WaitSilenceOnError = 1
08/04/2015 16:08:43.931 (0C3C) [DRIVER] - 34 parameters with value = 0 were omitted
08/04/2015 16:08:43.932 (1284) [IOKIT] INITIALIZING…
08/04/2015 16:08:43.932 (1284) [SOCKET] Winsock initialized: version=2.2, highVersion=2.2
08/04/2015 16:08:43.932 (1284) [IOKIT] INITIALIZED!
08/04/2015 16:08:43.932 (1284) [IOKIT] Request handler enabled
08/04/2015 16:08:43.932 (1284) [IOKIT] CONNECTING…
08/04/2015 16:08:43.932 (09A4) [DRIVER] Tag(5.1.0.3026).Validate = SUCCESS (type=10;flags=9)
08/04/2015 16:08:43.932 (09A4) [DRIVER] Tag(5.1.0.3026).Normalize = Linear(1:3026) (x1,00000001)
08/04/2015 16:08:43.932 (09A4) [DRIVER] Tag(5.1.0.3027).Validate = SUCCESS (type=10;flags=9)
08/04/2015 16:08:43.933 (09A4) [DRIVER] Tag(5.1.0.3027).Normalize = Linear(1:3027) (x1,00000001)
08/04/2015 16:08:43.933 (09A4) [DRIVER] Tag(5.1.0.3028).Validate = SUCCESS (type=10;flags=9)
08/04/2015 16:08:43.933 (09A4) [DRIVER] Tag(5.1.0.3028).Normalize = Linear(1:3028) (x1,00000001)
08/04/2015 16:08:43.933 (09A4) [DRIVER] Tag(5.1.0.3029).Validate = SUCCESS (type=10;flags=9)
08/04/2015 16:08:43.933 (09A4) [DRIVER] Tag(5.1.0.3029).Normalize = Linear(1:3029) (x1,00000001)
08/04/2015 16:08:43.933 (0C3C) [DRIVER] Linear(1:3026).Unnormalize = Tag(5.0.3.3026.Blob:01D30250)
08/04/2015 16:08:43.936 (1284) [SOCKET] PING ‘192.168.10.21’ (IP 192.168.10.21) SUCCEEDED (1 msec)
08/04/2015 16:08:43.937 (1284) [SOCKET] connecting socket to ‘192.168.10.21’ on port 502…
08/04/2015 16:08:43.940 (1284) [SOCKET] socket connected to ‘192.168.10.21’ on port 502 (local port 62539)!
08/04/2015 16:08:43.940 (1284) [IOKIT] CONNECTED!
08/04/2015 16:08:43.943 (1284) TX: 00 00 00 00 00 06 05 03 0B D1 00 04
08/04/2015 16:08:43.944 (1284) [SOCKET] recv2() returned error WSAECONNRESET (10054)
08/04/2015 16:08:43.944 (1284) [SOCKET] socket closed
08/04/2015 16:08:43.995 (1284) RX: TIMEOUT
08/04/2015 16:08:43.995 (0C3C) [DRIVER] <== (0.062) Tag(5.0.3.3026.Blob:01D30250[4]).ReadBlock = ERROR (hr=8004E000)
08/04/2015 16:08:43.995 (1284) [IOKIT] CONNECTION LOST!
08/04/2015 16:08:43.995 (1284) [IOKIT] RECONNECT POSTPONED!
08/04/2015 16:08:45.000 (0C3C) [DRIVER] -> Failed, physical layer not connected!
08/04/2015 16:08:45.000 (0C3C) [DRIVER] <== (0.000) Tag(5.0.3.3026.Blob:01D30250[4]).ReadBlock = ERROR (hr=80004005)
08/04/2015 16:08:46.006 (0C3C) [DRIVER] -> Failed, physical layer not connected!
08/04/2015 16:08:46.006 (0C3C) [DRIVER] <== (0.000) Tag(5.0.3.3026.Blob:01D30250[4]).ReadBlock = ERROR (hr=80004005)
08/04/2015 16:08:47.012 (0C3C) [DRIVER] -> Failed, physical layer not connected!
08/04/2015 16:08:47.012 (0C3C) [DRIVER] <== (0.000) Tag(5.0.3.3026.Blob:01D30250[4]).ReadBlock = ERROR (hr=80004005)
08/04/2015 16:08:47.340 (0C3C) [DRIVER] drvStopComm(0,0,0,0)
08/04/2015 16:08:47.340 (0C3C) [IOKIT] Stopping physical layer thread…
08/04/2015 16:08:47.341 (0C3C) [IOKIT] Waiting for termination of physical layer thread…
08/04/2015 16:08:47.341 (1284) [IOKIT] TERMINATING…
08/04/2015 16:08:47.341 (1284) [IOKIT] TERMINATED! (12 bytes sent, 0 bytes received)
08/04/2015 16:08:47.341 (1284) [IOKIT] Request handler disabled
08/04/2015 16:08:47.341 (0C3C) [IOKIT] Physical layer thread stopped!

Segue Sniffer

Resolvido…

Endereço modbus padrão do equipamento é 255, não é informado mas pode ser observado pelo snifer quando comunica direto com o software do fabricante .

1 Like