Remote/Modular Data Acquisition CyMOD™ Series CM 4510 CM 4520 CM 4531 CM 4530 CM 4510: RS-422/485 Repeater Module CM 4520: RS-232 to RS-485 Converter CM 4531: RS-422/485 to RS-232 Remote Serial Device CM 4530: USB to RS-232/422/485 Converter USER’S MANUAL VER. 3 • OCT 2002 & No part of this manual may be reproduced without permission. CyberResearch®, Inc. www.cyberresearch.com 25 Business Park Dr.
©Copyright 2002 All Rights Reserved. October 2002 The information in this document is subject to change without prior notice in order to improve reliability, design, and function and does not represent a commitment on the part of CyberResearch, Inc. In no event will CyberResearch, Inc. be liable for direct, indirect, special, incidental, or consequential damages arising out of the use of or inability to use the product or documentation, even if advised of the possibility of such damages.
Table of Contents Chapter 1 Introduction.............................................................. 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9. 1.10. W HAT IS CYMOD?.........................................................................................1 OUTSTANDING FEATURES OF CYMOD .....................................................2 CYMOD 4000 SERIES PRODUCTS OVERVIEW ..............................................3 EIA RS-485 STANDARD ....................................................................
5.4 COMMAND SET ..............................................................................................54 5.4.1 Command and Response ........................................................................... 54 5.4.2 Summary of Command Set......................................................................... 56 5.4.3 Set Configuration ....................................................................................... 57 5.4.4 Read Configuration ................................................
1 Introduction 1.1 What is CYMOD? CYMOD is a series of data acquisition modules. It provides a total solution of the data acquisition network and control system. You can remotely control up to 256 CYMOD modules on RS-485 netowrk. All you need is to use a host computer, like a liPC (Personal Computer), with one RS-232 serial port for controlling the whole system. The maximum communication distance is 4000 feet from the host computer.
1.2 Outstanding Features of CYMOD l Industry standard networking All CYMOD modules use the RS-485 communication protocol for transmitting and receiving at high rates and over long distance. l Two-wire and multi-drop communication A single twisted pair of wires is used to transmit and receive data between modules. Multi-drop capability makes system configuration more flexible and makes it easy to set up a network. l High transfer speed CYMOD modules provide up to 115.
l Harsh environmental protection A surface coating covers on the PCB and electronic components of the CYMOD. It allows superior resistance to harsh environment such as humidity, salt spray and most harsh chemicals. 1.3 CYMOD 4000 Series products overview The CYMOD 4000 series provides the complete sets of data acquisition modules, including communication modules, analog input modules, analog output modules, and digital I/O modules.
♦ ♦ ♦ ♦ CM 4058: 28-channel programable digital I/O Module CM 4060: 4 -channel Relay Output & Digital Input Module CM 4063: 8 -channel Relay Output Module CM 4080: Counter/Frequency Input Module 1.4 EIA RS-485 Standard The EIA RS-485 interface is a communication standard developed for multi-dropped systems that can communicate at high rate over long distance. The standard RS-485 can operate at speed up to 10 M bps over cable length up to 4000 feet.
1.6 CYMOD RS-485 Network Configurations CYMOD 400 Series is designed under RS-485 multi -drop network architecture. Up to 256 CYMOD modules can be controlled in a multi -drop network. The limit of 256 is due to command code. The network can be connected by simple topology (Figure 1-1) or branch topology (Figure 1-2) or free topology (Figure 1-3). The CM 4520 and CM 4510 are the two basic communication modules to construct a RS-485 network. The CM 4520 is a RS-232 to RS-485/RS-422 converter.
CM 4520: RS -232 to RS-485/RS-422 Converter CM 4530: USB to RS-232/RS485/RS-422 Converter.
CM 4520: RS -232 to RS-485/RS-422 Converter CM 4530: USB to CYMOD Modules RS-232/RS485/RS-422 Converter.
1.7 Constructing a CYMOD Network 1. Set up a CM 4520 or CM 4530. 2. Connect the host computer with the CM 4520 or CM 4530. 3. Set up one or more CM 4510 if necessary. 4. Connect the CM 4510 to extend to RS-485 bus if necessary. 5. Install the CYMOD utility software or CM 4530 driver from disk. 6. Initialize the brand-new CYMOD modules. 7. Add the new CYMOD modules into RS-485 network. Refer to chapter 2 and chapter 4 for executing step 1 and 2. Refer to chapter 3 for executing step 3.
1.9. Shielding In case of increased interference, shielded bus cables are recommended for both intra and inter-module wiring . In addition, shielding should also be employed for power supply and signal cables. Shielding Recommendations: 1. The shield should be connected with protective grounding at each bus connection. 2. The shield should be applied several times along the course of the cable. 3. The shield should be applied directly to the computer, or to separate shield rails.
1.10. How to Calculate Checksum Value Format of CYMOD Commands (LeadingCode)(Addr)(Command)(Data)[Checksum] When checksum is enable then [Checksum] is needed, it is 2 -character.
2 CYMOD 4520 2.1. Overview What is CYMOD 6520 ? CYMOD 4520 is a RS-232 to RS-422/RS-485 converter, it converts the RS-232 signal to the RS-422/RS-485 signals. The CM 4520 can be considered an extension RS-422/RS-485 serial port for the host computer. A standard 9-pin D-type connector is used to connect the host computer and the CM 4520. Hence, the CM 4520 can connect with all kinds of PCs, IPCs or Notebook PCs, which employ a standard RS-232 interface.
Specifications of CYMOD 4520 u Input ♦ ♦ ♦ u Output ♦ ♦ ♦ u Isolation voltage : 5000 Vrms(between RS-422/RS-485 network and host computer) Bus ♦ ♦ u Interface :RS-485, differential, 2 half-duplex wires RS-422, differential, 4 full-duplex wires Speed (bps) : 1200(115.2K1), 2400, 4800, 9600, 19.2K, 38.4K, RTS Max RS-485 network bus distance : 4000 ft. (1200m) Isolation ♦ u Interface : standard RS-232 9-pin female D -type connector Speed (bps) : 1200(115.2K1), 2400, 4800, 9600, 19.2K, 38.
A Look at CYMOD 4520 & Pin Assignment (RS-232 IN) RS-232 to RS-485 (B)GND TX- RX+ TX- RTS CTRL 115.2K bps 2400 bps 4800 bps 9600 bps 19.2K bps 38.
Pin Definitions Pin # Signal Name Description 1 (Y)DATA+ RS-485 transmission line, positive 2 (G)DATA- RS-485 transmission line, negative 4 TX+ RS-422 transmission line, positive 5 TX- RS-422 transmission line, negative 6 RX+ RS-422 receiving line, positive 7 RX- RS-422 receiving line, negative 9 (R)+VS CYMOD power supply, +10V~+30V 10 (B)GND CYMOD ground -- RS-232 IN 9-pin RS-232 connector Connection Between Host and CM 4520 Host RS-232 RTS GND TXD RXD CM 4520 RS -232 ’ • Ž
Functional Block Diagram +5V Isolation +5V Power Regulator & Filter Power Input +10V ~ +30V Isolation GND GND DC to DC Converter SW1 RTS PTC Data+ TXD RXD TVS RS-422/RS-485 RS-232 Receiver / Driver Communication Switching Controller GND DataReceiver/Driver Rx+ RxTx+ Opto-Isolation Communication Tx- Direction Control TVS : Transient Voltage Suppresser PTC : Positive Temperature Coefficient CYMOD 4520 • 15
2.2 Setup Objective of Setup Normally, it is not necessary to setup the CYMOD 4520. The default configuration of this communication module is 9600 bps, and data format of 8 data bits with 1 start bit, 1 stop bit, and no parity check. Note that the data format is reserved to be compatible with other brand's communication port; it should not be modified if only CYMODs are used in a system. The baud rate can be configured according to the application's requirement.
SW1 Setting SW1 Default Setting (9600 bps) ON OFF 1 1 ON OFF OFF OFF OFF OFF OFF 2 OFF ON OFF OFF OFF OFF OFF 3 OFF OFF ON OFF OFF OFF OFF 2 3 4 4 OFF OFF OFF ON OFF OFF OFF 5 OFF OFF OFF OFF ON OFF OFF 5 6 OFF OFF OFF OFF OFF ON OFF 6 7 OFF OFF OFF OFF OFF OFF ON 7 Baud Rate RTS Control 1200 or 115.2k1 bps 2400 bps 4800 bps 9600 bps 19200 bps 38400 bps Note 1: 115.2kbps is supported by version A1.2 or later.
2.3. Installation Software Utility Software is not necessary for this module. Equipments for Installation A host computer with RS-232 port RS-232 cable (DB-9 female) DC Power supply (+10V~+30V) (NDP-243u is recommended) Wires (shielded and grounded are recommended) Installation Procedure 1. Make sure the host computer is power off. 2. Use RS-232 cable to connect CYMOD 4520 with host computer. 3. Wire the power supply to CYMOD. Note that the power supply should meet specifications. 4. Wire the other CYMOD.
2.4 Programming The CYMOD 4520 is a communication module, it does not have to be programmed.
3 CYMOD 4510 3.1. Overview What is the CYMOD 4510? The CM 4510 is the RS-422/RS-485 signal repeater used to extend or to lengthen the network distance. A CYMOD bus can connect up to 128 modules. The repeater should be used when module numbers exceed 128. In addition, the repeater should also be used when the length of a signal bus is more than 4000 feet.
Specifications of CYMOD 4510 u Input / Output ♦ Interface : RS-485, differential 2 half-duplex wires RS-422, differential, 4 full-duplex wires ♦ Speed (bps) : 1200(115.2K1) , 2400, 4800, 9600, 19.2K, 38.4K ♦ Data Format : 9 bits, 10 bits, 11 bits, or 12 bits ♦ Max RS-485 network bus distance : 4000 ft. (1200m) Note 1: 115.2k is supported by version A1.2 or later. u Bus ♦ u Max Loading : 128 CYMODs on a bus Power ♦ ♦ DC Power Supply : +10V to +30V Power Consumption : 0.
11 Rx- Rx+ Tx- Tx+ DATA- (G) DATA+ (Y) 20 CYMOD 4510 & Pin Assignment 22 • CYMOD 4510 10 (B)GND (R)+Vs RX- Rx+ 115.2K bps 2400 bps 4800 bps 9600 bps 19.2 K bps 38.
Pin Definitions Pin # 1 2 4 5 6 7 9 10 14 15 16 17 19 20 Signal Name (Y)DATA+ (G)DATATXIN+ TXINRXOUT+ RXOUT(R)+VS (B)GND RXINRXIN+ TXOUTTXOUT+ (G)DATA(Y)DATA+ Description RS-485 transmission line, positive RS-485 transmission line, negative RS-422 transmission input line, positive RS-422 transmission input line, negative RS-422 receiving output line, positive RS-422 receiving output line, negative CYMOD power supply, +10V~+30V CYMOD ground RS-422 receiving input line, negative RS-422 receiving input line,
3.2. Setup Objective of Setup Normally, the CYMOD 4510 only needs to be set up when the CYMOD bus exceeds 128 modules, or the bus distance exceeds 4000 feet. The default configuration of this communication module is 9600 bps and data format of 8 data bits with 1 start bit, 1 stop bit, and no parity check. Note that the data format is reserved to be compatible with other brand's communication ports, it should not be modified if only the CYMOD brand is used in a system.
SW1 Setting SW1 Default Setting (9600 bps) ON OFF 1 1 ON OFF OFF OFF OFF OFF 2 OFF ON OFF OFF OFF OFF 2 3 OFF OFF ON OFF OFF OFF 3 4 OFF OFF OFF ON OFF OFF 4 5 5 OFF OFF OFF OFF ON OFF 6 6 OFF OFF OFF OFF OFF ON Baud Rate 1200 or 115.2k1 bps 2400 bps 4800 bps 9600 bps 19200 bps 38400 bps Note 1: 115.2kbps is supported by version A1.2 or later.
3.3 Installation Software Utility Software is not necessary. Equipments for Installation A 2-wire RS-485 network or 4-wire RS-422 network. DC Power supply (+10V~+30V) Wires Installation Procedure 1. Make sure the original RS-422/RS-485 network is powered off. 2. Wire the power supply to CYMOD 4510. Note that the power supply should meet the specifications. 3. Wire other CYMODs to the extended RS-485 bus.
Application Wiring CYMOD module CYMOD 4510 Repeater DATA + DATA +Vs +DATA -DATA GND +Vs DATA+ DATAGND CYMOD module + DATA - DATA +Vs GND Local Power Supply +10 V to +30 V +Vs GND Figure 3 -1 CYMOD 4510 wiring. 3.4 Programming The CYMOD 4510 is a communication module, it does not have to be programmed.
4 CYMOD 4530 4.1. Overview What is CYMOD 4530 ? Universal Serial Bus (USB) is an open, royalty free, Plug and Play standard for PC peripheral connectivity, supported by leading computer, telecommunications and software companies. It behaves i n a similar fashion to conventional bus technology (serial, parallel, ISA… ), but it is faster, and requires no additional slots or IRQs.
l Half-Duplex RS-485 support l Up to 128 RS-485 devices on the bus l Auto direction flow control on RS-485 l High transfer Speed up to 115.
♦ ♦ Flashing: Data transfer OFF: No power applied u Cable: Type A to type B u Storage Temperature Range: -25 to 80 ° C u Operating Temperature Range: -10 to 70 ° C u Power Requirement: USB bus power u Power Consumption: 0.
A Look at CYMOD 4510 & Pin Assignment USB to RS-232/422/485 FGND CTS RTS RX TX RX- RX+ TX-/D- TX+/D+ CM 4530 Converter CYMOD 4530 • 31
Pin Definitions Pin # 1 2 3 4 5 6 7 8 9 10 1 2 3 4 Signal Name TX+/D+ TX-/DRX+ RXNC TX RX RTS CTS F.
4.2 Setup Objective of Setup Normally, it is not necessary to set up the CYMOD 4520. The default configuration of this communication module is in RS-485 mode, supporting a baud rate of 75 to 115200, with data format including 5, 6, 7, 8 or 16 bits. Its stop bit support 1, 1.5 or 2 bits, parity types are None, Odd, Even, Mark and Space. Note that the data format is reserved to be compatible with other brand's communication ports, it should not be modified if only CYMOD brand is used in a system.
Default Setting l RS-485 Interface DIP Switch Setting RS-485 (Default) RS-422 RS-232 34 • CYMOD 4530
4.3 Installation Software Utility Install the CM 4530 Driver from the installation CD. Equipments for Installation A computer with USB port Window 98 or Win2000 operation system USB host controller installed on the system USB cable (type A to type B) u Windows 98 Installation: 1. Plug the CM 4530 into the computer USB port or a USB hub. The New Hardware Wizard appears, click on Next to continue.
2. In the dialog box that comes up, leave the default choice (Search for the best drivers for your device), click on Next to continue. 3. In the dialog box that comes up, select the CD-ROM check box, and click on Next to continue.
4. In the dialog box that appears click Next to continue. 5. When the dialog box appears with the Cyber USB driver displayed as the preferred device driver, click Next. 6. When the PC copies the flies over to its hard drive successfully, click Finish.
Installation Complete: Now you have installed CM 4530 on your system. You will see a new USB serial device in Control à Device Manager. The CM 4530 plays a role as standard COM port, you can use any UART serial communication utility (eg. HyperTerminal), or call standard windows API for COM.
u Windows 2000 Installation 1. Plug the CM 4530 into the computer USB port or a USB hub 2. Then there will be a dialog box as following 3. Please click the next step, and it will show as Please select the item “Display a list of the known drivers so that I can choose a specific driver" and click Next.
4. When the Hardware Type dialog box appears, choose the item “Com & LPT.
5. Choose the driver called Cyber USB-to-Serial Com Port. 6. A dialog box will then appear with instruction that the selected device driver is ready to be installed. Click the Next button. 7. You can now install the CM 4530 on your host.
7.
Application Wiring RS-485 For RS-485 Transmission Distance Up to 1,200m (4,000 ft.) Load more than 128 CYMOD I/O modules or more than 32 others RS-485 devices DATA+ DATA- RS-485 Device ND-653 0 DATA+ DATA+ DATA- DATA- DATA+ DATA+ DATA- DATA- ..... .....
RS-422 ForRS-422TransmissionDistanceUpto1,200m(4,000ft.
4.4 Programming The CYMOD 4530 is a communication module, it does not have to be programmed.
5 CYMOD 4531 5.1. Overview What is CYMOD 4531? CYMOD 4531 is an RS-422/485 to RS-232 converter. It converts the RS-422/485 communication signal to the RS-232 signals which allows RS-232 devices to link up to R S-422/485 multi -drop networks.
Specifications of CYMOD 4531 u Transmission Speed (bps): 1,200 ~ 115,200 (RS-422/485 and RS-232 can set to different baud rate) u Data Format: (RS-232) (RS-422/485 is fixed to 1 stop bit, non-parity, 8 data bits format) ♦ ♦ ♦ u RS-232: ♦ ♦ u 9 pin D-sub female connector Support RXD, TXD, RTS, CTS signals RS-422: ♦ ♦ ♦ u Stop bits: 1, 2 Parity type: None, Even, Odd Data bits: 5, 6, 7, 8 Differential 4 full duplex wires Support TX+, TX-, RX+, RX- signals Surge protection on signal pins RS-485: ♦
A Look at CYMOD 4531 & Pin Assignment (RS- 232 ) Addressable RS-422/485 48 • CYMOD 4531 (B)GND (R)+Vs RXFGND RX+ To RS-232 Converter TX- TX+ DEFAULT* (G)DATA- (Y) DATA+ CM 4531
Pin Definitions Pin # 1 2 3 4 5 6 7 8 9 10 Signal Name (Y)DATA+ (G)DATADEFAULT* TX+ TXRX+ RXFGND (R)+VS (B)GND RS-232 Description RS-485 transmission line, positive RS-485 transmission line, negative Initial state setting RS-422 transmission line, positive RS-422 transmission line, negative RS-422 receiving line, positive RS-422 receiving line, negative Field ground Power supply, +10V~+30V Ground 9-pin RS-232 connector *The module is in DEFAULT mode when DEFAULT* pin connected to GND while applying power
Functional Block Diagram +5V Isolation +5V Power Regulator & Filter Power Input +10V ~ +30V Isolation GND GND DC to DC Converter SW1 TXD RXD RTS TVS PTC Data+ RS- 422/RS-485 RS-232 Receiver / Driver Communication Switching Controller DataReceiver/Drive Rx+ RxTx+ GND Opto-Isolation Communication Direction Control TVS : Transient Voltage Suppresser PTC : Positive Temperature Coefficient 50 • CYMOD 4531 Tx-
5.2 Initialization & Installation Software Installation 1. If CYMOD Administration is installed, skip the subsequent steps. 2. Backup your software diskette. 3. Insert the Administration disc into CD-ROM. 4. Change the drive path of CD-ROM to reflect your CD-ROMs assigned drive letter. 5. Find the setup of CYMOD Administration and run it. 6. Please follow the steps of setup program to succesfully install the Administration software.
Therefore, the communication between host and the module can easily be set with the same configuration, making the initialization of a module possible no matter what configuration is set. Initialization Equipments ♦ ♦ ♦ ♦ ♦ Host computer w ith an RS-232 port. An installed RS-485 module (CYMOD 4520 or 4530) with 9600 baud rate. The brand new CYMOD 4531 Power supply (+10 to +30 VDC) for CYMOD modules Administration utility software Note1: Never Connect the DRFAULT* pin to Vs or power source.
Initialization Wiring 5.3. Install Network a New CYMOD 4531 to a Existing Equipments for Install a New Module ♦ ♦ ♦ A existing CYMOD network New CYMOD modules. Power supply (+10 to +30 VDC). Installation Procedure 1. Configure the new CYMOD module according to the initialization procedure in section 2.2. 2. The baud rate and check-sum status of the new module must match with the existing RS-485 network. The address ID must not conflict with other CYMOD modules on the network. 3.
Application Wiring RX+ TX+ RX- TX- TX+ RX+ CTS RTS TX- 6 7 8 9 1 2 3 4 5 TXD RXD RTS CTS GND 6 7 8 9 1 2 3 4 5 RXD TXD GND RX- Host with RS-422/485 I/F RS-232 Device DATA+ DATA+ DATA- DATA- CM 4524 5.4 Command Set 5.4.1 Command and Response Introduction The CYMOD command is composed by numbers of characteristics, including the leading code, address ID, the variables and a carriage return to indicate the end of a command. The host computer can command only one CYMOD module.
(Leading Code) (Addr) (Command Variable) [Data] [Checksum] <> Leading Code is the first character of the CYMOD command. All CYMOD commands need a command leading code, such as %,$,#,@,...etc. 1- character Module’s address ID, the value is in the range of 00 - FF (Hexadecimal) if no specified in the following. 2- character Items indicate command codes or value of variables. Variable length Some output commands need data. Variable length Checksum in brackets indicates an optional parameter.
Response of CYMOD Commands The response message depends on CYMOD command. The response is also composed with several characteristics, including leading code, variables, and carriage return for ending. There are two kinds of leading code for response message: ”!“ or ”>“ means valid command, and ”?“ means invalid. By checking the response messages, a user can monitor device status. Note : Under the following conditions, there will be no response message. 1. The specified address ID does not exist. 2.
Special Commands Read Command Leading Code Setting Change Command Leading Code Setting Set Host Watchdog / Safety Value Read Host WatchDog / Safe Value Host is OK ~(Addr)0 ~(Addr)10(C1)(C2)(C3) (C4)(C5)(C6) ~(Addr)2(Flag)(TimeOut) (SafeValue) ~(Addr)3 ~** 5.4.3 Set Configuration @Description Configure the basic setting about address ID, baud rate, and checksum. @Syntax %(OldAddr)(NewAddr)(TypeCode)(BaudRate)(DataFlag) % (OldAddr) (NewAddr) (TypeCode) (BaudRate) (DataFlag) W. bit 3 W. bit 2 W.
1 W. bit 0 X. bit 3 X. bit 2 X. bit 1 X. bit 0 Y. bit 3 Y. bit 2 Y. bit 1 Y. bit 0 Z. bit 3 Z. bit 2 Z.
@Example User command: %013040662103 Response: !30 Item % 01 30 Meaning (Leading Code) (OldAddr) (NewAddr) 40 6 2103 (TypeCode) (BaudRate RS-422/485) (BaudRate RS-232) (DataFlag) Carriage return 6 for Description Command leading code. Original address ID is 01H. New address ID is 30H (Hexadecimal). 6521 module. Baud rate is 9600 for RS-422/485. for Baud rate is 9600 for RS-232. Addressable mode Checksum is dis able RS-485 interface Append Non-parity 8 data bit 0x0D.
5.4.4 Read Configuration @Description Read the configuration of module on a specified address ID. @Syntax $(Addr)2 $ (Addr) 2 Command leading code Address ID. Command code for reading configuration @Response !(Addr)(TypeCode)(BaudRate)(DataFlag) or ?(Addr) ! ? (Addr) (TypeCode) (BaudRate) (DataFlag) Command is valid. Command is invalid. Address ID. It always be 40 (Hex) Current setting of communication baud rate of RS-422/485 and RS-232, refer to Table 3-1 for details.
5.4.5 Read Module Name @Description Read module‘s name. @Syntax $(Addr)M $ (Addr) M Command leading code. Address ID Read module name @Response !(Addr)(ModuleName) or ?(Addr) ! ? (Addr) (ModuleName) Com mand is valid. Command is invalid. Address ID. CYMOD module's name. @Example User command: $30M Response: !306521 ! 30 6521 Command is valid.
5.4.6 Read Firmware Version @Description Read CYMOD module‘s firmware version. @Syntax $(Addr)F $ (Addr) F Command leading code. Address ID Read module firmware version. @Response !(Addr)(FirmRev) or ?(Addr) ! ? (Addr) (FirmRev) Command is valid. Command is invalid. Address ID. CYMOD module‘s firmware version. @Example User command: $30F Response: !30E1.00 ! 30 E1.00 62 • CYMOD 4531 Command is valid.
5.4.7 Soft Reset @Description Reset the module by software command @Syntax $(Addr)RS $ (Addr) RS Command leading code. Address ID Soft Reset Command @Response !(Addr) or ?(Addr) ! ? (Addr) Command is valid. Command is invalid. Address ID.
5.4.8 Reset Status @Description Checks the reset status of module at specified address to see whether it has been reset since the last reset status command was issued to the module. @Syntax $(Addr)5 $ (Addr) 5 Command leading code. Address ID Reset Status Command @Response !(Addr)(Status) or ?(Addr) ! ? (Addr) (Status) Command is valid. Command is invalid. Address ID. 0 : It has not been reset since the last reset status command was issued.
5.4.9 Set RTS Status @Description Set the RS-232 RTS signal to specified value. @Syntax $(Addr)0(RTS Status) $ (Addr) 0 (RTS Status) Command leading code. (1-character) Address ID (2-character) Set RTS Status command 0 : Set RTS Status to 0 1: Set RTS Status to 1 @Response !(Addr) or ?(Addr) ! ? (Addr) Command is valid Command is invalid. Address ID.
5.4.10 Read RTS Status @Description Read the RS-232 RTS status. @Syntax $(Addr)3 $ (Addr) 3 Command leading code. (1-character) Address ID (2-character) Read RTS status command @Response !(Addr)(RTS Status) or ?(Addr) ! ? (Addr) (RTS Status) Command is valid Command is invalid. Address ID.
5.4.11 Read CTS Status @Description Read the RS-232 CTS status. @Syntax $(Addr)1 $ (Addr) 1 Command leading code. (1-character) Address ID (2-character) Read CTS status command @Response !(Addr)(CTS Status) or ?(Addr) ! ? (Addr) (CTS Status) Command is valid Command is invalid. Address ID.
5.4.12 Set Device ID @Description Set the ID of RS-232 network. @Syntax $(Addr)6(Device ID) $ (Addr) 6 Device ID Command leading code. (1-character) Address ID (2-character) Set Device ID command RS-232 Device ID for up to 24 bytes @Response !(Addr) or ?(Addr) ! ? (Addr) Command is valid Command is invalid. Address ID.
5.4.13 Read Device ID @Description Read the ID of RS-232 network. @Syntax $(Addr)7 $ (Addr) 7 Command leading code. (1-character) Address ID (2-character) Read Device ID command @Response !(Addr)(Device ID) or ?(Addr) ! ? (Addr) Device ID Command is valid Command is invalid. Address ID.
5.4.14 Set Delimiter @Description Set the delimiter character for the Data Pass command. @Syntax $(Addr)C(Delimiter) $ (Addr) C Delimiter Command leading code. (1-character) Address ID (2-character) Set Delimiter command 8 special character: :[]^{}|~ can be used for delimiter @Response !(Addr) or ?(Addr) ! ? (Addr) Command is valid Command is invalid. Address ID.
5.4.15 Read Delimiter @Description Read the delimiter character. @Syntax $(Addr)D $ (Addr) D Command leading code. (1-character) Address ID (2-character) Read delimiter command @Response !(Addr)(Delimiter) or ?(Addr) ! ? (Addr) Delimiter Command is valid Command is invalid. Address ID.
5.4.16 Data Pass @Description Pass the data to RS-232 device. @Syntax (Delimiter)(Addr)(Data) (Delimiter) (Addr) Data Data pass delimiter character Address ID (2-character) Data to the RS-232 device, up to 80 bytes of data can be passed by one command @Response No response @Example User command: {30ABCDEFGHIJ Response: { 30 ABCDEF ABCDEF 72 • CYMOD 4531 Use { as Data Pass delimiter Address ID Data pass to RS-232 device (if X.0 = 0, don’t append ) Data pass to RS-232 device (if X.
5.4.17 Open/Close Data Gate @Description Set the CM 4530 as non-addressable mode or addressable mode. @Syntax &(Addr)8(Data Gate Mode) & (Addr) 8 Data Mode Gate Command leading code.
5.4.18 Read Command Leading Code Setting @Description Read command leading code setting status. @Syntax ~(Addr)0 ~ (Addr) 0 Command leading code. Address ID Read command leading code setting. @Response !(Addr)(Status)(C1)(C2)(C3)(C4)(C5)(C6) or ?(Addr) ! ? (Addr) (Status) (C1) (C2) (C3) (C4) (C5) (C6) 74 • CYMOD 4531 Command is valid. Command is invalid.
@Example User command: ~300 Response: !3000$#%@~* Command leading code setting is $#%@~* for module address ID 30, current status is factory default setting. 5.4.19 Change Command Leading Code Setting @Description User can use this command to change command leading code setting as desired. @Syntax ~(Addr)10(C1)(C2)(C3)(C4)(C5)(C6) ~ (Addr) 10 (C1) (C2) (C3) (C4) (C5) (C6) Command leading code. Address ID, range (00 - FF). Change command leading code setting.
@Examples User command: ~300 Response: !3000$#%@~* User command: ~3010A#%@~* Response: !30 User command: A30F Response: !30E1.00 Read leading code setting is $#%@~* for module address 30 and change leading code $ to A, then use A30F to read firmware version of module on address 30. *** WARNING *** We do not recommend users change the default setting of leading code. A leading code change shouldd only be attempted when th e command conflicts with other devices on the network.
5.4.20 Set Host Watchdog Timer @Description Set host watchdog timer, module will change to safety state when host is failure. @Syntax ~(Addr)2(Flag)(TimeOut)00 ~ (Addr) 2 (Flag) (TimeOut) (SafeValue) Command leading code. Address ID, range (00 - FF). Set host watchdog timer and safe state value.
5.4.21 Read Host Watchdog Timer @Description Read host watchdog timer setting and the safety value. @Syntax ~(Addr)3 ~ (Addr) 3 Command leading code. Address ID Read host watchdog setting and module safety state value. @Response !(Addr)(Flag)(TimeOut)00 or ?(Addr) ! ? (Addr) (Flag) (TimeOut) Command is valid. Command is invalid. Address ID, range (00 - FF). 0 : Host watchdog timer is disable 1 : Host watchdog timer is enable(1-character) Host timeout value. Range 01 - FF.
5.4.22 Host is OK @Description When host watchdog timer is enabled, host computer must send this command to every module before timeout, otherwise “host watchdog timer enable” module‘s output value will go to safety state output value. @Syntax ~** ~ ** Command leading code. Host is OK. @Response Note : Host is OK command has NO response.
6 Software Utility 6.1 Software Installation 1. Load the All-in-One CD into your CD-ROM drive. 2. Select and open CYMOD. 3. Select and open the CYMOD 4000 Admin Utility. 4.Select the driver you want to install and follow the setup instructions on the screen. 6.2 How to Execute CYMOD Administration Requirements: 1. At least one RS-232 communication port. 2. Microsoft Windows(version 3.1, 95/98/NT) 3. At least 2MB Hard Drive Space 4. A VGA monitor(optional) 5.
6.3 CYMOD Administration Function Overview Default RS-232 Communication Port Setting. l Communication Port : COM2 l Baud Rate : 9600 l Data Bits :8 l Stop Bits :1 l Parity : None 6.3.1 Change RS-232 Communication Port Setting. Choose “Network-ComPort” to change setting.
6.3.2 Search all exist CYMOD modules Choose “Network-Search” to search all exist CYMOD modules in the current RS-485 network. You can change search addresses range from here.
6.3.3 Using Operations Operation-Terminal : Operation-Configuration : Operation-Monitor: Operation-Diagnosti c: Operation-Calibration: Operation-Model Number: Terminal Emulation allows users to input commands and get a response message. Select one exist CYMOD module and select Configuration to adjust this module‘s common and private setting. Monitor all the module function on the network. Diagnostic module‘s function.
Term ICON for Operation-Terminal You can control all modules remotely using command mode, or by testing your modules from this Terminal.
Operation-Run Batch : Operation-Step Batch : Operation-Display Batch: Operation-Repeat : Diag Run batch command file in BATCH.CMD user can edit this text file. Run the batch command step by step. Display content of BATCH.CMD Repeat one command n times ICON for Operation-Diagnostic This dialog is different by different-fuction modules.
Cal ICON for Operation-Calibration This dialog is different by different fuction modules.
6.3.4 Save and Print CYMOD Module Information File-Save : File-Print File-Exit : : Save all exist CYMOD module information as displayed in the listbox in the current RS-485 network. Print the CYMOD module information in the listbox. Quit th e CYMOD Administration Utility.
6.3.
Troubleshooting and Maintenance Preventive Maintain l Periodically check for loose connections. ATTENTION: To avoid electircal shock or unintended operation of the module, remove incoming power before checking connections. Using the LED Indication The LED provides status information on module operation. LED OFF What it Means: Module is not receiving input power by loosing wiring. ON(RED) Flashing Normal receiving state. Normal transmitting state.
Product Service Diagnosis and Debug CyberResearch, Inc. maintains technical support lines staffed by experienced Applications Engineers and Technicians. There is no charge to call and we will return your call promptly if it is received while our lines are busy. Most problems encountered with data acquisition products can be solved over the phone. Signal connections and programming are the two most common sources of difficulty.
Warranty Notice CyberResearch, Inc. warrants that this equipment as furnished will be free from defects in material and workmanship for a period of one year from the confirmed date of purchase by the original buyer and that upon written notice of any such defect, CyberResearch, Inc. will, at its option, repair or replace the defective item under the terms of this warranty, subject to the provisions and specific exclusions listed herein.
ii