You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending print(p.get_values()) the PYLON low voltage Protocol RS485 document doesn't detail how I should I reply,
unless I'm missing it, anyone have any details what to send in the reply?
The normal fixed point reply does not work?
EDIT worked it out FF means all modules so you need to reply with INFO Command of the number of modules eg 01 not the normal command of the ADR.
It sends INFO of FF ( ALL modules, normally specifies 02)
7E 20 02 46 42 E002 FF CKSM 0D
print(p.get_values_single(2))
It sends INFO of 02 as per protocol
If I reply as per the protocol I get a valid output.
// get analog value fixed point
print(p.get_values_single(2)) sends:
{0x7E,0x32,0x30,0x30,0x32,0x34,0x36,0x34,0x32,0x45,0x30,0x30,0x32,**0x30,0x32**,0x46,0x44,0x33,0x33,0x0D}
This one is as per the protocol asking for fixed point INFO is 02
// get analog value, float point?
This one I'm guessing is asking for float point(not is spec sheet) **INFO is FF (ALL Modules)**
print(p.get_values()) sends:
{0x7E,0x32,0x30,0x30,0x32,0x34,0x36,0x34,0x32,0x45,0x30,0x30,0x32,**0x46,0x46**,0x46,0x44,0x30,0x39,0x0D};
The text was updated successfully, but these errors were encountered:
Hi,
When sending print(p.get_values()) the PYLON low voltage Protocol RS485 document doesn't detail how I should I reply,
unless I'm missing it, anyone have any details what to send in the reply?
The normal fixed point reply does not work?
EDIT worked it out FF means all modules so you need to reply with INFO Command of the number of modules eg 01 not the normal command of the ADR.
It sends INFO of FF ( ALL modules, normally specifies 02)
7E 20 02 46 42 E002 FF CKSM 0D
I'm using this protocol document
print(p.get_values_single(2))
It sends INFO of 02 as per protocol
If I reply as per the protocol I get a valid output.
The text was updated successfully, but these errors were encountered: