Hi Stipus
I enabled debug mode of the PLCBUS plugin because I having an issue. All commands arive perfectly at the modules but it seems that the plugin is expecting an ACK. The log is full of "PLCBUS Error : Too long wait for interface response to command" messages. The module responds to the command given but I can see by the flashing of the blue led on the module that the command is sent more than once.
The ACK setting is disabled in the pluging.
Below is a piece from the log where I switch module A11 OFF.
Why is the plugin sending the command more than once? Is it still waiting for an ACK? How can I suppress these extra transmissions, the module is responding so they are not necessary.
Restarted HS, unplugged the PLCBUS transceiver, but it didn't help.
<table border="0" cellpadding="0" cellspacing="2" width="100%"><tbody><tr><td colspan="1" class="LOGDateTime0" align="left" nowrap="nowrap">20-7-2011 21:09:35 </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">PLCBUS Error : Too long wait for interface response to command: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" align="left" nowrap="nowrap">20-7-2011 21:09:33 </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Sending: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" align="left" nowrap="nowrap">20-7-2011 21:09:31 </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Sending: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" align="left" nowrap="nowrap">20-7-2011 21:09:29 </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Sending: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" align="left" nowrap="nowrap">20-7-2011 21:09:27 </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Sending: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" align="left" nowrap="nowrap">20-7-2011 21:09:25 </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Sending: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" align="left" nowrap="nowrap">20-7-2011 21:09:25 </td><td colspan="3" class="LOGType0" align="left"> Device Control </td><td colspan="8" class="LOGEntry0" align="left">Device: Spare (A11) OFF</td></tr> <tr> <td colspan="1" class="LOGDateTime1" align="left" nowrap="nowrap">20-7-2011 21:09:25 </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">SetIO() called HC=A DC=11 COMMAND=3 BRIGHTNESS=0 DATA1=0 DATA2=0</td></tr></tbody></table>
I enabled debug mode of the PLCBUS plugin because I having an issue. All commands arive perfectly at the modules but it seems that the plugin is expecting an ACK. The log is full of "PLCBUS Error : Too long wait for interface response to command" messages. The module responds to the command given but I can see by the flashing of the blue led on the module that the command is sent more than once.
The ACK setting is disabled in the pluging.
Below is a piece from the log where I switch module A11 OFF.
Why is the plugin sending the command more than once? Is it still waiting for an ACK? How can I suppress these extra transmissions, the module is responding so they are not necessary.
Restarted HS, unplugged the PLCBUS transceiver, but it didn't help.
<table border="0" cellpadding="0" cellspacing="2" width="100%"><tbody><tr><td colspan="1" class="LOGDateTime0" align="left" nowrap="nowrap">20-7-2011 21:09:35 </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">PLCBUS Error : Too long wait for interface response to command: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" align="left" nowrap="nowrap">20-7-2011 21:09:33 </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Sending: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" align="left" nowrap="nowrap">20-7-2011 21:09:31 </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Sending: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" align="left" nowrap="nowrap">20-7-2011 21:09:29 </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Sending: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" align="left" nowrap="nowrap">20-7-2011 21:09:27 </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Sending: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" align="left" nowrap="nowrap">20-7-2011 21:09:25 </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Sending: (255) A11 Off Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:False PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" align="left" nowrap="nowrap">20-7-2011 21:09:25 </td><td colspan="3" class="LOGType0" align="left"> Device Control </td><td colspan="8" class="LOGEntry0" align="left">Device: Spare (A11) OFF</td></tr> <tr> <td colspan="1" class="LOGDateTime1" align="left" nowrap="nowrap">20-7-2011 21:09:25 </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">SetIO() called HC=A DC=11 COMMAND=3 BRIGHTNESS=0 DATA1=0 DATA2=0</td></tr></tbody></table>
Comment