![]() |
|
Too many RS485 messages from PIRs - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Support (https://www.comfortforums.com/forum-2.html) +--- Forum: Problems & Troubleshooting (https://www.comfortforums.com/forum-36.html) +---- Forum: Responses and Actions (https://www.comfortforums.com/forum-74.html) +---- Thread: Too many RS485 messages from PIRs (/thread-5630.html) |
- Pharris15 - 05-11-2025 I use the alarm PIR sensors to trigger devices external to Comfort via RS485 messages. As the PIRs can retrigger multiple times when moving through a zone it means a lot of RS485 messages sent. This can mean that some triggers are delayed due to the amount of data. What is the easiest method to reduce the number of repeat messages, is it a matter of adding a \"wait\" after a \'Universal SendCommand UCM02\' instruction? - slychiu - 05-12-2025 some pirs have a dial to set a delay before retrigerring. If so that would be the easiest ay to prevent the messages. I assume you are using zone on and off responses to send the Rs485 extermal mssages.You can use the wait for timer like this If Timer Timer01 = 0 Then Do (response to send rs485) Wait 2 Seconds Using Timer01 End If the 1st time, the response to send rs485 will be activated.This starts a 2 secs timerIf the PIR is trggered again within 2 seconds, the timer will be running so the message is not sent If you use the off response you may need to do the same thing You will have to ue difrent timers for different zones |