User’s Manual Yokogawa Electric Corporation DAQSTATION CX1000/CX2000 Communication Interface IM 04L31A01-17E 6th Edition
Thank you for purchasing the CX1000/CX2000 (CX). This user’s manual contains useful information about the communication function (Ethernet/serial interface) of the CX. To ensure correct use, please read this manual thoroughly before beginning operation. The following manuals are also provided in addition to this manual. Read them along with this manual. Electronic Manuals Provided on the Accompanying CD-ROM Manual Title Manual No.
Trademarks • vigilantplant, DAQSTATION, and Daqstation are registered trademarks of Yokogawa Electric Corporation. • Microsoft and Windows are registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. • Adobe and Acrobat are registered trademarks or trademarks of Adobe Systems incorporated. • Company and product names that appear in this manual are registered trademarks or trademarks of their respective holders.
Safety Precautions About This Manual • Please pass this manual to the end user. • Read this manual thoroughly and have a clear understanding of the product before operation. • This manual explains the functions of the product. It does not guarantee that the product will suit a particular purpose of the user. • Under absolutely no circumstances may the contents of this manual be transcribed or copied, in part or in whole, without permission.
Safety Precautions WARNING Power Supply Ensure that the source voltage matches the voltage of the power supply before turning ON the power. Protective Grounding Make sure to connect the protective grounding to prevent electric shock before turning ON the power. Necessity of Protective Grounding Never cut off the internal or external protective earth wire or disconnect the wiring of the protective earth terminal.
How to Use This Manual Structure of the Manual This user’s manual consists of the following sections. Chapter 1 Functional Explanation Describes the relationship between the communication functions and the interface and gives an overview of the communication functions. Chapter 2 Ethernet Interface Describes the specifications and setup procedures of the Ethernet interface. Describes the FTP client function, Web server function, and e-mail transmission function.
How to Use This Manual Conventions Used in This Manual Unit • k: Denotes “1000.” Example: 5 kg, 100 kHz • K: Denotes “1024.” Example: 640 KB (storage capacity of floppy disks) Symbols The following symbols are used in this manual. A symbol affixed to the instrument. Indicates danger to personnel or instrument and the operator must refer to the user’s manual. The symbol is used in the User’s Manual to indicate the reference.
Names and Uses of Parts and Setup Procedures Using the Operation Keys Front Panel CX1000 ESC key Press this key to return to the previous screen or cancel the new settings. LCD Arrow keys Press these keys to move between setup items displayed on the screen. DISP/ ENTER START STOP USER FUNC Soft keys Press these keys to select the menu displayed on the screen. ESC MENU DISP/ENTER key Press this key when confirming the setting or when closing the entry box.
Names and Uses of Parts and Setup Procedures Using the Operation Keys Rear Panel CX1000 Ethernet interface connector A connector used for Ethernet communications. Comes standard with the instrument. RS-232 interface connector (option) A serial communication connector. RS-422/485 interface terminal (option) Serial communication terminals. CX2000 Ethernet interface connector A connector used for Ethernet communications. Comes standard with the instrument.
Names and Uses of Parts and Setup Procedures Using the Operation Keys Setup Procedure Using Operation Keys Below is the basic flow of operations when changing the settings of the CX2000 using the front panel keys. Settings related to communications are configured in the basic setting mode. The procedure used to enter the basic setting mode is described in the procedures for each item.
Names and Uses of Parts and Setup Procedures Using the Operation Keys 6. The operation varies depending on whether you wish to confirm or cancel the changed settings (those setup item boxes that are yellow) as follows. • When confirming the changes Press the DISP/ENTER key. The settings that were changed are confirmed, and the yellow setup boxes turn white. At the same time, the cursor moves to the setup item at the upper left corner of the display (the first setup item on the display).
Contents 1 Safety Precautions ............................................................................................................ iii How to Use This Manual ................................................................................................... v Names and Uses of Parts and Setup Procedures Using the Operation Keys ................. vii Chapter 1 Functional Explanation 1.1 1.2 1.3 Overview of the Communication Functions ...............................................................
Contents Chapter 3 Serial Interface 3.1 3.2 3.3 3.4 3.5 3.6 Serial Interface Specifications ....................................................................................... 3-1 RS-232 Specifications ................................................................................................... 3-1 RS-422/485 Specifications ............................................................................................
Contents Chapter 6 Command 6.1 6.2 6.3 6.4 6.5 6.6 6.7 IM 04L31A01-17E Command Syntax .......................................................................................................... 6-1 Command Syntax .......................................................................................................... 6-1 Response ....................................................................................................................... 6-3 A List of Commands ...............................
Contents 6.8 6.9 6.10 6.11 6.12 6.13 6.14 6.15 Basic Setting Commands (Control) ............................................................................. 6-49 Control Action, Input Setting ........................................................................................ 6-49 Contact Input Registration/AUX ................................................................................... 6-50 Output Processing .....................................................................................
Contents 7.3 7.4 Output Format of BINARY Data ................................................................................... 7-26 Measured/Computed/Control Data and FIFO Data ..................................................... 7-26 Display Data ................................................................................................................ 7-28 Event Data ...................................................................................................................
Contents Appendix Appendix 1 Appendix 2 Appendix 3 Appendix 4 Appendix 5 Appendix 6 Appendix 7 Appendix 8 ASCII Character Codes .................................................................................. App-1 Output Flow of Internal Memory Data ............................................................ App-2 Display Data Example .................................................................................... App-2 Output Flow of the File or the File List on the External Storage Medium ..
Chapter 1 Functional Explanation 1.1 Overview of the Communication Functions 1 Ethernet Interface Function Devices and Software Used on the Network Protocol E-mail transmission Web server FTP client FTP server SMTP HTTP FTP FTP Setting/Measurement server Dedicated protocol Maintenance/Test server Dedicated protocol DAQSTANDARD for CX, etc.
1.2 Ethernet Communication Function The CX comes with an Ethernet interface as standard. The interface can be used to connect to a preexisting network (Internet or Intranet). By connecting to a network, you can fully utilize the network function. Some of the functions include setting of the CX from your PC, remote monitoring using the Web browser, alarm notification using e-mail, and FTP transfer of data files. To use this function, you must connect to a network and set the Ethernet interface properly.
1.2 Ethernet Communication Function 1 PC Functional Explanation CX E-mail transmission Ethernet E-mail reception Internet Portable phone FTP server Note • • • • For the procedure in setting the e-mail transmission function, see section 2.11. For e-mail transmission examples, see section 2.13. For the procedure to start/stop e-mail transmission, see section 2.13. You can test to see whether e-mail messages are sent properly. The test results can be confirmed on the e-mail log display.
1.2 Ethernet Communication Function PC Web browser CX Web server HTTP communications Ethernet The information that is displayed on the Web browser can be updated manually or automatically. The displayed information is as follows: • Alarm summary. • Values of all channels (measurement, computation, and control channels). • Various logs (message log, error log, key login/logout log, FTP file transfer log, e-mail log, and Web browser operation log).
1.2 Ethernet Communication Function FTP client CX 1 Transfer destination (FTP server) Transfer log information (FTP log) Functional Explanation Data file to be transferred CX Ethernet Secondary Primary FTP server Note • For a description of setting the FTP client function, see sections 2.3 and 2.5. • You can test to see whether files are sent properly to the FTP server. The test results can be confirmed on the FTP log display. For the operating procedure of the FTP test, see section 2.6.
1.2 Ethernet Communication Function Setting/Measurement Server The settings on the CX can be changed or the data on the CX can be output to your PC, by sending commands from the PC using programs such as BASIC. The following types of data can be output using commands. • Measured, computed, and control data. • Data in the internal memory. • Files on the external storage medium. • Setup information and status byte. • Operation errors and communication log.
1.2 Ethernet Communication Function 1 DAQSTANDARD for CX IM 04L31A01-17E 1-7 Functional Explanation By using the DAQSTANDARD for CX, you can easily use the setting/measurement server, maintenance/test server, and instrument information server that are connected via the Ethernet network without having to create programs such as BASIC. The software enables setting of the CX and displaying of data from a PC connected to the network. Below are the functions provided by the DAQSTANDARD for CX.
1.2 Ethernet Communication Function Other Functions When carrying out communications via the Ethernet interface, the following additional functions can be used. User Control User control for connection can be set up to prevent false access to the CX when using the functions of the setting/measurement server, maintenance/test server, and FTP server. User control is performed by registering user names and passwords beforehand and entering the appropriate user name and password at the time of connection.
1.3 Serial Communication Function 1 To use this function, the serial interface must be set to match the settings of the connected instrument. Below are settings required in each protocol.
1.3 Serial Communication Function Modbus Master You can connect other instruments to the CX as Modbus slaves and load measured data and other data. The loaded data can be handled as communication input data of the computation function option (/M1) on the computation channel. The CX acting as a Modbus master use Modbus commands to periodically retrieve data from the register of Modbus slave devices. The retrieved data is used as communication input data on the CX.
1.3 Serial Communication Function 1 Modbus Slave To perform communications, the Modbus master device always sends a command message to the CX first. A command message from the Modbus master includes information such as the destination Modbus slave address (the address of serial communication settings), the function code (operation command such as read and write), and the register address.
1.3 Serial Communication Function Ladder Communications You can connect the CX to a host such as a PLC and use the ladder communication protocol to read and write data in the CX register from the host. In ladder communications, commands from the host are used to send the destination station number (the address of serial communication settings), the D register number, and the write data (setting for control).
1.3 Serial Communication Function 1 Communication with PCs The settings on the CX can be changed or the data on the CX can be retrieved into your PC, by sending commands from the PC using programs such as BASIC. The commands that can be used for this function are, setting commands, basic setting commands, and output commands. For details, see chapter 6. In addition, the DAQSTANDARD for CX can be used through this connection method.
Chapter 2 Ethernet Interface 2.1 Ethernet Interface Specifications Basic Specifications 2 Conforms to IEEE 802.3 (Ethernet frames are of DIX specification) Transmission media 10BASE-T Protocol TCP, IP, UDP, ICMP, ARP, SMTP, HTTP1.0, and FTP Maximum Number of Simultaneous Connections/Number of Simultaneous Users The following table shows the maximum number of simultaneous connections, the number of simultaneous users, and the port numbers of the CX.
2.2 Connecting of the Ethernet Interface When Connecting Only the CX and Your PC Connect the CX and your PC using a hub as shown below (the figure below is an example using the CX2000). 10BASE-T straight cable Ethernet interface connector (Use a hub to connect multiple devices.
2.3 Configuring of the Ethernet Interface Explanation IM 04L31A01-17E 2-3 2 Ethernet Interface To use the Ethernet communication functions of the CX, the following settings are required: Setting the IP Address, Subnet Mask, Default Gateway, and DNS Consult your system or network administrator in setting parameters such as the IP address, subnet mask, default gateway, and DNS (domain name system). • IP address • Set the IP address to assign to the CX. The default setting is “0.0.0.0.
2.3 Configuring of the Ethernet Interface • Domain suffix When the IP address corresponding to the server name with the domain name of the previous section is not found, the system may be set up to search using a different domain name. In such case, set the domain name to be searched following the “domain name” of the previous section as a domain suffix. • Enter the name using up to 64 alphanumeric characters. • You can specify up to two domain suffixes, primary and secondary.
2.3 Configuring of the Ethernet Interface Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. For the procedure of entering characters and numbers, see the user’s manual IM 04L31A01-01E or 04L31A01-03E. 1. 3. 4. CX1000 Communication (Ethernet (IP_Address)) setting display CX2000 Communication (Ethernet, Serial) setting display On models without the serial communication function, [Serial] and [Memory out] parameters do not appear. Setting the IP Address 5.
2.3 Configuring of the Ethernet Interface 11. Enter the subnet mask for the network to which the CX is to be connected. 12. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The subnet mask value that you entered appears in the [Subnet mask] box. Setting the Default Gateway Set the default gateway according to the system or network to which the CX belongs. If the subnet mask is not required, proceed to “Setting the DNS (Domain Name System).” 13.
2.3 Configuring of the Ethernet Interface 21. Enter the address of the primary DNS server in the dialog box. 22. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The address that you entered is displayed in the [Primary] box. Ethernet Interface • Setting the Secondary DNS Server Address Enter the information if the system or network to which the CX belongs uses a secondary DNS server. If this is not necessary, proceed to step 25. 23.
2.3 Configuring of the Ethernet Interface 35. Enter the primary domain suffix in the entry box. 36. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The domain suffix that you entered is displayed in the [Primary] box. • Setting the Secondary Domain Suffix Set the information if a secondary domain suffix is present. If this is not necessary, proceed to step 39. 37.
2.4 Checking the Ethernet Interface Connection Checking the Connection on the Rear Panel of the CX Indicator Connection status of the Ethernet interface Illuminated (green) The Ethernet interface is electrically connected. Blinking (green) Data transmission in progress. Not illuminated The Ethernet interface is not electrically connected.
2.5 Setting the FTP Client (Setting the Automatic Transfer of Display, Event, and Report Data Files) Explanation By setting this function, the display/event data files created in the internal memory of the CX or report data files can be automatically transferred using FTP at the time the files are created. To use this function, however, the Ethernet interface must be configured as described in section 2.3.
2.5 Setting the FTP Client (Setting the Automatic Transfer of Display, Event, and Report Data Files) • Port number Enter the port number of the file transfer destination FTP server in the range of 1 to 65535. The default value is 21. Example When transferring files to the “data” directory in the “home” directory on an FTP server having a UNIX file system /home/data Note If the file transfer to both primary and secondary servers fails, the CX aborts the file transfer.
2.5 Setting the FTP Client (Setting the Automatic Transfer of Display, Event, and Report Data Files) Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. For the procedure of entering characters and numbers, see the user’s manual IM04L31A01-01E or IM04L31A01-03E. 1. 2. 3. 4. Press the MENU key. The setting mode (control) display appears. Press the FUNC key for approximately 3 s. The basic setting menu appears.
2.5 Setting the FTP Client (Setting the Automatic Transfer of Display, Event, and Report Data Files) Setting the Primary FTP Connection On the CX1000, if you confirmed the settings in step 8, press the ESC key to return to the communication function setting menu of step 4. Then, press the [#4 (FTP connection)] soft key. 9. Use the arrow keys to move the cursor to the [FTP connection] box. Ethernet Interface 10. Press the [Primary] soft key. • Setting the FTP server name 11.
2.5 Setting the FTP Client (Setting the Automatic Transfer of Display, Event, and Report Data Files) 21. Enter the login name for accessing the primary FTP server in the entry box. 22. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The login name that you entered appears in the [Login name] box. • Setting the password for accessing the FTP server 23. Use the arrow keys to move the cursor to the [Password] box. 24. Press the [Input] soft key.
2.5 Setting the FTP Client (Setting the Automatic Transfer of Display, Event, and Report Data Files) 34. Press the [Input] soft key. An entry box appears. 35. Enter the file transfer destination directory in the entry box. 36. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The transfer destination directory that you entered appears in the [Initial path] box. 2 37. Use the arrow keys to move the cursor to the [FTP connection] box. 38.
2.6 FTP Test Explanation You can test whether files can be transferred via the Ethernet interface by transferring a test file from the CX to the FTP server specified in section 2.5 Items to Check before Performing This Test • Connect the Ethernet cable correctly. For the connection procedure, see section 2.2. • Check that the Ethernet interface settings are correct. For the procedure, see section 2.3 or 2.5. When setting the Ethernet interface, check the settings with your system or network administrator.
2.7 Setting the Login and Timeout Functions of Ethernet Communications Explanation Enabling/Disabling the Login Function of the CX If you enable the login function, only registered users can log in to the CX. Registering Users • Selecting user levels Select either user level: ADMINISTRATOR or USER. • ADMINISTRATOR A single ADMINISTRATOR can be registered. The ADMINISTRATOR has the authority to use all the functions of the Setting/Measurement server, Maintenance/Test server, and FTP server.
2.7 Setting the Login and Timeout Functions of Ethernet Communications Note • The relationship between the login function and the user name for accessing the CX is as follows. • When the login function is set to “Use” • You can log into the CX using the registered user name and password. • The user level is the user level specified when the user name was registered. • When the login function is set to “Not” • You can log into the CX as an ADMINISTRATOR by accessing the CX using the user name “admin”.
2.7 Setting the Login and Timeout Functions of Ethernet Communications Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. For the procedure of entering characters and numbers, see the user’s manual IM04L31A01-01E or IM04L31A01-03E. 1. 3. 4. CX 1000 Communication (Login, Timeout-) setting display CX 2000 Communication (Control -Login, Timeout-) setting display Enabling/Disabling the Login Function of the CX (Use/Not) 5.
2.7 Setting the Login and Timeout Functions of Ethernet Communications • Selecting whether to register (On/Off) 9. Use the arrow keys to move the cursor to the [On/Off] box under Level. 10. Press the [On] or [Off] soft key. If you selected [On] proceed to step 11; if you selected [Off] proceed to step 19. • Setting the user name 11. Use the arrow keys to move the cursor to the [User name] box. 12. Press the [Input] soft key. An entry box (numeric value input pop-up window) appears. 13.
2.7 Setting the Login and Timeout Functions of Ethernet Communications • Setting the application time out 22. Use the arrow keys to move the cursor to the [Time] box. 2 Ethernet Interface 23. Press the [Input] soft key. An entry box appears. 24. Enter the application time out time in the entry box. 25. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The application time out time that you entered appears in the [Time] box.
2.8 Displaying the Error, Communication, and FTP Log Screens Explanation Displaying the Error Log Screen The error log screen shows a log of the past 50 operation error messages. Logs older than the past 50 are not saved. For the meaning of the messages, see appendix 7, “Messages.” CX2000 screen example Error code Date/time when the error occurred Error message The section of messages that exceeds the number of characters above is displayed as “, ,”.
2.8 Displaying the Error, Communication, and FTP Log Screens Displaying the Web Browser Operation Log Screen The Web browser operation log screen shows a log of the past 50 Web browser operations. Logs older than the past 50 are not saved. For the meaning of the messages, see “Web Operation Log” in section 7.2. 2 CX2000 screen example Ethernet Interface Operation information Error code (see User’s Manual IM 04L31A01-01E) Operation type Date/time when the operation was carried out on the Web screen.
2.8 Displaying the Error, Communication, and FTP Log Screens Procedure Displaying the Error Log Screen 1. Press the FUNC key. The FUNC menu appears. The structure of the FUNC menu varies depending on the basic settings and options. 2. Press the [Log] soft key. The log screen selection menu appears. 3. Press the [Error] soft key. The error log screen appears. Displaying the Communication Log Screen 1. Press the FUNC key. The FUNC menu appears.
2.8 Displaying the Error, Communication, and FTP Log Screens Displaying the Web Browser Operation Log Screen 1. Press the FUNC key. The FUNC menu appears. The structure of the FUNC menu varies depending on the basic settings and options. Press the [Log] soft key. The log screen selection menu appears. 3. Press the [Web] soft key. The Web operation log screen appears. Ethernet Interface 2. Displaying the E-mail Log Screen 1. Press the FUNC key. The FUNC menu appears.
2.9 Setting the Web Server Function Explanation To use the Web server function, set the following parameters in addition to those described in section 2.3. Enabling/Disabling the Web Server Function Select [Use] or [Not] (don’t use). Page Type (Type of Screen to Be Displayed) • Monitor • The screen displayed on the CX is displayed. • The following information can be displayed.
2.9 Setting the Web Server Function • Selecting whether to use command input • On Enables the use of message setting/writing commands. • Off Disables the use of message setting/writing commands. • Selecting whether to use access control • On Enables the use of access control. You must enter the user name and password to display the operator page. • Off Disables the use the access control. • Setting the user name Enter the user name using up to 16 characters.
2.9 Setting the Web Server Function Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. For the procedure of entering characters and numbers, see the user’s manual IM 04L31A01-01E or IM 04L31A01-03E. 1. 2. 3. 4. Press the MENU key. The setting mode (control) display appears. Press the FUNC key for approximately 3 s. The basic setting menu appears. Press the [#8] (Web, E-Mail) soft key ([#10] (Web, E-Mail) soft key on the CX1000).
2.9 Setting the Web Server Function Setting the Operator Page • Turning On/Off the operator page 9. Use the arrow keys to move the cursor to the [On/Off] box. 2 Press the [On] or [Off] soft key. If you selected [On] proceed to step 11; if you selected [Off] proceed to step 28. • Turning On/Off the use of command input 11. Use the arrow keys to move the cursor to the [Command] box. 12. Press the [On] or [Off] soft key. • Turning On/Off access control 13.
2.9 Setting the Web Server Function 20. Press the [Input] soft key. An entry box appears. 21. Enter the password in the entry box. 22. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The password that you entered is displayed in the [Password] box. Setting the Monitor Page • Turning On/Off the monitor page 23. Use the arrow keys to move the cursor to the [On/Off] box. 24. Press the [On] or [Off] soft key.
2.10 Using the Monitor Page and Operator Page 2 Explanation Web Browsers That Can Be Used Operations have been confirmed on the following Web browsers. • Microsoft Internet Explorer 4.0 to 5.5 Setting the URL Set the URL (Uniform Resource Locator) appropriately according to the network environment that you are using. You can access the CX by setting the URL as follows: http://host name.domain name/file name • http: Protocol used to access the server. HTTP stands for HyperText Transfer Protocol.
2.10 Using the Monitor Page and Operator Page • Screen displayed by the CX • If the CX is in the operation mode,* the monitor screen displayed on the CX (control, trend, digital, bar graph, overview, alarm summary, message summary, memory summary, report, or historical trend) is displayed on the monitor page. • If the CX is in the setting mode* or basic setting mode,* the monitor screen cannot be displayed. An error message is displayed in the message area at the top section of the monitor screen.
2.10 Using the Monitor Page and Operator Page • Displaying the log You can display the communication command log, error message log, FTP file transfer log, login/logout log, Web browser operation log, and e-mail transmission log. Click the “Refresh” button to refresh the data. 2 Communication Command Refresh the data. Error Message FTP File Transfer Login/logout E-mail Transmission IM 04L31A01-17E 2-33 Ethernet Interface Select the log.
2.10 Using the Monitor Page and Operator Page Web Browser Operation Contents of the Operator Page CX2000 screen example Auto refresh Zoom in/out Display menu section • Refresh the display • Alarm summary display • Measured/computed data display • Control data display • Log display • Set/write messages Displayed when command input on the operator page is turned On in #8 Web, Email setting (#10 on the CX1000) of the basic setting mode.
2.10 Using the Monitor Page and Operator Page Using the Monitor Page This section gives an overview of the operations. Follow the operating procedures on your PC. Procedure 1. Start the Web browser and open the monitor page of the CX. If access control is specified, proceed to step 2. Otherwise, proceed to step 5. Note The monitor page can be displayed when the CX is in the operation mode. An error message is displayed when the CX is in the setting mode or basic setting mode.
2.10 Using the Monitor Page and Operator Page Zooming in or out of the Display 7. Click [Zoom] to specify [100%] or [75%] ([200%] on the CX1000). Displaying the Alarm Summary 8. Click [Alarm Summary] in the display menu section to display the alarm summary. Click [Refresh] to refresh the alarm summary information. Click [Close] to close the alarm summary window. Displaying Measurement/Computation Channel Information or Control Channel Information 9.
2.10 Using the Monitor Page and Operator Page Click the selection button to choose the message. 2 Ethernet Interface Enter the message string. Cancel the string. Set/write the message. Response from the CX for the message setting/writing operation. 12. Click the message number button to select the message. 13. Enter the message string (up to 16 alphanumeric characters) in the message box and click [Set & Write]. The message on the CX is set, and the message appears on the trend display on the CX.
2.11 Setting the E-mail Transmission Function Explanation To use the e-mail transmission function, set the following parameters in addition to those described in section 2.3. Basic Settings of E-mail • SMTP* server name If the DNS is specified (see section 2.3), you can set the SMTP server name using up to 64 alphanumeric characters. You can also set the IP address of the SMTP server. * Simple Mail Transfer Protocol • Port number Set the port number to be used. The initial value is 25.
2.11 Setting the E-mail Transmission Function Settings When Transmitting E-mail Messages at the Specified Time • Recipient 1, Recipient 2 You can turn On/Off the function for each recipient. • On Transmits e-mail messages to the recipient. • Off Does not transmit e-mail messages to the recipient. • Interval Time interval used to repeat the e-mail transmission starting from the [Ref.time]. Select from the following: OFF, 1h, 2h, 3h, 4h, 6h, 8h, 12h, and 24h • Ref.
2.11 Setting the E-mail Transmission Function Settings When Transmitting E-mail Messages at the Time of Recovery from a Power Failure (System E-Mail Settings) • Recipient 1, Recipient 2 You can turn On/Off the function for each recipient. • On Transmits e-mail messages to the recipient. • Off Does not transmit e-mail messages to the recipient.
2.11 Setting the E-mail Transmission Function Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. For the procedure of entering characters and numbers, see the user’s manual IM 04L31A01-01E or IM 04L31A01-03E. 2. 3. Press the MENU key. The setting mode (control) display appears. Press the FUNC key for approximately 3 s. The basic setting menu appears. Press the [#8] (Web, E-Mail) soft key ([#10] (Web, E-Mail) soft key on the CX1000).
2.11 Setting the E-mail Transmission Function 10. Press the [Input] soft key. An entry box appears. 11. Enter the port number in the entry box. 12. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The port number that you entered appears in the [Port number] box. • Setting Recipient 1 13. Use the arrow keys to move the cursor to the [Recipient 1] box. 14. Press the [Input] soft key. An entry box appears. 15. Enter the recipient address in the entry box.
2.11 Setting the E-mail Transmission Function Setting [Alarm], [Scheduled], [System], and [Report] 24. Press the ESC key to return to the Web, E-mail setting menu. Press the soft key corresponding to the item you wish to set. The respective setting display appears. Setting [Alarm E-Mail settings]: Proceed to step 25. Setting [Scheduled E-Mail settings]: Proceed to step 42. Setting [System E-Mail settings]: Proceed to step 54. Setting [Report E-Mail settings]: Proceed to step 59. 2 26.
2.11 Setting the E-mail Transmission Function • Setting the e-mail subject (contents of the transmitted e-mail) 33. Use the arrow keys to move the cursor to the [Subject] box. 34. Press the [Input] soft key. An entry box appears. 35. Enter the e-mail subject in the entry box. 36. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The subject that you entered is displayed in the [Subject] box. • Setting the e-mail header 37.
2.11 Setting the E-mail Transmission Function • Setting the Ref.time 45. Use the arrow keys to move the cursor to the [Ref.time] box. 2 Ethernet Interface 46. Press the [Input] soft key. An entry box appears. 47. Enter the reference time in the entry box. 48. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The reference time that you entered is displayed in the [Ref.time] box.
2.11 Setting the E-mail Transmission Function • Confirming or Canceling the Settings 58. To confirm the new settings, press the DISP/ENTER key. To cancel the settings, press the ESC key. For a detailed procedure in confirming or canceling settings, see “Setup Procedure Using Operation Keys” on page ix. Setting [Report E-Mail settings] • Setting the e-mail recipient 59. Follow the procedures of steps 25 and 26. • Selecting to include the source URL (contents of the transmitted e-mail) 60.
2.12 E-mail Transmission Test Explanation Items to Check before Performing This Test • Connect the Ethernet cable correctly. For the connection procedure, see section 2.2. • Check that the Ethernet interface settings are correct. For the procedure, see section 2.3 or 2.5. • Check that the e-mail settings are correct. For the procedure, see section 2.11. When setting the Ethernet interface or e-mail, check the settings with your system or network administrator.
2.13 Starting/Stopping E-mail Transmissions Explanation Starting/Stopping E-mail Transmissions • If the e-mail transmission is started, the e-mail transmission function is activated. • If the e-mail transmission is stopped, e-mail transmission is disabled. Unsent email messages are cleared. Note • If the CX enters the basic setting mode while the e-mail transmission is started, the e-mail transmission is stopped.
2.13 Starting/Stopping E-mail Transmissions Procedure Starting the E-mail Transmission 1. Press the FUNC key. The FUNC menu appears. The structure of the FUNC menu varies depending on the basic settings and options. Press the [E-Mail START] soft key. The e-mail transmission function is enabled. An e-mail transmission function icon is displayed in the status indication section of the CX. Stopping the E-mail Transmission 1. Press the FUNC key. The FUNC menu appears.
2.14 Processing during Recovery of the DO/Internal Switch Communication Buffer Set the operation to be performed for recovery of the control output DO/internal switch communication buffer when turning the power ON, or when returning to operation mode from basic setting mode. The communication buffer is the internal area that stores the DO/internal switch ON/OFF setting status through communications.
Chapter 3 Serial Interface 3.1 Serial Interface Specifications The specifications of the two types of serial interfaces (options), RS-232 and RS-422/ 485, of the CX are given below. RS-232 Specifications 3 D-Sub 9-pin plug Electrical and mechanical specifications Conforms to EIA-574 (9-pin EIA-232 (RS-232)) Connection Point-to-point Transmission mode Half-duplex Synchronization Start-stop synchronization Baud rate Select from 1200, 2400, 4800, 9600, 19200, and 38400 [bps].
3.2 Connector Pin Arrangement and Signal Names, Connection Procedure, and Handshaking Methods of the RS-232 Interface Connector Pin Arrangement and Signal Names Connector Pin Arrangement 2 1 3 4 5 (Rear panel) 6 7 8 9 Pin No. Signal Name Meaning 2 RD (Received Data) Received data from the PC. Input signal to the CX. 3 SD (Send Data) Transmitted data to the PC. Output signal from the CX. 5 SG (Signal Ground) Signal ground.
3.2 Connector Pin Arrangement and Signal Names, Connection Procedure, and Handshaking Methods Connection Examples • OFF-OFF/XON-XON PC SD RD RS CS SG • CS-RS(CTS-RTS) PC CX 3 2 7 8 5 CX SD RD RS CS SG SD RD RS CS SG 3 2 7 8 5 SD RD RS CS SG 3 • XON-RS(XON-RTS) CX SD RD RS CS SG 3 SD 2 RD 7 RS 8 CS 5 SG The RS on the PC side and the CX on the CX side do not need to be connected for control. However, it is recommended that you do so, so that the cable can be connected in either direction.
3.2 Connector Pin Arrangement and Signal Names, Connection Procedure, and Handshaking Methods XON-XON • Data Transmission Control Software handshaking is performed between the CX and the PC. When an “XOFF” code is received while sending data to the PC, the CX stops the data transmission. When the CX receives the next “X-ON” code, the CX resumes the data transmission. The CS signal received from the PC is ignored. • Data Reception Control Software handshaking is performed between the CX and the PC.
3.3 Terminal Arrangement and Signal Names and the Connection Procedure of the RS-422/485 Interface Terminal Arrangement and Signal Names 3 FG FG (Frame Ground) Case ground of the CX. SG (Signal Ground) Signal ground.
3.3 Terminal Arrangement and Signal Names and the Connection Procedure of the RS-422/485 Interface Connection Example with the Other Instruments You can connect the CX as a host to multiple Green series controllers or connect the CX to a host computer such as a PC. • If the host uses an RS-232 interface, use a converter. For recommended converters, see the latter section “Serial Interface Converter.” • The two-wire cable can be used only when using the Modbus protocol.
3.3 Terminal Arrangement and Signal Names and the Connection Procedure of the RS-422/485 Interface Two-Wire System Connect the transmission and reception signals with the same polarity on the RS-422/485 terminal block. The two-wire cable can be used only when using the Modbus protocol. Connect terminators (120 Ω 1/2 W or more) to the signal line of the host computer and the terminal at the of the chain.
3.3 Terminal Arrangement and Signal Names and the Connection Procedure of the RS-422/485 Interface Serial Interface Converter Recommended converter SYSMEX RA CO.,LTD./MODEL RC-770X, LINE EYE/SI-30FA, YOKOGAWA/ML2 CAUTION Some converters not recommended by Yokogawa have FG and SG pins that are not isolated. In this case, do not follow the diagram on the previous page (do not connect anything to the FG and SG pins).
3.4 The Bit Structure of One Character and the Operation of the Receive Buffer The Bit Structure of One Character The serial interface on the CX communicates using start-stop synchronization. In startstop synchronization, a start bit is added every time a character is transmitted. The start bit is followed by the data bits, parity bit, and stop bit. (See the figure below.
3.5 Configuring the Serial Interface Explanation Selecting the Baud Rate Select the baud rate from the following: 1200, 2400, 4800, 9600, 19200, and 38400 Setting the Data Length Select the data length from the following. To output data in BINARY format, make sure to set the data length to 8 bits. 7 and 8 Selecting the Parity Check Select the parity check from the following: Odd, Even, and None Selecting the Handshaking Method Select the handshaking method from the following.
3.5 Configuring the Serial Interface Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. 1. 2. 3. CX1000 Communication (Serial, Memory out) setting display CX2000 Communication (Ethernet, Serial) setting display Selecting the Baud Rate 5. Use the arrow keys to move the cursor to the [Baud rate] box. 6. Press one of the soft keys from [1200] to [38400] to select the baud rate. Selecting the Data Length 7.
3.5 Configuring the Serial Interface Selecting the Parity Check 9. Use the arrow keys to move the cursor to the [Parity] box. 10. Press one of the soft keys from [Odd] to [None] to select the parity. Selecting the Handshaking (This setting is valid only for the RS-232 interface.) 11. Use the arrow keys to move the cursor to the [Handshaking] box. 12. Press one of the soft keys from [Off:Off] to [CS:RS] to select the handshaking.
3.5 Configuring the Serial Interface Selecting the Communication Type Used to Output the Data in the Internal Memory and Files on the External Storage Medium 17. Use the arrow keys to move the cursor to the [Memory output] box. 18. Press the [Ethernet] or [Serial] soft key. To use the serial interface, press the [Serial] soft key. For a detailed procedure in confirming or canceling settings, see “Setup Procedure Using Operation Keys” on page ix. Saving the Settings 20.
3.6 Automatic Recovery Settings Explanation You can select whether or not to automatically recover communications with modbus mice and temperature meters. If you select automatic recovery, you can also specify the recovery interval. You can select one of the following intervals: 1 min, 2 min, 5 min, 10 min, 20 min, 30 min, or 60 min. Procedure 1. 2. 3. 4. Press the MENU key. The setting mode (control) display appears. Press the FUNC key for approximately 3 s. The basic setting menu appears.
Chapter 4 Modbus Protocol 4.1 Modbus Protocol Specifications The Modbus protocol can be used over the serial interface (RS-232 or RS-422/485). The Modbus specifications of the CX are as follows. Specifications Description Transmission media RS-232 or RS-422/485 Control (Flow control is not available.) RS-232: None only RS-422/485: None only Baud rate 1200, 2400, 4800, 9600, 19200, and 38400 Start bit Fixed to 1 bit Stop bit Fixed to 1 bit 4 Select Odd, Even, or None (no parity).
4.2 Configuring the Modbus Protocol Explanation Selecting the Baud Rate Select the baud rate from the following: 1200, 2400, 4800, 9600, 19200, and 38400 Selecting the Parity Check Select the parity check from the following: Odd, Even, and None Selecting the Slave Address (valid when operating as a Modbus slave) Select the address from the following values. 1 to 32 Selecting the Modbus Protocol Select [Modbus] if you wish to communicate using the Modbus slave protocol.
4.2 Configuring the Modbus Protocol Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. 1. 2. 3. 4. Press the MENU key. The setting mode (Control) display appears. Press the FUNC key for approximately 3 s. The basic setting menu appears. Press the [#7] (Communication) soft key ([#9] (Communication) soft key on the CX1000). The communication function setting menu appears.
4.2 Configuring the Modbus Protocol Selecting the Slave Address (valid when operating as a Modbus slave) 9. Use the arrow keys to move the cursor to the [Address] box. 10. Press one of the soft keys from [1] to [32] to select the address. Selecting the Protocol 11. Use the arrow keys to move the cursor to the [Protocol] box. 12. To use the Modbus slave protocol, press the [Modbus] soft key; to use the Modbus master protocol, press the [Modbus-M] soft key.
4.3 Setting the Modbus Master Function Explanation Selecting the Read Cycle The cycle at which data is read from other devices.
4.3 Setting the Modbus Master Function • Commu. Data (First, Last) Specify which communication input data will be assigned the data that is read from the slave device (C01 to C30).
4.3 Setting the Modbus Master Function • UINT32_B Specify this type when a “32-bit unsigned integer” is assigned to the Modbus register in the order upper 16 bits followed by the lower 16 bits. Specify the smaller register number (the higher register number in this case) in [Registers]. • UINT32_L Specify this type when a “32-bit unsigned integer” is assigned to the Modbus register in the order lower 16 bits followed by the upper 16 bits.
4.3 Setting the Modbus Master Function Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. For the procedure of entering characters and numbers, see the user’s manual IM 04L31A01-01E or IM 04L31A01-03E. 1. 2. 3. 4. Press the MENU key. The setting mode (Control) display appears. Press the FUNC key for approximately 3 s. The basic setting menu appears. Press the [#7] (Communication) soft key ([#9] (Communication) soft key on the CX1000).
4.3 Setting the Modbus Master Function Selecting the Number of Retrials 9. Use the arrow keys to move the cursor to the [Retrials] box. 10. Press one of the soft keys from [Off] to [20] to select the number of retrials. On the CX1000, confirm the settings here. To confirm the new settings, press the DISP/ENTER key. To cancel the settings, press the ESC key.
4.3 Setting the Modbus Master Function • Setting the register number of the slave device 20. Use the arrow keys to move the cursor to the [Registers] box. 21. Press the [Input] soft key. An entry box appears. 22. Enter the register number in the entry box. 23. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The register number that you entered appears in the [Registers] box. • Setting the data type assigned to the register of the slave device 24.
4.4 Checking the Operation Status of the Modbus Master Function Explanation ”MODBUS STATUS” Display You can check the operation status of the Modbus master function on the “MODBUS STATUS” screen. CX2000 screen example Communication condition 4 Modbus Protocol Detail code Communication input Address and register Status lamp channel number of the slave device Communication Status The communication status is displayed using the status lamp and the detail code.
4.4 Checking the Operation Status of the Modbus Master Function Procedure Displaying the “Modbus Master Status” Screen 1. Press the FUNC key. The FUNC menu appears. The structure of the FUNC menu varies depending on the basic settings and options. 2. Press the [Modbus master] soft key. The MODBUS STATUS screen appears. Data Dropout When a data dropout occurs, the message “Data dropout” is displayed on the MODBUS STATUS screen. Press an arrow key to clear the message.
4.5 Communications as a Modbus Slave This section explains the command messages used when setting the CX to Modbus slave and communicating with a Modbus master device. By sending a command message from a Modbus master device, the input registers of the CX can be read and the hold registers can be read or written. Command Message Construction Below is the construction of command messages sent from a Modbus master device to the CX.
4.5 Communications as a Modbus Slave Broadcast Request Broadcast request is a function used to write the same data collectively to the hold registers of all the Modbus slave devices connected to the Modbus master device. • Broadcast request is achieved by setting the slave address number of a command message to “00.” • The command message that specifies this address functions regardless of the slave address.
4.5 Communications as a Modbus Slave • Response Slave Function Byte address code counter Register Register content content (Low) (High) •••• Register Register Error content content check (High) (Low) Write to Multiple Hold Registers (Function Code 16) Writes the specified number of points of data consecutively to the registers from the specified register number. The maximum number of points that can be written at once is 100. Broadcast request (setting the slave address to 00) is possible.
4.6 Modbus Slave Error Responses Message Format for Errors If an invalid command other than those determined as communication error is found in the message, the CX does not process the message and returns a message in the following format. Slave Address Function Code Error code Error Check Response Error Codes The meaning of the error codes in error messages is shown below. Error Code Meaning Reason 01 Function code error The function code does not exist.
Chapter 5 Ladder Communication Protocol 5.1 Ladder Communication Protocol Specifications The ladder communication protocol can be used over the serial interface (RS-232 or RS422/485). The ladder communication specifications of the CX are as follows.
5.2 Setting the Ladder Communication Protocol Explanation The CX supports the ladder communication protocol. Multiple CXs can be connected to Programmable Logic Controllers (PLCs) that are capable of ladder communications. PLC RS-485 communications Address NO. CX CX CX 1 2 3 To support ladder communications on the CX, the following parameters must be set on the serial interface. Set the parameter values to match those of the PLC.
5.2 Setting the Ladder Communication Protocol Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. 1. 2. 3. 4. Press the MENU key. The setting mode (Control) display appears. Press the FUNC key for approximately 3 s. The basic setting menu appears. Press the [#7] (Communication) soft key ([#9] (Communication) soft key on the CX1000). The communication function setting menu appears.
5.2 Setting the Ladder Communication Protocol 10. Press one of the soft keys from [1] to [32] to select the address. This value is the station number of the ladder communication commands. Selecting the Protocol 11. Use the arrow keys to move the cursor to the [Protocol] box. 12. Press the [Ladder] soft key. Selecting the Communication Type Used to Output the Data in the Internal Memory and Files on the External Storage Medium 13. Use the arrow keys to move the cursor to the [Memory output] box. 14.
5.3 Communications with PLCs When performing ladder communications, make sure the PLC (host) first sends a command to the CX. When the CX receives a command from a PLC, the CX executes the specified operation, provided that no errors are present in the received command, and returns a response to the PLC. If an error is present in the command, the CX returns an error code corresponding to the error type to the PLC.
5.3 Communications with PLCs • 0 This position is fixed to 0. • 5th digit The most significant digit when using 5-digit notation. • R/W Specifies whether the command is a write command or a read command. 0: Read 1: Write • +/– 0: Posive data (+) 1: Negative data (–) • Read and write data Specifies the number of data points to be read when reading. Specifies the data to be written using 4-digit BCD excluding the decimal point when writing. • CR, LF Control code indicating the end of a command.
5.3 Communications with PLCs Response against a write command Number of Bytes Number of BCD Digits Command Element 1 1 2 2 Station number CPU number (01) 2 4 D register number 1 0 1 5th digit 1 1 4 2 2 1 +/– dddd CR(0D) LF(0A) 1 1 2 1 1 Response When Errors Occur The table below shows the error responses that the PLC receives when errors occur.
5.4 Communication Program for FA-M3 Below is a program example for communications between the CX and the FA-M3 Sequencer by YOKOGAWA. The FA-M3 uses the ladder communication module (F3RZ81-0N, F3RZ91-0N). (0001) CX2000 FA-M3 ladder communications sample program (0002) This program is for the case when the ladder communication module is installed in the 3rd slot.
5.
5.
5.
5.
5.5 Communication Program for MELSEC Below is a program example for communications between the CX and the MELSEC Q02HCPU sequencer made by Mitsubishi Electric Corporation. Preparations before Communications Devices Used This sample program assumes that the QJ71C24 computer module (communication module) is installed into slot 2 of the Q02HCPU. Connection Connect the RS422 terminal of the QJ71C24 computer link unit to the CX according to the figure below.
5.5 Communication Program for MELSEC Program Example • Transmission interval processing C0 4 Interval counter RST C0 Interval counter SM1038 On for 1 scan only after RUN SM1031 27 200-ms timer
5.5 Communication Program for MELSEC • Read command transmission processing: If M601 is ON, send a command to lead CH1 to 4. M601 X27 Y27 113 Tx flag 1 Tx end Tx request MOVP H5 D0 Num. of Tx data MOVP H102 D1 CPU address MOVP H5001 D2 D register First No. SWAPP D2 5 Ladder Communication Protocol D register First No.
5.5 Communication Program for MELSEC • Reception processing: Receive data of CH1 to 4. X2A 341 = K1 C0 Interval counter Read request flag FROMP H2 H0A00 D100 K1 Data size MOVP D100 Z0 Data size FROMP H2 H0A01 D101 K0Z0 Y28 Rx read end SWAPP D101 CPU No. address SWAPP D102 First D register No.
5.5 Communication Program for MELSEC • Write processing: If M602 is set, write the CH1 data to communication register C1. M602 X27 Y27 627 Tx flag 2 Tx end Tx request MOVP H5 D0 Num. of Tx data MOVP H102 D1 CPU address MOVP H1 D2 D register First No. SWAPP D2 D register First No.
5.5 Communication Program for MELSEC • Read command transmission processing: If M603 is ON, send a command to lead CH5 to 8. M603 X27 Y27 866 Tx flag 3 Tx end Tx request MOVP H5 D0 Num. of Tx data MOVP H102 D1 CPU address MOVP H5005 D2 D register First No. SWAPP D2 D register First No.
5.5 Communication Program for MELSEC • Reception processing: Receive the data of CH5 to CH8. X2A 1084 = K3 C0 Interval counter Read request flag FROMP H2 H0A00 D200 K1 Data size MOVP D200 Z0 Data size FROMP H2 H0A01 D201 K0Z0 Y28 Rx read end 5 Ladder Communication Protocol SWAPP D201 CPU No.
Chapter 6 Command 6.1 Command Syntax Command Syntax The syntax of the setting/basic setting/control/output commands (see sections 6.4 to 6.12) used by the CX is given below. ASCII codes (see appendix 1) are used for the character codes. For the syntax of the maintenance/test commands (see section 6.13) and instrument information output commands (see section 6.14), see the corresponding sections or the examples for each command.
6.1 Command Syntax • Channel number 01 to 20: Measurement channels (01 to 06 on the CX1000) 31 to 60: Computation channels (31 to 42 on the CX1000) 101 to 118: Internal control channels (101 to 106 on the CX1000) Example Loop1 PV = 101 Loop1 SP = 102 Loop1 OUT = 103 201 to 248: External control channels (201 to 212 on the CX1000) Example Loop EXT1 PV = 201 Loop EXT1 SP=202 Loop EXT1 OUT = 203 • Relay number: 3 characters Query • A question mark is used to specify a query.
6.1 Command Syntax Response The CX returns a response (affirmative/negative response) to a command that is delimited by a single terminator.* The controller should follow the one command to one response format. When the ommand-response rule is not followed, the operation is not guaranteed. For the response syntax, see section 7.1. * Commands dedicated to RS-422/485 (see section 6.12) and instrument information output commands (section 6.15) are exceptions.
6.
6.
6.
6.2 A List of Commands Note • There are two execution modes on the CX. If you attempt to execute a command in a mode that is different from the specification, a syntax error occurs. Use the DS command to switch to the appropriate execution mode, then execute the command. Query commands can be executed in either mode. • Basic setting mode Measurement, computation, and control are stopped, and settings are changed in this mode.
6.2 A List of Commands Basic Setting Commands (Measurement) • In order to activate the settings that are changed using the basic setting commands, the settings must be saved using the XE command. Make sure to save the settings with the XE command before changing from the basic setting mode to the operation mode. Otherwise, new settings will not be activated.
6.
6.
6.
6.
6.3 Input Range Parameter The following tables show which measurement ranges of the instrument correspond to the input types of the CR command (control input range setting command) and SR command (input range setting command), VOLT, TC, RTD, DI, and SQRT. The table also shows the ranges for the upper and lower limits of the span.
6.3 Input Range Parameter ON/OFF input (DI) Measurement Range Parameter for the CR/SR Command Upper and Lower Limits of the Span Upper and Lower Limits of the Span for the CR/SR Command Voltage Contact LEVEL CONT 0 or 1*1 0 or 1*2 0 or 1 0 or 1 *1: “0” when less than 2.4 V, “1” when greater than or equal to 2.4 V. *2: “0” when contact is OFF, “1” when contact is ON. Note For the measurement accuracy of each measurement range, see the user’s manual IM 04L31A01-01E or IM 04L31A01-03E.
6.4 Setting Commands (Control) 6.4 p1: p2: p3: p4: p5: Setting Commands (Control) Control Input Range CR Set the control range When p1 = 1 to 6 (When internal loop is specified) When p2 = PV1, PV2, or RemoteSP When p3 = TC or RTD Syntax p1,p2,p3,p4,p5,p6,p7,p8 Loop number (1 to 6) (1 or 2 on the CX1000) Input type (PV1, PV2, RemoteSP) Mode (TC, RTD) Range p3 = TC (R,S,B,K,E,J,T,N,W,L,U,PLATI,PR,WRe) p3 = RTD (JPT,PT) p5: Span lower limit EU (0.0 to 100.0%) p6: Span upper limit EU (0.
6.4 Setting Commands (Control) With the switching method of loop 2 set to “PVHigh,” set the items as follows: PV range lower limit: –10000, upper limit: 20000, PV switching lower limit: 10000. (No unit) CR2,PVRANGE,-10000,20000,0, ,10000 With the switching method of loop 2 set to “Signal,” set the items as follows: PV range lower limit: 0.00 V, upper limit: 40.00 V.
6.4 Setting Commands (Control) MF Filter When the PV/SP Computation Function is OFF Syntax Query Example MF p1,p2,p3,p4 p1: Loop number (1 to 6) (1 or 2 on the CX1000) p2: Input type (PV1, PV2, RemoteSP) Note) RemoteSP is valid only when using remote. p3: Enable/disable filter (Off, On) p4: Filter value (0 to 120 s) MF[ p1,p2]? Set the filter value of loop 1 PV1 to 60 s.
6.4 Setting Commands (Control) HH Syntax Query Example HL Syntax Query Example HM Syntax Query Example GC Syntax Query Example GD Syntax 6-18 Sets the SP ramp-up-rate HH p1,p2,p3 p1: Loop number (1 to 6) (1 or 2 on the CX1000) p2: Enable/disable SP ramp-up-rate setting (Off, On). p3: SP ramp-up-rate value (1 digit to EUS (100%)) HH[ p1]? Set the SP ramp-up-rate of loop 1 (whose input type is set to RTD type PT) to the maximum value in the selectable range.
6.4 Setting Commands (Control) HD Syntax Query Example HO Sets the derivative time No ON/OFF Control HD p1,p2,p3 p1: Loop number (1 to 6) (1 or 2 on the CX1000) p2: PID number (1 to 8) p3: Derivative time (0 to 6000 s) HD[ p1,p2]? Set the derivative time of PID number 1 of loop 4 to 900 s. HD4,1,900 Syntax Sets control-related parameters 4-20mA Current Output Syntax p1,p2,p3,p4,p5,p6,p7,p8 Loop number (1 to 6) (1 or 2 on the CX1000) PID number (1 to 8) Output low-limit (–5.
6.4 Setting Commands (Control) Ten-segment Linearizer Input/Output HA Sets the ten-segment linearizer mode When PV/SP Computation Function is ON Syntax When the PV/SP Computation Function is OFF Syntax Query Example HA p1: p2: p3: p1,p2,p3 Loop number (1 to 6) (1 or 2 on the CX1000) Input type (PV1, PV2) Ten-segment linearizer mode (Off, Biasing, and Approximation) HA[ p1,p2]? Set the ten-segment linearizer mode of loop 6 PV1 to ten-segment linearizer bias.
6.4 Setting Commands (Control) Wait Action Setting PZ Sets the wait zone Syntax Query PW Syntax Query p1,p2,p3,p4,p5 Loop number (1 to 6) (1 or 2 on the CX1000) Wait zone number (1 to 5) Wait Off/On High boundary of the zone (1 digit to EUS (100.0%)) p5: Low boundary of the zone (1 digit to EUS (100.0%)) p4 and p5 can be specifed only when p3 is ON. PZ[ p1,p2]? Sets the wait time PW p1,p2 p1: Wait zone number (1 to 5).
6.4 Setting Commands (Control) Description • When p3 is set to On1, p4 and p5 are handled as On-time and Off-time, respectively. • When p3 is set to On2, p4 is handled as Ontime. p5 is void. • When p3 is set to On3, p4 is handled as Offtime. p5 is void.
6.4 Setting Commands (Control) Detail Settings (Control Function Settings) HF Sets the setpoint Syntax Query GL HF p1: p2: p3: p4: p1,p2,p3,p4,p5 Loop number (1 to 6) (1 or 2 on the CX1000) Enable/disable SP tracking (Off, On). Enable/disable PV tracking (Off, On). SP high-limit EU (0.0 to 100.0%) High-limit > Low-limit p5: SP low-limit EU (0.0 to 100.
6.4 Setting Commands (Control) Query Example p4: Internal switch number (SW001-SW036, or SW001-SW018 for the CX1000) p5: ON DO number (DI001-DI006, DI101DI106, DI201-DI206, RI001-RI012, or DI001-DI006 for the CX1000) p6: OFF DO number (DI001-DI006, DI101DI106, DI201-DI206, RI001-RI012, or DI001-DI006 for the CX1000) DX p1? Set DIO operation monitoring number 2 so that the ON status of internal switch SW003 is output from DO002, and the OFF status is output from DO003, and monitored.
6.
6.5 Setting Commands (Measurement) External Loop PID Parameter Settings DT Sets the external loop PID parameter Syntax DT p1,p2,p3,p4 p1: Loop number (1–16, or 1–4 on the CX1000) p2: Loop number 1–4 for UT320/UT321/UT350/UT351 1–8 for UT420/UT450/UT520/UT550/UT750 p3: PID parameter name SP: target setpoint (EU(0.0–100.0%) A1-A4: Alarm 1–4 setting value (or alarm 1–3 for the UT320/UT321/UT350/ UT351/UT420) Measured value alarm/setting value alarm: measured input range of -100.0–100.
6.5 Setting Commands (Measurement) RL: 6.5 Setting Commands (Measurement) SR Sets the input range When setting channels to skip Syntax SR p1,p2 p1: Channel number (01 to 20) (01 to 06 on the CX1000) p2: Range mode (SKIP) Query SR[ p1]? Example Set channel 01 to skip. SR01,SKIP Description • This command cannot be specified while measurement/computation is in progress or while a report is being created. • Measurements are not made on channels that are set to SKIP.
6.5 Setting Commands (Measurement) p4: p5: p6: p7: Measurement range Span lower limit Span upper limit Reference channel: 01 to 20 (01 to 06 on the CX1000) Query SR[ p1]? Example Set the range mode of channel 10 to the difference computation between channels with the reference channel set to 01 and set the input type to TC. Set the range to R. Set the span lower limit to 10.0°C and span upper limit to 100.0°C.
6.5 Setting Commands (Measurement) Example Set the computation channel to 31, the computation to ON, the computing equation to the sum of channel 01 and 02, span lower limit to –10.0000, span upper limit to 16.0000, and the unit to V. SO31,ON,01+02,-100000,160000,4,V Description • This command can be used on models with the computation function option /M1. • This command cannot be specified while measurement/computation is in progress or while a report is being created.
6.5 Setting Commands (Measurement) • For computation channels, the alarm types that can be specified are only H (high limit alarm), L (low limit alarm), T (delay high limit alarm), and t (delay low limit alarm). • For computation channels, the alarm hysteresis is fixed to zero. Use the XA command to set the alarm hysteresis.
6.5 Setting Commands (Measurement) • This command cannot be specified if the partial expanded display range does not exist (when the span width is set to 1, for example). ST Sets the tag Syntax ST p1,p2 p1: Channel number (01 to 20, 31 to 60, 101 to 118, 201 to 248) (01 to 06, 31 to 42, 101 to 106, 201 to 212 on the CX1000) p2: Tag (up to 16 characters) Query ST[ p1]? Example Set the tag of channel 02 to TAG2.
6.5 Setting Commands (Measurement) Example SB Set the display direction of the trend waveform to horizontal, the direction of the bar graph to vertical, the measurement background color to white, the control background color to white, the line width of the trend to 1 dot, the width of the trip line to 2 dots, the number of grids to 10, the time interval for switching displayed group to 20s, and the scale display digits to normal.
6.
6.5 Setting Commands (Measurement) • This command cannot be specified while measurement/computation is in progress or while a report is being created. SI Sets the rolling average of the computation channel When turning OFF the rolling average of the computation channel Syntax SI p1,p2 p1: Computation channel number (31 to 60) (31 to 42 on the CX1000) p2: Rolling average ON/OFF (OFF) Query SI[ p1]? Example Turn OFF the rolling average of computation channel number 31.
6.5 Setting Commands (Measurement) Example Set the summer time to the 23rd hour of June 30, 2000. SSSUMMER,ON,00/06/30 23 (The 23rd hour of June 30, 2000 is set to 0 hour of July 1, 2000.) Description This command can be used on models with the display language code “-2.
6.6 Setting Commands (Operation) 6.6 Setting Commands (Operation) UD Switches the screen When switching the screen back to the screen that existed before settings were changed using communication commands Syntax Example UD p1 p1: Screen switching (0) Switch the screen back to the screen that existed before settings were changed using communication commands.
6.
6.6 Setting Commands (Operation) Description • EV3 is valid when display data are being acquired to the internal memory, and the CX is set to store the data to the external storage medium using auto save. The display data residing in the internal memory can be stored to the external storage medium at arbitrary times. • EV4 is valid when event data are being acquired to the internal memory in the free run mode, and the CX is set to store the data to the external storage medium using auto save.
6.6 Setting Commands (Operation) LI Saves the setup data DL Syntax LI p1 p1: File name (up to 8 characters) Example Save the setup data of both setting and basic setting commands to the file SETFILE2. LISETFILE2 Description • A “.pcl” extension is attached to the saved file. • This command cannot be specified on models that do not have an external storage device or when a medium is not inserted into the drive.
6.7 Basic Setting Commands (Measurement) 6.7 Basic Setting Commands (Measurement) • To activate the settings that are changed using the basic setting commands, the settings must be saved using the XE command. Make sure to save the settings with the XE command before changing from the basic setting mode to the operation mode. Otherwise, new settings will not be activated.
6.7 Basic Setting Commands (Measurement) XV Syntax Query Example XT Sets the scan interval XV p1 p1: Scan interval 1S, 2S XV? Set the scan interval to 1 s. XV1S Selects the temperature unit Syntax XT p1 p1 Temperature unit C Celsius (°C) F Fahrenheit (°F) Query XT? Example Set the temperature unit to Fahrenheit. XTF Description This command can be used on models with the display language code “-2”.
6.
6.7 Basic Setting Commands (Measurement) For hourly, daily, hourly + daily and daily + monthly reports Syntax RO p1,p2,p3 p1: Report type (HOUR, DAY, HOUR+DAY, DAY+MONTH) p2: Date of creation (dd fixed form) ddDay (01 to 28) p3: Hour of creation (hh fixed form) hhHour (00 to 23) Query RO? Example Create a daily report at 9 o’clock everyday (parameter p2 (“05” in this example) is invalid in this case).
6.7 Basic Setting Commands (Measurement) XO Selects the communication interface used to output data residing in the internal memory (display, event, TLOG, manual sampled, and report data) and files on the external storage medium using output commands (ME/MI/MO commands) XG Syntax Example Sets the time zone XG p1 p1: Offset time from GMT (–1200 to 1200) Upper 2 digits: Hour (00 to 12) Lower 2 digits: Minute (00 to 59) Set the offset time from the GMT to 9 hours ahead.
6.7 Basic Setting Commands (Measurement) YA Sets the IP address, subnet mask, and default gateway Syntax YA p1,p2,p3 p1: IP address (0.0.0.0 to 255.255.255.255) p2: Subnet mask (0.0.0.0 to 255.255.255.255) p3: Default gateway (0.0.0.0 to 255.255.255.255) Query YA? Example Set the IP address to 192.168.111.24, subnet mask to 255.255.255.0, and default gateway to 0.0.0.0. YA192.168.111.24,255.255.255.0, 0.0.0.
6.7 Basic Setting Commands (Measurement) YO Loads setup data YG Syntax YO p1 p1: File name (up to 8 characters) Example Load the setup data of both setting and basic setting commands from the setup file SETFILE1 (.pcl extension). YOSETFILE1 Description • This command loads the setting data of both setting and basic setting commands. To load only the setting data of setting commands, use the LO command. • When this command is executed, the communication is disconnected.
6.7 Basic Setting Commands (Measurement) p6: First register number (30001 to 39999, 40001 to 49999, 300001 to 365535, 400001 to 465535) p7: Type of data assigned to the register (INT16, UINT16, INT32_B, INT32_L, UINT32_B, UINT32_L, FLOAT_B, FLOAT_L) Query YM[ p1]? Example Register the following command in command registration number 2: Read the 32-bit signed integer data that is assigned to registers 30003 (upper 16 bits) and 30004 (lower 16 bits) of the slave device at address 5 into C02 of the CX.
6.7 Basic Setting Commands (Measurement) Example Send report generation notification e-mail messages including the source URL to recipient 1. The subject is “Report”, and the header is “LP2”. YUREPORT,ON,OFF,ON,Report,LP2 Description • For the contents of the system notification, see section 2.11. • Report generation notification can be used on models with the computation function option / M1. • For details on the settings of e-mail, see sections 2.3 and 2.11.
6.8 Basic Setting Commands (Control) 6.8 Basic Setting Commands (Control) PC Syntax Control Action, Input Setting GB Sets the PID group number Syntax Query Example GI Syntax Query Example HX Query Example PY Syntax Query Example HQ Syntax Query Example Sets the control period GI p1 p1: Control period (250ms, 500ms, 1s) Fixed to 1s for A/D integral time of 100 ms. GI? Set the control period to 500ms.
6.8 Basic Setting Commands (Control) MK Burnout settings *2: Syntax MK p1,p2 p1: Control input channel numbers (CI01–CI10, or CI01–CI05 for the CX1000) p2: Burnout settings (on/off) Query MK[ p1]? Description Valid when PV/SP computation is ON.
6.8 Basic Setting Commands (Control) GS Syntax Query Example HG Syntax Query Example HY Syntax MY Syntax Query MZ Syntax Query GS p1,p2 p1: Loop number (1 to 6) (1 or 2 on the CX1000) p2: Remote input (Off, Remote) GS[ p1]? Use the remote of loop 2. GS2,REMOTE Output Processing GF Sets the output processing Syntax Sets the alarm mode HG p1,p2 p1: Loop number (1 to 6) (1 or 2 on the CX1000) p2: Alarm mode (Always,Stop,Stop/Man) HG[ p1]? Set the alarm mode of loop 2 to stop.
6.8 Basic Setting Commands (Control) Tuning Setting GU Turns Off/On the tuning item Syntax Query Example GU p1,p2,p3,p4,p5,p6,p7,p8,p9 p1: Loop number (1 to 6, Ext1 to Ext16) (1 or 2, Ext1 to Ext4 on the CX1000) p2: Item number (1 to 21) p3: Item Off/On (Off, On) p4: Item ID* p5: Item name (alphanumeric characters) p6: Register address (5- or 6-digit number) (cannot be specified for internal loops excluding “Others”.
6.8 Basic Setting Commands (Control) GH Syntax Query Example GQ Syntax GN Syntax GH p1,p2,p3 p1: Loop number (Ext1 to Ext16) (Ext1 to Ext4 on the CX1000) p2: Control span lower p3: Control span upper GH[ p1]? Set the control span lower limit of external loop 10 to 0, the upper limit to 20000.
6.8 Basic Setting Commands (Control) 6.9 Control Commands PX Syntax Control Commands CA Switches between auto, manual, and cascade control Syntax Example OC Syntax Example RL Syntax Example OS Syntax Example SN Syntax Example CA p1,p2 p1: Switch between auto, manual, and cascade operation (0, 1, 2) 0: Automatic switching 1: Manual switching 2: Cascade switching p2: Loop number (1 to 6) (1 or 2 on the CX1000) Set the operation mode of loop 4 to cascade.
6.10 Output Commands (Control)/6.11 Output Commands (Setup, Measurement, and Computation Data Output) 6.10 Output Commands (Measurement-Control) BO Sets the byte output order Syntax BO p1 p1: Byte order 0: Outputs the data MSB first. 1: Outputs the data LSB first. Query BO? Example Output the data MSB first. BO0 Description This command applies to the byte order of numerical data during BINARY output.
6.
6.11 Output Commands (Setup, Measurement, and Computation Data Output) FS Syntax Example FT Syntax IS Syntax FS p1,p2 p1: Top channel number (01-20/31-60/101-118/ 201-248,, or 01-06/31-42/101-106/201-212 for the CX1000) p2: Last channel number (01-20/31-60/101-118/ 201-248,, or 01-06/31-42/101-106/201-212 for the CX1000) However, p1 <= p2 Outputs alarm kind and alarm setting value for control channels 101–110.
6.11 Output Commands (Setup, Measurement, and Computation Data Output) MI Outputs display data and event data in the internal memory Syntax MI p1,p2,p3,p4 p1: Operation type DIR Put the data on standby for communication output and output data list GET Output (first time) NEXT Output (succeeding times). This parameter is used to output the remaining data when the first output operation is not adequate.
6.12 Output Commands (Measurement-RS-422/485 Dedicated Commands)/6.13 Output Commands (Control) 6.12 Output Commands (Measurement-RS-422/485 Dedicated Commands) ESC O FP Opens the device Closes the device ESC is the character 1BH expressed using ASCII code. See appendix 1. Syntax ESC C p1 p1: Device address (01 to 32) Example Close the device whose address is 01. ESC C01 Description • Clears the current connection with the connection.
6.13 Output Commands (Control) FJ Outputs program pattern information that is currently in execution. Syntax FJ Example FJ Description Outputs program pattern information that is currently in execution. If a program pattern is not currenly in execution, information about the last pattern that was executed at the time of termination is output. In this case, the remaining segment time (SEGTM) and wait time of wait action (WAITTM) are zeroes.
6.13 Output Commands (Control)/6.14 Maintenance/Test Commands FV Outputs the status of the program control end signal. Syntax FV p1 p1: Program parameter numbers (1–30) 1–30: pattern number 1 to pattern number 30 When omitted, assumes the pattern numbers designated on the CX. Example Outputs the status of pattern number 2’s program control end signal FV2 Description The program control end signal is turned “ON” for approximately 5 s after the program control terminates normally.
6.14 Maintenance/Test Commands eth Syntax Example Outputs Ethernet statistical information TCP: closed Total number of dropped connections. TCP: timeoutdrop Total number of dropped connections due to TCP retransmission timeout. If the transmitted packet (the unit of transmitted data) is not received, the packet is automatically retransmitted at a predetermined time interval. If the packet is not received after 14 retransmissions, timeout occurs and the connection is dropped.
6.15 Instrument Information Output Commands 6.15 Instrument Information Output Commands (Available when using the instrument information server function via Ethernet communications) The instrument information server function interprets one UDP packet to be one command and returns a single packet (containing the CX information) in response to the command. Port number 34264/udp (see section 2.
Chapter 7 Response 7.1 Response Syntax The following table shows the types of responses for the various commands described in the previous chapter. The CX returns a response (affirmative/negative response) to a command that is delimited by a single terminator. The controller should follow the one command to one response format. When the command-response rule is not followed, the operation is not guaranteed.
7.1 Response Syntax ASCII Output The following types of ASCII data are available. For a description of the data formats, see section 7.2.
7.1 Response Syntax Flag Bit Name (Abbreviation) 7 6 5 4 3 2 1 0 BO CS – – – – – END Flag 0 MSB No – – – – – Middle 1 LSB Yes – – – – – End Meaning of the Flag Output byte order Presence of checksum In the middle or at the end of the continuous data • When the BO flag is “0,” the MSB is output first. When the BO flag is “1,” the LSB is output first.
7.1 Response Syntax Calculating the Sum Value If you set the parameter of the CS command to “1 (enabled),” the checksum value is output only during serial communications. The check sum is the same as that used in the TCP/IP and is derived according to the following algorithm. Buffer on Which the Sum Value Is Calculated • For the header sum, it is calculated from “data length + flag + identifier” (fixed to 6 bytes). • For the data sum, it is calculated from “BINARY data.
7.1 Response Syntax RS-422/485 Dedicated Commands and Responses The following table shows dedicated commands for the RS-422/485 interface and their responses.
7.2 Output Format of ASCII Data The following types of ASCII data are available. The format for each type is described in this section.
7.2 Output Format of ASCII Data Setting Data/Basic Setting Data • The FE command is used to output the data. • The setting/basic setting data are output in the order of the listed commands in the table in section 6.2, “A List of Commands.” However, the setting information for the following commands is not output.
7.2 Output Format of ASCII Data Decimal Point Position/Unit Information • The FE command is used to output the data. Syntax The data is output for each channel in the following syntax. EACRLF s_cccuuuuuu,ppCRLF ..................
7.2 Output Format of ASCII Data Measured/Computed/Control Data • The FD command is used to output the data. Syntax The measured/computed/control data is output in the following syntax along with the date and time information for each channel. EACRLF DATE_yy/mo/ddCRLF TIME_hh:mi:ss.mmmtCRLF s_ccca1a1a1a2a2a2a3a3a3a4a4a4uuuuuufdddddE-ppCRLF ............................ ENCRLF Year (00 to 99) Month (01 to 12) Day (01 to 31) Hour (00 to 23) Minute (00 to 59) Second (00 to 59) Millisecond (000 to 999.
7.2 Output Format of ASCII Data uuuuuu f ddddd pp _ Unit information (6 characters, left-justified) mV____: mV V_____: V ^C____: °C xxxxxx: (User-defined character string) Sign (+, -) Mantissa (00000 to 99999, 5 digits) • 8 digits for computed data. • For abnormal data (data status is E) or data of which the mantissa or the exponent exceeds the range (data status is O), the mantissa is set to 99999 (99999999 for computed data). Exponent (00 to 04) Space Example EA DATE 99/02/23 TIME 19:56:32.
7.2 Output Format of ASCII Data Control Mode Output • Output data using an FM command for internal loops, or a DR command for external loops.. • The status of the control mode of the selected loop is output. The status is indicated using 32 bits that are divided into 4 groups of 8 bits. Syntax EACRLF xxx.xxx.xxx.xxxCRLF ENCRLF xxx The statuses of bits 31 to 24, 23 to 16, 15 to 8, and 7 to 0 are indicated in order in decimal notation.
7.2 Output Format of ASCII Data Program Operatin Mode Output • The FH command is used to output the data. • The status of the program operation mode is output. The status is indicated using 32 bits that are divided into 4 groups of 8 bits. Syntax EACRLF xxx.xxx.xxx.xxxCRLF ENCRLF xxx The statuses of bits 31 to 24, 23 to 16, 15 to 8, and 7 to 0 are indicated in order in decimal notation. Bit 31 2 1 0 The status of each bit indicates the status of the program operation mode.
7.2 Output Format of ASCII Data When a program pattern is not in execution, information about the last pattern that was executed at the time of termination is output. In this case, the remaining segment time (SEGTM) and the wait time of wait action (WAITTM) are zeroes.
7.2 Output Format of ASCII Data Example EA PTNO 5 SEGNO 10 PRE_SEGNO 2 SEGUSE 7 SEGTM 11:05:22 WAITTM 00:06:00 RCYMOD 1 ALL_RCY 20 REM_RCY 2 RST 3 REN 6 PTN_START_DATE 02/01/03 PTN_START_TIME 10:00:00 PTN_STOP_DATE 02/01/05 PTN_STOP_TIME 10:00:00 EN Output of PV Event/Time Event Information • The FK command is used to output the data. • When in program operation, the statuses of the current PV event and time event are output.
7.2 Output Format of ASCII Data Status of the Program Control End Signal • The FV command is used to output the data. • The program control end signal is turned “ON” for approximately 5 s after the program control terminates normally. It does not turn “ON” if the program is forcibly terminated (termination through resetting). You can assign the program control end signal to a contact output and have the contact turned “ON” for approximately 5 s afer the program control terminates normally.
7.2 Output Format of ASCII Data mmm...m _ Message (up to 20 characters) • The communication log contains only the error number and not the error message section. • Normally, the transfer data are transmitted as they are, but in some cases, a special message is output. The special messages are shown below. Reception (Over length): Command length exceeded. (Over number): Number of commands exceeded (Serial error): Received an error character through serial commuk Cations.
7.2 Output Format of ASCII Data FTP Log • The FL command is used to output the data. • The FTP client log is output. Up to 50 file transfer logs are retained. Logs that exceed 50 are cleared from the oldest data. • For the meanings of the error codes, see the user’s manual IM 04L31A01-01E or IM 04L31A01-03E. Syntax EACRLF yy/mo/dd_hh:mi:ss_nnn_xxxxxxxxx_k_ffffffff_eeeCRLF ...................................
7.2 Output Format of ASCII Data Operation Error Log • The FL command is used to output the data. • The operation error log is output. Up to 50 operation error logs are retained. Logs that exceed 50 are cleared from the oldest data. • Other communication messages (400 to 999) and status messages (500 to 599) are not output. • For the meanings of the error codes, see the user’s manual IM 04L31A01-01E or IM 04L31A01-03E. Syntax EACRLF yy/mo/dd_hh:mi:ss_nnn_uuu...uCRLF ................................
7.2 Output Format of ASCII Data Example EA 99/05/11 99/05/11 99/05/11 99/05/11 EN 12:20:00 12:30:00 12:20:00 12:30:00 In 01 administrator Out In 03 user Out Web Operation Log • The FL command is used to output the data. • The log of operations on the Web browser is output. Up to 50 operations are retained. Logs that exceed 50 are cleared from the oldest data. Syntax EACRLF yy/mo/dd_hh:mi:ss_ffffff_eee_???...CRLF ...................................
7.2 Output Format of ASCII Data • When ffffff = MSG yy/mo/dd_hh:mi:ss_ffffff_eee_nn_mmm...CRLF nn Message number (01 to 08) mmm... Message (up to 16 characters) _ Space Example EA 01/02/11 01/02/11 01/02/11 01/02/11 01/02/11 01/02/11 EN 12:20:00 12:21:00 12:30:00 12:31:00 12:40:00 12:41:00 SCREEN 275 TREND 01 SCREEN BAR 01 KEY UP KEY RIGHT MSG 05 Hello-Hello MSG 05 Hello-Hello E-mail Log • The FL command is used to output the data. • The e-mail transmission log is output.
7.2 Output Format of ASCII Data Alarm Summary • The FL command is used to output the data. • The alarm summary is output. Up to 120 alarm information sets are retained. Alarm information sets that exceed 120 are cleared from the oldest data. Syntax EACRLF yy/mo/dd_hh:mi:ss_kcc_ls_YY/MO/DD_HH:MI:SSCRLF ...................................
7.2 Output Format of ASCII Data Message Summary • The FL command is used to output the data. • The message summary is output. Up to 100 messages are retained. Messages that exceed 100 are cleared from the oldest log. Syntax EACRLF yy/mo/dd_hh:mi:ss_nn_mmm..._uuu...CRLF ................................... ENCRLF yy mo dd hh mi ss nn mmm... uuu... _ Year (00 to 99) Month (01 to 12) Day (01 to 31) Hour (01 to 23) Minute (01 to 59) Second (01 to 59) Message number (01 to 08) File name (16 characters.
7.2 Output Format of ASCII Data File List • The ME command is used to output the data. • The file list and the file data sizes of the specified directory on the CX’s external storage medium are output. Syntax EACRLF ffffffff_eee_ssssssss_yy/mo/dd_hh:mi:ss_llllllllllCRLF ...................................................... zzzzzzz Kbyte freeCRLF ENCRLF File name (8 characters) If this is a directory, the characters
is shown at the position displaying the file data size.7.2 Output Format of ASCII Data Data List • The MI/MO command is used to output the data. • The number of blocks and file names of the specified data in the internal memory are output. • If the first parameter of the MI/MO command is DIR, the data in the internal memory is put on standby and the list is output. Syntax EACRLF aaCRLF bb_ffffffff_eee_ssssss_yy/mo/dd_hh:mi:sskllllllllllCRLF .......................................................
7.2 Output Format of ASCII Data User Level • The FU command is used to output the data. • User name, user level, and other information are output. Syntax EACRLF p_l_uuu...uCRLF ENCRLF p l uuu...
7.3 Output Format of BINARY Data This section describes the output format of the BINARY data that is disclosed. For information on other BINARY data, see “Identifier” on page 7-3. • Measured/computed/control data and FIFO data. • Display data • Event data The measured/computed data is output using signed 16-bit integer; the computed data is output using signed 32-bit integer. Physical value is derived adding the decimal point and unit. The decimal point position can be determined using the FE command.
7.3 Output Format of BINARY Data • Flag The meaning of the flags are given on the table below. The flags are valid during FIFO data output. The flags are undefined for other cases. 7 6 5 4 3 2 Flag 0 No – – – – No 1 Yes – – – – Yes 1 No Yes 0 No Yes Bit Meaning of the Flag Indicates that the screen snap shot was executed. Indicates that the decimal position or unit information was changed during measurement.
7.3 Output Format of BINARY Data Display Data • The MI command is used to output the FIFO data. • The ID number of the output format is “11.” See “Identifier” on page 7-3. Header Block 1 ... Block n BINARY data (The BINARY data section on the “Conceptual diagram” on page 7-2.) Header Syntax aaaaaa,ddd,ffffggg,ttttttCRLF DATE_yy/mo/ddCRLF TIME_hh:mi:ss.mmmtCRLF s_kccuuuuuu,ppCRLF ..................
7.3 Output Format of BINARY Data Block 2 bytes 2 bytes Measured data ... ... Measured data ... ... Computed data ... ... Computed data ... ... Control data ... ... MIN value MAX value Control data ... ... 4 bytes 4 bytes Special Data Values The measured/computed/control data take on the following values under special conditions.
7.3 Output Format of BINARY Data Event Data • The MI command is used to output the FIFO data. • The ID number of the output format is “12.” See “Identifier” on page 7-3. Header Block 1 ... Block n BINARY data (The BINARY data section on the “Conceptual diagram” on page 7-2.) Header Same as the “Header” for the display data. Block 2 bytes Measured data ... ... Computed data ... ... Control data ... ...
7.3 Output Format of BINARY Data DI/DO Data and Internal Switch Status (Style Number S3 Or Later) • DI/DO data and the internal switch status can be output using an FN command. • The output format identifier is 1. See page 7-3, “Identifier.” 2 bytes 2 bytes Number of blocks Number of bytes Block 1 BINARY data (The BINARY data section on the “Conceptual diagram” on page 7-2.) Number of Blocks This is the number of blocks (fixed at 0.) Number of Bytes This is the size of one block in bytes.
7.
7.
7.3 Output Format of BINARY Data Input Status of DIO Operation Monitoring DI01–6 (1 byte) bit0: Input status of DIO operation monitoring 1 (0: OFF, 1: ON). bit1: Input status of DIO operation monitoring 2 (0: OFF, 1: ON). : bit5: Input status of DIO operation monitoring 6 (0: OFF, 1: ON). bit6–bit7: 0 Shows the input status of DIO operation monitoring for each DIO operation monitoring number.
7.3 Output Format of BINARY Data Number and Operation Status of the Currently Running Program Patterns (Style Number 3 or Later) • The number, operation status, and loop numbers assigned to the currently running pattern can be output using an FW command. • The output format identifier is 1. See page 7-3, “Identifier.” • The information for patterns whose operation status is 0 (RESET) is past information.
7.3 Output Format of BINARY Data CX1000 bit0: Loop 1 (1:assigned, 0: unassigned) bit1: Loop 2 (1:assigned, 0: unassigned) bit2–bit7: 0 Measurement/Computation/Control Channel Alarm Types, Output of Settings (Style Number S3 or Later) • Measurement/computation/control channel alarm types, and settings are output using the FS command. • The output format identifier is 1. See page 7-3, “Identifier.” 2 bytes 2 bytes Number of blocks Number of bytes Block 1 ...
7.3 Output Format of BINARY Data Note • Information for skipped measurement channels, computation channels when computation is turned OFF, and control channels when control is turned OFF is not output. • Alarm setting values for control channels set by loops are output as alarm information for the PV, SP, and OUT channels corresponding to the alarm types. • When alarms are OFF, 0 is output for the alarm setting.
7.3 Output Format of BINARY Data Decimal point position The decimal point position of each channel’s input span Lower limit of span The lower limit value of each channel’s input span Upper limit of span The upper limit value of each channel’s input span Note • Information for skipped channels, or channels when control is turned OFF is not output. • For channels belonging to loops set for analog retransmission, only information for OUT channels is output. PV/SP channel information is not output.
7.4 Output Format of Instrument Information This section describes the instrument information output format of the instrument information server. Note The “CRLF” used in this section denotes carriage return line feed. Response The parameters of the packet that are returned as a response are lined up according to the following format. EACRLF (Parameter 1)_=_(value of parameter 1)CRLF (Parameter 2)_=_(value of parameter 2)CRLF .....................................
Chapter 8 Status Reports 8.1 Status Information and Filter The following figure depicts the status information and filter on the CX. 4 bytes 4 3 2 1 Status information Filter 4 3 2 1 Condition register • The IF command can be used to set the filter. • When a status indicated on the following page is entered, the corresponding bit in the condition register is set to “1.” The logical AND of the condition register and the filter becomes the status information.
8.2 Bit Structure of the Status Information The following four groups of status information are output in response to a status information output request using the IS command. For a description of the output format, see “Status Information” in section 7.2, “Output Format of ASCII Data.
Chapter 9 Green Series Communications 9.1 Specifications of the Green Series Communication Function Communication Protocol MODBUS communication RTU mode Connecting Model (Controller) • UT Series (UT320, UT321, UT350, UT351, UT420, UT450, UT520, UT550, and UT750 are applicable. However, if using “heating/cooling control” or “custom computation control” on the UT series, “ETC” is set on the selection menu.
9.1 Specifications of the Green Series Communication Function Various Setting Displays for the Green Series Communication Function Parameters can be entered on various displays including External loop setting (Basic setting), External loop setting (Parameter address setting), and External loop setting (Tuning setting) displays. For details on each display, see the following sections.
9.1 Specifications of the Green Series Communication Function External Loop Setting (Tuning Setting) Display You can set up to 21 turning parameters. • When the connecting model is UT Series • Select the turning parameters from below. Item ID is indicated inside the parentheses.
9.2 Setup Procedure of the Green Series Communication Function Set up the Green Series communications in the following order. 9-4 1. Connect the external devices (controllers) using the serial interface. Connect multiple devices with the CX as the host computer. For a description of how to connect the devices, see section 3.3, “Terminal Arrangement and Signal Names and the Connection Procedure of the RS-422/485 Interface.” 2. Set the serial interface.
9.3 Setting the Modbus Master Setting the Protocol To perform Green Series communications, set the protocol of the CX to [Modbus-M]. For the procedure, see section 4.2, “Setting the Modbus Protocol.” Connect external devices to the CX as Modbus slaves. Setting the Modbus Master Function When using the CX as a Modbus master, set the read cycle, timeout time, and retrials. For the procedure, see section 4.3, “Setting the Modbus Master Function.
9.4 External Loop Setting > Basic Setting Explanation External loop control refers to operating and monitoring of control loops of connecting models in the same fashion as internal loops by connecting slave devices (controllers) to the CX and using Modbus communications between the CX and the connecting models. The external loop control function enables you to retrieve the setup information of the connecting models and correct the setup information.
9.4 External Loop Setting > Basic Setting Executing Auto Reading • When the connecting model is UT Series • Various setup information can be automatically read from the connected device. If you specify the [Modbus address] on the External loop setting (Basic setting) display and execute [Auto reading], the CX, which is set to be the Modbus master, reads the following setup information from the connected device automatically. 1. Type of instrument connected. 2.
9.4 External Loop Setting > Basic Setting • Control mode • If the connecting model is UT series, select from the below. However, the selectable items vary depending on the connecting model. See the UT Series user’s manual.
9.4 External Loop Setting > Basic Setting • Control output type • If the connecting model is UT series, select from the following: • Control Output Type Soft Key Menu Time proportional PID relay contact output Time proportional PID voltage pulse output Current output On/Off-control relay contact output Relay Voltage-pulse Current-output On/Off-control If the connecting model is “ETC,” you cannot select the control output type.
9.4 External Loop Setting > Basic Setting Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. 1. 2. 3. 4. 5. Press the MENU key. The Setting mode (Control) display appears. Press the FUNC key for approximately 3 s. The Basic setting menu appears. Press the [#10] (Control) soft key ([#12] (Control) soft key on the CX1000). The Control menu appears. Press the [#6] (External loop setting) soft key ([#8] (External loop setting) soft key on the CX1000).
9.4 External Loop Setting > Basic Setting Setting the Modbus Address 10. Use the arrow keys to move the cursor to the [Modbus address] box. 11. Press the [Input] soft key. An entry box (numeric value input pop-up window) appears. 12. Enter the Modbus address of the controller. 13. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The Modbus address that you entered is displayed in the [Modbus address] box. Selecting the Connecting Model 14.
9.4 External Loop Setting > Basic Setting 21. Press the DISP/ENTER key. On the CX1000, select [ENT] and then press the DISP/ENTER key. The characters that you entered are displayed in the respective boxes. To clear the characters that you entered, press the [Clear] soft key. To copy the characters, press the [Copy] soft key. The [Paste] soft key appears. The copied characters can be pasted to boxes in which characters are entered. Executing Auto Reading (Applicable only to UT Series.) 22.
9.4 External Loop Setting > Basic Setting 25. If you selected a UT Series controller for the connecting model, set the control mode, control output type, and alarm type. Confirming or Canceling the Settings 26. To confirm the new settings, press the DISP/ENTER key. To cancel the settings, press the ESC key. For a detailed procedure in confirming or canceling settings, see “Setup Procedure Using Operation Keys” on page ix. Saving the Settings 27.
9.5 External Loop Setting > Parameter Address Setting Explanation You can set the register address of the setup information that is required for monitoring on the control group display, control overview display, and tuning display. Note To set various setup information by executing “Auto setting” on the External loop setting (Parameter address setting) display, the serial interface and Modbus master settings must be ready.
9.5 External Loop Setting > Parameter Address Setting Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. 1. 2. 3. 4. 5. Press the MENU key. The Setting mode (Control) display appears. Press the FUNC key for approximately 3 s. The Basic setting menu appears. Press the [#10] (Control) soft key ([#12] (Control) soft key on the CX1000). The Control menu appears. Press the [#6] (External loop setting) soft key ([#8] (External loop setting) soft key on the CX1000).
9.5 External Loop Setting > Parameter Address Setting Executing the Auto Setting (Applicable only to UT Series.) 8. Use the arrow keys to move the cursor to the [Auto setting] box. 9. Press the [Execute] soft key. The register addresses of the connecting model are set automatically. The register addresses are set automatically according to the various information that was read automatically on the External loop setting (Basic setting) display.
9.6 External Loop Setting > Tuning Setting Explanation You can set up to 21 turning parameters. Note To set various setup information by executing “Auto setting” on the External loop setting (Tuning setting) display, the serial interface and Modbus master settings must be ready. Set the serial interface and the Modbus master function and save the settings by pressing the [End] soft key on the basic setting menu. Then, return to the External loop setting (Tuning setting) display and execute “Auto setting.
9.6 External Loop Setting > Tuning Setting Setting (Correcting) the Detail Information • If the data is not set correctly using auto setting, you can set (correct) the items using the operation keys.
9.6 External Loop Setting > Tuning Setting Procedure For the basic flow of operation, see “Setup Procedure Using Operation Keys” on page ix. 1. 2. 3. 4. 5. Press the MENU key. The Setting mode (Control) display appears. Press the FUNC key for approximately 3 s. The Basic setting menu appears. Press the [#10] (Control) soft key ([#12] (Control) soft key on the CX1000). The Control menu appears. Press the [#6] (External loop setting) soft key ([#8] (External loop setting) soft key on the CX1000).
9.6 External Loop Setting > Tuning Setting Executing the Auto Setting (Applicable only to UT Series.) 8. Use the arrow keys to move the cursor to the [Auto setting] box. 9. Press the [Execute] soft key. The detail information (item ID, item name, register address, decimal point position, and high and low limits of value range) of the tuning parameters of the connecting model is set automatically.
9.6 External Loop Setting > Tuning Setting Confirming or Canceling the Settings 13. To confirm the new settings, press the DISP/ENTER key. To cancel the settings, press the ESC key. For a detailed procedure in confirming or canceling settings, see “Setup Procedure Using Operation Keys” on page ix. Saving the Settings 14. Press the ESC key several times to display the basic setting menu. 15. Press the [End] soft key. A dialog box appears for you to select whether to save the settings. 16.
9.7 Checking the Operating Conditions of the Green Series Communication Function Explanation “EXTLOOP STATUS” Display You can check the operating conditions of the Green Series communication function on the “EXTLOOP STATUS” display. CX2000 screen example On the CX1000, up to loop 4 is displayed. Communication condition Controller address Status lamp Detail code Communication Status The communication status is displayed using the status lamp and the detail code.
9.7 Checking the Operating Conditions of the Green Series Communication Function Procedure Opening the “EXTLOOP STATUS” Display 1. Press the FUNC key. The FUNC menu appears. The structure of the FUNC menu varies depending on the basic settings and options. 2. Press the [EXT_Loop Commu] soft key. The “EXTLOOP STATUS” display appears. Data Dropout When a data dropout occurs, the message “Data dropout” is displayed on the “EXTLOOP STATUS” screen. Press an arrow key. The message disappears.
9.8 Starting the Operation Note Start the operation after completing the following settings and checking the operating conditions of the Green Series communication function (see section 9.7). 1. The serial interface and Modbus master settings must be ready Set the serial interface and the Modbus master function and save the settings by pressing the [End] soft key on the basic setting menu. 2. After step 1, set the parameters related to external loops according to Basic setting (section 9.
9.9 Operations That You Can Carry Out during Control Operation During control operation, you can show the control status of the connecting models as external loops on the control group display. In addition, you can carry out operations related to control on the control group display in the same fashion as internal loops. Operations on the Control Group Display You can carry out the following operations on the control group display or the control overview display in the same fashion as internal loops.
9.
Appendix Appendix 1 ASCII Character Codes Upper 4 bits 7 3 4 5 SP 0 @ P 1 1 A Q a q 2 2 B R b r 3 C S c s 4 D T d t 0 Lower 4 bits 6 2 0 3 1 # 4 % 5 E U e u 6 & 6 F V f v 7 G W g w 8 ( 8 H X h x 9 ) 9 I Y i y * : J Z j z A LF K k L l – M m E .
Appendix 2 Output Flow of Internal Memory Data Display Data Example Command to send START Command description Received response data Send command *1 MIDIR,DISPLAY Put the internal memory data in standby for communication output and view the data list. Receive response ASCII (see section 7.2, “Data List.
Appendix 2 Output Flow of Internal Memory Data Event data (Set *1, *2, and *3 in the previous figure to the following commands) *1: MIDIR,EVENT Output the list. *2: MIGET,EVENT,2,FILE Output the data of the second block to a file. *3: MINEXT If subsequent data exists, output the data. Manual sampled data (Set *1 and *2 in the previous figure to the following commands) *1: MODIR,MANUAL *2: MOGET,MANUAL,2 Since manual sampled data can be transmitted in one session, *3 is not necessary.
Appendix 3 Output Flow of the File or the File List on the External Storage Medium Example in Which the File 10101000.CDS in the DATA0 Directory Is Output Command to send START Command description Received response data Send command MEGET,/DATA0/10101000.DDS Receive response Specify the file name using the full path, and output the file. BINARY (See section 7.1, “BINARY Output.
Appendix 3 Output Flow of the File or the File List on the External Storage Medium Example in Which the File List Belonging to Directory DATA0 Is Output 10 Files at a Time Command to send START Command description Received response data Send command Output command for the first file list Specify the number of file lists to be output when issuing this command. MEDIR,/DATA0/,10 Receive response ASCII (See section 7.2, “File List.”) EA ............. .............
Appendix 4 Output Flow of FIFO Data Overview of the FIFO Buffer The CX has a dedicated internal memory for outputting measured/computed/control data. The memory structure is FIFO (First-In-First-Out). Measured/computed/control data is constantly acquired to the internal memory at the specified acquisition interval (FIFO acquisition interval, set with the FR command).
Appendix 4 Output Flow of FIFO Data Example in Which the FIFO Acquisition Interval on the CX Is Set to 1 s and the Measured/Computed/Control Data from CH1 to CH248 Is Continuously Output using the FIFO Function (Logging) Command to send START Command description Received response data Send command Move the FIFO read position to the most recent acquire position. FFRESET Receive response E0 Wait for the FIFO acquiring interval (1 s) Send command Output the measured/computed data using the FIFO.
Appendix 5 Data Dropout during Modbus Master If the response to the previous command is not complete when the CX attempts to issue a command to a slave device, the CX command cannot issue the command, and a data dropout results. Take appropriate measures by referring to the following figures. 1. When the response from the slave device take a long time Read cycle Slave device 1 G G G G Slave device2 G Slave device3 G Data dropout (Slaves 2 and 3) Data dropout (Slave 3) 2.
Appendix 6 Register Assignments Register Assignments during Modbus Slave The register assignments of the Modbus slave function are shown below. On the CX1000, if you write to or read from a register that does not exist (communication registers C13 to C30, measurement channels 07 to 20, computation channels 43 to 60, and control loops 3 to 6), an error (error code 2) is returned.
Appendix 6 Register Assignments Modbus Register Number 40601 40602 40603 40604 40605 40606 40607 40608 : 40833 40834 40835 40836 40837 40838 40839 40840 Description Alarm value of computation channel 1 Higher 2 bytes of alarm number 1 Alarm value of computation channel 1 Lower 2 bytes of alarm number 1 Alarm value of computation channel 1 Higher 2 bytes of alarm number 2 Alarm value of computation channel 1 Lower 2 bytes of alarm number 2 Alarm value of computation channel 1 Higher 2 bytes of alarm number
Appendix 6 Register Assignments Parameters Related to Loop 1 Modbus Register Number 41001 41002 41003 41004 41005 41006 41007 Description Value Parameter Enable/Disable the use of bias on –100% to 100% of the measurement span: per Loop PV1, bias value, bias input type Bias value (bias enabled) –30001 to –32768, 30001 to 32767: Bias disabled Enable/Disable the use of bias on –100% to 100% of the measurement span: PV2, bias value, bias input type Bias value (bias enabled) –30001 to –32768, 30001 to 3
Appendix 6 Register Assignments Modbus Register Number 41101 41102 41103 41104 41105 41106 41107 41108 41109 41110 41111 41112 41125 41126 41127 41128 41131-41142 41155-41158 41161-41172 App-12 Register Type PID parameters of PID number 1 of loop 1 Description Target setpoint (SP) Read/ Write Value Within the measurement span excluding the decimal point Proportional band (P) 1 to 9999: 0.1 to 999.9% Integral time (I) 0 to 6000 Derivative time (D) 0 to 6000 Output low-limit –50 to 1050: –5.
Appendix 6 Register Assignments Modbus Register Number 41185-41188 41191-41202 41215-41218 41221-41232 41245-41248 41251-41262 41275-41278 41281-41292 41305-41308 41311-41322 41335-41338 Register Type Control alarm value of PID number 3 of loop 1 PID parameter of PID number 4 of loop 1 Control alarm value of PID number 4 of loop 1 PID parameter of PID number 5 of loop 1 Control alarm value of PID number 5 of loop 1 PID parameter of PID number 6 of loop 1 Control alarm value of PID number 6 of loo
Appendix 6 Register Assignments Parameters Related to Loop 2 Modbus Register Number 41501-41519 41601-41612 41625-41628 41631-41642 41655-41658 41661-41672 41685-41688 41691-41702 41715-41718 41721-41732 41745-41748 41751-41762 41775-41778 41781-41792 41805-41808 41811-41822 41835-41838 App-14 Register Type Description Parameter per Loop PID parameter of PID number 1 of loop 2 Control alarm value of PID number 1 of loop 2 PID parameter of PID number 2 of loop 2 Control alarm value of PID
Appendix 6 Register Assignments Parameters Related to Loop 3 Modbus Register Number 42001-42019 42101-42112 42125-42128 42131-42142 42155-42158 42161-42172 42185-42188 42191-42202 42215-42218 42221-42232 42245-42248 42251-42262 42275-42278 42281-42292 42311-42322 42335-42338 IM 04L31A01-17E Description Parameter per Loop PID parameter of PID number 1 of loop 3 Control alarm value of PID number 1 of loop 3 PID parameter of PID number 2 of loop 3 Control alarm value of PID number 2 of loop 3
Appendix 6 Register Assignments Parameters Related to Loop 4 Modbus Register Number 42501-42519 42601-42612 42625-42628 42631-42642 42655-42658 42661-42672 42685-42688 42691-42702 42715-42718 42721-42732 42745-42748 42751-42762 42775-42778 42781-42792 42805-42808 42811-42822 42835-42838 App-16 Register Type Description Parameter per Loop PID parameter of PID number 1 of loop 4 Control alarm value of PID number 1 of loop 4 PID parameter of PID number 2 of loop 4 Control alarm value of PID
Appendix 6 Register Assignments Parameters Related to Loop 5 Modbus Register Number 43001-43019 43101-43112 43125-43128 43131-43142 43155-43158 43161-43172 43185-43188 43191-43202 43215-43218 43221-43232 43245-43248 43251-43262 43275-43278 43281-43292 43311-43322 43335-43338 Description Parameter per Loop PID parameter of PID number 1 of loop 5 Control alarm value of PID number 1 of loop 5 PID parameter of PID number 2 of loop 5 Control alarm value of PID number 2 of loop 5 PID parameter of
Appendix 6 Register Assignments Parameters Related to Loop 6 Modbus Register Number 43501-43519 43601-43612 43625-43628 43631-43642 43655-43658 43661-43672 43685-43688 43691-43702 43715-43718 43721-43732 43745-43748 43751-43762 43775-43778 43781-43792 43805-43808 43811-43822 43835-43838 Register Type Description Parameter per Loop PID parameter of PID number 1 of loop 6 Control alarm value of PID number 1 of loop 6 PID parameter of PID number 2 of loop 6 Control alarm value of PID number 2
Appendix 6 Register Assignments • Control Channel Bias and Filter Values When PV/SP Computation is ON When PV/SP computation is ON, the bias and filter values for PV1 and PV2 specified by loops is set by control channel.
Appendix 6 Register Assignments • Program Control Parameters Modbus Register Number 44001 44002 44003 44004 Register Type Description 44005 Program run/stop Hold program operation Advance segment Switch pattern number (Operated pattern number designated on this register) Pattern number in operation 44006 Segment number in operation 44007 Number of segments of the pattern used currently Remaining segment time of the pattern in operation (hh) Remaining segment time of the pattern in operation (mm) Re
Appendix 6 Register Assignments *4 Each register bit (16 bits) indicates the event status corresponding to each event number. When the setting is “1,” the event is ON.
Appendix 6 Register Assignments • Program Individual Control Parameters Modbus Register Number 38101 Description Pattern number used as pattern id1 38102 Pattern number used as pattern id2 38103 Pattern number used as pattern id3 38104 Pattern number used as pattern id4 38105 Pattern number used as pattern id5 38106 Pattern number used as pattern id6 38107 to 38112 Run/stop programs of patterns id1–6 Run/hold programs of patterns id1–6 Segment number of executing pattern id1–6 38113 to 38118
Appendix 6 Register Assignments Modbus Register Number 38155 Register Type Description 38173 to 38180 38181to 38186 Switch time of pattern id1, and elapsed wait time (hh) when waiting. Switch time of pattern id1, and elapsed wait time (mm) when waiting. Switch time of pattern id1, and elapsed wait time (ss) when waiting. : Switch time of pattern id6, and elapsed wait time (hh) when waiting. Switch time of pattern id6, and elapsed wait time (mm) when waiting.
Appendix 6 Register Assignments • Write Registers for DO/internal switches Modbus Register Number 44501 44502 44503 44504 44505 44506 44507 to 44512 44513 to 44518 44519 to 44530 44531 to 44600 44601 to 44636 App-24 Register Type Description DO001 DO002 DO003 DO004 DO005 DO006 DO101 to DO106 DO201 to DO206 RO001 to RO012 Reserved SW001 to SW036 Value 0: OFF, 0: OFF, 0: OFF, 0: OFF, 0: OFF, 0: OFF, 0: OFF, 0: OFF, 0: OFF, Read/ Write 1: ON 1: ON 1: ON 1: ON 1: ON 1: ON 1: ON 1: ON 1: ON R/W R/W R/W R
Appendix 6 Register Assignments • Input Registers Modbus Register Number 30001 : 30020 31001 : 31020 32001 32002 : 32059 32060 33001 : 33030 34001 : 34018 35001 Description Measured data : Measured data Measured data alarm status : Measured data alarm status Computed data Computed data : Computed data Computed data Computed data alarm status : Computed data alarm status Control data : Control data Control data alarm status Control data alarm status : 35035 : Control data alarm status 35036 Control dat
Appendix 6 Register Assignments *5 The figure below shows the alarm status of the measured data and computed data. Each register contains data in the following order: alarm number 2/alarm number 1/alarm number 4/ alarm number 3. Each alarm number uses 4 bits to specify a value in the range of 0 to 8.
Appendix 6 Register Assignments *8 The control data alarm statuses of registers 36014 and 36015 indicate the statuses of alarm numbers 1 to 4 of each loop using the bit status of the register (16 bits). If the status of alarm numbers 1 to 4 of each loop is ON, the corresponding bit is set to 1 regardless of the alarm type.
Appendix 6 Register Assignments *9 Registers 37001–37003 (status of control module DI), 37004 (status of expansion module DI), 37011–37013 (status of control module DO), 37014 (status of expansion module DIO), and 37021–37023 (status of internal switches) show the status of each bit in the register (16-bit). The status of the DIO and internal switches are shown in order from the last bit in the register.
Appendix 6 Register Assignments Register Assignments during Ladder Communications The register assignments of the Modbus slave function are shown below. The register data does not contain unit information or decimal point position information. Set the information on the host side. The alarm values and computed data of computation channels are assigned to two registers in the following order: higher 5 digits of the 10 digit BCD code and lower 5 digits.
Appendix 6 Register Assignments D Register Number D0601 Description Alarm value of computation channel 1 Upper 5 digits of alarm number 1 D0602 Alarm value of computation channel 1 Lower 5 digits of alarm number 1 D0603 Alarm value of computation channel 1 Upper 5 digits of alarm number 2 D0604 Alarm value of computation channel 1 Lower 5 digits of alarm number 2 D0605 Alarm value of computation channel 1 Upper 5 digits of alarm number 3 D0606 Alarm value of computation channel 1 Lower 5 digits o
Appendix 6 Register Assignments Parameters Related to Loop 1 D Register Number D1001 D1002 D1003 D1004 D1005 D1006 D1007 Description Value Enable/Disable the use of bias on –100% to 100% of the measurement span: PV1, bias value, bias input type Bias value (bias enabled) –30001 to –32768, 30001 to 32767: Bias disabled Enable/Disable the use of bias on –100% to 100% of the measurement span: PV2, bias value, bias input type Bias value (bias enabled) –30001 to –32768, 30001 to 32767: Bias disabled Enab
Appendix 6 Register Assignments D Register Number D1101 D1102 D1103 D1104 D1105 D1106 D1107 D1108 D1109 D1110 D1111 D1112 D1125 D1126 D1127 D1128 D1131-D1142 D1155-D1158 D1161-D1172 App-32 Register Type Description PID parameter of Target setpoint (SP) PID number 1 of loop 1 Proportional band (P) Integral time (I) Derivative time (D) Output low-limit Output high-limit Shutdown function enable/disable Read/ Write Value Within the measurement span excluding the decimal point 1 to 9999: 0.1 to 999.
Appendix 6 Register Assignments D Register Number D1185-D1188 D1191-D1202 D1215-D1218 D1221-D1232 D1245-D1248 D1251-D1262 D1275-D1278 D1281-D1292 D1305-D1308 D1311-D1322 D1335-D1338 Register Type Control alarm value of PID number 3 of loop 1 PID parameter of PID number 4 of loop 1 Control alarm value of PID number 4 of loop 1 PID parameter of PID number 5 of loop 1 Control alarm value of PID number 5 of loop 1 PID parameter of PID number 6 of loop 1 Control alarm value of PID number 6 of loop 1 P
Appendix 6 Register Assignments Parameters Related to Loop 2 D Register Number D1501-D1519 D1601-D1612 D1625-D1628 D1631-D1642 D1655-D1658 D1661-D1672 D1685-D1688 D1691-D1702 D1715-D1718 D1721-D1732 D1745-D1748 D1751-D1762 D1775-D1778 D1781-D1792 D1805-D1808 D1811-D1822 D1835-D1838 App-34 Register Type Description Parameter per Loop PID parameter of PID number 1 of loop 2 Control alarm value of PID number 1 of loop 2 PID parameter of PID number 2 of loop 2 Control alarm value of PID numbe
Appendix 6 Register Assignments Parameters Related to Loop 3 D Register Number D2001-D2019 D2101-D2112 D2125-D2128 D2131-D2142 D2155-D2158 D2161-D2172 D2185-D2188 D2191-D2202 D2215-D2218 D2221-D2232 D2245-D2248 D2251-D2262 D2275-D2278 D2281-D2292 D2305-D2308 D2335-D2338 IM 04L31A01-17E Description Parameter per Loop PID parameter of PID number 1 of loop 3 Control alarm value of PID number 1 of loop 3 PID parameter of PID number 2 of loop 3 Control alarm value of PID number 2 of loop 3 PID p
Appendix 6 Register Assignments Parameters Related to Loop 4 D Register Number D2501-D2519 D2601-D2612 D2625-D2628 D2631-D2642 D2655-D2658 D2661-D2672 D2685-D2688 D2691-D2702 D2715-D2718 D2721-D2732 D2745-D2748 D2751-D2762 D2775-D2778 D2781-D2792 D2805-D2808 D2811-D2822 D2835-D2838 App-36 Register Type Description Parameter per Loop PID parameter of PID number 1 of loop 4 Control alarm value of PID number 1 of loop 4 PID parameter of PID number 2 of loop 4 Control alarm value of PID numbe
Appendix 6 Register Assignments Parameters Related to Loop 5 D Register Number D3001-D3019 D3101-D3112 D3125-D3128 D3131-D3142 D3155-D3158 D3161-D3172 D3185-D3188 D3191-D3202 D3215-D3218 D3221-D3232 D3245-D3248 D3251-D3262 D3275-D3278 D3281-D3292 D3305-D3308 D3335-D3338 Description Parameter per Loop PID parameter of PID number 1 of loop 5 Control alarm value of PID number 1 of loop 5 PID parameter of PID number 2 of loop 5 Control alarm value of PID number 2 of loop 5 PID parameter of PID n
Appendix 6 Register Assignments Parameters Related to Loop 6 D Register Number D3501-D3519 D3601-D3612 D3625-D3628 D3631-D3642 D3655-D3658 D3661-D3672 D3685-D3688 D3691-D3702 D3715-D3718 D3721-D3732 D3745-D3748 D3751-D3762 D3775-D3778 D3781-D3792 D3805-D3808 D3811-D3822 D3835-D3838 Value Read/ Write R/W Register Type Description Parameter per Loop PID parameter of PID number 1 of loop 6 Control alarm value of PID number 1 of loop 6 PID parameter of PID number 2 of loop 6 Control alarm va
Appendix 6 Register Assignments • Control Channel Bias and Filter Values When PV/SP Computation is ON When PV/SP computation is ON, the bias and filter values for PV1 and PV2 specified by loops is set by control channel.
Appendix 6 Register Assignments • Program Control Parameters Modbus Register Number D4001 D4002 D4003 D4004 Register Type Description D4005 Program run/stop Hold program operation Advance segment Switch pattern number: Only when program operation is stopped Pattern number in operation D4006 Segment number in operation D4007 Number of segments of the pattern used currently Remaining segment time of the pattern in operation (hh) Remaining segment time of the pattern in operation (mm) Remaining segmen
Appendix 6 Register Assignments Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Event number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Bit Status and Event Status 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1: Event ON 0: Event OFF, 1:
Appendix 6 Register Assignments • Program Individual Control Parameters D Register Number D8101 Register Type Description Pattern number used as pattern id1 D8102 Pattern number used as pattern id2 D8103 Pattern number used as pattern id3 D8104 Pattern number used as pattern id4 D8105 Pattern number used as pattern id5 D8106 Pattern number used as pattern id6 D8107 to D8112 Run/stop programs of patterns id1–6 Run/hold programs of patterns id1–6 Segment number of executing pattern id1–6 D8113
Appendix 6 Register Assignments D Register Number D8155 Register Type Description D8173 to D8180 D8181 to D8186 Switch time of pattern id1, and elapsed wait time (hh) when waiting. Switch time of pattern id1, and elapsed wait time (mm) when waiting. Switch time of pattern id1, and elapsed wait time (ss) when waiting. : Switch time of pattern id6, and elapsed wait time (hh) when waiting. Switch time of pattern id6, and elapsed wait time (mm) when waiting.
Appendix 6 Register Assignments • Write Registers for DO/internal switches D Register Number D4501 D4502 D4503 D4504 D4505 D4506 D4507 to D4512 D4513 to D4518 D4519 to D4530 D4531 to D4600 D4601 to D4636 App-44 Register Type Description DO001 DO002 DO003 DO004 DO005 DO006 DO101 to DO106 DO201 to DO206 RO001 to RO012 Reserved SW001 to SW036 Value 0: OFF, 0: OFF, 0: OFF, 0: OFF, 0: OFF, 0: OFF, 0: OFF, 0: OFF, 0: OFF, 1: ON 1: ON 1: ON 1: ON 1: ON 1: ON 1: ON 1: ON 1: ON 0: OFF, 1: ON Read/ Write R/W
Appendix 6 Register Assignments • Read-only Parameters Measured data : Measured data Measured data alarm status : Measured data alarm status Computed data Computed data : Computed data Computed data Computed data alarm status : Computed data alarm status Control data : Control data Control data alarm status D7502 Control data alarm status : D7535 : Control data alarm status D7536 Control data alarm status D7601 Measured data alarm status (CH01 to CH04) : Measured data alarm status (CH17 to CH20) Co
Appendix 6 Register Assignments *5 The figure below shows the alarm status of the measured data and computed data. The register contains 16-bit signed integer data in the following order: alarm number 2/alarm number 1/alarm number 4/alarm number 3. Each alarm number uses 4 bits to specify a value in the range of 0 to 8.
Appendix 6 Register Assignments *8 The control data alarm statuses of registers D7614 and D7615 indicate the statuses of alarm numbers 1 to 4 of each loop using the bit status of the register (16 bits).If the status of alarm numbers 1 to 4 of each loop is ON, the corresponding bit is set to 1 regardless of the alarm type. When the data is read using ladder communications, the 16-bit signed data converted to BCD is returned. Therefore, the host computer must convert the value to 16-bit signed integer.
Appendix 6 Register Assignments *9 Registers D7801–D7803 (status of control module DI), 37004 (status of expansion module DI), D7811– D7813 (status of control module DO), D7814 (status of expansion module DIO), and D7821–D7823 (status of internal switches) show the status of each bit in the register (16-bit). The status of the DIO and internal switches are shown in order from the last bit in the register.
Appendix 7 Messages Messages related mainly to the communications of the CX and their corrective actions are given. Error responses to communication commands are output in English. For a description of the messages not covered in this section, see the user’s manual IM 04L31A01-01E or IM 04L31A01-03E. Errors Related to Parameter Settings • Setting Errors Code Message Explanation/Countermeasures/Ref. section 8 Incorrect input mode. Sections 6.4 and 6.5 9 Incorrect input range code. Sections 6.
Appendix 7 Messages Operation Errors • Errors Related to the External Storage Medium Code Message Explanation/Countermeasures/Ref. section 200 Operation aborted because an error was found in media. Check the external storage medium. 214 There is no file or directory. Section 6.11 • Errors Related to E-mail and Web Server Code Message Explanation/Countermeasures/Ref. section 260 IP address is not set or ethernet function is not available. The IP address is not specified. Check the IP address.
Appendix 7 Messages • Errors Related to FTP Client The detail code does not appear in the error message on the screen. You can view the code on the FTP log display of the CX or using the FTP log output via communications. Code Message 280 IP address is not set or FTP function is not available. Further details are provided by the character string that appears after error code 280. Character String and Details HOSTADDR The IP address of the CX has not been specified. Check the IP address.
Appendix 7 Messages Code Message Character String and Details SERVER The server is not in a condition to provide the service. Check that the server is in a condition in which service can be provided. 283 FTP command was not accepted. Further details are provided by the character string that appears after error code 283. Character String and Details USER Failed user name verification. Check the user name setting. PASS Failed password verification Check the password setting.
Appendix 7 Messages Code Message 285 FTP data connection error. Further details are provided by the character string that appears after error code 285. Character String and Details SOCKET Failed to create a socket for the transfer connection.*2 BIND Failed the transfer connection command.*2 CONNECT Failed the transfer connection.*2 LISTEN Failed the transfer connection reception.*2 ACCEPT Failed to accept the transfer connection.*2 SOCKNAME Internal processing error.
Appendix 7 Messages Communication Errors • Errors during Setting and Basic Setting Modes, Output Communication Command Execution, and Setup Data Loading Code Message 300 Command is too long. 301 Too many number of commands delimited with ‘;’. 302 This command has not been defined. 303 Data request command can not be enumerated with sub-delimiter. 350 Command is not permitted to the current user level. 351 This command cannot be specified in the current mode. 352 The option is not installed.
Appendix 7 Messages • Other Communication Errors An English error message is returned via the communication interface. It is not displayed on the screen. Code Message 400 Input username. 401 Input password. 402 Select username from ‘admin’ or ‘user’. 403 Login incorrect, try again! 404 No more login at the specified level is acceptable. 410 Login successful. (The special user level) 411 Login successful. (The general user level) 420 Connection has been lost.
Appendix 8 Login Procedure You log into the CX from your PC to use the functionality of the setting/measurement server and the maintenance/test server via the Ethernet interface. If you complete the procedure successfully up to login complete in the following figure, the commands in chapter 6 become functional.
Appendix 8 Login Procedure When Not Using the Login Function of the CX Login as “admin” or “user.” • The user name “admin” can be used to login to the CX as an administrator. • The user name “user” can be used to access the CX as a user.
Index Index A account ............................................................................. 2-11 address ..................................................................... 3-10, 4-6 ADMINISTRATOR ............................................................. 2-17 affirmative response ............................................................ 7-1 alarm indication ................................................................. 9-25 alarm summary .................................................
Index HQ ................................................................................ 6-49 HR ................................................................................ 6-50 HS ................................................................................ 6-17 HT ................................................................................ 6-17 HU ................................................................................ 6-54 HV ..........................................................
Index communication input data ................................................... 4-6 communication log .................................................... 1-8, 7-15 communication log screen ................................................ 2-22 communication program for FA-M3 ..................................... 5-8 communication program for MELSEC .............................. 5-13 communication status ............................................. 4-11, 9-22 communication with PCs .....................
Index L P ladder communication module ............................................ 5-8 ladder communication protocol ........................................... 5-1 ladder communications ..................................................... 1-12 limitations ............................................................................ 9-3 list of commands ................................................................. 6-4 login and timeout functions ...............................................
Index setup procedure using operation keys .................................. ix signal names ............................................................... 3-2, 3-5 simultaneous connections ................................................... 2-1 simultaneous users ............................................................. 2-1 single negative response .................................................... 7-1 slave address ............................................................