I think we have two bugs in the polling procedure / status update according to polling procedure
(1) Altough I did not check in depth, but it seems that the polling gets execueted only on the last "home code" (A, B, ...): for instance I have two devices with A home code (A01 and A02) and eight devices with B home code (B01 through B08). Here is the corresponding log when the polling is executed:
Code: Select all
2011/02/12 11:56:34 [PLCBUS] < 02 06 FA 10 1C 00 00 1C B6
2011/02/12 11:56:34 [PLCBUS] < 02 06 FA 10 1C 00 FF 40 93 Addr: B01 Cmd: GET_ALL_ID_PULSE Data1: 00 Data2: FF GET ALL ID PULSE UNITS: 00000000 11111111
2011/02/12 11:56:34 [PLCBUS] > 02 05 FA 10 1D 00 00 03
2011/02/12 11:56:34 [PLCBUS] > 02 05 FA 10 1D 00 00 03
2011/02/12 11:56:34 [PLCBUS] < 02 06 FA 10 1D 00 00 1C B5
2011/02/12 11:56:35 [PLCBUS] < 02 06 FA 10 1D 00 00 40 91 Addr: B01 Cmd: GET_ONLY_ON_ID_PULSE Data1: 00 Data2: 00 GET ONLY ON ID PULSE UNITS ON: 00000000 00000000
2011/02/12 11:56:35 [PLCBUS] B01 - Off
2011/02/12 11:56:35 [PLCBUS] B02 - Off
2011/02/12 11:56:35 [PLCBUS] B03 - Off
2011/02/12 11:56:35 [PLCBUS] B04 - Off
2011/02/12 11:56:35 [PLCBUS] B05 - Off
2011/02/12 11:56:35 [PLCBUS] B06 - Off
2011/02/12 11:56:35 [PLCBUS] B07 - Off
2011/02/12 11:56:35 [PLCBUS] B08 - Off
Code: Select all
2011/02/12 15:36:34 [PLCBUS] < 02 06 FA 10 1C 01 FF 40 92 Addr: B01 Cmd: GET_ALL_ID_PULSE Data1: 01 Data2: FF GET ALL ID PULSE UNITS: 00000001 11111111
2011/02/12 15:36:34 [PLCBUS] > 02 05 FA 10 1D 00 00 03
2011/02/12 15:36:34 [PLCBUS] > 02 05 FA 10 1D 00 00 03
2011/02/12 15:36:34 [PLCBUS] < 02 06 FA 10 1D 00 00 1C B5
2011/02/12 15:36:35 [PLCBUS] < 02 06 FA 10 1D 01 00 40 90 Addr: B01 Cmd: GET_ONLY_ON_ID_PULSE Data1: 01 Data2: 00 GET ONLY ON ID PULSE UNITS ON: 00000001 00000000
2011/02/12 15:36:35 [PLCBUS] B01 - Off
2011/02/12 15:36:35 [PLCBUS] B02 - On
2011/02/12 15:36:35 [PLCBUS] B03 - Off
2011/02/12 15:36:35 [PLCBUS] B06 - Off
2011/02/12 15:36:35 [PLCBUS] B07 - Off
2011/02/12 15:36:35 [PLCBUS] B08 - Off
2011/02/12 15:36:35 [PLCBUS] B11 - Off
2011/02/12 15:36:35 [Devices] Device 'PLCBUS Module' with address 'B11' and interface 'PLCBUS Interface' not found!
I changed the device address to A03 and everything went back to "normal".