Download Motorola ST130 Installation guide
Transcript
I/O System Programming SI1, RI1, SI2, RI2 – Set and Return Input No. 1 or No. 2 Response String Format SI1 <string> SI2 <string> RI1 RI2 Max String Length: 80 Summary Sets or returns the string sent to the CPU when an OFF to ON change of state occurs on a digital input. Returns The response string, if any. Description This command is used to set a response string that is sent to the CPU, with normal response format processing, in response to an OFF to ON change of state of the designated input. This may be used to detect such events as door openings without having to continuously monitor the state of the input. Note: Setting the response string enables the change-ofstate detection mode; to disable it, define the response string as empty. Also, note that only a change from off to on is reported. Example rem echo rem rem Set input #1 response string. SI1DOOR OPEN! > COM2 If input #1 changes state, the string: 'DOOR OPEN!' will be forwarded to the CPU. 2-59