Command summary, Miscellaneous commands, Command summary -8 – Basler Electric BE1-851 User Manual

Page 250: Miscellaneous commands -8, Table 11-1. communication settings -8

Advertising
background image

Table 11-1. Communication Settings

Parameter

Description

Range

Default

Baud

Baud Rate

300, 600, 1200,

2400, 4800, 9600, or

19K

9600

A

Address for Polled

Operation

A0 (disabled)
A1 to A65534

A0

P

Page Length

P0 (no page mode)
P1 to P40

P0

R

Reply

Acknowledgement

R0 (disabled)
R1 (enabled)

R1

X

Xon/Xoff (hardware

handshaking) setting

X0 (disabled)
X1 (enabled)

X1 (COM0,1)

X0 (COM2)

SG-COM Command

Purpose:

Read/Set serial communications protocol

Syntax:

SG-COM[#[={baud},A{addr},P{pglen},R{reply ack},X{XON ena}]]

Example:

SG-COM0=9600 or SG-COM1=9600,A0,P24,R1,X1

Comments:

Password access privilege G or S is required to change settings.

# = port number. (0 = front, 1 = rear RS-232, 2 = rear RS-485)


SG-COM Command Examples:

1. Program the front communication port for 1200 baud.

>SG-COM0=1200

2. Read the communication settings for all ports.

Sent:

>SG-COM

Received:

SG-COM0=9600,A0,P0,R1,X1;

SG-COM1=9600,A0,P0,R1,X1

SG-COM2=9600,A0,P0,R1,X0,MF1,MPN,MR10,MS1,PW0

If the ‘A’ parameter is set at a nonzero value, the relay will ignore all commands that are not preceded by

the proper address number. If an address of 0 is programmed, the relay will respond with an error

message for any command preceded by an address. With polling enabled, a command preceded by 0 is

treated as a global command. All networked relays will execute the command, but no relay will respond to

the command. This avoids communication bus conflicts. The front panel communication port (COM0) is

not configured for polling, so an attempt to program a non-zero address will result in an error message.

Command Summary

Miscellaneous Commands

ACCESS Command

Purpose:

Read/Set Access level in order to change settings

Syntax:

ACCESS[={password}]

Example:

ACCESS=851

Reference:

Section 11, ASCII Command Interface, Miscellaneous Command Descriptions

11-8

BE1-851 ASCII Command Interface

9289900990 Rev R

Advertising