Comments (5)
Correct answer
> 1-3-50-0-1-0-2-0-1-192-0-0-0-0-0-0-0-65-112-0-0-0-0-0-0-0-0-0-0-66-72-0-0-0-0-0-0-66-200-0-0-0-0-0-0-65-240-0-0-0-0-19-136-125-180-0-0-0-255-0-254-0-255-0-0-0-0-0-254-0-0-0-255-0-0-0-254-0-0-255-0-0-0-0-0-254-0-0-0-255-0-0-252-0-128-0-255-0-0-0-0-0-0-0-255-0-0-255-0-252-0-0-255-0-0-0-252-0-255-0-0-252-0-254-0-254-0-0-255-0-0-0-255-0-252-0-0-0-0-255-0-0-252-0-255-0-0-0-252-0-0-0-0-255-0-0-0-0-252-0-0-0-254-0-0-255-0-0-254-0-254-0-254-0-0-255-0-254-0-0-192-0-0-0-252-0-0-0-252-0-0-255-0-0-0-255-0-255-0-255-0-0-0-254-0-0-224-0-252-0-0-255-0-254-0-0-255-0-254-0-0-255-0-0-255-0-255-0-0-0-0-0-254-0-254-0-0-224-0-255-0-255-0-0-0-255-0-0-0-0-248-0-0-255-0-254-0-0-0-0-0-128-0-0-255-0-0-255-0-0-255-0-0-255-0-255-0-0-0-0-255-0-0-255-0-255-0-250-0-254-0-255-0-254-0-255-0-0-0-252-0-255-0-252-0-0-0-0-0-255-0-0-0-0-0-0-248-0-255-0-0-128-0-0-0-0-254-0-252-0-0-240-0-0-0-0-255-0-255-0-0-254-0-0-255-0-0-0-0-0-0-248-0-0-0-255-0-255-0-0-255-0-0-255-0-0-0-0-0-244-0-0-252-0-0-0-0-252-0-0-0-0-0-255-0-0-255-0-0-0-0-0-255-0-0-0-0-0-255-0-0-253-0-0-254-0-0-0-0-255-0-0-0-0-255-0-254-0-252-0-255-0-0-0-0-0-0-0-255-0-0-0-0-0-254-0-0-255-0-0-254-0-0-254-0-0-255-0-0-254-0-0-0-254-0-254-0-0-0-0-254-0-255-0-0-0-0-0-0-255-0-0-0-0-254-0-0-248-0-0-0-0-0-0-248-0-252-0-255-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-255-0-0-255-0-0-255-0-0-254-0-255-0-0-240-0-0-254-0-255-0-0-255-0-0-248-0-255-0-0-0-250-0-246-0-0-255-0-0-0-255-0-0-252-0-254-0-0-255-0-254-0-0-255-0-254-0-0-0-255-0-248-0-252-0-0-254-0-0-0-0-0-254-0-255-0-255-0-0-0-255-0-250-0-0-0-0-0-0-0-0-252-0-0-255-0-0-0-0-0-255-0-255-0-0-0-0-0-248-0-0-0-0-254-0-255-0-0-0-255-0-0-0-0-242-0-0-0-0-255-0-224-0-0-255-0-0-0-252-0-254-0-0-254-0-255-0-255-0-0-192-0-0-0-0-0-0-0-255-0-0-0-255-0-0-255-0-0-0-254-0-0-0-0-0-0-0-0-255-0-0-0-255-0-0-0-0-0-255-0-0-0-0-0-0-252-0-254-0-0-255-0-0-0-252-0-0-249-0-255-0-255-0-252-0-0-0-0-0-240-0-253-0-0-0-0-0-0-0-0-252-0-255-0-0-0-0-0-255-0-0-252-0-252-0-254-0-0-255-0-0-0-0-255-0-0-255-0-252-0-254-0-255-0-255-0-0-0-252-0-0-0-254-0-0-0-255-0-253-0-0-0-0-0-240-0-252-0-254-0-0-0-0-0-254-0-255-0-0-0-0-254-0-0-254-0-0-0-0-242-0-0-0-0-0-255-0-255-0-0-0-252-0-254-0-0-255-0-0-0-0-252-0-0-0-0-254-0-0-0-0-0-0-224-0-254-0-0-0-0-254-0-255-0-255-0-0-254-0-0-0-255-0-0-0-0-255-0-248-0-250-0-0-0-255-0-0-0-0-255-0-255-0-0-0-0-0-247-0-254-0-0-254-0-255-0-253-0-0-0-0-254-0-0-0-255-0-0-254-0-0-0-0-255-0-252-0-0-0-0-0-0-0-0-0-255-0-0-0-0-0-0-0-0-0-254-0-255-0-0-252-0-0-255-0-255-0-0-255-0-0-254-0-0-255-0-0-0-253-0-254-0-254-0-0-0-0-0-0-0-0-254-0-255-0-255-0-253-0-255-0-255-0-255-0-0-224-0-254-0-255-0-0-254-0-0-0-254-0-0-0-0-252-0-0-192-0-0-0-0-0-253-0-252-0-0-255-0-255-0-252-0-0-0-0-0-252-0-0-0-0-255-0-0-254-0-0-255-0-0-0-128-0-0-192-0-0-0-0-224-0-255-0-0-255-0-255-0-0-0-254-0-255-0-254-0-255-0-254-0-0-0-254-0-255-0-255-0-0-0-0-0-255-0-0-0-252-0-0-0-0-0-255-0-0-255-0-0-0-0-255-0-255-0-252-0-0-0-255-0-0-0-0-255-0-0-0-0-255-0-0-0-255-0-255-0-255-0-0-255-0-252-0-0-255-0-255-0-0-0-0-0-0-254-0-254-0-0-0-0-254-0-0-0-0-0-0-255-0-0-0-255-0-255-0-251-0-240-0-254-0-0-0-0-0-254-0-254-0-0-255-0-0-0-0-252-0-0-0-255-0-254-0-252-0-0-0-252-0-252-0-0-255-0-0-0-254-0-255-0-254-0-255-0-0-0-0-255-0-0-254-0-255-0-0-0-0-0-0-0-0-0-254-0-255-0-0-128-0-0-0-0-0-248-0-0-0-254-0-0-0-248-0-255-0-0-0-254-0-224-0-0-0-254-0-0-252-0-255-0-0-254-0-255-0-241-0-0-255-0-0-255-0-0-254-0-255-0-255-0-254-0-254-0-254-0-0-252-0-0-0-255-0-255-0-0-0-0-0-0-0-0-0-0-254-0-192-0-0-253-0-254-0-0-252-0-0-0-208-0-0-0-255-0-0-0-0-0-0-255-0-255-0-255-0-0-255-0-254-0-252-0-0-0-249-0-252-0-0-254-0-0-0-0-255-0-0-0-0-0-0-248-0-254-0-0-254-0-255-0-0-255-0-255-0-0-254-0-0-255-0-0-255-0-0-0-0-0-255-0-254-0-0-252-0-255-0-0-0-0-254-0-254-0-0-254-0-0-254-0-254-0-254-0-254-0-255-0-243-0-0-0-0-0-0-0-255-0-192-0-240-0-0-0-0-255-0-255-0-0-248-0-0-253-0-0-254-0-0-0-0-251-0-0-240-0-253-0-0-255-0-0-255-0-0-254-0-255-0-0-0-0-0-0-254-0-0-255-0-0-0-0-0-0-248-0-254-0-255-0-0-0-0-240-0-0-253-0-0-0-0-255-0-0-0-0-0-0-255-0-255-0-0-0-254-0-255-0-254-0-254-0-0-255-0-0-255-0-0-0-224-0-252-0-248-0-0-0-255-0-255-0-0-0-252-0-0-0-255-0-0-0-0-255-0-0-255-0-255-0-0-0-0-0-0-0-255-0-0-0-254-0-0-0-0-0-0-0-0-254-0-0-0-248-0-0-0-252-0-0-248-0-255-0-0-0-254-0-0-255-0-0-252-0-0-0-0-0-255-0-0-255-0-0-0-0-255-0-254-0-255-0-252-0-0-0-252-0-0-252-0-224-0-255-0-0-0-0-0-0-252-0-252-0-0-0-0-0-0-0-0-0-255-0-0-255-0-0-0-0-254-0-0-0-0-255-0-0-0-255-0-253-0-0-0-0-0-0-0-255-0-0-0-0-0-254-0-255-0-254-0-0-0-254-0-0-255-0-0-254-0-0-0-0-255-0-0-128-0-0-0-255-0-0-254-0-255-0-0-0-255-0-0-255-0-255-0-252-0-255-0-254-0-0-255-0-0-255-0-0-0-0-0-128-0-0-0-0-0-0-0-0-248-0-248-0-255-0-252-0-0-0-255-0-0-254-0-0-0-254-0-0-252-0-252-0-254-0-254-0-0-254-0-0-128-0-254-0-254-0-0-0-0-0-0-0-255-0-0-0-0-254-0-255-0-255-0-0-0-0-0-0-0-0-0-255-0-0-0-0-255-0-0-224-0-0-0-0-0-255-0-255-0-255-0-252-0-255-0-248-0-254-0-0-0-0-0-0-0-0-255-0-0-0-0-0-255-0-0-0-254-0-252-0-252-0-0-254-0-0-255-0-0-0-0-254-0-0-224-0-0-0-255-0-254-0-0-254-0-0-255-0-255-0-255-0-0-0-255-0-254-0-240-0-255-0-0-0-252-0-0-255-0
$VAR1 = bless( {
'crc' => 46205,
'message' => bless( {
'bytes' => 50,
'code' => 3,
'values' => [
1,
2,
1,
49152,
0,
0,
0,
16752,
0,
0,
0,
0,
0,
16968,
0,
0,
0,
17096,
0,
0,
0,
16880,
0,
0,
5000
],
'function' => 'Read Holding Registers'
}, 'Device::Modbus::Response' ),
'unit' => 1
}, 'Device::Modbus::RTU::ADU' );
from device-modbus.
incorrect message:
> 0-0-255-0-0-0-0-0-216-0-0-0-255-0-252-0-0-0-0-0-0-242-0-252-0-255-0-255-0-254-0-254-0-255-0-254-0-252-0-0-0-254-0-0-0-255-0-255-0-240-0-255-0-252-0-0-0-0-0-0-0-255-0-0-0-0-255-0-0-0-255-0-254-0-0-0-0-0-0-0-254-0-0-248-0-254-0-252-0-255-0-0-0-0-0-0-254-0-254-0-0-254-0-254-0-255-0-0-0-0-0-255-0-255-0-0-0-0-0-254-0-0-255-0-0-0-254-0-255-0-254-0-0-255-0-0-0-0-255-0-0-254-0-0-255-0-255-0-0-0-0-0-252-0-253-0-252-0-0-255-0-254-0-0-0-0-0-0-255-0-255-0-255-0-255-0-0-255-0-254-0-0-0-254-0-252-0-255-0-0-0-255-0-0-0-255-0-0-0-0-0-0-0-255-0-255-0-0-0-0-0-0-248-0-0-0-254-0-0-255-0-255-0-0-255-0-254-0-0-252-0-0-255-0-0-0-0-255-0-0-255-0-255-0-0-0-0-0-0-255-0-0-254-0-255-0-254-0-254-0-0-0-0-0-255-0-0-252-0-252-0-0-0-254-0-0-0-0-0-254-0-0-192-0-254-0-0-0-0-0-0-0-0-0-0-0-255-0-0-0-0-0-0-0-0-241-0-0-0-255-0-0-0-0-254-0-252-0-0-254-0-0-0-252-0-0-0-0-0-254-0-0-255-0-252-0-0-0-255-0-0-0-0-0-255-0-0-0-0-254-0-255-0-255-0-252-0-0-249-0-0-0-248-0-255-0-0-255-0-0-0-255-0-255-0-254-0-254-0-254-0-255-0-0-0-0-255-0-0-0-0-254-0-255-0-255-0-0-0-0-255-0-254-0-255-0-254-0-0-0-0-255-0-0-0-0-0-0-252-0-0-0-254-0-244-0-0-0-0-0-254-0-0-255-0-0-0-255-0-0-249-0-0-255-0-0-255-0-128-0-0-0-0-253-0-0-254-0-254-0-0-0-0-0-254-0-0-0-0-0-0-0-255-0-0-0-252-0-255-0-255-0-255-0-0-0-0-0-0-0-0-0-254-0-255-0-0-0-0-0-0-240-0-0-255-0-0-0-0-0-0-254-0-0-255-0-0-0-254-0-255-0-255-0-0-0-249-0-0-0-0-0-240-0-0-0-254-0-254-0-254-0-254-0-0-0-0-254-0-0-254-0-0-0-255-0-0-0-255-0-0-0-255-0-0-255-0-0-252-0-0-255-0-0-0-255-0-255-0-0-255-0-254-0-254-0-0-0-0-0-255-0-0-252-0-0-255-0-255-0-0-255-0-254-0-255-0-255-0-255-0-0-254-0-0-255-0-255-0-255-0-0-0-0-0-0-255-0-0-0-0-0-255-0-255-0-0-0-252-0-255-0-254-0-0-0-255-0-0-0-0-255-0-0-0-255-0-255-0-254-0-0-0-0-254-0-255-0-255-0-254-0-128-0-0-0-252-0-0-255-0-255-0-0-255-0-0-255-0-254-0-252-0-0-254-0-0-254-0-254-0-255-0-0-254-0-0-255-0-255-0-0-255-0-255-0-0-255-0-0-255-0-252-0-0-224-0-255-0-255-0-0-0-0-248-0-255-0-0-0-255-0-254-0-254-0-251-0-0-255-0-0-0-0-0-0-0-0-0-0-0-0-0-255-0-0-254-0-0-255-0-0-254-0-0-255-0-0-255-0-255-0-255-0-240-0-0-255-0-0-0-0-0-0-0-0-248-0-0-255-0-254-0-255-0-0-0-255-0-0-0-0-0-0-0-0-192-0-255-0-255-0-255-0-255-0-254-0-0-0-0-0-0-252-0-0-0-0-0-224-0-248-0-248-0-0-0-0-0-0-0-0-0-255-0-252-0-255-0-0-0-0-0-255-0-252-0-255-0-255-0-0-0-255-0-255-0-0-0-0-254-0-0-253-0-255-0-252-0-0-250-0-0-255-0-0-252-0-0-0-254-0-254-0-255-0-252-0-255-0-255-0-0-0-255-0-255-0-0-64-255-0-0-248-0-254-0-0-0-0-0-0-255-0-0-0-0-0-0-254-0-255-0-240-0-252-0-255-0-0-255-0-0-0-0-255-0-254-0-224-0-0-255-0-252-0-0-255-0-0-255-0-0-0-255-0-254-0-255-0-0-0-254-0-252-0-255-0-254-0-0-0-0-254-0-254-0-0-254-0-0-0-255-0-0-255-0-255-0-0-0-0-0-0-255-0-0-0-254-0-254-0-0-252-0-254-0-0-0-0-255-0-255-0-254-0-0-0-0-0-255-0-254-0-0-254-0-0-255-0-0-254-0-248-0-255-0-0-240-0-0-0-0-0-255-0-0-0-0-252-0-255-0-242-0-0-255-0-0-0-0-0-0-0-255-0-255-0-254-0-255-0-0-254-0-0-255-0-0-252-0-0-0-255-0-255-0-0-0-0-0-0-254-0-0-254-0-252-0-0-0-254-0-255-0-254-0-0-0-254-0-0-0-255-0-0-254-0-254-0-0-0-252-0-252-0-255-0-0-0-252-0-0-255-0-0-0-255-0-255-0-0-0-255-0-0-0-255-0-0-252-0-0-0-255-0-248-0-0-255-0-255-0-0-0-0-0-0-252-0-0-0-0-254-0-0-252-0-254-0-255-0-0-0-0-0-0-0-255-0-0-0-0-0-0-255-0-254-0-255-0-0-254-0-255-0-0-0-252-0-0-0-193-0-192-0-0-255-0-0-255-0-254-0-255-0-0-0-0-0-0-0-0-248-0-0-0-0-255-0-255-0-0-0-0-252-0-254-0-254-0-253-0-0-0-0-255-0-0-255-0-0-0-255-0-255-0-255-0-248-0-0-255-0-252-0-255-0-0-0-255-0-0-0-0-0-254-0-0-0-0-0-0-0-0-0-255-0-0-254-0-255-0-0-0-254-0-254-0-0-255-0-0-0-252-0-252-0-192-0-254-0-254-0-0-0-254-0-0-0-192-0-0-254-0-255-0-255-0-0-255-0-0-0-0-0-0-254-0-0-0-255-0-0-253-0-254-0-0-0-0-0-0-255-0-254-0-0-0-255-0-0-255-0-255-0-0-0-255-0-0-0-255-0-255-0-0-252-0-0-0-0-0-255-0-0-0-255-0-0-0-0-0-255-0-248-0-0-0-0-0-0-255-0-0-192-0-0-0-0-0-0-0-255-0-0-0-255-0-0-208-0-255-0-252-0-0-255-0-252-0-0-255-0-254-0-255-0-0-0-0-0-0-0-255-0-252-0-0-254-0-0-0-224-0-255-0-0-252-0-0-0-0-255-0-0-0-0-0-255-0-0-0-255-0-0-224-0-254-0-0-0-0-254-0-0-255-0-255-0-0-254-0-0-0-0-0-254-0-0-0-254-0-255-0-254-0-0-0-255-0-0-0-255-0-255-0-0-255-0-254-0-192-0-0-0-255-0-0-255-0-255-0-255-0-254-0-254-0-242-0-255-0-0-0-0-0-0-251-0-0-254-0-255-0-0-255-0-0-0-254-0-0-0-0-255-0-0-0-252-0-0-255-0-254-0-254-0-254-0-252-0-255-0-255-0-0-224-0-255-0-255-0-0-255-0-0-0-0-0-248-0-252-0-255-0-254-0-0-252-0-0-0-0-0-254-0-249-0-0-254-0-0-0-0-0-0-0-0-254-0-0-254-0-0-0-255-0-0-254-0-255-0-255-0-0-0-252-0-0-0-0-0-0-0-255-0-0-0-252-0-0-254-0-0-255-0-254-0-0-254-0-0-0-0-0-255-0-255-0-0-249-0-255-0-255-0-192-0-0-252-0-252-0-0-0-0-0-240-0-255-0-255-0-252-0-255-0-255-0-255-0-0-0-0-0-0-254-0-254-0-254-0-255-0-255-0-255-0-0-252-0-255-0-0-0-255-0-0-0-255-0-255-0-0-0-0-0-254-0-255-0-255-0-0-0-0-255-0-0-0-0-255-0-252-0-0-0-0-0-0-0-0-246-0-0-0-254-0-254-0-0-254-0-0-0-0-254-0-255-0-0-0-0-0-0-252-0-0-254-0-128-0-0-0-248-0-255-0-0-0-0-0-0-0-0-255-0-0-0-0-0-255-0-0-0-0-0-0-0-255-0-254-0-224-0-0-255-0-255-0-255-0-255-0-0-254-0-0-0-255-0-254-0-0-255-0-254-0-0-254-0-0-0-0-255-0-0-255-0-0-253-0-0-255-0-0-254-0-0-254-0-0-0-255-0-0-255-0-0-255-0-0-255-0-0-0
Unit number is invalid at /opt/kronometrix/perl/lib/site_perl/5.24.0/Device/Modbus/RTU.pm line 106.
from device-modbus.
> 128-192-0-0-0-0-254-0-0-0-0-0-0-0-255-0-0-0-254-0-0-0-0-252-0-254-0-0-0-0-0-0-254-0-240-0-0-0-0-252-0-0-0-255-0-0-255-0-255-0-0-0-254-0-254-0-254-0-0-0-252-0-252-0-0-254-0-0-0-0-255-0-0-0-0-252-0-0-0-255-0-255-0-248-0-0-0-254-0-0-255-0-0-0-0-255-0-248-0-0-0-255-0-255-0-0-255-0-254-0-0-255-0-128-0-254-0-0-248-0-0-0-0-0-0-0-254-0-0-255-0-0-255-0-254-0-240-0-0-255-0-255-0-0-0-0-252-0-0-0-0-255-0-0-254-0-0-0-0-255-0-0-254-0-0-0-255-0-252-0-255-0-0-254-0-253-0-254-0-255-0-255-0-0-255-0-254-0-248-0-0-0-192-0-255-0-254-0-0-255-0-0-0-0-0-248-0-0-255-0-0-254-0-0-0-252-0-224-0-254-0-255-0-0-0-255-0-0-0-252-0-0-255-0-0-254-0-255-0-255-0-252-0-255-0-0-0-240-0-0-0-0-0-0-0-255-0-0-255-0-0-0-0-255-0-254-0-0-240-0-0-254-0-0-0-254-0-0-0-0-0-255-0-0-0-255-0-255-0-254-0-0-0-0-0-0-255-0-0-0-252-0-0-0-0-0-252-0-0-0-0-0-254-0-255-0-255-0-255-0-0-0-0-0-255-0-248-0-0-0-224-0-0-0-0-0-255-0-128-0-0-0-0-0-255-0-0-0-0-0-0-0-0-0-255-0-252-0-255-0-0-0-0-252-0-0-0-0-0-255-0-0-0-255-0-0-0-0-0-0-0-0-0-255-0-0-252-0-0-254-0-0-255-0-255-0-254-0-255-0-0-0-253-0-0-254-0-255-0-0-255-0-255-0-0-250-0-254-0-255-0-254-0-254-0-0-0-0-0-0-255-0-0-0-255-0-255-0-254-0-0-0-254-0-254-0-0-0-254-0-254-0-255-0-255-0-0-255-0-248-0-255-0-0-255-0-0-0-0-248-0-0-0-255-0-0-0-254-0-240-0-255-0-0-0-252-0-249-0-0-255-0-254-0-0-254-0-0-0-0-252-0-0-248-0-255-0-0-0-0-0-0-0-0-0-0-255-0-254-0-0-0-0-255-0-0-0-0-0-0-0-255-0-0-0-254-0-0-192-0-254-0-255-0-0-0-0-255-0-255-0-0-255-0-0-254-0-255-0-0-255-0-0-255-0-0-0-255-0-254-0-0-252-0-0-0-255-0-255-0-0-0-240-0-255-0-254-0-255-0-254-0-0-255-0-0-254-0-254-0-255-0-254-0-0-252-0-0-192-0-253-0-254-0-253-0-0-0-0-255-0-0-0-255-0-255-0-254-0-255-0-255-0-0-0-0-0-253-0-0-0-254-0-0-0-0-252-0-255-0-255-0-252-0-224-0-0-254-0-255-0-0-254-0-254-0-0-0-0-0-255-0-254-0-255-0-0-0-252-0-0-0-0-0-0-254-0-254-0-0-255-0-0-0-0-0-192-0-0-128-0-0-0-0-0-192-0-254-0-0-254-0-0-0-0-0-254-0-240-0-0-0-255-0-0-0-253-0-0-0-0-0-0-0-252-0-0-254-0-0-255-0-0-0-192-0-255-0-0-0-254-0-255-0-240-0-0-0-240-0-0-255-0-254-0-0-0-0-0-0-254-0-0-0-0-248-0-0-0-0-0-0-255-0-0-0-252-0-255-0-0-0-254-0-255-0-254-0-0-0-0-252-0-255-0-255-0-255-0-255-0-0-254-0-252-0-0-0-0-0-0-0-0-254-0-0-0-255-0-0-252-0-255-0-0-0-254-0-0-254-0-0-254-0-0-0-255-0-0-0-255-0-0-0-0-0-0-254-0-0-0-0-255-0-0-0-255-0-0-254-0-242-0-0-254-0-255-0-254-0-254-0-0-240-0-0-0-255-0-0-0-0-0-0-0-0-0-0-248-0-0-0-128-255-0-255-0-0-0-0-252-0-248-0-0-0-0-255-0-32-0-240-0-0-0-0-0-0-0-0-255-0-0-0-0-0-254-0-254-0-0-0-255-0-255-0-0-0-255-0-0-0-0-0-0-248-0-0-0-0-255-0-0-254-0-0-0-254-0-192-0-255-0-255-0-0-0-0-0-254-0-0-253-0-0-0-0-192-0-255-0-253-0-255-0-0-252-0-0-0-0-0-0-0-0-0-192-0-255-0-0-0-255-0-254-0-252-0-251-0-254-0-0-240-0-0-254-0-0-254-0-255-0-0-255-0-0-0-0-0-255-0-0-0-255-0-252-0-254-0-0-255-0-255-0-0-0-0-0-248-0-0-255-0-254-0-252-0-0-0-192-0-0-0-0-0-0-0-252-0-0-255-0-255-0-0-254-0-0-242-0-255-0-0-0-255-0-0-0-0-255-0-0-0-0-0-0-0-255-0-0-248-0-0-0-255-0-0-0-255-0-0-254-0-0-0-248-0-255-0-0-0-255-0-252-0-0-0-0-192-0-254-0-255-0-255-0-0-255-0-0-248-0-255-0-0-0-0-254-0-254-0-0-0-0-254-0-0-0-255-0-255-0-0-0-255-0-0-0-255-0-255-0-0-0-254-0-0-255-0-255-0-0-0-0-255-0-255-0-0-254-0-0-255-0-252-0-0-255-0-0-0-0-0-252-0-0-252-0-0-240-0-0-248-0-0-254-0-0-254-0-0-224-0-0-255-0-0-0-0-254-0-255-0-255-0-0-0-0-0-0-0-255-0-0-0-0-254-0-0-0-0-0-254-0-0-255-0-0-255-0-252-0-255-0-0-0-0-0-255-0-255-0-0-0-0-255-0-0-0-252-0-0-254-0-0-0-0-254-0-0-0-0-254-0-255-0-0-0-255-0-0-0-0-254-0-0-0-0-240-0-0-0-0-0-252-0-254-0-255-0-252-0-0-255-0-255-0-254-0-252-0-0-0-254-0-0-255-0-0-255-0-0-0-0-0-0-0-0-0-0-0-0-0-0-254-0-255-0-0-254-0-255-0-252-0-0-253-0-0-0-0-0-0-255-0-0-255-0-0-248-0-0-254-0-0-254-0-252-0-0-255-0-0-0-255-0-0-0-252-0-254-0-254-0-254-0-252-0-0-0-0-0-254-0-255-0-255-0-0-0-255-0-0-0-254-0-0-0-0-255-0-0-0-255-0-0-255-0-0-0-254-0-252-0-0-254-0-255-0-0-254-0-255-0-255-0-0-0-255-0-0-0-255-0-254-0-0-0-255-0-0-248-0-253-0-0-254-0-252-0-0-0-0-0-0-0-254-0-0-0-248-0-0-254-0-0-0-0-0-0-0-0-252-0-0-0-0-0-0-0-255-0-0-255-0-255-0-254-0-255-0-0-255-0-0-0-0-0-0-192-0-255-0-0-254-0-0-0-254-0-0-0-0-224-0-255-0-254-0-0-255-0-240-0-255-0-255-0-0-255-0-0-0-0-0-0-252-0-255-0-252-0-0-0-254-0-0-0-0-0-248-0-0-255-0-0-0-255-0-254-0-0-0-0-255-0-255-0-255-0-0-254-0-0-0-224-0-255-0-255-0-255-0-254-0-0-0-252-0-0-0-0-0-0-0-255-0-0-243-0-254-0-0-253-0-0-252-0-255-0-0-0-0-0-0-0-0-0-0-0-0-0-255-0-0-0-0-0-0-0-255-0-0-254-0-254-0-0-0-255-0-240-0-0-0-251-0-0-253-0-0-0-255-0-0-0-0-0-255-0-0-0-0-0-0-0-0-0-252-0-0-0-0-255-0-0-252-0-252-0-0-0-252-0-0-255-0-254-0-0-253-0-0-0-0-254-0-255-0-0-255-0-0-255-0-0-255-0-254-0-0-0-255-0-240-0-0-255-0-255-0-254-0-254-0-255-0-0-0-0-0-0-0-255-0-0-254-0-0-255-0-255-0-255-0-252-0-0-0-0-254-0-240-0-234-0-0-254-0-0-254-0-254-0-0-240-0-0-0-0-0-0-0-0-0-255-0-0-254-0-240-0-0-0-254-0-255-0-255-0-0-0-0-0-255-0-0-0-255-0-255-0-0-255-0-0-254-0-0-254-0-224-0-0-0-0-0-255-0-0-0-0-0-0-0-0-240-0-0-0-0-255-0-255-0-254-0-0-255-0-255-0-255-0-0-0-0-0-0-255-0-0-0-0-254-0-0-0-0-253-0-255-0-0-0-254-0-0-0-252-0-255-0-252-0-0-0-254-0-0-0-249-0-0-0-0-254-0-254-0
Unimplemented function: <192> at /opt/kronometrix/bin/getspeed line 24.
from device-modbus.
So same code, returns two different things. The code is this:
use Device::Modbus::RTU::Client;
use strict;
use warnings;
use Data::Dumper;
my $client = Device::Modbus::RTU::Client->new(
port => '/dev/ttyUSB0',
baudrate => 9600,
parity => 'none',
stopbits => '1',
timeout => '2'
);
my $req = $client->read_holding_registers(
unit => 1,
address => 1,
quantity => 25
);
$client->send_request($req);
my $resp = $client->receive_response;
print Dumper($resp);
$client->disconnect;
from device-modbus.
ok, after some more debugging I found out that the current version works very nice. The problems seems related to the device or cable itself. We have tested two similar devices and cables and one works very ok, fast and easy another one gives these errors. Not a Device-modus issue. Closing now
from device-modbus.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from device-modbus.