После перезагрузки (естественно цикл энергомеры не запускается) конфигурация порта:
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
parenb -parodd -cmspar cs7 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
2017-03-12 18:37:20 Connecting COM
2017-03-12 18:37:20 Connected
2017-03-12 18:37:21 Send init #1
2017-03-12 18:37:21 Device is /EKT5CE301v11
:
2017-03-12 18:37:21 Send init #2
2017-03-12 18:37:21 model:
2017-03-12 18:37:22 Send init #3
2017-03-12 18:37:22 model: 0150300228373737373737290320024d4f44454c2833290a0a P0(777777) MODEL(3)
2017-03-12 18:37:22 Read CURRE() 030f02435552524528362e31373933290a0a435552524528302e30313238290a0a435552524528302e34323034290a0a
CURRE(6.1793)
CURRE(0.0128)
CURRE(0.4204)
Array ( [CURRE] => Array ( [0] => 6.1793 ) )
2017-03-12 18:37:22 Read ET0PE() 03470245543050452831323838302e33383336383632290a0a455430504528393435312e38393932373235290a0a455430504528333432382e34383434313337290a0a455430504528302e30290a0a455430504528302e30290a0a455430504528302e30290a0a
GET0PE(12880.3836862)
ET0PE(9451.8992725)
ET0PE(3428.4844137)
ET0PE(0.0)
ET0PE(0.0)
ET0PE(0.0)
Array ( [ET0PE] => Array ( [0] => 12880.3836862 ) )
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
parenb -parodd -cmspar cs7 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
2017-03-12 18:41:00 Connecting COM
2017-03-12 18:41:00 Connected
2017-03-12 18:41:00 Send init #1
2017-03-12 18:41:00 Device is /EKT5CE301v11
:
2017-03-12 18:41:01 Send init #2
2017-03-12 18:41:01 model:
2017-03-12 18:41:01 Send init #3
2017-03-12 18:41:01 model: 0150300228373737373737290320024d4f44454c2833290d0a P0(777777) MODEL(3)
2017-03-12 18:41:01 Read CURRE() 030f02435552524528362e343136290d0a435552524528302e30313238290d0a435552524528302e33393836290d0a
CURRE(6.416)
CURRE(0.0128)
CURRE(0.3986)
Array ( [CURRE] => Array ( [0] => 6.416 [1] => 0.0128 [2] => 0.3986 ) )
2017-03-12 18:41:02 Read ET0PE() 031e0245543050452831323838302e34303136393736290d0a455430504528393435312e39313732383339290d0a455430504528333432382e34383434313337290d0a455430504528302e30290d0a455430504528302e30290d0a455430504528302e30290d0a
ET0PE(12880.4016976)
ET0PE(9451.9172839)
ET0PE(3428.4844137)
ET0PE(0.0)
ET0PE(0.0)
ET0PE(0.0)
Array ( [ET0PE] => Array ( [0] => 12880.4016976 [1] => 9451.9172839 [2] => 3428.4844137 [3] => 0.0 [4] => 0.0 [5] => 0.0 ) )