Introduction, Communication port parameters, Ascii command format – Basler Electric BE1-79A User Manual

Page 35: Command format, Command response format, Section 4 • communication commands -1, Introduction -1, Communication port parameters -1, Ascii command format -1, Command format -1

Advertising
background image

9310200990 Rev J

BE1-79A Communication Commands

4-1

SECTION 4 • COMMUNICATION COMMANDS

Introduction

Communication commands are sent to the BE1-79A through a standard RS-232 (DB-9) connector located

on the front panel. The BE1-79A ASCII communication protocol is compatible with readily available

terminal/modem software such as the HyperTerminal application provided with the Windows® PC

operating system. Information about configuring HyperTerminal and Terminal for communication with the

BE1-79A is provided in Appendix B, Terminal Communication.

Communication Port Parameters

The following parameters apply to the BE1-79A communication port:

Fixed baud rate of 9600

Data bits fixed at 8

Parity is fixed at NONE (N)

Number of stop bits is fixed at 1

Half duplex operation is supported

More information about BE1-79A communication interface requirements is provided in Section 5,

Installation and Configuration.

ASCII Command Format

Each communication command, <CMD>, consists of an ASCII string terminated by a carriage return,

<CR>. A line feed, <LF>, is optional.

Command Format

The BE1-79A uses a command format of <CMD>[<;>CMD…]<CR>[LF>]. Command components are

defined as follows.
[ ]

Brackets identify optional parameters. The brackets are not part of the command.

< >

Separators are used for clarity. The separators are not part of the command.

CMD

<name>[n][<=><setting-x>…[<,><setting-x>]]

Where:
Name

Command name. Refer to Command Descriptions for more information.

N

Optional command object. If more than one object is available and n is omitted, the

command applies to all objects.

=

Used to indicate that the command is to change data or settings.

Setting-x

Command setting(s)

,

Commas are used as setting separators

CR

A carriage return is used to end a command and start command execution.

LF

A line feed may be used for clarity. It is ignored by the relay.

Spaces

One or more spaces may be added between entries for clarity if desired.

Command Response Format

The BE1-79A uses a command response format of [<response>][<ACK>]. Command components are

defined as follows.
response

Determined by CMD.

ACK

“>” is returned for a valid command, “?” is returned for an invalid command.

Commands received by the BE1-79A consist of two types: requests for information and changes to

operating parameters. Commands to change parameters are identified by and equal sign (=). The

operating parameters to the right of the equal sign are intended to replace the current operating

parameters related to the command.
Some commands may pertain to multiple items. In that case, a numeric identifier is used after the

command name to specify a single item. If the identifier is omitted, the command is applied to all possible

Advertising