Receive with datas

Forum about PLCBUS devices & software.

Moderator: Digit

Receive with datas

Postby dpayet » Sat May 22, 2010 11:32 am

Hi everyone,

I think I miss some important points in receiving datas from my 1141.

For exemple when I send
Code: Select all
02 05 55 00 22 00 00 03


to turn on A1 I get :
Code: Select all
2 6 55 0 22 64 0 1c 1
2 6 55 0 22 64 0 20 fd


so it seems ok. But I would like to have info for all my devices. So i send :
Code: Select all
02 05 55 00 47 00 00 03

and I get :
Code: Select all
02 06 55 0 2f 00 00 1c 58
02 06 55 00 2f 00 00 20 54


I haven't any datas (00 and 00). Of course, A1 is on :)

Am I wrong ?

Thanks.
dpayet
Starting Member
Starting Member
 
Posts: 2
Joined: May 2010

Re: Receive with datas

Postby Digit » Sat May 22, 2010 12:12 pm

Code: Select all
02 05 55 00 47 00 00 03


02 = STX. Ok.
05 = length. Ok.
55 = User code. Ok.
00 = House & Unit code. Ok.
47 = Command register. ???? Where did you get that value from?

Cause $47 = 0100 0111, so:

LINK bit = 0
REPRQ bit = 1, meaning 3-phase power line.
ACK_PULSE bit = 0
COMMAND = 00111 = $7, meaning ALL USER LTS ON.

So? (it has been a while since i worked on this :-))
User avatar
Digit
Global Moderator
Global Moderator
 
Posts: 3388
Joined: March 2006
Location: Netherlands

Re: Receive with datas

Postby dpayet » Sat May 22, 2010 1:58 pm

Sorry, was typo. The command was correctly sent with 0x2f.
dpayet
Starting Member
Starting Member
 
Posts: 2
Joined: May 2010


Return to PLCBUS Forum

Who is online

Users browsing this forum: No registered users and 1 guest