User’s Manual FX1000 Communication Interface (/C2, /C3, /C7) IM 04L21B01-17EN 2nd Edition
Thank you for purchasing the FX1000 (hereafter referred to as “FX”). This User’s Manual contains information about the Ethernet/serial interface communication functions. To ensure correct use, please read this manual thoroughly before operation. Notes Trademarks Revision History • The contents of this manual are subject to change without prior notice as a result of continuing improvements to the instrument’s performance and functions.
Conventions Used in This Manual • Unit K Denotes 1024. Example: 768 KB (file size) k Denotes 1000. • Markings The following markings are used in this manual. Improper handling or use can lead to injury to the user or damage to the instrument. This symbol appears on the instrument to indicate that the user must refer to the user's manual for special instructions. The same symbol appears in the corresponding place in the user's manual to identify those instructions.
Names and Uses of Parts and the Setup Procedures Using the Operation Keys Front Panel LCD Soft keys Press these keys to select the menu displayed on the screen. DISP/ENTER key Press this key to confirm the setting or to close the entry box. Arrow keys Press these keys to move between setup items displayed on the screen. MENU and FUNC keys Press MENU, and then hold down FUNC for approximately 3 seconds to display the basic setting menu. From this menu, you can enter the communication setup menu.
Contents Names and Uses of Parts and the Setup Procedures Using the Operation Keys............................ iii Chapter 1 Chapter 2 Chapter 3 Chapter 4 iv Using the Ethernet Interface (/C7 Option) 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 What You Can Do with the FX1000...................................................................................... 1-1 Flow of Operation When Using the Ethernet Interface.......................................................
Contents Chapter 5 Chapter 6 Appendix 1 Status Reports 5.1 5.2 Status Information and Filter................................................................................................. 5-1 Bit Structure of the Status Information.................................................................................. 5-2 2 Specifications 6.1 6.2 6.3 Ethernet Interface Specifications..........................................................................................
Blank Page
Chapter 1 1.1 Using the Ethernet Interface (/C7 Option) What You Can Do with the FX1000 1 Modbus Client • The FX acting as a Modbus client device can connect to a Modbus server device and read or write to the internal register. You can use computation channels to handle the data that you have read as the communication input data of the computation function.* You can write measured data and computed data.
1.1 What You Can Do with the FX1000 Modbus Server • A Modbus client device can carry out the following operations on the FX that is operating as a Modbus server device.
1.1 What You Can Do with the FX1000 Setting/Measurement Server 1: /M1, /PM1, and /PWR1 options • For details on how to use this function, see section 1.12. • The commands that can be used with this function are setting commands (see section 3.4), control commands (see section 3.5), basic setting commands (see section 3.6), and output commands (see sections 3.7 and 3.8). • This function can be used when communicating through the Ethernet interface (/C7 option) or serial interface (/C2 and /C3 options).
1.1 What You Can Do with the FX1000 FTP Server • You can use a PC to access the FX via FTP. You can perform operations such as retrieving directory and file lists from the external storage medium of the FX and transferring and deleting files. In addition, you can also retrieve the directory or file list and transfer files in the internal memory. • For a description of the settings required to use this function, see section 1.6.
1.1 What You Can Do with the FX1000 FTP Client 1 • The display data, event data, report data (/M1, /PM1, and /PWR1 options), and snapshot data files that are created in the internal memory of the FX can be automatically transferred to an FTP server. The result of the transfer is recorded in the FTP log. The FTP log can be shown on the FX’s display (see “Log Display” described later) or output to a PC using commands.
1.1 What You Can Do with the FX1000 Login • This function can be used only when using the setting/measurement server, maintenance/test server, and the FTP server functions. • For a description of the settings required to use this function, see the FX1000 User’s Manual, IM 04L21B01-01EN. • For a description of the login process of the setting/measurement server and maintenance/test server, see appendix 2. User registration Users are registered using the login function of the FX.
1.1 What You Can Do with the FX1000 Web Server 1 Using the Ethernet Interface (/C7 Option) Microsoft Internet Explorer can be used to display the FX screen on the PC. • The following two pages are available. • Monitor page: Screen dedicated for monitoring. • Operator page: You can switch the FX screen. You can also modify and write messages. • You can set access control (user name and password specified with the login function) on each page.
1.1 What You Can Do with the FX1000 E-mail Transmission Transmitting e-mail messages The available types of e-mails are listed below. E-mail can be automatically transmitted for each item. You can specify two groups of destinations and specify the destination for each item. In addition, you can set a header string for each item. • Alarm mail Reports alarm information when an alarm occurs or clears.
1.1 What You Can Do with the FX1000 SNTP Server/Client DHCP Client Other Functions This function can be used to automatically retrieve IP addresses from a DHCP server. You can also manually request or release network information. 1 Using the Ethernet Interface (/C7 Option) The client function retrieves time information from a specified SNTP server such as at the specified interval. The server function provides time information to FXs connected to the same network.
1.2 Flow of Operation When Using the Ethernet Interface Follow the flowchart below to set the Ethernet communications.
1.3 Connecting the FX 1 Using the Ethernet Interface (/C7 Option) Connecting to the Port 2 Connector Connect an Ethernet cable to the Ethernet port on the FX rear panel. 3 Ethernet cable 4 CAUTION Do not connect an Ethernet cable whose plug does not comply with FCC specifications. If you do, the FX may malfunction. 5 Connecting to the PC Make the connection via a hub. For a one-to-one connection with a PC, make the connection as shown in the figure below.
1.3 Connecting the FX Setting the IP Address Host Information and DNS ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > IP address. ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > Host settings.
1.3 Connecting the FX 1 Set DHCP to Not. • IP address Using the Ethernet Interface (/C7 Option) When using a fixed IP address • DHCP 2 Set the IP address to assign to the FX. • Subnet mask Set the subnet mask according to the system or network to which the FX belongs. • Default gateway 3 Set the IP address of the gateway. • Host name Set the FX’s host name using up to 64 alphanumeric characters. You do not have to set this parameter.
1.3 Connecting the FX Requesting/Releasing Network Information from DHCP You can manually request or release network information such as the IP address. This operation applies when DHCP is set to Use. Perform the request or release after displaying the network information screen. Requesting Network Information 1. Display the network information screen. ◊ Press FUNC and select Network info. 2. Execute the network information request. ◊ Press FUNC and select Network info > Request.
1.3 Connecting the FX 1 Releasing Network Information ◊ Using the Ethernet Interface (/C7 Option) 1. Display the network information screen. Press FUNC and select Network info. 2 3 4 2. Execute the network information release. ◊ 5 Press FUNC and select Network info > Release. 6 App Index The network information is released.
1.3 Connecting the FX Setting the Communication Status ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > Keep alive, Timeout. Setting the keepalive To disconnect when there is no response to the test packets that are periodically sent, select On. Otherwise, select Off. Setting the application timeout • Selecting On/Off To use the application timeout function, select On. Otherwise, select Off.
1.4 Sending E-mail Messages 1 Set the server configuration and the contents of the e-mail transmission. ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > E-Mail.
1.4 Sending E-mail Messages Basic Settings Set the SMTP server and mail address. • SMTP server name Enter the host name or IP address of the SMTP server. • Port number Unless specified otherwise, set the number to the default value. The default value is 25. • Security Select PbS if you want to enable POP before SMTP. To enable authenticated e-mail transmission (Authentication SMTP), select Auth. When you select Auth, the SMTP authorization items appear.
1.4 Sending E-mail Messages • Include source URL 1 • Subject Using the Ethernet Interface (/C7 Option) Select On to attach the source URL. Attach the URL when the Web server is enabled. Enter the subject of the e-mail using up to 32 alphanumeric characters. The default setting is Alarm_summary. • Header1 and Header2 Enter header 1 and header 2 using up to 64 characters. 3 Scheduled Settings Specify the settings for sending e-mail at scheduled times.
1.4 Sending E-mail Messages Configuring the POP3 Server Connection Specify how the FX operates when it connects to a POP server. ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode) and select the Environment tab > Communication > POP3 Details. Send delay [seconds] Enter the delay between a POP3 server authentication and the transmission in the range of 0 to 10 seconds. POP3 Login To encrypt the password when logging into the POP3 server, select APOP.
1.4 Sending E-mail Messages E-mail Format Alarm Notification E-mail Format • Subject Subject: [Alarm Summary] 2 3 • Syntax header1CRLF header2CRLF CRLF Alarm_summary.CRLF CRLF hostCRLF CRLF ccc···cCRLF lqCRLF mo/dd_hh:mi:ssCRLF CRLF CRLF mo/dd_hh:mi:ssCRLF ccc···c=ddd···dCRLF ···························· CRLF Access_the_following_URL_in_order_to_look_at_a_screen.CRLF http://host.
1.4 Sending E-mail Messages Scheduled E-mail Format • Subject Subject:Periodic_Data • Syntax header1CRLF header2CRLF CRLF Periodic_data.CRLF CRLF hostCRLF CRLF
1.4 Sending E-mail Messages 1 System Mail (Power Failure) Format • Subject Using the Ethernet Interface (/C7 Option) Subject: System_warning • Syntax 2 header1CRLF header2CRLF CRLF Power_failure.CRLF CRLF hostCRLF CRLF mo/dd_hh:mi:ssCRLF mo/dd_hh:mi:ssCRLF CRLF Access_the_following_URL_in_order_to_look_at_a_screen.CRLF http://host.
1.4 Sending E-mail Messages System Mail (Error) Format • Subject Subject:System_warning • Syntax header1CRLF header2CRLF CRLF Error.CRLF CRLF hostCRLF CRLF mo/dd_hh:mi:ssCRLF ERROR:fffCRLF ···························· ”Operation_aborted_because_an_error_was_found_in_media.”CRLF CRLF Access_the_following_URL_in_order_to_look_at_a_screen.CRLF http://host.domain/CRLF CRLF fff Error number (200, 201, 211, 281 to 285) The error messages that appear vary depending on the error type.
1.4 Sending E-mail Messages 1 Subject:Report_data • Syntax header1CRLF header2CRLF CRLF ti_report.CRLF CRLF hostCRLF CRLF mo/dd_hh:mi:ssCRLF ccc···cCRLF eee···eCRLF eee···eCRLF eee···eCRLF eee···eCRLF uuu···uCRLF ···························· CRLF Access_the_following_URL_in_order_to_look _at_ a_ screen.CRLF http://host.
1.4 Sending E-mail Messages Test E-mail Format • Subject Subject: Test • Syntax Test_mail.CRLF CRLF hostCRLF CRLF CRLF mo/dd_hh:mi:ssCRLF CRLF CRLF x:msCRLF ···························· CRLF x Message number (1 to 10) ms Message content (only specified messages are output.
1.5 Monitoring the FX on a PC Browser 1 Using the Ethernet Interface (/C7 Option) Setting the Web Server Function 2 From the basic setting mode menu, set the server function and Web page of Communication (Ethernet). Setting the Web server ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > Server > Server modes. 3 4 5 6 • Web For the Web item under Server, select Use or Not (don’t use).
1.5 Monitoring the FX on a PC Browser Page Type • Monitor Configure the monitor page. You can carry out the following operations on the monitor page. • Display the alarm summary • Display the measured and computed values of all channels • Display logs (message summary, error log, etc.) For screen examples, see “Monitoring with a Browser” in this section. • Operator Set the operator page. The following operations can be carried out in addition to the functions available on the monitor page.
1.5 Monitoring the FX on a PC Browser 1 Monitoring with a Browser Set the URL appropriately according to the network environment that you are using. You can access the FX by setting the URL as follows: http://host name.domain name/file name http Protocol used to access the server. File name File name of the monitor page and operator page of the FX. File name of the monitor page: monitor.htm File name of the operator page: operator.htm Omitting the file name is equivalent to specifying the monitor page.
1.5 Monitoring the FX on a PC Browser Contents of the Monitor Page Note If the FX is in setting mode or basic setting mode, you cannot display the monitor page or the operator page. If you try to do so, an error message appears. For details on the modes, see the FX1000 First Step Guide, IM 04L21B01-02EN. Refresh the screen Display the alarm summary Displays the alarm summary in a separate window. All channel display Displays the measured values and alarm statuses of all channels in a separate window.
1.5 Monitoring the FX on a PC Browser 1 Contents of the Operator Page Using the Ethernet Interface (/C7 Option) Message Write a message. 2 Select the trend screen Directly select the group you want to display. Select the historical screen Directly select the group you want to display. Select other displays You can select the overview display, digital display, or bar graph display. Arrow keys and DISP/ENTER key These keys carry out the same operations as the corresponding keys on the FX.
1.5 Monitoring the FX on a PC Browser Alarm Summary Click Alarm Summary to display the alarm summary. Click Refresh to update the data. • You can display information for up to 400 alarms. • Based on the FX settings, the Channel column displays channel numbers or tags. All Channel Display Click All Channels to display the measured values and alarm status of all channels. Click Refresh to update the data. • Based on the FX settings, the Channel column displays channel numbers or tags.
1.5 Monitoring the FX on a PC Browser 1 Writing Messages (Operator page only) Using the Ethernet Interface (/C7 Option) You can assign a text string to one of the FX messages 1 through 10 and write the message to a specified group at the same time. The maximum message length is 32 alphanumeric characters. The current message setting is overwritten. 2 Example of Writing a Message Use message number 9 and write the message “ALARM” to all groups.
1.6 Accessing the Measurement Data File on the FX from a PC You can access data files stored on the external storage medium and data files stored in internal memory. However, you cannot access the external storage medium on models that do not have a CF card slot. Setting the FTP Server Server Function ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > Server > Server modes.
1.6 Accessing the Measurement Data File on the FX from a PC When Not Using the Login Function Using a Web Browser to Access the FX An example of retrieving files using a browser is described below. In the Address box, enter the following: ftp://host name.domain name/file name Drag the data you want to retrieve from the /MEMO/DATA0 folder in the case of internal memory data or the /DRV0 folder in the case of data on the external storage medium to the PC.
1.7 Transferring Measurement Data Files and Other Files from the FX The display and event data files, report data files, and snapshot data files created in the internal memory of the FX can be automatically transferred using FTP at the time the files are created. Files to Be Transferred via FTP The display, event, and report data files are transferred automatically to the FTP destination at appropriate times.
1.7 Transferring Measurement Data Files and Other Files from the FX Setting the FTP Connection Destination • FTP connection You can specify two destination FTP servers, Primary and Secondary. If the primary FTP server is down, the file is transferred to the secondary FTP server. • FTP server name Enter the name of the file transfer destination FTP server using up to 64 alphanumeric characters. • If the DNS is used, you can set the host name as a server name.
1.7 Transferring Measurement Data Files and Other Files from the FX Testing the FTP Transfer You can test whether a test file can be transferred from the FX to an FTP server. ◊ Press FUNC and select FTPtest. Items to check before performing this test • Connect the Ethernet cable correctly. For the connection procedure, see section 1.3. • Check that the Ethernet interface settings are correct. For the procedure, see section 1.3.
1.8 Synchronizing the Time 1 Using the Ethernet Interface (/C7 Option) The FX time can be synchronized to the time on an SNTP server. The FX can also function as an SNTP server. 2 Setting the SNTP Client Synchronize the FX time to the time on an SNTP server. ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > SNTP client.
1.8 Synchronizing the Time Setting the SNTP Server Carry out the steps below to run the FX as an SNTP server. ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > Server > Server modes • SNTP For the SNTP item under Server, select Use or Not (don’t use). When an SNTP client on the network queries the time information to the FX, the FX sends the time information.
1.9 Using the Modbus Server Function 1 Using the Ethernet Interface (/C7 Option) The FX is used as a Modbus server. For the Modbus specifications, see section 6.3. 2 Setting the Modbus Server Carry out the steps below to enable another device to read the FX data or write data to the FX using Modbus. ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > Server > Server modes.
1.9 Using the Modbus Server Function Port Number The default value is 502. To change the setting, ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Environment tab > Communication > Service port. For the selectable range of port numbers, see section 6.1. Reading/Writing the FX Data on Another Device Another device (client device) sends commands to the FX to read the FX data or write data to the FX.
1.10 Using Modbus to Read Data From and Write Data to Other Devices 1 Setting the Modbus Client Carry out the steps below to enable the FX to read the data of another device or write data to another device using Modbus. ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > Modbus client. Basic settings Using the Ethernet Interface (/C7 Option) 2 The FX is used as a Modbus client.
1.10 Using Modbus to Read Data From and Write Data to Other Devices • Unit Select Auto if the unit number of the destination server is not required; Otherwise, select Fixed. If you select Fixed, the unit number item is displayed. • No. Enter a fixed unit number in the range of 0 to 255. Setting the transmitted commands • Client command number Select 1 to 16 for the transmitted command numbers to be configured. • Command type Set the command type to Off, R-M, W, or W-M.
1.10 Using Modbus to Read Data From and Write Data to Other Devices Examples of Setting Commands FX Connection (Modbus client) example Instrument A (Modbus server 1) 2 Instrument B (Modbus server 2) Ethernet 3 Loading to Communication Input Data The FX inputs data loaded from the server to communication input data as floating point type data. • Example 1 Load the value of the 16-bit signed integer assigned to register 30001 of instrument A to C01.
1.10 Using Modbus to Read Data From and Write Data to Other Devices Writing Measured Values to the Server • Example Write the measured value (16-bit signed integer) from channel 001 to register 40001 of instrument A.
1.10 Using Modbus to Read Data From and Write Data to Other Devices 1 Checking the Modbus Operating Status ◊ Press DISP/ENTER and select INFORMATION > MODBUS CLIENT. Note To display MODBUS CLIENT on the screen selection menu, you need to change the setting using the menu customize function. The operation is as follows: ◊ Press MENU (to switch to setting mode), and select the Menu tab > Menu customize > Display menu 1. 2. Select INFORMATION > MODBUS CLIENT Press the View soft key.
1.10 Using Modbus to Read Data From and Write Data to Other Devices Resuming Command Transmission You can use the front panel keys to resume command transmission to a server device to which communication is stopped (red status lamp). 1. Using the up and down arrow keys, select the command corresponding to the server device to which transmission will be resumed. The message “Push [right arrow] key to refresh” appears. 2. Press the right arrow key.
1.11 Usage Example of the Modbus Function 1 Using the Ethernet Interface (/C7 Option) Explains the setting example for both Modbus client and server on FX1000s connected via the Ethernet. In this section, the FX that has been set as the Modbus server is referred to as “FX1000 server.” FXs that have been set as Modbus clients are each referred to as “FX1000 client.
1.11 Usage Example of the Modbus Function Settings on the FX1000 Server (Modbus Server) Setting the Modbus Server Function ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > Server > Server modes. Item Modbus Settings Use About the Port Number The port number is 502 by default.
1.11 Usage Example of the Modbus Function Setting the FX1000 Client (Modbus Client) Registering the Destination Server Register the FX1000 server to number 1. The IP address of the FX1000 server is “190.168.1.101” as an example. ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Ethernet) > Modbus client > Modbus server settings.
1.11 Usage Example of the Modbus Function Setting the Computation Channel ◊ Press MENU (to switch to setting mode), and select the Menu tab > Math channel > Expression, Alarm. Item First-CH, Last-CH Math Calculation expression Span_L Span_U Unit Settings 101 On C01*K01 –2.0000 2.0000 V ◊ Press MENU (to switch to setting mode), and select the Menu tab > Math channel > Constant. Item Number of constant Value Settings K01 0.
1.11 Usage Example of the Modbus Function Starting the Computation (FX1000 Client) 1 Using the Ethernet Interface (/C7 Option) ◊ Press FUNC and select Math start. The computation starts. A computation icon is displayed on the status display section. The value of computation channel 101 displayed in group 1 on the FX1000 client varies in sync with the measured value of channel 001 on the FX1000 server.
1.12 Using the Setting/Measurement Server This section explains how to use the setting/measurement server. You can use this function to send commands to retrieve data from the FX and to control it. For information about the maximum number of simultaneous connections, see section 6.1. When Not Using the Login Function Access the server using the user name “admin” or “user.
1.13 Using the Maintenance/Test Server 1 Access the server using the user name “admin” or “user.” You can use either the administrator (admin) or user commands, depending on which name you used to log in. When Using the Login Function Log in as an administrator or user who has been registered on the FX. Of the commands in chapter 3, you can use either the administrator (system administrator) or user (normal user) commands, depending on which name you used to log in.
Blank Page
Chapter 2 2.1 Using the Serial Communication Interface (/C2 and /C3 Options) What You Can Do with the FX1000 1 You can use an RS-232 or RS-422A/485 interface to perform serial communications. Explains the serial communication functions. • The FX can connect to a Modbus slave device and read or write to the internal register. You can use computation channels to handle the data that you have read as 1 the communication input data of the computation function.
2.1 What You Can Do with the FX1000 Modbus Slave • A Modbus master device can carry out the following operations on the FX that is operating as a Modbus slave device.
2.2 Flow of Operation When Using the Serial Interface 1 The following flow chart shows the procedure to follow to configure communications using RS-232 or RS-422A/485. The procedure varies for RS-232 and RS-422A/485.
2.3 Connecting the FX Connecting the cable Connect a cable to the serial port on the FX rear panel. RS-232 Connection Procedure Connect a cable to the 9-pin D-sub RS-232 connector. Connector pin arrangement and signal names 1 2 3 4 5 (Rear panel) 6 7 8 9 Each pin corresponds to the signal indicated below. The following table shows the signal name, RS-232 standard, JIS, and ITU-T standard signals.
2.3 Connecting the FX 1 • Connection example • OFF-OFF/XON-XON PC PC SD RD RS CS SG SD RD RS CS SG 3 2 7 8 5 FX SD RD RS CS SG 2 • XON-RS(XON-RTS) PC SD RD RS CS SG 3 2 7 8 5 FX SD RD RS CS SG 3 The connection of RS on the PC and CS on the FX is not necessary. However, we recommend that you wire them so that the cable can be used in either direction.
2.3 Connecting the FX • XON-XON • Data transmission control Software handshaking is performed between the FX and the PC. When an “X-OFF” code is received while sending data to the PC, the FX stops the data transmission. When the FX receives the next “X-ON” code, the FX resumes the data transmission. The CS signal received from the PC is ignored. • Data reception control Software handshaking is performed between the FX and the PC.
2.3 Connecting the FX 1 RS-422A/485 Connection Procedure Terminal arrangement and signal names Connect a cable to the clamp terminal. 2 (rear panel) 3 RS-422A/485 interface terminal A serial communication terminal that comes with the /C3 option Each terminal corresponds to the signal indicated below. Signal Name FG SG SDB SDA RDB RDA Using the Serial Communication Interface (/C2 and /C3 Options) 4 Meaning Frame ground of the FX. Signal ground. Send data B (+). Send data A (–).
2.3 Connecting the FX Connection example to the host device You can connect the FX to a host device that has an RS-232, RS-422A, or RS-485 port. Use a converter to connect to an RS-232 port. See the following connection examples for typical converter terminals. For details, see the manual that comes with the converter.
2.3 Connecting the FX Note • Serial interface converter The recommended converter is given below. SYSMEX RA CO.,LTD./MODEL RC-770X, LINE EYE/SI-30FA, YOKOGAWA/ML2 2 3 4 5 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).
2.4 Setting the Serial Communication ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Serial) > Basic settings. For RS-232 • Baud rate Select 1200, 2400, 4800, 9600, 19200, or 38400 (bps). • Data length Select 7 or 8 (bits). To output the data in binary format, select 8. • Parity Set the parity check method to Odd, Even, or None. • Handshaking Select Off:Off, XON:XON, XON:RS, or CS:RS.
2.5 Using the Modbus Slave Function 1 The FX is used as a Modbus slave. For the Modbus specifications, see section 6.3. 2 Select Modbus as a protocol on the Basic settings. For detail, see section 2.4, “Setting the Serial Communication.” Reading/Writing the FX Data on Another Device Another device (master device) sends commands to the FX to read the FX data or write data to the FX. You can perform some operations, such as memory start, by writing in the registers.
2.6 Using Modbus to Read Data From and Write Data to Other Devices The FX is used as a Modbus master. For the Modbus specifications, see section 6.3. Setting the Serial Communication Select Modbus-M as a protocol on the Basic settings. For detail, see section 2.4, “Setting the Serial Communication.
2.6 Using Modbus to Read Data From and Write Data to Other Devices • First/Last (FX channel numbers) 1 • Address 2 Enter the first and last channel numbers for I/O. The range of channels that you can enter varies depending on the command type as follows: R-M: C01 to C24, W: 001 to 012, W-M: 101 to 124 • Regi. Set the register number of the slave. For an input register, select in the range of 30001 to 39999 and 300001 to 365536.
2.6 Using Modbus to Read Data From and Write Data to Other Devices • Communication conditions The read cycle, Inter-block delay, Time out, Auto recovery, and Retrials settings are displayed. • Communication Status The communication status is displayed using the status lamp and the detail code. Status Lamp Detail Code Meaning Green Good Communication is operating normally. Yellow Command is readying. Red Communication is stopped. None No response from the slave device.
2.7 Usage Example of the Modbus Function 1 3 System Configuration and Actions Uses the measurement channel, computation channel, and communication input data as described in the figure below. Assumes other conditions are set properly. Serial communication Command Measured data Measurement channel 001 Input range: –2.0000 to 2.0000 V FX1000 master (Modbus master) Reads the FX1000’s measured data, and uses a computation channel (/M1, /PM1, and /PWR1 options) to display it.
2.7 Usage Example of the Modbus Function Settings on the FX1000 Slave (Modbus Slave) Setting the Modbus Slave Function ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Serial) > Basic settings. Item Settings Address 1 Modbus Protocol Note: Set the communication conditions the same as those of the master device.
2.7 Usage Example of the Modbus Function 1 Setting the FX1000 Master (Modbus Master) Assumes the settings other than those below are left to default values. Setting the Modbus Master Function ◊ Press MENU (to switch to setting mode), hold down FUNC for 3 s (to switch to basic setting mode), and select the Menu tab > Communication (Serial) > Basic settings. 2 Using the Serial Communication Interface (/C2 and /C3 Options) 3 4 Item Settings Address You can specify any value.
2.8 Using the Setting and Measurement Function This section explains the setting and measurement function. You can use this function to send commands to retrieve data from the FX and to control it. Connecting to the FX Perform the operations that are appropriate for your PC, software, and network environment. For RS-232 The FX is ready to receive commands as soon as you connect it to the PC.
Chapter 3 Commands 3.1 Command Syntax 1 Command Syntax The syntax of the FX’s setting, basic setting, and output commands (see sections 3.4 to 3.9) is given below. ASCII (see appendix 3) is the supported character code. For the syntax of the maintenance/test commands (see section 3.11) and instrument information output commands (see section 3.12), see the corresponding sections or the examples for each command.
3.1 Command Syntax Query • A question mark is used to specify a query. • By placing a query after a command or parameter, you can query the corresponding command’s setting. Some commands cannot be executed as queries. For the query syntax of each command, see sections 3.4 to 3.7. SR? or SRp1? can be executed. Example 1 SR[p1]? Example 2 SA[p1[p2]]? SA?, SAp1?, and SAp1,p2? can be executed. Delimiter • A comma is used as the delimiter. • Parameters are separated by delimiters.
3.1 Command Syntax Response The FX returns a response (affirmative or negative acknowledgment) to each command that is delimited by a terminator.1 The controller should follow the one command to one response format. If the command-response rule is not followed, the operation of the FX is not guaranteed. For the response syntax, see section 4.1. 1 2 1: RS-422A/485 commands (see section 3.9) and instrument information output commands (see section 3.12) are exceptions.
3.2 List of Commands FX Execution Modes The FX has two execution modes. If you attempt to execute a command in an execution mode that is different from the mode that the command is specified for, a syntax error will occur. Use the DS command to switch to the appropriate execution mode, and then execute the command. Queries can be executed in either mode. • Basic setting mode This mode is used to change the settings. In this mode, measurements and computations are stopped.
3.
3.
3.2 List of Commands 1 Basic Setting Commands Note • • Command Name WU WO WH XV XB XJ XM RF RN RP RO RM XG XN YB YD YA YK RU WS WW YQ YT YU YV YW YX YJ YP YR WB WC YS YL IM 04L21B01-17EN The settings that are changed using the YA, YK, RU, YQ, YS, YB, YD, WS, WW, and WQ commands are applied after saving the new settings using the XE command and restarting the FX. When you execute the YE or YO command, communication is disconnected. Commands listed after the YO or YE command are ignored.
3.
3.3 1 Setup Parameters Example of Entering Measuring Range Parameters The table below shows configuration examples. Measuring Range VOLT /SQRT TC RTD DI Input Type Parameter 20mV 2V R K Pt100 LEVEL Selectable Range of the Measuring Range –20.000mV to 20.000mV –2.0000V to 2.0000V 0.0 to 1760.0 –200.0 to 1370.0 –200.0 to 600.
3.3 Setup Parameters List of Measuring Range Parameters The table below shows the relationship between the input types and the range parameters. For details on the selectable range, see the FX1000 User’s Manual, IM 04L21B01-01EN.
3.
3.4 Setting Commands 3.4 SR Setting Commands Example Sets an input range You cannot use this command to configure settings while recording (memory sampling) or computation is in progress. When Setting Channels to Skip Syntax Query Example SR p1,p2 p1 Measurement channel number p2 Setting type (SKIP) SR[p1]? Skip channel 001. SR001,SKIP Description • Set p1 and p4 by referring to the table in section 3.3.
3.
3.
3.4 Setting Commands SA Sets an alarm When Not Using Alarms Syntax Query Example SA p1,p2,p3 p1 Measurement or computation channel number p2 Alarm number (1 to 4) p3 Alarm on or off (OFF) SA[p1[,p2]]? Description You can specify computation channels (including in queries) on models with the /M1, /PM1, or /PWR1 math option.
3.4 Setting Commands • If p6 is set to OFF, the relay number (p7) is a Don’t care value in setting commands. In queries, this parameter will always be returned as a space. • An error will occur if p7 is set to a number of a relay that is not installed. • Parameter p8 is valid when No logging under Alarm is set to “On” in basic setting mode. When parameter p8 is invalid, it is a Don’t care value in setting commands. In queries, this parameter will always be returned as “On.
3.4 Setting Commands TE Syntax Sets sampling conditions for event data SP Syntax REPEATTRIGGER Acquires data and then enters the trigger-wait state. p4 Sampling time (10MIN, 20MIN, 30MIN, 1H, 2H, 3H, 4H, 6H, 8H, 12H, 1DAY, 2DAY, 3DAY, 5DAY, 7DAY, 10DAY, 14DAY, 31DAY) p5 Pretrigger length as percentage (0, 5, 25, Query Example 50, 75, 95, 100) p6 Key trigger source disable or enable (OFF, ON) Parameters p5 to p6 are valid when p3 is set to SINGLETRIGGER or REPEATTRIGGER.
3.4 Setting Commands ST Syntax Query Example Sets a tag ST p1,p2 p1 Measurement or computation channel number p2 Tag (up to 16 characters) ST[p1]? Set the channel 002 tag to TAG2. ST002,TAG2 Description • For the characters that you can use for tags, see appendix 3, “ASCII Character Codes.” Note that you cannot use semicolons or commas. • You can specify computation channels (including in queries) on models with the /M1, /PM1, or /PWR1 math option.
3.4 Setting Commands TF Syntax Sets a data file name TF p1,p2,p3 p1 Fixed to 1 p2 Configuration BATCH File name based on the batch TD Syntax Query Example SD Syntax Query Example p3 p4 p5 p6 Set the file name configuration to SERIAL, and set the user-assigned character string to “FX1DATA.
3.4 Setting Commands SE Syntax Query Example TB Syntax Query Example SB Syntax Query Example Sets the line width and the number of grid sections to use on the trend graph SE p1,p2 p1 Trend line width (1 to 3) in dots p2 Number of grid segments (4 to 12, AUTO) SE? Set the trend waveform line width to 1 dot and the number of grid segments to 10. SE1,10 Sets the bar graph display TB p1 p1 Bar graph display direction HORIZONTAL VERTICAL TB? Display bar graphs horizontally.
3.4 Setting Commands TG Syntax TG p1,p2,p3,p4,p5,p6,p7 p1 Measurement or computation channel number p2 Area (OFF, IN, OUT) p3 Display color (24 colors; see the SL command, which is used to set a trip line) p4 Lower display position limit p5 Upper display position limit p6 Lower display position limit (exponent) p7 Upper display position limit (exponent) TG[p1]? SQ Syntax Set the channel 005 color scale band to the range from –1.0000 to 0.
3.4 Setting Commands TR Syntax Query Example TQ Sets the automatic monitor return function TR p1 p1 Automatic return time limit (OFF, 1MIN, 2MIN, 5MIN, 10MIN, 20MIN, 30MIN, 1H) TR? Set the automatic return time limit to 5 minutes.
3.
3.4 Setting Commands SK Syntax Query Example Sets a computation constant (/M1, /PM1, and /PWR1 options) SK p1,p2 p1 Computation constant number p2 Constant (–9.9999E+29 to –1.0000E–30, 0, 1.0000E–30 to 9.9999E+29; five significant digits) SK[p1]? SJ Syntax Set the constant in computation constant number K01 to 1.0000E–10. SKK01,1.0000E-10 Description • You cannot use this command to configure settings while recording (memory sampling) or computation is in progress.
3.4 Setting Commands TX Syntax Query Example Syntax Query Example TX p1 p1 Computation operation (OFF, START, RESET+START) TX? BH p1,p2,p3,p4 p1 Fixed to 1 p2 Field number (1 to 8) p3 Field title (up to 20 characters) p4 Field string (up to 30 characters) BH[p1[,p2]]? Set the field title to “OPERATOR” and the field string to “123-01” for field number 2. BH1,2,OPERATOR,123-01 Description For the characters that you can use, see appendix 3.
3.4 Setting Commands Description • Use parameter p2 to set the VT ratio. VT ratio (p2): 10 to 60000 Set this value using an integer without a decimal point. (10 means “1.0.”) • About the CT ratio setting The range of the CT ratio is 0.05 to 32000. Parameters p4 (the integer) and p3 (the decimal place) are used to display the value. (Example: If p3 is 2 and p4 is 12345, the CT ratio is 123.45.) • The range of parameter p3 is 0 to 2. The ranges of p4 in relation to p3 are shown in the following table.
3.4 Setting Commands SM Sets the custom menu Setting the main menu Syntax The FX displays menu items in the specified order. Menu items that are not specified are not displayed. TREND DIGITAL BAR Bar graph OVERVIEW INFORMATION TRENDHISTORY Historical trend LOG ESC SEPARATOR Set the first menu item to TREND and the second menu item to TRENDHISTORY. SMDISP_MAIN,TREND,TRENDHISTORY Description • If you omit parameter p2 and the subsequent parameters, all menu items are hidden.
3.
3.
3.5 Control Commands 3.5 BT Syntax Query Example Control Commands Sets a batch name BT p1,p2,p3 p1 Fixed to 1 p2 Batch number (up to 32 characters) p3 Lot number (up to 8 digits) BT[p1]? Set the batch name structure to have the batch number “PRESS5LINE” and the lot number 007. BT1,PRESS5LINE,007 Description Set p1 by referring to the table in section 3.3.
3.5 Control Commands EV Syntax Syntax Example CV Syntax Execute manual sampling. EV0 Executes manual SNTP (/C7 option) CL p1 p1 Executes manual SNTP (0) Synchronize the clock. CL0 MS Syntax CV p1 p1 Trend interval (0, 1) 0 Switches to the first trend interval (the normal trend interval) Switches to the secondary trend interval Set the trend interval to the secondary trend interval.
3.5 Control Commands Example Switch the FX to basic setting mode. DS1 Description • You cannot set p1 to 1 when the FX is recording (memory sampling) or computing, is formatting an external storage medium, or is storing data to an external storage medium. • You cannot set p1 to 1 when the FX is formatting an external storage medium or is storing data to an external storage medium.
3.5 Control Commands CU Syntax YO Example CU p1 p1 Communication type 0 Modbus client (Ethernet) 1 Modbus master (serial) Loads a setup file that includes the settings for basic setting mode YO p1,p2 p1 Name of the file to load (up to 32 characters) p2 Medium 0 CF slot 1 USB Load the CONFIG1 file from the CF card. YOCONFIG1,0 Description • When you specify the file name, do not specify the extension. • You can set p2 to 1 on models that have the USB interface (/USB1 option).
3.6 Basic Setting Commands 3.
3.
3.6 Basic Setting Commands Detailed POP3 settings WU p1,p2,p3 p1 Setting type (POP3) p2 Delay after accessing POP3 until transmission (in seconds; 0 to 10) p3 POP3 login method (PLAIN, APOP) Description On models that have the Ethernet interface (/C7 option), you can set p1 to POP3.
3.6 Basic Setting Commands XV Syntax XV p1 p2 p3 p4 p1,p2,p3,p4 Fixed to 1 NORMAL Fixed Scan interval (125MS, 250MS, 1S, 2S, 5S) A/D integration time (AUTO, 50Hz, 60Hz, 100ms) XV[p1]? Set the scan interval to 1 second. XV1,NORMAL,1S Description The selectable scan intervals vary depending on the model. See the FX1000 User’s Manual, IM 04L21B01-01EN. You can only set p4 to 100ms when p3 is set to 2S or 5S.
3.6 Basic Setting Commands RN Syntax Query Example RP Syntax Sets basic login RN p1,p2 p1 Auto logout (OFF, 1MIN, 2MIN, 5MIN, 10MIN) p2 Operation without Login OFF Disables FX operation DISPLAY Only enables screen operation RN? Set the auto logout time to 1 minute, and disable FX operation when logged out. RN1MIN,OFF Sets user limitations RO When you are not creating reports Syntax Query Example Syntax RP p1,p2,...
3.6 Basic Setting Commands RM OFF Σ(measured value) /S Σ(measured value) × scan interval /MIN Σ(measured value) × scan interval/60 /HOUR Σ(measured value) × scan interval/3600 /DAY Σ(measured value) × scan interval/86400 The scan interval unit is seconds. Sets a report channel (/M1, /PM1, and /PWR1 options) When you are not using report channels Syntax Query Example RM p1,p2 p1 Report channel number p2 Report channel usage (OFF) RM[p1]? Disable the channel 001 report channel.
3.
3.6 Basic Setting Commands YQ Sets the communication timeout (/C7 option) When you are not using a timeout Syntax Query Example YQ p1 p1 Communication timeout (OFF) YQ? YU When you want to send changes in the status of alarms Syntax Disable the communication timeout.
3.6 Basic Setting Commands When you want to send system notifications Syntax Query Example YU p1,p2,p3,p4,p5,p6,p7 p1 Information to send (SYSTEM) p2 Recipient 1 (ON, OFF) p3 Recipient 2 (ON, OFF) p4 Inclusion of the source URL (ON, OFF) p5 Subject (up to 32 characters) p6 Header 1(up to 64 characters) p7 Header 2(up to 64 characters) YU[p1]? Send system notification e-mails that include the source URL to recipient 1. Set the subject to “SystemAlert” and header 1 to “LP2.
3.6 Basic Setting Commands YP Syntax Query Example Syntax p3 p4 p5 p6 YP p1,p2 p1 Read cycle (1S, 2S, 5S, 10S) p2 Connection retry interval (OFF, 10S, 20S, 30S, 1MIN, 2MIN, 5MIN, 10MIN, 20MIN, 30MIN, 1H) YP? Set the read cycle to 1 second and the connection retry interval to 10 minutes. YP1S,10MIN Query Example Sets the Modbus client’s transmit command (/C7 option) YR p1,p2,p3, . . .
3.6 Basic Setting Commands WC Syntax Query Example Sets the SNTP operation that is performed when memory start is executed (/C7 option) WC p1 p1 Time adjustment using SNTP (ON, OFF) WC? YL Syntax Set the FX so that time is adjusted using SNTP when memory start is executed. WCON Description You can use this command when the SNTP client function is enabled (through the use of the WB command).
3.
3.6 Basic Setting Commands QA Syntax Query Example RH Syntax Query Example WF Syntax Query Example WG Syntax Query Example Sets the number of mantissa digits to display (/LG1 option) QA p1 p1 Number of digits to display (2, 3) QA? XE Syntax Example Set the number of mantissa digits to display to 2. QA2 Sets LogType2 (/LG1 option) RH p1 p1 LogType2 (Linear, Pseudo) Linear: Sets LogType2 to log linear input Pseudo: Sets LogType2 to pseudo log input RH? Set LogType2 to pseudo log.
3.7 Output Commands (Control) 3.7 BO Syntax Syntax Query Example BO p1 p1 Byte order 0 Data is output MSB first. 1 Data is output LSB first. BO? Set the FX to output data MSB first. BO0 Syntax Query Example CB p1 p1 Output format 0 Normal output (includes data from 1 Query Example 1 Sets the data output format channels set to SKIP and OFF) Do not output data from channels set to SKIP and OFF Set the output format to normal output.
3.8 Output Commands (Setting, measured, and computed data output) 3.8 FC Syntax Example Output Commands (Setting, measured, and computed data output) FD Syntax Outputs screen image data FC p1 p1 GET (output screen image data) Output screen image data from the FX.
3.
3.8 Output Commands (Setting, measured, and computed data output) FU Syntax Outputs user levels FU p1 p1 User information output 0 Information about the users who are currently logged in Information about the users who are logged in to the generalpurpose service Output information about the users who are logged in to the general-purpose service. FU1 1 Example Description This command outputs information about the users who are connected to the FX.
3.8 Output Commands/3.9 Output Commands MO Syntax MO p1,p2,p3 p1 Type of operation DIR Data list output GET Data output SIZE Data size output p2 Output data type MANUAL Manual sampled data REPORT Report p3 File name Output report data file 000142_080102_004127H_.DAR from the FX. MOGET,REPORT, 000142_080102_004127H_.DAR Description Parameter p3 is valid when p1 is set to GET or SIZE. 3.
3.10 Output Commands (Special response commands)/3.11 Maintenance/Test Commands 3.10 Output Commands (Special response commands) *I Outputs instrument information Syntax *I Description Upon receiving this command, the FX outputs the following information about itself as a comma-separated string of ASCII characters with a terminator at the end: manufacturer, model, serial number, and firmware version. Output example YOKOGAWA,FX1000,99AA0123,F1.01 3.
3.
3.12 Instrument Information Output Commands 3.12 Instrument Information Output Commands (Available when using the instrument information server function through Ethernet communications) The instrument information server function interprets one UDP packet to be one command and returns a single packet (containing FX information) in response to the command.
Chapter 4 4.1 Responses Response Syntax 1 The following table shows the types of responses for various commands described in the previous chapter. The FX 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.
4.1 Response Syntax • Syntax E2_ee:nnnCRLF E2_ee:nnn,ee:nnn,···,ee:nnnCRLF ee Error position (01 to 10) nnn Error number (001 to 999) _ Space (When there is only one error) (When there are multiple errors) • Example E2 02:001 Text Output For details on the text data types and their formats, see section 4.2.
4.1 Response Syntax 1 Flag Bit Name (Abbreviation) Flag 0 1 7 BO MSB LSB CS No Yes 6 5 – – – 4 – – – – – – 3 – – – 2 – – – 1 0 END Middle End Meaning of the Flag Output byte order Existence of a checksum 2 3 In the middle or at the end of the continuous data ID An ID number indicating the binary data type. The table below indicates the data types and the corresponding output commands. Binary data that is not indicated in the above table is considered undefined files.
4.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 the binary data.
4.1 Response Syntax 1 if((csum = (csum & 0xffff) + ((csum>>16) & 0xffff)) 0xffff) /* Add the overflowed digits */ } csum = csum - 0xffff; return((~csum) & 0xffff); /* If the digit overflows again, add a 1. */ /* bit inversion */ 2 Dedicated Commands for RS-422A/485 The dedicated commands for the RS-422A/485 interface and the corresponding responses are listed in the following table. Command Syntax ESC Oxx CRLF 3 Meaning Opens the device.
4.2 Output Format of Text Data The following types of text data are available. The format for each type is described in this section. The table below indicates the data types and the corresponding output commands.
4.2 Output Format of Text Data 1 • Example EA SR001,VOLT,20mV,0,20 SR002,VOLT,20mV,0,20 ··················· EN 2 Decimal Place/Unit Information • The FE command is used to output the data. • You can use the CB command to specify whether to output the data of measurement channels set to skip and computation channels set to OFF.
4.2 Output Format of Text Data Measured and Computed Data • The FD command is used to output the data. • You can use the CB command to specify whether to output the data of measurement channels set to skip and computation channels set to OFF. • Syntax The measured/computed data is output in the following syntax along with the date and time information for each channel. EACRLF DATE_yy/mo/ddCRLF TIME_hh:mm:ss.
4.2 Output Format of Text Data ddddd Mantissa (00000 to 99999, 5 digits) • Eight digits for computed data. • For abnormal data (data whose status is E) or data whose mantissa or exponent exceeds the corresponding range (data whose status is O), the mantissa is set to 99999 (99999999 for computed data). pp Exponent (00 to 04, 00 to 18 for channels that are set to Log scale— /LG1 option) _ Space • Example EA DATE 99/02/23 TIME 19:56:32.
4.2 Output Format of Text Data Communication Log • The FL command is used to output the data. • A log of setting/basic setting/output commands and responses is output. Up to 200 logs are retained. Logs that exceed 200 are cleared from the oldest data.
4.2 Output Format of Text Data 1 Transmission (ddd byte): Data output (where ddd is the number of data values) (Login): Login (Logout): Logout (Disconnected): Forced disconnection (occurs when the 2 4 5 • Example The following example shows the log when multiple commands separated by sub delimiters, “BO1;???;PS0,” are transmitted. The commands are separated and output in order with the multiple command flags “*.
4.2 Output Format of Text Data FTP Client 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 FX1000 User’s Manual, IM 04L21B0101EN.
4.2 Output Format of Text 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 FX1000 User’s Manual, IM 04L21B0101EN.
4.2 Output Format of Text Data Login Log • The FL command is used to output the data. • A log of users that have logged in and logged out is output. Up to 50 login/logout logs are retained. Logs that exceed 50 are cleared from the oldest data. • If the power goes down while logged in, you will be logged out. In this case, however, it will not be recorded as a logout.
4.2 Output Format of Text Data Web Operation Log • The FL command is used to output the data. • The log of operations on the Web screen is output. Up to 50 operations are retained. Logs that exceed 50 are cleared from the oldest data.
4.
4.2 Output Format of Text Data E-mail Log 1 • The FL command is used to output the data. • The e-mail transmission log is output. Up to 50 operations are retained. Logs that exceed 50 are cleared from the oldest data.
4.2 Output Format of Text Data SNTP Log • The FL command is used to output the data. • The SNTP log is output. Up to 50 accesses to the SNTP server are retained.
4.2 Output Format of Text Data DHCP Log 1 • The FL command is used to output the data. • The DHCP log is output. Up to 50 accesses to the DHCP server are retained. • Syntax 2 EACRLF yy/mo/dd_hh:mm:ss_nnn_xxxxxxxxxCRLF ··································· ENCRLF xxxxxxxxx _ Year (00 to 99) Month (01 to 12) Day (01 to 31) Hour (00 to 23) Minute (00 to 59) Second (00 to 59) 4 Responses yy mo dd hh mm ss nnn 3 5 Error number (000 to 999) Description given in the table.
4.2 Output Format of Text Data The table below shows the contents of the log during erroneous operation. Error Number 295 296 Detail Code REJECT ESEND ESERVER ESERVFAIL ERENEWED EEXTENDED EEXPIRED 297 INTERNAL FORMERR SERVFAIL NXDOMAIN NOTIMP REFUSED YXDOMAIN YXRRSET NXRRSET NOTAUTH NOTZONE NONAME 298 INTERNAL FORMERR SERVFAIL NXDOMAIN NOTIMP REFUSED YXDOMAIN YXRRSET NXRRSET NOTAUTH NOTZONE NOTLINKED Description Address obtained by DHCP is inappropriate.
4.2 Output Format of Text Data Modbus Communication Log • The FL command is used to output the data. • The Modbus communication log is output. Up to 50 Modbus communication events are retained.
4.2 Output Format of Text Data Alarm Summary • The FL command is used to output the data. • The alarm summary is output. Up to 1000 alarm events are retained. Alarm events that exceed 1000 are cleared from the oldest data.
4.2 Output Format of Text 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:mm:ss_mmm···_ggg···_zzz_uuu···_nnn···CRLF ··································· ENCRLF 4 Responses 5 characters is less than 32 characters.
4.2 Output Format of Text Data Status Information • The IS command is used to output the data. The output format varies between IS0 and IS1. • The operation status of the recorder is output. • For details on the status information, see section 5.2, “Bit Structure of the Status Information.” Output for the IS0 command • Syntax EACRLF aaa.bbb.ccc.
4.2 Output Format of Text Data 1 Ethernet Information • The FA command is used to output the data. • Syntax 2 EACRLF IP_Address______:xxx.xxx.xxx.xxxCRLF Subnet_mask_____:xxx.xxx.xxx.xxxCRLF Default_Gateway_:xxx.xxx.xxx.xxxCRLF Primary_DNS_____:xxx.xxx.xxx.xxxCRLF Secondary_DNS___:xxx.xxx.xxx.
4.2 Output Format of Text Data File List • The ME command is used to output the data. • The file sizes and a list of files from the specified directory in the external storage medium or internal memory are output.
4.2 Output Format of Text Data Check Disk 1 The ME command is used to output the free space on the storage medium. • Syntax EACRLF zzz···_Kbyte_freeCRLF ENCRLF 2 zzz··· Free space on the storage medium (16 digits) _ Space 3 • Example 4 Responses EA 12345678 Kbyte free EN 5 Manual Sampled/Report Data Information The MO command is used to output the data.
4.2 Output Format of Text Data Manual Sampled/Report Data Size This is generated by the MO command. • Syntax EACRLF zzz···CRLF ENCRLF zzz···The data size (10 digits max.) • Example EACRLF 12345 ENCRLF User Information • The FU command is used to output the data. • User name, user level, and other information are output.
4.3 Output Format of Binary Data 1 This section describes the output format of the binary data. For information on other binary data, see section 4.1. • Instantaneous data (measured/computed) and FIFO data • Configured channel information data • Configured alarm information data • Manual sampled data • Report data The measured data and computed data are output using signed 16-bit integer and signed 32-bit integer, respectively.
4.3 Output Format of Binary Data Measured/Computed Data and FIFO Data • The FD command is used to output the measured/computed data. • The FF command is used to output the FIFO data. • You can use the CB command to specify whether to output the data of measurement channels set to skip and computation channels set to OFF. • The ID number of the output format is 1. See “ID” in section 4.1. • When you are using a channel that is set to Log scale (/LG1 option), the logarithmic values are output.
4.3 Output Format of Binary Data • Flag The meaning of the each flag is given in the table below. The flags are valid during FIFO data output. The flags are undefined for other cases. Bit Meaning of the Flag 2 Indicates that the screen snapshot was executed. 3 Indicates that the decimal position or unit information was changed during measurement. Indicates that the FIFO acquiring interval was changed with the FR command during measurement.
4.3 Output Format of Binary Data Configured Channel Information Data • The FE5 command is used to output the data. • The ID number of the output format is 25. • You can use the CB command to specify whether to output the data of measurement channels set to skip and computation channels set to OFF. • The figure below indicates the format.
4.3 Output Format of Binary Data Configured Alarm Information Data • The FE6 command is used to output the data. • The ID number of the output format is 26. • You can use the CB command to specify whether to output the data of measurement channels set to skip and computation channels set to OFF. • The figure below indicates the format.
4.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.
Chapter 5 Status Reports 5.1 Status Information and Filter 1 The following figure illustrates the status information and filter on the FX. 2 1bytes 1 2 3 4 5 6 7 8 Status information 3 Filter 1 2 3 4 5 6 7 8 4 Condition register 5 Status Reports • 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.
5.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 the output format, see “Status Information” in section 4.2, “Output Format of Text Data.” Status Information 1 Bit 0 1 2 3 4 Name Basic setting Memory sampling Computing Alarm activated Accessing medium 5 6 7 E-mail started – – Description Set to 1 during basic setting mode. Set to 1 during recording (memory sampling).
5.2 Bit Structure of the Status Information 1 Status Information 4 Bit 0 1 Name A/D conversion complete Medium access complete 2 Report generation complete 3 4 5 6 7 Timeout – – USER key detection – Description et to 1 when the A/D conversion of the measurement is complete. S Set to 1 when the display, event, manual sampled, report, or screen image data file are finished being saved to the external storage medium. Set to 1 when setup data is successfully saved or loaded.
Blank Page
Chapter 6 6.1 Specifications Ethernet Interface Specifications Basic Specifications Electrical and mechanical specifications: Transmission medium type: Protocol: 1 2 Conforms to IEEE 802.
6.2 Serial Interface Specifications RS-232 Specifications Connector type: D-Sub 9-pin plug Electrical and mechanical specifications: Conforms to the EIA-574 standard (for the 9-pin interface of the EIA-232 (RS-232) standard) Connection: Point-to-point Transmission mode: Half-duplex Synchronization: Start-stop synchronization Baud rate: Select from 1200, 2400, 4800, 9600, 19200, and 38400 [bps].
6.3 Modbus Protocol Specifications 1 Modbus Client Function 2 Basic Operation • The FX, as a Modbus client device, communicates with Modbus servers periodically by sending commands at specified intervals. • The Modbus client function operates independently from the Modbus master function via the serial communication. • The supported functions are “reading data from the input registers and hold registers on the server” and “writing data into the hold registers on the server.
6.3 Modbus Protocol Specifications Command Command type: Number of commands: Data type: R-M, W, W-M Set up to 16 commands See the table below.
6.3 Modbus Protocol Specifications 1 • Writing the Computed Values of the Computation Channels • The computation function is an option (/M1, /PM1, or /PWR1). • Writes the computed values of the computation channels to the server registers. • The data type of computed values is signed 32-bit integer.
6.3 Modbus Protocol Specifications Modbus Server Function Modbus Server Specifications Communicate via ModbusTCP Communication media: Ethernet 10Base-T Port: 502/tcp (default value) Command wait timeout: 1 minute. However, the timeout to receive the command after starting to receive the command is 10 seconds. Maximum number of connections: 2 Supported functions: The functions that the FX supports are listed below.
6.3 Modbus Protocol Specifications 1 Input Register (shared with the Modbus slave function) • Common Items • The client device can only read the input registers. • Decimal position and unit are not included. Specify them on the client device. 2 • Details Input Register Data Data Type 16-bit signed integer 300001 Measured data of measurement channel 001 | | 300012 Measured data of measurement channel 012 • There is no decimal position information.
6.3 Modbus Protocol Specifications Input Register Data 306001 List of alarms of measurement channels 001 to 004 | | 306003 List of alarms of measurement channels 009 to 012 • Register structure Level 3 Level 4 4ch 3ch 2ch Data Type Bit string Level 2 Level 1 1ch Indicates the alarm status of four channels in one register. Set to 1 when alarm is activated. The figure is an example of register 306001 (measurement channels 001 to 004).
6.3 Modbus Protocol Specifications 1 Hold Register (shared with the Modbus slave function) • Common Items • The client device can read and write to the hold registers. • Communication input data is an option (/M1, /PM1, or /PWR1). 2 • Reading from and Writing to Communication Input Channels Communication input data can be handled on a computation channel by including the data in the equation of a FX computation channel.
6.
6.3 Modbus Protocol Specifications Register Description Supplementary Information Type Access 410611 410612 Free message writing Message number (1 to 10) Message write destination 0: All groups. 1 to 10: Specified group number. Specified value. Free message Up to 18 registers (up to 35 characters with '¥0' termination). The message must be 32 characters or less.
6.3 Modbus Protocol Specifications How to Use Item Data type STRnn Description Registers in which ASCII codes are entered starting with the specified register. It is terminated with a NULL character (\0). The number of characters that can be entered that includes the NULL character is indicated in the nn section. Example of setting the batch number (STR36 type) to “ABCD” “**” denotes any value.
6.3 Modbus Protocol Specifications Modbus Error Response (Common to Modbus server and Modbus slave) 1 The FX returns the following error codes to a client or master device. Code 1 2 3 7 Error ILLEGAL FUNCTION Invalid function code ILLEGAL DATA ADDRESS Invalid register number ILLEGAL DATA VALUE Invalid number of registers NEGATIVE ACKNOWLEDGE Invalid contents written Description An attempt was made to execute a function that is not supported. Failed to access the register.
6.3 Modbus Protocol Specifications Modbus Master Function Basic Operations • The FX, as a Modbus master device, communicates with Modbus slaves periodically by sending commands at specified intervals. • The Modbus master function operates independently from the Modbus client function via the Ethernet communication. • The supported functions are “reading data from the input registers and hold registers on the slave” and “writing data into the hold registers on the slave.
6.3 Modbus Protocol Specifications 1 Modbus Slave Function Serial Communication Specifications: Same as the Modbus Master Function Slave address: 1 to 99. Supported functions: Same as the Modbus server. Register assignments: Same as the Modbus server. Modbus error response: Same as the Modbus server.
Blank Page
Appendix Appendix 1 Data Dropout during Modbus Communication 1 2 Data Dropout during Modbus Client If the response to the previous command is not complete when the FX attempts to issue a command to a server device, the FX cannot issue the command causing a data dropout. Take appropriate measures by referring to the following figures. 3 1.
Appendix 1 Data Dropout during Modbus Communication Data Dropout during Modbus Master If the response to the previous command is not complete when the FX attempts to issue a command to a slave device, the FX cannot issue the command causing a data dropout. Take appropriate measures by referring to the following figures. 1.
Appendix 2 Login Procedure 1 You log into the FX 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 3 become functional.
Appendix 2 Login Procedure When Not Using the Login Function of the FX Login as “admin” or “user.” • The user name “admin” can be used to login to the FX as an administrator. • The user name “user” can be used to access the FX as a user.
Appendix 3 ASCII Character Codes 1 Lower 4 bits Upper 4 bits 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 SP # % & ( ) LF * ESC + , CR . / 3 0 1 2 3 4 5 6 7 8 9 : ; ? 4 @ A B C D E F G H I J K L M N O 5 P Q R S T U V W X Y Z [ ] ° _ 6 a b c d e f g h i j k l m n o 7 p q r s t u v w x y z 8 9 A B ° C D E F 3 2 3 µ 4 5 6 • The delimiter (,), sub delimiter (;), query symbol (?), and terminator (CR+LF) characters are reserved. You cannot use them as parameter characters.
Appendix 3 ASCII Character Codes Korean Characters The Korean characters that you can enter are shown below. Other characters that you can enter are the same as when the language type is English.
Appendix 4 Output Flow of the File or the File List on the External Storage Medium and Internal Memory Example in Which the File 10101000.DAD Is Output The figure below shows the output flow of the file 10101000.DAD in the DATA0 directory of the external storage medium. 1 2 3 Command to send START Command description 4 Received response data Send the command MEGET,/DRV0/DATA0/10101000.DAD Receive response 5 Specify the file name using full path and output the data. Binary (see section 4.
Appendix 4 Output Flow of the File or the File List on the External Storage Medium and Internal Memory Example in Which the File List Is Output 10 Files at a Time The figure below shows the flow in which the file list in the DATA0 directory of the external storage medium is output 10 files at a time. Command to send START Command description Received response data Send the command Output command for the first file list. Specify the number of file lists to be output when issuing this command.
Appendix 5 Flow Chart of the FIFO Data Output 1 Overview of the FIFO Buffer 2 The FX has a dedicated internal memory for outputting measured/computed data. This memory is structured as a FIFO (First-In-First-Out). Measured/computed data are constantly acquired to the internal memory at the specified acquiring interval (FIFO acquiring interval, set with the FR command).
Blank Page
Index Numerics 1-5V voltage....................................................................... 3-10 10Base-T.............................................................................. 6-3 A access interval.................................................................... 1-39 access timeout................................................................... 1-39 account............................................................................... 1-37 active alarms.................................
Index ST................................................................................. 3-18 SV................................................................................ 3-20 SW............................................................................... 3-16 SX................................................................................ 3-18 SZ................................................................................. 3-17 TA...............................................................
Index final character....................................................................... 3-2 first/last (client channels).................................................... 1-44 first/last (master channel)................................................... 2-13 fixed IP address.................................................................. 1-13 flag...................................................................... 3-11, 4-3, 4-31 flow chart (FIFO data)............................................
Index P page type............................................................................ 1-28 parameter............................................................................. 3-1 parity................................................................................... 2-10 parts, name and uses of.......................................................... iii password............................................................................ 1-37 PASV mode.........................................
Index 1 X XON-RS................................................................................ 2-6 XON-XON............................................................................. 2-6 2 Z zoom...................................................................................
Blank Page