Download Print this page

Expert EX952N Series Quick Manual

Addressable rs422/485 to rs232 converter

Advertisement

Quick Links

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
COM1
RS232(5wire)
COM2
RS485
COM3
COM4
COM5
COM6
COM7
COM8
COM4:Program download RS232 (3wire) EX9521D/22D/23D.
COM1:Program download RS232 (5wire) EX9527D.
EX9522D
RS232(5wire)
RS485
x
RS232(3wire)
X
X
X
X
X
X
X
X
X
X
EX9523D
EX9527D
RS232(5wire)
RS232(5wire)
RS485
RS232(3wire)
RS232(3wire)
RS232(3wire)
RS232(3wire)
X
RS232(3wire)
X
RS232(3wire)
X
RS232(3wire)
X
RS232(3wire)
1
RS485

Advertisement

loading
Need help?

Need help?

Do you have a question about the EX952N Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Expert EX952N Series

  • Page 1 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.
  • Page 2 Pin assignment of EX9521/22/23’s COM1 connector (DB-9 Male): Name Description Data Carrier Detect Receive Data Transmit Data Data Terminal Ready Signal ground Data Set Ready Request To Send Clear To Send 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.
  • Page 3 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.
  • Page 4 Command Sets Command Response Description $AAA(addr) 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) Set the ID-string of COM-1/3/4/5/6/7/8...
  • Page 5 Address mapping 9521 9522 9523 9527 COM1(RS232) COM2(RS485) COM3(RS232) AA+1 AA+1 AA+1 COM4(RS232) AA+2 AA+2 COM5(RS232) AA+3 COM6(RS232) AA+4 COM7(RS232) AA+5 COM8(RS232) 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).
  • Page 6 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.
  • Page 7 1. $AAA(addr) Description: Read/Set the module address Syntax: $AAA(addr)[chk](Cr) is a delimiter character module address 00 to FF Response: valid command Invalid command 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...
  • Page 8: Aabn(Baud Rate)

    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) is a delimiter character module address 00 to FF 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 Response: valid command !AA(baud rate) Invalid command Example: (Assume the AA of EX9523 is 01) command: $01B0115200...
  • Page 9 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) is a delimiter character module address 00 to FF 0=Read/Set the data-bit of RS485, 1=Read/Set the data-bit of RS232 (data-bit): 7 or 8 Response: valid command !AA(data-bit) Invalid command Example: (Assume the AA of EX9523 is 01) command: $01D08 receive: !01...
  • Page 10 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) is a delimiter character module address 00 to FF 0=Read/Set the parity-bit of RS485, 1=Read/Set the parity-bit of RS232 (parity-bit): 0=NONE, 1=EVEN, 2=ODD Response: valid command !AA(data-bit) Invalid command Example: (Assume the AA of EX9523 is 01) command: $01P00 receive: !01 Changes parity-bit of RS485(COM2) to NONE...
  • Page 11 5. $AAON(stop-bit) Description: Read/Set the stop-bit of COM-3/4/5/6/7/8 Syntax: $AAPN(stop-bit)[chk](Cr) is a delimiter character module address 00 to FF 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 Response: valid command !AA(data-bit) invalid command Example: (Assume the AA of 9523 is 01) command: $02O12...
  • Page 12 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) is a delimiter character module address 00 to FF (ID): ID-string, max. 50 characters Response: valid command invalid command Example: (Assume the AA of 9523 is 01) command: $016Temperature! receive: !01 ID of RS232 (COM1) is Temperature1 command: $026HP34401A-1...
  • Page 13 7. $AA7 Description: Read the ID=-String of COM-1/3/4/5/6/7/8 Syntax: $AA7[chk](Cr) is a delimiter character module address 00 to FF Response: valid command !AA(ID) invalid command (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...
  • Page 14 8. $AAC(delimiter) Description: Read/Set the delimiter of COM-1/3/4/5/6/7/8 Syntax: $AAC(delimiter)[chk](Cr) is a delimiter character module address 00 to FF (delimiter): default delimiter is : Response: valid command !AA (delimiter) invalid command Example: (Assume the AA of 9523 is 01) command: $01C receive: !01: Reads the delimiter of RS232 (COM2) : command: $02C...
  • Page 15 9. $AAD Description: Read the delimiter of COM-1/3/4/5/6/7/8 Syntax: $AAD[chk](Cr) is a delimiter character module address 00 to FF Response: valid command !AA (delimiter) invalid command (delimiter): default delimiter is: Example: (Assume the AA of 9523 is 01) command: $01D receive: !01: Reads the delimiter of RS232 (COM1) : command: $02D...
  • Page 16 10. (delimiter)AA(bypass) Description: Bypass data-string to COM-1/3/4/5/6/7/8 Syntax: (delimiter) AA (bypass)[chk](Cr) module address 00 to FF (bypass): data-string send to COM-1/3/4 Response: valid command invalid command Example: (Assume the AA of 9523 is 01, the delimiters for COM1/3/4 are : / ;/*) command: :01abcde receive: !01 Sends abcde to COM1...
  • Page 17 11. $AAKN(CrLfMode) Description: Read/Set the checksum-status Syntax: $AAKN(CrLfMode)[chk](Cr) is a delimiter character module address 00 to FF 0= checksum disable, 1= checksum enable Response: valid command !AA(CrLfMode) invalid command 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...
  • Page 18 12. $AATN(CrLfMode) Description: Read/Set the end-char of command string Syntax: $AAK(CrLfMode)[chk](Cr) is a delimiter character module address 00 to FF 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 Response: valid command !AA(data-bit)
  • Page 19 13. $AAXV(CrMode) Description: Set the RTS-state of COM1 Syntax: $AAXV[chk](Cr) is a delimiter character module address 00 to FF 0= set RTS inactive, 1= set RTS to active_HIGH state Response: valid command invalid command Example: (Assume the AA of 9523 is 01) command: $01X0 receive: !01 Sets the RTS of COM1 to inactive state...
  • Page 20 14. $AA5 Description: Read resets status. Syntax: $AA5[chk](Cr) is a delimiter character module address 00 to FF Response: valid command !AAS invalid command Syntax error or communication error or address error it has not been reset since the last reset status read it has been reset since the last reset status read Example: command: $015...
  • Page 21 15. $AAF Description: Reads the firmware version number. Syntax: $AAF[chk](Cr) is a delimiter character module address 00 to FF Response: valid command !AA(number) invalid command number = 4- character for version number Example: command: $01F receive: !01A2.0 Module 01 version 2.0 command: $02F receive: !02A3.0 Module 02 version 3.0...
  • Page 22 16. $AAM Description: Reads the module name. Syntax: $AAM[chk](Cr) is a delimiter character module address 00 to FF Response: valid command !AA(name) invalid command 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...
  • Page 23 17. $AA2 Description: Reads the configuration code of COM2 (RS485) stored in EEPROM Syntax: $AA2[chk](Cr) is a delimiter character module address 00 to FF Response: valid command !AA40BDPK invalid command short-code for baud rate 1200 2400 4800 9600 19200 38400 57600 115200 Baudrate short-code data-bit: 7 or 8...
  • Page 24 18. $AAW Description: Read the CTS-STATUS of COM1 Syntax: $AAW[chk](Cr) is a delimiter character module address 00 to FF Response: valid command !AAS invalid command 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...
  • Page 25 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.
  • Page 26 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.

This manual is also suitable for:

Ex9521dEx9522dEx9523dEx9527d