EasyManua.ls Logo

Datasat RS20i - 5. Execute an RS20 i Macro; 6. Output a Pulse

Default Icon
153 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RS20i Installation and Operating Guide Page E-5
Appendix E. Remote Command API Document #: 9301H52900 Ver. 1.02
Automation
5. Execute an RS20i Macro
Command: @RUNMACRO<space>[macro]<CR>
Operation
Response: OK or ERR no macro<CR>
Write
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 ] 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.
OK Response after macro is found and executed.
ERR no macro Response if macro does not exist on the RS20i.
Example
Run Macro named Auto1
Send: @RUNMACRO Auto1<cr>
Receive: OK<cr>
6. Output a pulse
Command: @PULSE<space>[output]<CR>
Operation
Response: OK<CR>
Write
Activate a pulse in GPIO1-21. The pulse has a fixed length of 250ms.
Parameters
[output ] Defines the desired GPIO number for the pulse. Valid numbers
are from 1
to 21.
Example
Send a pulse on GPIO-3
Send: @PULSE 3<cr>
Receive: OK<cr>

Table of Contents

Related product manuals