EX952N Series (Addressable RS422/485 to RS232 converter)

Similar documents
tm-752n Series User Manual

Forcom Technology Co., Ltd. Intelligent RS-485/422 to RS-232 converter

Industrial Serial Device Server

i-7550 PROFIBUS to RS-232/422/485 Converter User's Manual High Quality, Industrial Data Acquisition, and Control Products

NordField Electronics

7521/7522/7522A/7523/7524/7527

SERIAL TO ETHERNET CONVERTER E-P User Manual

3.1 I-7560 Pin Assignment and Specifications: Introduction

The I-7530A RS-232/485/422 to CAN Converter

I/O Interface DNA300

EX9017H-M is a analog input module with 8 input channels. Eight channels are differential type and individual channel configuration support.

Section 1 Introduction

Sender Receiver Sender

Document Name: User Manual for SC10EK4 Serial to Ethernet Converter with 4 TCP Sockets. Index

PCI Express 16-Port Serial I/O Cards

Model XS1000 TCP/IP to RS232/422/485 Device Server User s Manual

NCOM SERIAL DEVICE SERVER 1XX SERIES USER S MANUAL

USER S MANUAL. PH232Ex1. #1 RS-232 Serial Port to Ethernet, Terminal Server/Client. Doc No: PH232Ex1-UM-001 IPEX. (IP Electronix)

The I-7530A-MR Modbus RTU to CAN Converter

EX & EX-45362IS 2S RS232/422/485 3-in-1 Serial PCIe Card

BLE232: Manual Copyright 2014 taskit GmbH

EX KVIS RS232/422/485 3-in-1 Serial to USB Adapter (w/ 4KV Isolation, 15KV ESD Surge Protection)

RS232/RS485/RS422 to TCP/IP Converter ITEM NO.: RS007

The UART to CAN Bus Converter

Hardware Manual. PCMCIA 1 Port RS EDITION APRIL 1999

Lantech LSC-1102B SERIAL TO TCPIP CONVERTER. User Manual

T1K MODBUS Base Controller Specifications

8013,8013D, 8033 User Manual

USER MANUAL HPS-120. About this product: Your Communications Solutions Provider

NCOM SERIAL DEVICE SERVER 4XX SERIES USER S MANUAL

WiFi to RS-232 adapter user manual

Vorne Industries. 87/415 Rate Monitor Display User's Manual Industrial Drive Itasca, IL (630) Telefax (630)

User Manual A08. User Manual

STEP X - Name of Step QUICK START GUIDE SP385A-R3, SP390A-R3 USB TO RS CONVERTER 24/7 TECHNICAL SUPPORT AT OR VISIT BLACKBOX.

Configuring Terminal Settings and Sessions

PCL Port RS-232 Interface Card

Wrenchman, Inc Old Hwy. # 8 Suite # 122 New Brighton, Minnesota (651)

Operation Manual of EX-9132C-2. Serial to TCP/IP Converter

Product Manual. USB BAY-4 Port Serial DB- 9 RS-232 Adapter with FTDI Chipset. Coolgear, Inc. Version 1.1 September 2017 Model Number: USBG-BAY4

TABLE OF CONTENTS. Communication Functions

GE Fanuc IC695CMM004. Rx3i PacSystem

Vorne Industries. 87/708 Master Clock Display User's Manual

Model:UT-8814 USB/RS-232 Commercial interface converter. Instruction Manual

Document Name: User Manual for SC10MK, Modbus RTU to Modbus TCP Converter

PCIe-400 USER S MANUAL

LM058 Bluetooth Serial Adapter

1 port RS-232 Device Server

Hardware Manual PCMCIA DUAL RS EDITION MAY 1999

NetBiter Serial Server User Manual

1. Introduction. Note: For EX9050HD the (INIT*) switch located on the rear side of the module.

USB to RS-232/RS422/485. US-101-I USB To Serial Operation Manual

USB to DB25 RS232 Adapter User Manual. Features. Windows 7/ Vista / 2003 / XP / 2000 Driver Installation

USBG-8COM-PRO 8-Port USB to RS-232, 422, 485 Auto Setup Adapter Manual. Features & Specifications. Specifications

ECOV-110 User s Manual

RS 232 Interface. RS 232 is the Serial interface on the PC. Three major wires for the Serial interface: Transmit Pin 2 Receive Pin 3

TCP/IP Converter. EX-9132 Operation Manual for 8051 Series

ASL Holdings Ltd. User Guide for the: - DELTA PLUS LAN modem. Provisional Ver1.8

User Guide. Date Apr BlueEva+C11/G2. Stollmann. E + V GmbH. User Guide

+ (5~27 VDC) GND. Bluetooth V4.2 BLE RS-232 Serial Adapter. Model: BLE-232D-E. 1. Package content: BLE RS-232 adapter

ZM56 High-Speed Industrial Modem. Command Summary. 1 ZM56 High-Speed Industrial Modem

These modules also provide advanced features like data sharing and UDP ß ood attack protection as follows: Client C. Single-Board Computer (SBC)

HOME AUTOMATION, INC. Model 93A00-1. Serial Server. User s Manual

PACSystems* RX3i IC695CMM002 and IC695CMM004

LM048 Bluetooth v2.0, v2.1 RS232 Serial Adapter Standalone (With Embedded Bluetooth v2.0 / v2.1 Stack)

EMERALD-MM-8P. 8-Channel Software Programmable Protocol. Serial Port PC/104 TM Module. User Manual V1.20

Data Acquisition. CM 7000 Series. Family of Bus Converter & Repeaters

LM058 Bluetooth v2.0, v2.1 RS232 Serial Adapter - SMA Connector Standalone (With Embedded Bluetooth v2.0 / v2.1 Stack)

ABLELink. Modbus Gateway MB5000 Series User s Manual

EZL-200F Application Notes (003) Serial Interface (RS232/RS422/RS485)

USB-2COM-BB USER S MANUAL

BeagleBone Black USB Expansion RS232 Module Cape Coolgear, Inc. Version 1.1 September 2017 Model Number:

Universal Asynchronous Receiver Transmitter Communication

e-net TCP/IP Converters

Product Manual. 8-Port RS-232 USB to Serial Adapter Data Control Box. Coolgear, Inc. Version 1.1 September 2017 Model Number: USB-8COM

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM

+ (5~27 VDC) GND. Bluetooth V4.1 BLE RS-232 Serial Adapter. Model: BLE-232B. 1. Package content: BLE RS-232 adapter

GPORT104 User s Manual

Integrity Instruments

Serial Interfaces Part 1. ECE 153B Sensor & Peripheral Interface Design Winter 2016

STAR Comm Modem Kit for the Micro/PX-2000: Setup Instructions

CMM 900-3W USER GUIDE

Maximum Value for OEMs SM. NX70 Serial Communications Unit (SCU) User Manual

Mini USB to RS-232 Serial Adapter DB-9 Male Converter. Product Manual. Coolgear Version 1.0 January 2018 Model Number: USBG-232MINI.

Aport-212PG Programmable Device Server User Guide

ZM24x Quick-Connect Industrial Modem. User s Manual

Operation Manual EX-9133C-2-MTCP

Configuring Terminal Settings and Sessions

General Operating, Maintenance and Installation Manual

PCIe Card Selection Guide. PCIe-CAN Card. PCIe-COM Card. Taiwan Pulse Motion Co.,Ltd. Bus Interface PCI Express x 1 LPE-C122 PCE-C122D PCE-C122T

SSE232-LE Serial Server- User s Manual

PACSystems* RX3i IC695CMM002 and IC695CMM004

8 Port USB to RS- 232/422/485 Octal Adapter. Product Manual. Coolgear, Inc. Version 1.1 April 2018 Model Number: USB-8COMi-RM.

Universal ipulse Ethernet Adapter. User Manual

=0 Read/Write IER Interrupt Enable Register =1 Read/Write - Divisor Latch High Byte + 2

USB to RS-232/RS422/485. URK-228-I USB To Serial Operation Manual

Bluetooth V4.1 BLE RS-232 Serial Adapter Model: BLE-232B Bluetooth V4.2 BLE RS-232 Serial Adapter Model: BLE-232C

MODBUS PLUS TO SIEMENS G110/G120/MM440 APPLICATION

6 foot USB to RS-232 Serial Adapter DB-9 Male, FTDI Chipset. Product Manual. Coolgear Version 1.0 January 2018 Model Number: USBG-232MM

Table 1 Specifications Software Required for Configuration

Bluetooth Serial Adapter

Transcription:

EX952N Series (Addressable RS422/485 to RS232 converter) EX952N Quick Manual Introduction EX952N is an Addressable RS422/485 to RS232 converter that it is designed to connect RS422/485 devises to an RS232 network. On most computer systems, industrial device, PLCS, measurement equipment are unbalanced transmission for communication distance, transmission speed, network capability. The EX952N addressable converter solves the problem and let you easily build up an RS485 network with your RS232 devices. Features & Spec. Built in "Addressable RS485 to RS232 Converter" firmware Watchdog timer provides fault tolerance and recovery CPU 80188, 40MHZ o SRAM 256KB o FLASH ROM 512KB o EEPROM 2KB o EMBEDDED OS RomDos(Datalight) o Communication speed: 115.2K bps max o Operating temperature: -25 to +75 o Storage temperature: -40 to +80 o Power requirement: Unregulated 10~30 VDC power Series EX9521D, EX9522D, EX9523D, EX9527D Model No. EX9521D EX9522D EX9523D EX9527D COM1 RS232(5wire) RS232(5wire) RS232(5wire) RS232(5wire) COM2 RS485 RS485 RS485 RS485 COM3 x RS232(3wire) RS232(3wire) RS232(3wire) COM4 X X RS232(3wire) RS232(3wire) COM5 X X X RS232(3wire) COM6 X X X RS232(3wire) COM7 X X X RS232(3wire) COM8 X X X RS232(3wire) COM4:Program download RS232 (3wire) EX9521D/22D/23D. COM1:Program download RS232 (5wire) EX9527D. 1

Pin assignment of EX9521/22/23 s COM1 connector (DB-9 Male): Pin Name Description 1 DCD Data Carrier Detect 2 RXD Receive Data 3 TXD Transmit Data 4 DTR Data Terminal Ready 5 GND Signal ground 6 DSR Data Set Ready 7 RTS Request To Send 8 CTS Clear To Send 9 RI Ring Indicator Use COM4(EX9521/22/23)/COM1(EX9527) for downloading program Power on the system when EX952N module s INIT* pin is wired to ground and COM4(EX9521/22/23)/COM1(EX9527) is connected to PC. The disk image can be downloaded from PC to flash ROM of 952N module under Hyper-Terminal (Com port setting: baudrate 57600, Databit 8, Parity None, Stopbit1, Flow control None) by clicking transfer, receive file, then choose Xmodem as the protocol and key in the file name and path. If the update is not successful, then repeat the process. If users want to debug the system from COM4(EX9521/22/23)/COM1(EX9527), just power on the system with INIT* floating. Note: INIT* must be disconnected from ground immediately before the updating disk image completes, otherwise the system will hang. 2

Quick Start Initial pin & GND: Each EX952N module has a build-in EEPROM to store configuration information such as address, type, baudrate and other information. Sometimes, user may forget the configuration. Therefore, the EX952N have a special mode named "INIT mode", to help user to resolve the problem. The "INIT mode" is setting as Address=00, Baudrate=9600bps, Data bit=8, Parity=none, Stop bit=1, No checksum To enable INIT mode, please following these steps: Step1. Power on the 952N. Step2. Touch the Init* to GND after power on then release the Init* with GND Data format setting (COM port & status): Read/Set the Baud rate: $AABN(Baud rate)...page 8 Read /Set the Data-bit: $AADN(Data-bit). Page 9 Read /Set the Parity: $AAPN(Parity-bit)...Page 10 Read /Set the Stop-bit: $AAON(Stop-bit)..Page 11 Address setting: Use command $AAA(addr).Page 7 Wire connection: RS-232 EX9520 R S- 485 Network EX9522 RS232 Device RS232 Device EX9522 RS232 Device RS232 Device 3

Command Sets Command Response Description $AAA(addr)!AA Read/Set the Module Address $AABN(baud rate)!aa(baud rate) Read/Set Baud Rate of COM-1/2/3/4/5/6/7/8 $AADN(data-bit)!AA(data-bit) Read/Set the Data-Bit of COM-1/2/3/4/5/6/7/8 $AAPN(parity-bit)!AA(parity-bit) Read/Set the Parity-Bit of COM-1/2/3/4/5/6/7/8 $AAON(stop-bit)!AA(stop-bit) Read/Set the Stop-Bit of COM-1/2/3/4/5/6/7/8 $AA6(ID)!AA Set the ID-string of COM-1/3/4/5/6/7/8 $AA7!AA(ID) Read the ID-string of COM-1/3/4/5/6/7/8 $AAC(delimiter)!AA(delimiter) Read/Set the delimiter of COM-1/3/4/5/6/7/8 $AAD!AA(delimiter) Read the delimiter of COM-1/3/4/5/6/7/8 (delimiter) AA (bypass)!aa Bypass data-string to COM-1/3/4/5/6/7/8 $AAKN(CrLfMode)!AA(CrLfMode) Read/Set the checksum-status of COM2(RS485) $AATN(CrLfMode)!AA(CrLfMode) Read/set the end-char of COM-1/2/3/4 $AAXV!AA Set the RTS state of COM1 $AA5!AAS Read the resent status $AAF!AA(number) Read the firmware version number $AAM!AA(name) Read the module name $AA2!AABDPK Read the configuration of COM2(RS485) $AAW!AAS Read the CTS status of COM1 $AAU (data) Read data from RS232 COM port buffer 4

Address mapping 9521 9522 9523 9527 COM1(RS232) AA AA AA AA COM2(RS485) AA AA AA AA COM3(RS232) X AA+1 AA+1 AA+1 COM4(RS232) X X AA+2 AA+2 COM5(RS232) X X X AA+3 COM6(RS232) X X X AA+4 COM7(RS232) X X X AA+5 COM8(RS232) X X X AA+6 1. User must send command to COM2(RS-485), if the command is used to set configuration of 952N, the 952N will directly echo message to COM2. If the command is used to bypass data to RS-232 device, the data will be sent to COM1/3/4/5/6/7/8(RS-232). Any message come from COM1/3/4/5/6/7/8(RS-232) will be echo to COM2(RS-485) at any time. 2. The COM port address of 9521 is given as following: COM1=RS-232 --> RS-232 Address=AA COM2=RS-485 3. The COM port address of 9522 is given as following: COM1=RS-232 --> RS-232 Address=AA COM2=RS-485 COM3=RS-232 --> RS-232 Address=AA+1 9522 is used as two 9521 with address AA, AA+1. The COM port must use the same ModeCrLf485 and the ModeCrLf232 can be different. The delimiters for two COM port can be different. 4. The COM port address of 9523 is given as following: COM1=RS-232 --> RS-232 Address=AA COM2=RS-485 COM3=RS-232 --> RS-232 Address=AA+1 COM4=RS-232 --> RS-232 Address=AA+2 9523 is used as three 9521 with address AA, AA+1,AA+2. The three COM port must use the same ModeCrLf485 and the ModeCrLf232 can be different. The delimiters for these three COM port can be different. 5

5. The COM port address of 9527 is given as following: COM1=RS-232 --> RS-232 Address=AA COM2=RS-485 COM3=RS-232 --> RS-232 Address=AA+1 COM4=RS-232 --> RS-232 Address=AA+2 COM5=RS-232 --> RS-232 Address=AA+3 COM6=RS-232 --> RS-232 Address=AA+4 COM7=RS-232 --> RS-232 Address=AA+5 COM8=RS-232 --> RS-232 Address=AA+6 9527 is used as seven 9521 with address AA,AA+1,AA+2,AA+3,AA+4,AA+5,AA+6. The three COM port must use the same ModeCrLf485 and the ModeCrLf232 can be different. The delimiters for these three COM port can be different. 6

1. $AAA(addr) Description: Read/Set the module address Syntax: $AAA(addr)[chk](Cr) Invalid command!aa?aa Example: command: $01A02 receive:!02 address 01 is changed to 02 command: $02AA0 receive:!a0 address 02 is changed to 0xA0 command: $00A receive:!02 address stored in EEPROM=02 7

2. $AABN(baud rate) Description: Read/Set the baud rate of COM-1/2/3/4/5/6/7/8 Syntax: $AABN(baud rate)[chk](cr) N 0=Read/Set baud rate of RS485, 1=Read/Set baud rate of RS232 (baud rate) 300/600/1200/2400/4800/9600/19200/38400/57600/115200 Invalid command!aa(baud rate)?aa Example: (Assume the AA of EX9523 is 01) command: $01B0115200 receive:!01 Changes RS485(COM2) to 15200 BPS command: $01B19600 receive:!01 Changes RS232(COM1) to 9600 BPS command: $02B138400 receive:!02 Changes RS232(COM3) to 38400 BPS command: $03B157600 receive:!03 Changes RS232(COM4) to 57600 BPS SHORT-CODE FOR BAUD RATE: 300=1, 600=2, 1200=3, 2400=4, 4800=5, 9600=6, 19200=7, 38400=8, 57600=9,115200=A. The short-code of baud rate will be shown in the 7-SEGMENT LED3. 8

3. $AADN(data-bit) Description: Read /Set the Data-Bit of COM-1/2/3/4/5/6/7/8 Syntax: $AADN(data-bit)[chk](Cr) N 0=Read/Set the data-bit of RS485, 1=Read/Set the data-bit of RS232 (data-bit): 7 or 8 Invalid command!aa(data-bit)?aa Example: (Assume the AA of EX9523 is 01) command: $01D08 receive:!01 Changes data-bit of RS485(COM2) to 8 command: $01D17 receive:!01 Changes data-bit of RS232(COM1) to 7 command: $02D17 receive:!02 Changes data-bit of RS232(COM3) to 7 command: $03D17 receive:!03 Changes data-bit of RS232(COM4) to 7 VALID DATA-BIT: COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 9521 7/8 7/8 X X X X X X 9522 7/8 7/8 7/8 X X X X X 9523 7/8 7/8 7/8 7/8 X X X X 9524 7/8 7/8 7/8 7/8 X X X X 9527 8 8 7/8 7/8 7/8 7/8 7/8 7/8 9

4. $AAPN(data-bit) Description: Read/Set the parity-bit of COM-1/2/3/4/5/6/7/8 Syntax: $AAPN(parity-bit)[chk](Cr) N 0=Read/Set the parity-bit of RS485, 1=Read/Set the parity-bit of RS232 (parity-bit): 0=NONE, 1=EVEN, 2=ODD Invalid command!aa(data-bit)?aa Example: (Assume the AA of EX9523 is 01) command: $01P00 receive:!01 Changes parity-bit of RS485(COM2) to NONE command: $01P10 receive:!01 Changes parity-bit of RS485(COM1) to NONE command: $02P11 receive:!02 Changes parity-bit of RS485(COM3) to EVNE command: $03P12 receive:!03 Changes parity-bit of RS485(COM4) to ODD VALID PARITY-BIT: 9521 9522 9523 9527 COM1 (RS232) N/E/O N/E/O N/E/O N COM2 (RS485) N/E/O N/E/O N/E/O N COM3 (RS485) X N/E/O N/E/O N/E/O COM4 (RS232) X X N/E/O N/E/O COM5 (RS232) X X X N/E/O COM6 (RS232) X X X N/E/O COM7 (RS232) X X X N/E/O COM8 (RS232) X X X N/E/O N: None E: Even O: Odd 10

5. $AAON(stop-bit) Description: Read/Set the stop-bit of COM-3/4/5/6/7/8 Syntax: $AAPN(stop-bit)[chk](Cr) N 0=Read/Set the parity-bit of RS485, 1=Read/Set the parity-bit of RS232 (stop-bit) 1 for COM1/2, 1/2 for COM3/4 invalid command!aa(data-bit)?aa Example: (Assume the AA of 9523 is 01) command: $02O12 receive:!02 Changes the stop-bit of RS232 (COM3) to 2 command: $03O12 receive:!03 Changes the stop-bit of RS232 (COM4) to 2 Valid stop-bit: 9521 9522 9523 9527 COM1 (RS232) 1 OR 2 1 OR 2 1 OR 2 1 COM2 (RS485) 1 OR 2 1 OR 2 1 OR 2 1 COM3 (RS232) X 1 1 1 OR 2 COM4 (RS232) X X 1 1 OR 2 COM5 (RS232) X X X 1 OR 2 COM6 (RS232) X X X 1 OR 2 COM7 (RS232) X X X 1 OR 2 COM8 (RS232) X X X 1 OR 2 11

6. $AA6(ID) Description: Set the ID-string of COM-1/3/4/5/6/7/8, max=50 Characters Syntax: $AA6(ID)[chk](Cr) (ID): ID-string, max. 50 characters invalid command!aa?aa Example: (Assume the AA of 9523 is 01) command: $016Temperature! receive:!01 ID of RS232 (COM1) is Temperature1 command: $026HP34401A-1 receive:!02 ID of RS232 (COM3) is HP3440A-1 command: $036HP34401A-2 receive:!03 ID of RS232 (COM4) is HP3440A-2 12

7. $AA7 Description: Read the ID=-String of COM-1/3/4/5/6/7/8 Syntax: $AA7[chk](Cr)!AA(ID) invalid command?aa (ID): ID-String, max. 50 characters. Example: (Assume the AA of 9523 is 01) command: $017 receive:!01 Temperature1 ID of RS232 (COM1) is Temperature1 command: $027 receive:!02 HP34401A-1 ID of RS232 (COM3) is HP34401A-1 command: $037 receive:!03 HP34401A-2 ID of RS232 (COM4) is HP3440A1-2 13

8. $AAC(delimiter) Description: Read/Set the delimiter of COM-1/3/4/5/6/7/8 Syntax: $AAC(delimiter)[chk](Cr) (delimiter): default delimiter is : invalid command!aa (delimiter)?aa Example: (Assume the AA of 9523 is 01) command: $01C receive:!01: Reads the delimiter of RS232 (COM2) : command: $02C receive:!02: Reads the delimiter of RS232 (COM3) : command: $03C* receive:!03: Changes the delimiter of RS232 (COM4) : Note: Note1: The delimiter of COM1/3/4/5/6/7/8 can be different. Note2: The default delimiter is : Note3: The delimiter cannot be $, ~, #, @, %, CR & LF 14

9. $AAD Description: Read the delimiter of COM-1/3/4/5/6/7/8 Syntax: $AAD[chk](Cr) invalid command (delimiter): default delimiter is:!aa (delimiter)?aa Example: (Assume the AA of 9523 is 01) command: $01D receive:!01: Reads the delimiter of RS232 (COM1) : command: $02D receive:!02: Reads the delimiter of RS232 (COM3) : command: $03D receive:!03* Changes the delimiter of RS232 (COM4) * Note: Note1: The delimiter of COM1/3/4/5/6/7/8 can be different. Note2: The default delimiter is : 15

10. (delimiter)aa(bypass) Description: Bypass data-string to COM-1/3/4/5/6/7/8 Syntax: (delimiter) AA (bypass)[chk](cr) (bypass): data-string send to COM-1/3/4 invalid command!aa?aa Example: (Assume the AA of 9523 is 01, the delimiters for COM1/3/4 are : / ;/*) command: :01abcde receive:!01 Sends abcde to COM1 command: :02123456789 receive:!02 Sends 123456789 to COM3 command: *03 test receive:!03 Sends test to COM4 16

11. $AAKN(CrLfMode) Description: Read/Set the checksum-status Syntax: $AAKN(CrLfMode)[chk](Cr) N 0= checksum disable, 1= checksum enable!aa(crlfmode) invalid command?aa N=0 checksum disable, N=1 checksum enable Example: (Assume the AA of 9523 is 01, the other AA of 9523 is 04) command: $01K0 receive:!01 Disables checksum command: $04K1 receive:!04 The checksum is enabled Note: The checksum enable/disable is valid to COM2 only. 17

12. $AATN(CrLfMode) Description: Read/Set the end-char of command string Syntax: $AAK(CrLfMode)[chk](Cr) N 0= Read/Set the parity-bit of RS485, 1= Read/Set the parity-bit of RS232 (CrLfMode): 0=(CrLf) 0x0D 1= (CrLf) 0x0D+0x0A 2= (CrLf) 0x0A 3= (CrLf) 0x0A+0x0D 4= No end-char invalid command!aa(data-bit)?aa Example: (Assume the AA of 9523 is 01) command: $01T0 receive:!014 The end-char of COM2 is no end character command: $01T1 receive:!011 The end-char of COM1 is 0x0D+0x0A command: $02T1 receive:!022 The end-char of COM3 is 0x0A command: $03T1 receive:!033 The end-char of COM4 is 0x0A+0x0D Note: The default CrLfMode = 4 then the default (CrLf) = NONE for all port. 18

13. $AAXV(CrMode) Description: Set the RTS-state of COM1 Syntax: $AAXV[chk](Cr) V 0= set RTS inactive, 1= set RTS to active_high state invalid command!aa?aa Example: (Assume the AA of 9523 is 01) command: $01X0 receive:!01 Sets the RTS of COM1 to inactive state command: $02X1 receive:!02 Sets the RTS of COM3 to active-high state COM1(RS232) COM2(RS485) / COM3 / COM4 9521 AA AA / X / Download 9522 AA (AA/AA+1) / (AA+1) /Download 9523 AA (AA/AA+1/AA+2)/(AA+1)/(AA+2/Download) COM1(RS232) COM2(RS485)/ COM3/COM4/COM5/COM6/COM7/COM8 9527 AA/Download (AA/AA+1/AA+2/AA+3/AA+4/AA+5/AA+6)/ (AA+1)/(AA+2)/(AA+3)/(AA+4)/(AA+5)/(AA+6) Note: The RTS-state is valid for COM1 & COM3 19

14. $AA5 Description: Read resets status. Syntax: $AA5[chk](Cr)!AAS invalid command?aa Syntax error or communication error or address error S=0 it has not been reset since the last reset status read S=1 it has been reset since the last reset status read Example: command: $015 receive:!011 It is first time power-on reset command: $015 receive:!010 It is normal command: $015 receive:!010 It is normal command: $015 receive:!011 This module has been reset by module hardware watchdog. Therefore all output is going to its start-values now. 20

15. $AAF Description: Reads the firmware version number. Syntax: $AAF[chk](Cr)!AA(number) invalid command?aa number = 4- character for version number Example: command: $01F Module 01 version 2.0 command: $02F Module 02 version 3.0 receive:!01a2.0 receive:!02a3.0 21

16. $AAM Description: Reads the module name. Syntax: $AAM[chk](Cr)!AA(name) invalid command?aa number = 4- character or 5-character for module name Example: command: $01F receive:!019521 Name of module 01 is 9521 command: $02F receive:!029523 Name of module 02 is 9523 22

17. $AA2 Description: Reads the configuration code of COM2 (RS485) stored in EEPROM Syntax: $AA2[chk](Cr)!AA40BDPK invalid command?aa B short-code for baud rate Baudrate 300 600 1200 2400 4800 9600 19200 38400 57600 115200 short-code 1 2 3 4 5 6 7 8 9 A D data-bit: 7 or 8 P party-bit: 0=NONE, 1=EVEN, 2=ODD K checksum status: 0= checksum disable, 1= checksum enable Example: (Assume IN/T*=GND) command: $002 receive:!01406800 Address 01 is 9521 series module, 9600 BPS, N81, checksum disable command: $002 receive:!0240a801 Address 02 is 9521 series module, 115200 BPS, N81, checksum enable 23

18. $AAW Description: Read the CTS-STATUS of COM1 Syntax: $AAW[chk](Cr)!AAS invalid command?aa S: 0 CTS is inactive now, 1 CTS is active-high now AA= 2-character HEX module address Example: (Assume the AA of 9523 is 01 ) command: $01W receive:!010 The CTS of COM1 is inactive now command: $02W receive:!021 The CTS of COM3 is active HIGH now COM1(RS232) COM2(RS485) / COM3 / COM4 9521 AA AA / X / Downloard 9522 AA (AA/AA+1) / (AA+1) /Download 9523 AA (AA/AA+1/AA+2)/(AA+1)/(AA+2/Downlord) COM1(RS232) COM2(RS485)/ COM3/COM4/COM5/COM6/COM7/COM8 9527 AA/Download (AA/AA+1/AA+2/AA+3/AA+4/AA+5/AA+6)/ (AA+1)/(AA+2)/(AA+3)/(AA+4)/(AA+5)/(AA+6) Note : The CTS-status is valid for COM1 & COM3 24

19. $AAU Description: Read data from the COM port buffer Any 232 device should obey the rules of request-reply constitution. In other word, 232 devices are passive. If they have not received any commands, they will not send any message out. However, since the active device frequently appear, our controller is designed with a buffer to receive these message in this situation. Buffer operation rules: Rule 1: buffer is enabled after power-on. Rule 2: (delimiter) AA command (ref. Sec.3.10) disables buffer operation of that port Rule 3: after disabling buffer, the first incoming message will transfer to COM2. Then controller waits for 10 seconds. If no message has arrived, the buffer is enabled again. Syntax: $AAU[chk](CrLf) -> read first data in buffer AA 2-character HEX module address, from 00 to FF [chk] 2-character checksum, if checksum disable -> no [chk] (CrLf) End-Char invalid command No response: buffer is empty or syntax error or communication error or address error (data)[chk](crlf)?aa[chk](crlf)! is a delimiter character indicating a valid command? is a delimiter character indicating an invalid command AA=2-character HEX module address [chk]=2-character checksum, if checksum disabled -> no [chk] (CrLf)=End-Char 25

Example: Command: $01U(CrLf) Response: data1(crlf) Retrieves data1 from buffer Command: $01U(CrLf) Response: data2 Retrieves another data data2 from buffer Command: $02U(CrLf) Response: No data is in buffer Warning: (1)Change CrLf mode will corrupt the integrity of unread data in the buffer (2)Repeat this command several times to ensure the buffer is empty. 26