Basler Electric BE1-700 User Manual

Page 254

Advertising
background image

SL-VO5:51NT+51QT

SL-VO6:0

SL-VO7:0

SL-VO8:0

SL-VO9:0

SL-VO10:0

SL-VO11:50TPT+150TPT+50TNT+150TNT+50TQT+150TQT+51PT+51NT+151NT+

51QT

SL-VO12:50TPPU+150TPPU+50TNPU+150TNPU+50TQPU+150TQPU+51PPU+51NPU+
151NPU+51QPU

SL-VO13:0

SL-VO14:0

SL-VO15:0

Configuring the Serial Port Communication Protocol

The serial communication protocol is defined with the SG-COM command shown below.

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-COM2=9600,A0,P24,R1,X1

Comments:

Password Access Privilege G or Privilege S required to change settings

# = port number. (0 = Front, 2= Rear 485)

baud = baud rate (300/600/1200/2400/4800/9600/19K)

Ax = Address for polled operation where x = 0 (No polling) to 65534

Px = Page length (lines/pg) setting where x = 0 (No page mode) to 40

Rx = Reply acknowledgment level where x = 0 (disabled), 1 (enabled).

Xx = Xon/Xoff setting where X0 = handshake disabled, X1 = handshake enabled.


The following parameters pertain to relays using Modbus communication protocol at COM2:

MFx = Modbus extended precision format where x = 0 for floating point or 1 for triple
precision

MPx = Modbus parity where x = N (None), O (Odd) and E (Even).

MRx = Modbus remote delay time where x = 10(ms) to 200(ms).

MSx = Modbus stop bit where x = 1 for one stop bit or 2 for two stop bits.

If a non-zero address is programmed in the 'A' parameter, then the relay will ignore all commands that are
not preceded by its specific address. If an address of 0 is programmed, then the relay will respond with an
error message for any command preceded by an address.

If polling software sends a command preceded by an address of 0, then that command will be treated as
a global command. All relays will execute the command but no relay will respond to avoid bus contention.

NOTE: Polling is disabled on COM0 (Front RS-232), so an attempt to program an address other than A0
will cause an error message. The factory default settings are 9600, A0, P24, R1, X1 for COM 0 and COM
1 and 9600, A0, P0, R1, X0 for COM 2.

SG-COM Command Example:

Example 1.

Program front port for 1200 baud

>SG-COM0=1200

Example 2.

Read the protocol setting for the rear RS-485 port.

>SG-COM2

19K, A156,P0,R1,X0

Example 3.

Read settings for all ports.

>SG-COM

11-8

BE1-700 ASCII Command Interface

9376700990 Rev M

Advertising
This manual is related to the following products: