Receive with datas

Forum about PLCBUS devices & software.

Moderator: Digit

Post Reply
dpayet
Starting Member
Starting Member
Posts: 2
Joined: Wed May 19, 2010 7:33 pm

Receive with datas

Post by dpayet »

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.
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Receive with datas

Post by Digit »

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 :-))
dpayet
Starting Member
Starting Member
Posts: 2
Joined: Wed May 19, 2010 7:33 pm

Re: Receive with datas

Post by dpayet »

Sorry, was typo. The command was correctly sent with 0x2f.
Post Reply

Return to “PLCBUS Forum”