TonyJ (Customer) asked a question.

Buffer Status (BS) -vs- Communication Error (CE) Commands

My configuration == Windows 11, STP-USB485-4W, STP-MTR-17060, 4-wire, STP-MTR-17060., STP-DRV-80100. When I send the command BR, the response is BR63 indicating the buffer is empty. However when I send the Communications Error command CE the returned value is CE0004 which tells me the Rx buffer is full. I'm new to SCL programming so please educate me what I am missing here. Thanks.


  • ADC Community_02 (Automationdirect.com)

    You are correct on BR63 = buffer is empty. However, for the CE error if you are getting CE004 that would be bit 2 = Noise Error since the code being sent back is in HEX.

    imageimage

    Expand Post
    Selected as Best
  • ADC Community_02 (Automationdirect.com)

    You are correct on BR63 = buffer is empty. However, for the CE error if you are getting CE004 that would be bit 2 = Noise Error since the code being sent back is in HEX.

    imageimage

    Expand Post
    Selected as Best
    • TonyJ (Customer)

      I understand. Thank you.