11-12
BE1-CDS240 ASCII Command Interface
9365200990 Rev F
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-COM1=9600,A0,P24,R1,X1
Comments:
Password Access Privilege G or Privilege S required to change settings
# = port number. (0 = Front, 1 = Rear 232, 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 = ModbusTM extended precision format where x = 0 for floating point or 1 for triple
precision
MPx = ModbusTM parity where x = N (None), O (Odd) and E (Even).
MRx = ModbusTM remote delay time where x = 10(msec.) to 200(msec.).
MSx = ModbusTM 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
SG-COM0=1200,P24,R1,X1
SG-COM1=9600,A0,P24,R1,X1
SG-COM2=19K,A156,P0,R1,X0
Summary of Contents for BE1-CDS240
Page 2: ......
Page 8: ...vi BE1 CDS240 Introduction 9365200990 Rev F This page intentionally left blank ...
Page 38: ...1 28 BE1 CDS240 General Information 9365200990 Rev F This page intentionally left blank ...
Page 40: ...ii BE1 CDS240 Quick Start 9365200990 Rev F This page intentionally left blank ...
Page 152: ...ii BE1 CDS240 Metering 9365200990 Rev F This page intentionally left blank ...
Page 226: ...iv BE1 CDS240 Application 9365200990 Rev F This page intentionally left blank ...
Page 286: ...ii BE1 CDS240 Security 9365200990 Rev F This page intentionally left blank ...
Page 290: ...9 4 BE1 CDS240 Security 9365200990 Rev F This page intentionally left blank ...
Page 292: ...ii BE1 CDS240 Human Machine Interface 9365200990 Rev F This page intentionally left blank ...
Page 306: ...10 14 BE1 CDS240 Human Machine Interface 9365200990 Rev F This page intentionally left blank ...
Page 308: ...ii BE1 CDS240 ASCII Command Interface 9365200990 Rev F This page intentionally left blank ...
Page 342: ...11 34 BE1 CDS240 ASCII Command Interface 9365200990 Rev F This page intentionally left blank ...
Page 349: ...Figure 12 5 Horizontal Rack Mount Front View 9365200990 Rev F BE1 CDS240 Installation 12 5 ...
Page 361: ...Figure 12 17 Typical DC Connection Diagrams 9365200990 Rev F BE1 CDS240 Installation 12 17 ...
Page 372: ...12 28 BE1 CDS240 Installation 9365200990 Rev F This page intentionally left blank ...
Page 468: ...13 92 BE1 CDS240 Testing and Maintenance 9365200990 Rev F This page intentionally left blank ...
Page 512: ...14 42 BE1 CDS240 BESTCOMS Software 9365200990 Rev F This page intentionally left blank ...
Page 544: ...ii BE1 CDS240 Terminal Communication 9365200990 Rev F This page intentionally left blank ...
Page 550: ...ii BE1 CDS240 Settings Calculations 9365200990 Rev F This page intentionally left blank ...
Page 578: ...D 28 BE1 CDS240 Settings Calculations 9365200990 Rev F This page intentionally left blank ...
Page 579: ......