GPI-8941 User Guide (v9.0)
RossTalk Protocol • 73
RossTalk Protocol
The GPI-8941 can be controlled from a remote editor or computer via RossTalk commands. These commands can
be sent to these openGear cards over an Ethernet connection (TCP/UDP) or via a serial port (RS-232/RS-485) on
the card’s rear module.
This chapter provides additional information on the RossTalk protocol used with the GPI-8941.
Before You Begin
Keep the following in mind when implementing the RossTalk protocol:
• All messages start with the command or message class, followed by one or more spaces, followed by a
command.
• All parameters are separated from the command and other parameters by zero or more spaces, followed by a
colon (:), followed by zero (0), or more spaces.
• All messages must end in an ASCII carriage return (0x0D), ASCII line feed (0x0A), or an ASCII null character
(0x00). A combination of these characters is acceptable, i.e. carriage return, line feed is okay.
• Commands and parameters are available in two forms, verbose and non-verbose (terse). For example, to
configure an asynchronous GPI report the verbose command is “
ConfigStatusMsg
” and the terse command is
“
C
”.
• All commands and parameters can be sent using the verbose or terse form. The commands and parameters are
not case sensitive.
• Reports and status messages from the GPI can be due to an Event (e.g. a GPI state has changed), a Request (e.g.
a GPI has been queried for its status), or a Config report command.
Examples
Gets all module status using verbose parameters. Verbose message return is on.
Commands and parameters are not case sensitive; spaces around the colons are optional. Thus the following are all
equivalent:
Command:
GPI ModuleQuery :AllInfo
Response:
GPI ModuleStatus:Type:GPI-8941
GPI ModuleStatus:Inputs:16
GPI ModuleStatus:Outputs:16
Command:
GPI ModuleQuery : AllInfo
gpi modulequery : allinfo
GPI ModuleQuery:AllInfo
gpi modulequery:allinfo
GPI MODULEQUERY: ALLINFO
Response:
GPI ModuleStatus:Type:GPI-8941
GPI ModuleStatus:Inputs:16
GPI ModuleStatus:Outputs:16
Содержание openGear GPI-8941 Series
Страница 1: ...GPI 8941 Series User Guide...
Страница 6: ......
Страница 10: ...iv Contents GPI 8941 Series User Guide v9 0...
Страница 16: ...16 Before You Begin GPI 8941 Series User Guide v9 0...
Страница 20: ...20 Hardware Overview GPI 8941 Series User Guide v9 0...
Страница 30: ...30 GPIO Cabling GPI 8941 Series User Guide v9 0...
Страница 32: ...32 Reference Cabling GPI 8941 Series User Guide v9 0...
Страница 56: ...56 Software Upgrades GPI 8941 User Guide v9 0...
Страница 70: ...70 DashBoard Menus GPI 8941 Series User Guide v9 0...
Страница 72: ...72 Technical Specifications GPI 8941 Series User Guide v9 0...
Страница 86: ...86 RossTalk Protocol GPI 8941 User Guide v9 0...
Страница 88: ...88 Software Licenses GPI 8941 User Guide v9 0...
Страница 92: ...92 Glossary GPI 8941 Series User Guide v9 0...