EasyManua.ls Logo

ENDEVCO 133 - APPENDIX 2 SERIAL COMMUNICATION; Communication Protocol; Command and Response Structure

Default Icon
29 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...
ENDEVCO www.endevco.com Tel: +1 (866) ENDEVCO [+1 (866) 363-3826]
IM133, Page
25
®
APPENDIX 2 SERIAL COMMUNICATION
Communication Protocol - Each transmission is of the form: [Header] [;] [Body]
The Header and Body are separated by a semi-colon and are each made up of several components
separated by one space. Square brackets, [], indicate a mandatory component. Curly brackets,{},
indicate a conditional component. The Header is of the form;
[Model/Unit] [space] [Channel] [space] [Command]
The Body is of the form;
{data} [checksum] [Terminator]
Each transmission to a 13x unit will invoke a response of this same form.
Each component of the transmission is decimal integer ASCII text.
Model/Unit (Required) is a two byte value in which the upper byte indicates the model type (0=133,
1=136) and the lower byte indicates a Unit number in the range 1-20. However, commands 0,6 & 8
allow 0 to indicate the command and it’s associated data, if any, applies to the specified channel of all
units with the identified Model Type.
In Rack mount systems the Unit address of each 3 channel device is determined by the rack. For
standalone systems the address is programmable through the front panel. All units will receive all serial
transmissions. However, only the unit with the same unit address will respond.
Channel (Required) is in the range 1-3. However, commands 0,2,3,4,5 & 7 allow 0 to indicate the
command and it’s associated data, if any, applies to all channels.
Command: (Required) is one of the following:
0x00 - [Channel x ] {Setup data} {checksum} follows - (13x Receives)
0x01 - [Channel x ] {Cal Constant Data}{checksum} follows - (13x Receives)
0x02 - [Channel x ] Send {Setup/Status data} - (13x Sends)
0x03 - [Channel x ] Send {Calibration Constant Data} - (13x Sends)
0x04 - [Channel x ] Send data - (13x Sends)
0x05 - [Channel x ] Send Raw data - (13x Sends)
0x06 - [Channel x ] Stop Sending data (unit # = 0 indicates all units are to stop)
0x07 - [Channel x ] {Data Interval in seconds (0=single shot)}
0x08 - Reset Unit (unit # = 0 indicates all units of this model type are to reset)
0x09 - Send Unit ID (13x Sends)
0x0A - Send LP Corners (13x Sends for all channels)
0x0B - Send Error List (13x Sends for all channels)
Data: The Setup Data, Cal Constant Data and Data Interval - commands (0,1&7) require additional
information to accompany the command. The format of these data packets is as follows;

Related product manuals