Сбор показаний электросчетчика Меркурий 200

Обсуждение статей, технологий домашней автоматизации, программных и аппаратных решений
yuoras
Сообщения: 11
Зарегистрирован: 22 окт 2015, 22:20

Re: Сбор показаний электросчетчика Меркурий 200

Сообщение yuoras » 28 мар 2017, 21:15

kpp писал(а):Лучше пока тестировать на командах: amper, power, volt, kwatthour и test.
Попробуйте установить FUZZY_MATCHING_CRC = YES
Разницы не увидел FUZZY_MATCHING_CRC = YES ,что FUZZY_MATCHING_CRC = NO.

Код: Выделить всё

/opt/etc/200 # sh electro_counter.sh kwatthour
OS: LINUX; DEVICE: /dev/ttyUSB0; COUNTER_SN: 094784(x01x72x40); COUNTER_TYPE: me                   rc200.sh; TEST_COMMUNITY: NO; DEV_EMULATOR: NO; METHOD_COMMUNITY: DD; FUZZY_MATC                   HING_CRC: YES
COMMAND: kwatthour; PARAMS: "kwatthour"> zona=01; SIZE: 23; OUTPARSER: "02x$((${                   zona} * 4 - 3)),02x$((${zona} * 4 - 2)),02x$((${zona} * 4 - 1)),02x$((${zona} *                    4))#Aprintf(\"%0.3f\",^b0/1000)"; DESCRIBE: Опрос накопленной энергии
SEND: _0x00_0x01_0x72_0x40_0x27_0xF4_0x3D
METHOD_COMMUNITY=DD len=23
ANSWER(1): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45                    23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(2): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45                    23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(3): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45                    23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(4): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45                    23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(5): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45                    23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(6): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45                    23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(7): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45                    23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(8): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45                    23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(9): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45                    23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(10): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(11): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(12): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(13): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(14): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(15): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(16): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(17): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(18): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(19): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(20): x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45x00x00x00x00x00x9                   6 23 0
x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45x00x00x00x00x00x96 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(21): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(22): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 22 3
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(23): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(24): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(25): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(26): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(27): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(28): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(29): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x4                   5 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(30): x00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45x00x00x00x00x00x96xA                   4 23 0
x00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45x00x00x00x00x00x96xA4 23 0
574.900
/opt/etc/200 # sh electro_counter.sh kwatthour
OS: LINUX; DEVICE: /dev/ttyUSB0; COUNTER_SN: 094784(x01x72x40); COUNTER_TYPE: merc200.sh; TEST_COMMUNITY: NO; DEV_EMULATOR: NO; METHOD_COMMUNITY: DD; FUZZY_MATCHING_CRC: YES
COMMAND: kwatthour; PARAMS: "kwatthour"> zona=01; SIZE: 23; OUTPARSER: "02x$((${zona} * 4 - 3)),02x$((${zona} * 4 - 2)),02x$((${zona} * 4 - 1)),02x$((${zona} * 4))#Aprintf(\"%0.3f\",^b0/1000)"; DESCRIBE: Опрос накопленной энергии
SEND: _0x00_0x01_0x72_0x40_0x27_0xF4_0x3D
METHOD_COMMUNITY=DD len=23
ANSWER(1): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(2): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(3): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(4): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(5): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(6): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(7): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(8): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(9): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(10): x00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45x00x00x00x00x00x96xA4 23 0
x00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45x00x00x00x00x00x96xA4 23 0
574.900
/opt/etc/200 # sh electro_counter.sh kwatthour
OS: LINUX; DEVICE: /dev/ttyUSB0; COUNTER_SN: 094784(x01x72x40); COUNTER_TYPE: merc200.sh; TEST_COMMUNITY: NO; DEV_EMULATOR: NO; METHOD_COMMUNITY: DD; FUZZY_MATCHING_CRC: YES
COMMAND: kwatthour; PARAMS: "kwatthour"> zona=01; SIZE: 23; OUTPARSER: "02x$((${zona} * 4 - 3)),02x$((${zona} * 4 - 2)),02x$((${zona} * 4 - 1)),02x$((${zona} * 4))#Aprintf(\"%0.3f\",^b0/1000)"; DESCRIBE: Опрос накопленной энергии
SEND: _0x00_0x01_0x72_0x40_0x27_0xF4_0x3D
METHOD_COMMUNITY=DD len=23
ANSWER(1): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36 15 2
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36 15 2
METHOD_COMMUNITY=DD len=23
ANSWER(2): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(3): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(4): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(5): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(6): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(7): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(8): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(9): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(10): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(11): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(12): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(13): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(14): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(15): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(16): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(17): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(18): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(19): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(20): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(21): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(22): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(23): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19 18 2
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19 18 2
METHOD_COMMUNITY=DD len=23
ANSWER(24): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(25): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(26): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(27): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(28): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(29): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(30): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(31): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(32): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(33): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(34): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(35): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(36): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(37): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(38): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(39): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
METHOD_COMMUNITY=DD len=23
ANSWER(40): x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
x00x01x72x40x27xF4x3Dx00x01x72x40x27x00x57x49x00x00x54x36x00x00x19x45 23 0
Error CRC!

yuoras
Сообщения: 11
Зарегистрирован: 22 окт 2015, 22:20

Re: Сбор показаний электросчетчика Меркурий 200

Сообщение yuoras » 28 мар 2017, 21:29

Andrey2509 писал(а): 3. Напряжение питания на БП и на самом счётчике?
Принудительно подал стороннее питание на счетчик 4,5 В и попробовал читать стандартной программой Универсальный Конфигуратор на Винде.
Прекрасно переносит 10% падение напряжения.

kpp
Сообщения: 134
Зарегистрирован: 29 авг 2011, 15:03
Откуда: Україна

Re: Сбор показаний электросчетчика Меркурий 200

Сообщение kpp » 26 апр 2017, 15:55

Обновил скрипт для работы со счетчиком через чистый SHELL.
С учетом найденных вопросов.

Работы по улучшению скрипта продолжаются.
Принимаются предложения \ пожелания.

https://hi.dp.ua/svn/electo_counters/trunk/ user:tat pass:123
в electro_counter.conf указать нужные: DEVICE, COUNTER_SN, PASS_READ, COUNTER_TYPE.

Поддерживаются Меркурий 230, Меркурий 200.

Более подробно viewtopic.php?p=28000#p21644
"Та нам з тобою своє робити, відкрити очі і далі йти!
І зуби сильно стиснувши, маму ніжно любити, хто ж тоді, як не ми, брати?!"(с)

Eduard_K
Сообщения: 19
Зарегистрирован: 16 сен 2013, 13:31

Re: Сбор показаний электросчетчика Меркурий 200

Сообщение Eduard_K » 18 июл 2017, 01:00

я тут наткнулся на Протокол однофазных счетчиков Меркурий. Основные команды.
http://incotex-support.blogspot.ru/2016 ... -post.html

empenoso
Сообщения: 730
Зарегистрирован: 11 ноя 2015, 08:03
Откуда: Пермь

Re: Сбор показаний электросчетчика Меркурий 200

Сообщение empenoso » 17 ноя 2017, 08:23

kpp писал(а):Обновил скрипт для работы со счетчиком через чистый SHELL.
С учетом найденных вопросов.

Работы по улучшению скрипта продолжаются.
Принимаются предложения \ пожелания.

https://hi.dp.ua/svn/electo_counters/trunk/ user:tat pass:123
в electro_counter.conf указать нужные: DEVICE, COUNTER_SN, PASS_READ, COUNTER_TYPE.

Поддерживаются Меркурий 230, Меркурий 200.

Более подробно viewtopic.php?p=28000#p21644
Поддерживается и Меркурий 200.04 и 200.02?

yuoras
Сообщения: 11
Зарегистрирован: 22 окт 2015, 22:20

Re: Сбор показаний электросчетчика Меркурий 200

Сообщение yuoras » 02 янв 2018, 10:39

empenoso писал(а):
17 ноя 2017, 08:23
Поддерживается и Меркурий 200.04 и 200.02?
Да, поддерживаются.
Тем более ,что 200.04 и 200.02 имеет одинаковый протокол (разница только в наличии PLC модема у 04 счётчика)

Ответить