Re: Powerlink protocol description
Posted: Tue Oct 16, 2012 10:10 pm
I have been looking a bit more into the way the communication between PM & PL works.
What confused me was the remark in the enrollment process description.
Furthermore, what Rene already noted on Aug 06, 2011, once enrolled the PM will send a message every 30 secs. to check whether the PL is still responding/alive.
If this message is not acknowledged (you can afford not the acknowledge a couple) then the PM enters the error state (PL communication error). The alive message (0xAB 0x03) will not be sent any longer.
To restore communication and clear the PM error, you need to send the following message.
I.e. if you have not received the 0xAB 0x03 in the last minute, you will have to send a 0xAB 0x06.
What confused me was the remark in the enrollment process description.
The pin code that is generated is a download code, not a user or installer pin code. I.e. you can get all settings with this code, but not arm the PM. So the PL uses this code to read the user1 pin code from the settings and uses the user1 code to arm/disarm the panel. BTW: you need to go into programming mode for this by 24 00 00 pin1 pin2 00 00 00 00 00 00. Note that in programming mode the messages don't have the 0x43 - these only occur in normal running mode (so an ack will be 0D 02 FD 02, a nack will be 0D 08 F7 0D (e.g. wrong download code) and a timeout will be 0D 06 F9 0A).During the enrollment process the Powerlink will create a pin and register this pin at the Powermax. The advantage is that none of the already pins is required.
Furthermore, what Rene already noted on Aug 06, 2011, once enrolled the PM will send a message every 30 secs. to check whether the PL is still responding/alive.
Code: Select all
0xAB 0x03 0x00 0x1E 0x00 0x34 0x36 0x30 0x36 0x00 0x00 0x43
To restore communication and clear the PM error, you need to send the following message.
Code: Select all
0xAB 0x06 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x43