Datasat RS20i Installation And Operating Manual page 140

Hide thumbs Also See for RS20i:
Table of Contents

Advertisement

Automation
5. Execute an RS20i Macro
Command:
Response:
This is used to execute a user defined automation macro in the RS20i. User defined
macros must be created in the RS20i setup menus, or copied through the configuration
file. See the command MACRONAMES to extract a list of available macros in the current
RS20i configuration.
Parameters
macro
[
OK
ERR no macro Response if macro does not exist on the RS20i.
Example
Run Macro named Auto1
Send:
Receive:
6. Output a pulse
Command:
Response:
Activate a pulse in GPIO1-21. The pulse has a fixed length of 250ms.
Parameters
output
[
Example
Send a pulse on GPIO-3
Send:
Receive:
Appendix E. Remote Command API
RS20i Installation and Operating Guide
@RUNMACRO<space>[macro]<CR>
OK or ERR no macro<CR>
This is the macro name to execute. The name must match
]
exactly the macro name on the RS20i.
Note: Spaces may be included within the macro name.
Response after macro is found and executed.
@RUNMACRO Auto1<cr>
OK<cr>
@PULSE<space>[output]<CR>
OK<CR>
Defines the desired GPIO number for the pulse. Valid numbers
]
are from 1
to 21.
@PULSE 3<cr>
OK<cr>
Operation
Operation
Document #: 9301H52900 Ver. 1.02
Page E-5
Write
Write

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RS20i and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents