Home

User`s Manual

image

Contents

1. yyyy Year 1900 to 2099 mo Month 01 to 12 dd Day 01 to 31 hh Hour 00 to 23 mm Minute 00 to 59 ss Second 00 to 59 c Communication type M Modbus master e Modbus client XXXKKX Event that occurred fixed to 6 characters ACTIVE Activated READY _ Command ready state CLOSE Disconnected HALT Command halted kkk k Details fixed to 15 characters Unused character positions are filled with spaces See table below nnn Command number 0 to 999 d Command type R Read W Write N Miscellaneous Detail Meaning SKIP Command not set INVALID Command cannot be executed WAITING Server slave communication recovery wait CLOSED Server slave connection closed RESOLVING Server slave connection being established resolving address CONNECTING Server slave connection being established requesting connection UNREACH Server slave connection failed peer not found TIMEDOUT Server slave connection failed timeout occurred BROKEN Response message corrupt CRC error ERR FC Response message was an illegal function message ERR ADDR Response message was an illegal data address message ERR_VALUE Response message was an illegal data value message ERR DEVICE Response message was a slave device failure message ERR ACK Response message was an acknowledge message ERR BUSY Response message was a Slave devic
2. S represents the command type The second and subsequent characters represent the contents of s suods y pue spuewwog N commands Type Description Operation commands Commands that start with O These commands are used to Example OSetTime operate the GX GP Setting commands Commands that start with S These commands change the Example SRangeAI GX GP settings Output commands Commands that start with F These commands cause the Example FData GX GP to output measured data and other types of data Control commands Commands that start with C These commands control the Example CCheckSum communication with the GX GP Instrument information output Commands that start with an underscore These commands commands cause the GX GP to output its instrument information Example MFG 2 1 3 Command Syntax A Single Command A single command consists of a command name parameters delimiters and terminator The command name is written in the beginning and parameters follow Delimiters are used to separate the command name from parameters and between each parameter A delimiter is a symbol that indicates a separation A terminator is attached to the end of a command Command name parameter 1 parameter 2 terminator Delimiters Example of a Command SRangeAI 0001 VOLT 2V OFF 15000 18000 0 Commands in a Series Setting commands only You can send multiple setting commands in a
3. HoLoadconf Loads Setting Data Loads a setting data file from the GX GP external storage medium into the GX GP Syntax OLoadConf pl1 p2 p3 pl File name up to 240 characters ASCII Specify the path and file name excluding the extension p2 Medium SD SD memory card USB USB flash memory Settings to load ALL All settings SECURITY Security settings only IP IP address settings only All settings except for security and IP address settings Example Load all settings from the setting file SETTING1 on the SD memory card OLoadConf SETTING1 SD ALL p3 OTHERS Description e f you omit parameter p2 the medium is set to the SD memory card e If you omit parameter p3 all settings will be loaded ToseriApply Applies Serial Communication Settings Applies serial communication settings Syntax OSeriApply pl p1 Apply the settings 0 Example Apply serial communication settings OSeriApply 0 Description e This command applies the serial communication settings specified by the SSerialBasic command e When you send this command the serial communication settings take effect when the GX GP returns a response After this process the connection will be cut off ToirApply Applies the IP Address Applies Ethernet communication settings Syntax OIPApply pl p1 Apply the settings 0 Example Apply the IP address settings OIPApply 0 Description e This command applies the IP address
4. Most recent write position serial number starting from 1 Block 7 Block 8 Writing of Measured Data in the FIFO Buffer Writing to the FIFO buffer takes place every scan interval If measured data is written to block 8 the most recent value will be written to block 1 in the next scan interval overwriting the old value This is called FIFO wraparound On the other hand the most recent write position is managed using serial numbers starting with 1 The serial number does not return to 1 even when a FIFO wraparound occurs Reading Measured Data The FFifoCur 0 command is used to read measured data The read start position and read end position are specified using serial numbers You can use the FFifoCur 1 command to read the serial numbers for the positions that data can be read from App 6 IM 04L51B01 17EN Appendix 5 Check Sum Calculation Method The check sum of binary data is calculated using an algorithm like the one shown below int CalcSum unsigned char buf int len int odd unsigned long sum unsigned char Ge sum 0 odd len amp 1 len gt gt 1 for p buf len len p 2 sum p lt lt 8 p 1 if odd sum p lt lt 8 sum sum amp Oxffff sum gt gt 16 amp Oxffff if sum gt Oxffff sum sum Oxffff return sum amp Oxffff IM 04L51B01 17EN App 7 xipueddy E Aa Bank aaa
5. Temedia Outputs External Storage Medium and Internal Memory Information Outputs external storage medium and internal memory information File list Syntax FMedia p1 p2 p3 p4 p1 Output type DIR p2 Path name up to 100 characters Path name for outputting the file list p3 File list output start position 1 to 99999999 P4 File list output end position 1 to 99999999 1 Last position for outputting the file list If you specify 1 the maximum possible number of files as large as the GX GP internal communication buffer allows will be output Example Output all the file lists in the DRVO directory FMedia DIR DRV0 Output the file lists of items 10 to 20 in the DRVO directory FMedia DIR DRV0 10 20 Description e Path names p2 for the internal memory and the external media are listed below Set the path name using a full path Internal memory MEMO DATA SD memory card DRVO USB flash memory USBO e If you omit p3 and p4 the maximum possible number of files as many as the GX internal communication buffer allows will be output e For the ASCII output format see page 2 75 Data in Files Syntax FMedia pl p2 p3 p4 pl Output type GET p2 Path name up to 100 characters Path name of the file for outputting data p3 Data output start position in bytes 0 to 2147483647 P4 Data output end position in bytes 0 to 2147483647 1 The last data output position If you specify 1 the
6. p7 Operation And Operate when all set alarms are in the alarm state Or Operate when any of the set alarms are in the alarm state p8 Hold or nonhold Hold Hold output until an alarm ACK operation Nonhold Clear output when the alarm is cleared p9 Relay DO channel action on acknowledge Normal Reset Alarm Output Reflash Syntax SRangeDO pl p2 p3 p4 p5 p6 p7 p8 rpg pl Channel number p2 Output type Alarm p3 Span lower limit 0 to 1 P4 Span upper limit 0 to 1 p5 Unit up to 6 characters UTF 8 p6 Energize or de energize Energize the relay DO channel during output De energize the relay DO channel during output p7 Action Reflash p8 Reflash time 500ms 1s 2s Energize De energize 2 14 IM 04L51B01 17EN 2 4 Setting Commands p9 Relay DO channel action on acknowledge Manual Output Specifies the output value Syntax SRangeDO p1 p2 p3 p4 p5 p p1 Channel number p2 Output type Manual p3 Span lower limit 0 to 1 P4 Span upper limit 0 to 1 p5 Unit up to 6 characters UTF 8 p6 Energize or de energize Energize the relay DO channel during output De energize the relay DO channel during output Energize De energize Query SRangeDO p1 Example Output an alarm on channel 0203 Set the span lower limit to 0 and span upper limit to 1 Specify energize operation logic or operation and hold operation Set the action on ACK to Normal Set the unit to
7. 2 9 1 Affirmative Response For commands other than output request commands If the GX GP successfully completes the processing of a received command that is not an output request command it returns an affirmative response Syntax EOCRLF CRLF is the terminator that the GX GP uses CRLF will be used in the explanation of the syntax In the response examples CRLF will be omitted 2 9 2 Negative Response If a command syntax error setting error or other error occurs the GX GP returns a negative response Syntax El p p PCRLF p Error number and the position of error occurrence The detailed format of p is indicated below The GK GP outputs the error number the position of the command where the error occurred and the position of the parameter where the error occurred each separated by a colon en cp pp en Error number cp A value indicating the command position where the error occurred The position is numbered in order with the first command as 1 For a single command the GX GP outputs 1 pp A value indicating the parameter position where the error occurred The position is numbered in order with the first parameter in each command as 1 For errors that pertain to the entire command for example error in the command name the GX GP outputs 0 If errors occur in multiple parameters the GX GP outputs numbers separated by commas in ascending order Response Example 1 If error number 3 occurs in
8. Query SRolAveMath p1 Example On math channel 015 take the rolling average of 30 data values over 1 minute intervals and use the results as the computed values SRolAveMath 015 0n 1min 30 Bsatarmmath Alarm MT Sets the alarm of a math channel Do Not Set Alarms Syntax SAlarmMath pl p2 p3 pl Channel number p2 Alarm number 1 to 4 p3 Alarm on or off Off Do Not Output Alarms Syntax SAlarmMath pl p2 p3 p4 p5 p6 p7 pl Channel number p2 Alarm number 1 to 4 p3 Alarm on or off On P4 Alarm type H L TH TL p5 Alarm value within the span range p6 Detection Off On p7 Output Off Output Alarms Syntax SAlarmMath pl p2 p3 p4 p5 p6 p7 p8 pl Channel number p2 Alarm number 1 to 4 p3 Alarm on or off On P4 Alarm type H L TH TL p5 Alarm value within the span range p6 Detection Off On p7 Output 2 20 IM 04L51B01 17EN 2 4 Setting Commands DO Output to a relay DO channel SW Output to an internal switch p8 Number If p7 DO Relay DO channel number Internal switch number 001 to 100 Query SAlarmMath pl Example Set a high limit alarm H on alarm number 2 of math channel 015 Set the alarm value to 85 0 When an alarm occurs output to the relay DO channel at number 0105 SAlarmMath 015 2 0On H 850 0On DO 0105 Description e You cannot set this on a Off channel e If p3 Off you cannot set p4 or subsequent parameters e If p7 Off you cannot set p8 e You cannot s
9. User s SMART Manual Models GX10 GX20 GP10 GP20 Paperless Recorder Communication Command User s Manual vigilantplant YOKOGAWA IM 04L51B01 17EN Yokogawa Electric Corporation 1st Edition Introduction Notes Trademarks Revisions 1st Edition December 2012 YK Thank you for purchasing the SMARTDAC GX10 GX20 GP10 GP20 hereafter referred to as the GX and GP Series This manual explains the dedicated commands for the GX GP To ensure correct use please read this manual thoroughly before beginning operation e 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 e Every effort has been made in the preparation of this manual to ensure the accuracy of its contents However should you have any questions or find any errors please contact your nearest YOKOGAWA dealer e Copying or reproducing all or any part of the contents of this manual without the permission of YOKOGAWVA is strictly prohibited e The TCP IP software of this product and the documents concerning it have been developed created by YOKOGAWA based on the BSD Networking Software Release 1 that has been licensed from the Regents of the University of California e vigilantplant SMARTDAC and SMARTDACPLUS are registered trademarks of Yokogawa Electric Corporation e Microsoft and Windows are registered trademarks or trademarks of Microsoft Corpo
10. e P2 On can be specified when the difference between the span upper and lower limits is 2 digits or greater BsBandcom Color Scale Band MC Sets the color scale band of a communication channel Syntax SBandCom p1 p2 p3 p4 p5 p6 p7 pl Channel number p2 Color scale band Off In Out p3 R value of the color scale band RGB colors 0 to 255 P4 G value of the color scale band RGB colors 0 to 255 p5 B value of the color scale band RGB colors 0 to 255 p6 Upper limit of the color scale band display span lower limit to span upper limit p7 Lower limit of the color scale band display span lower limit to span upper limit Query SBandCom p1 Example For communication channel 025 set a blue band in the range of 0 5000 to 1 0000 SBandCom 025 In 0 0 255 5000 10000 Description e You cannot set this on a Off channel p2 is fixed to Off e If p2 Off you cannot set p3 or subsequent parameters e For details on RGB values see Description of the SColorlO command IM 04L51B01 17EN 2 25 s suods y pue spuewwog N 2 4 Setting Commands BsaimMarkCom Alarm Mark MC Sets the display of the marker that indicates the specified alarm position of a communication channel Syntax SAlmMarkCom pl1 p2 p3 p4 p5 p6 Pp7 P 8 p9 pl10 pl11 pl12 p13 pl14 p15 pl Channel number p2 Whether to display the alarm mark on the scale Off On p3 Alarm mark type Alarm Display the default alarm mark
11. s suods y pue spuewwog N 2 3 Parameters This section describes parameters 2 3 1 Measuring Range Parameters Al Channel Span Specify the span using an integer Example If the range is 2 0000 V to 2 0000 V and you want to set the span lower limit to 0 5000 V and the span upper limit to 1 8000 V set the parameters to 5000 and 18000 respectively SRangeAI 0001 VOLT 2V FF 5000 18000 0 Scaling Scaling is possible on Al and DI channels Scaling is specified by a mantissa and decimal place Example To set the scaling to 10 00 to 20 00 set the scaling lower limit to 1000 scaling upper limit to 2000 and the decimal place to 2 The decimal place value represents the number of digits to the right of the decimal point Math Channel and Communication Channel Span Set the span of math channels and communication channels using a mantissa and decimal place Example To set the span to 1 000 to 2 000 set the scaling lower limit to 1000 scaling upper limit to 2000 and the decimal place to 3 2 3 2 Parameter Notation and Range The table below shows the principle parameter notations and ranges of values Type Notation and Range of Values Al channel Specify as unit number module DI channel number channel DO channel Example The Al channel whose unit number is 0 module number is 1 and channel number is 02 is 0102 GX20 GP20 001 to 100 GX10 GP10 001 to 050 For SGroup and SMailAlarm commands inser
12. wiisezona Additional information 4 bytes Channel type Data type Data Time Item Number of Bits Value Year 8 bits 0 to 99 Month 8 bits 1 to 12 Day 8 bits 1 to 31 Hour 8 bits 0 to 23 Minute 8 bits 0 to 59 Second 8 bits 0 to 59 Millisecond 16 bits 0 to 999 IM 04L51B01 17EN 2 83 sasuodsay pue spuewwog 2 11 Format of the Data Block of Binary Output Additional Information 64 bits Bit 0 Daylight saving time 0 standard time 1 daylight saving time Data Type 4 bits Indicates the data type 1 32 bit integer 2 32 bit floating point Channel Type 4 bits Indicates the channel type Value Channel Type 1 I O channel 2 Math channel 3 Communication channel Status 8 bits Indicates the channel status Channel Status No error Skip Over OVER Burnout Burnout A D error Invalid data 6 Math result is NaN 7 Communication error 5 S D le NIO AIA WIN gt O Channel Number 16 bits Indicates the channel number Stored in the following manner depending on the channel type Channel Type Channel Number O channel 6 bits 10 bits Reserved i T Channel number Math channel 6 bits 10 bits aa gt T Reserved Channel number Communication channel 6 bits 10 bits Reserved ry T Channel number Alarm 3
13. 1 1 1 1 1 1 1 2 Operations over an Ethernet Network You can control the GX GP by sending commands from a PC over an Ethernet network There are various types of commands setting commands output commands operation commands communication control commands and instrument information output commands Preparing the Instrument GX GP Configuration Configure the GX GP to connect to the Ethernet network that you want to use For instructions on how to configure the GX GP see section 1 16 Configuring the Ethernet Communication Function in the Models GX10 GX20 GP10 GP20 Paperless Recorder User s Manual IM 04L51B01 01EN PC The PC that you will use must meet the following requirements e The PC is connected to the Ethernet network that you want to use The PC can run programs that you have created see section 1 1 2 Sending Commands and Receiving Responses below Sending Commands and Receiving Responses Programs When you send a command to the GX GP it will return a response You can control the GX GP by writing a program that sends commands and processes responses and then executing the program You need to create the programs Example If you send the commands FSnap GET from your PC to the GX GP the GX GP will return the snapshot data of its screen For details on commands and responses see chapter 2 Commands and Responses Notes on Creating Programs e When Not Using the Login Function
14. 1min 2min 5min 10min P4 Operation without login Off On Query SSecurity Example Use the login function when operating the GX GP directly or via communication When logged in automatically log out if there is no user activity for 5 minutes The screen can be changed even when logged out SSecurity Login Login 5min On Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e You cannot use this command to configure settings when logged in as a user when the user level is User HsopePass Password to Unlock Operation Sets the password that is used to release the operation lock Syntax SOpePass pl pl Password up to 20 characters ASCII Query SOpePass The password is displayed using asterisks Example Set the password to password1 SOpePass passwordl Description e You cannot use this command to configure settings when logged in as a user when the user level is User 2 40 IM 04L51B01 17EN 2 4 Setting Commands Tsopecimit Operation Lock Details Sets which operations to lock Syntax SOpeLimit pl p2 p1 Authority of user Memory Memory Math Computations DataSave Data save Message Message Batch Batch AlarmACK Alarm ACK Comm Communication DispOpe Touch operation ChangeSet Setting operation DateSet Date time settings File File operati
15. Acommand name is a character string consisting of up to 16 alphanumeric characters The first character represents the command type Notes on Writing Commands Names Command names are not case sensitive e Spaces before the character string are ignored IM 04L51B01 17EN 2 1 Command Transmission and GX20 Responses Parameters Parameters are characteristic values that are attached to commands Notes on Writing Parameters e Write parameters in their appropriate order e Spaces around and in the middle of parameters are ignored Exception is the character strings that users specify e You can omit the setting command parameters that do not need to be changed from their current settings If you omit parameters write only the delimiters Example SRangeAI 0001 1800 0 terminator If parameters are omitted and there are multiple delimiters at the end of the command those delimiters can be omitted Example SRangeAI 0001 VOLT 2V terminator gt SRangeAI 0001 VOLT 2vterminator There are two types of parameters predefined expressions and user defined character strings How to Write User Defined Character Strings Parameters e Enclose user defined character strings in single quotation marks Example The command for setting the channel 0001 tag to SYSTEM1 is shown below STaglO 0001 SYSTEM1 e There are two types of user defined character strings depending on the type of characters that can be used Character
16. Eventl Message_ Order Memory Data Message sort order Memory data type Overview Overview display Grouping All Multi_No Multi panel number 1 to 20 DigitalPos Digital display position Default Top Bottom Left Right DigitalLabel Display string display Off On Modbus _ M Modbus master status Overview List display type Modbus _C Modbus client status Overview List display type Query SMonitor pl Example Set the trend display to all channel display SMonitor Trend All Description e Modbus_M and Modbus _C are an option MC Bsmuitipattern Multi Panel Division Sets the multi panel multi panel pattern Syntax SMultiPattern pl p2 p3 p1 Registration number 1 to 20 p2 Multi panel pattern Wide2 Split 2 Wide Tall2 Split 2 Tall Wide3 Split 3 Wide Tall3 Split 3 Tall Split4 Split 4 Even Even5 Split 5 Even Odd5 Split 5 Odd Even6 Split 6 Even Odd6 Split 6 Odd p3 Multi panel name up to 16 characters UTF 8 Query SMultiPattern p1 Example Set the panel of registration number 1 to Split 2 Wide Set the multi panel name to Monitor1 SMultiPattern 1 Wide2 Monitorl Description e This command is only valid for the GX20 GP20 Bsmuitikind Multi Panel Set the screens to display on the multi panel Syntax SMultikind p1 p2 p3 p4 pl Registration number 1 to 20 p2 Screen position 1 to 6 p3 Screen type Trend
17. Limit Start Stop Resett Start Stop Query SMathBasic Example Set the indication on computation error to Over computation when overflow data is detected to Skip and start computation when recording starts SMathBasic Over Skip Skip Start Stop Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress IM 04L51B01 17EN 2 19 s suods y pue spuewwog N 2 4 Setting Commands e The math function is an option MT Iskconst Constant MT Sets a constant for use in computations Syntax SKConst pl p2 pl Constant number 1 to 100 p2 Value 9 999999E 29 to 1E 30 0 1E 30 to 9 999999E 29 seven significant digits Query SKConst p1 Example Set constant number 12 to 1 0000E 10 SKConst 12 1 0000E 10 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Israngemath Computation Expression MT Sets the computation expression of a math channel Unused Channels Syntax SRangeMath pl p2 pl Channel number p2 Computation expression on off Off Used Channels Syntax SRangeMath pl p2 p3 p4 p5 p6 p7 p8 pl Channel number p2 Computation expression on off On p3 Math channel type Normal P4 Expression up to 120 characters ASCII p5
18. You can start using commands immediately after communication is established with the GX GP e When Using the Login Function Log in to the GX GP using a system administrator account or a normal user account that is registered in the GX GP Log in by connecting to the GX GP and then sending the CLogin command IM 04L51B01 17EN Ie12u 9 spuewwos paj edipag Buisn 1 2 Operations over the Serial Interface You can control the GX GP by sending commands from a PC through the serial interface There are various types of commands setting commands output commands operation commands communication control commands and instrument information output commands Except for a few special commands the commands are the same as those used over an Ethernet network 1 2 1 Preparing the Instrument GX GP Configuration Configure the GX GP to use serial communication For instructions on how to configure the GX GP see section 1 17 Configuring the Serial Communication Function C2 and C3 options in the Models GX10 GX20 GP10 GP20 Paperless Recorder User s Manual IM 04L51B01 01EN PC The PC that you will use must meet the following requirements e The PC is connected to the GX GP through the serial interface e The PC can run programs that you have created see section 1 2 2 Sending Commands and Receiving Responses below 1 2 2 Sending Commands and Receiving Responses Programs When you send a command to the GX GP
19. p1 Example Set the communication channel 025 alarm delay to 2 minutes 30 seconds SAlmDlyCom 025 0 2 30 Description e Set the delay time so that it is an integer multiple of the scan interval SScan command Istagcom Tag MC Sets the tag of a communication channel Syntax STagCom pl1 p2 p3 pl Channel number p2 Tag up to 32 characters UTF 8 p3 Tag number up to 16 characters ASCII Query STagCom p1 Example Set the communication channel 025 tag to SYSTEM1 and the tag number to T1002 STagCom 025 SYSTEM1 TI002 2 24 IM 04L51B01 17EN 2 4 Setting Commands Bscotorcom Channel Color MC Sets the color of a communication channel Syntax SColorCom pl p2 p3 p4 pl Channel number p2 R value of RGB display colors 0 to 255 p3 G value of RGB display colors 0 to 255 P4 B value of RGB display colors 0 to 255 Query SColorCom p1 Example Set the communication channel 025 display color to red SColorCom 025 255 0 0 Description e For details on RGB values see Description of the SColorlO command Bszonecom Waveform Display Zone MC Sets the waveform display zone of a communication channel Syntax SZoneCom p1 p2 p3 pl Channel number p2 Zone lower limit 0 to 95 p3 Zone upper limit 5 to 100 Query SZoneCom p1 Example Set the waveform zone of communication channel 025 waveform to 0 to 30 SZoneCom 025 0 30 Isscal
20. 0001 0210 Skip or SRangeAI 0210 Skip If a different module is installed in slot 1 queries will work but setting commands will result in error 2 8 IM 04L51B01 17EN 2 4 Setting Commands Isscan Scan Interval Sets the scan interval Syntax SScan pl p2 pl Scan group 1 p2 Scan interval 100ms 200ms 500ms 1s 2s 5s Query SScan p1 Example Set the scan interval to 1 second SScan 1 15 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress IsscanGroup Scan Group Registers a measurement channel in scan group 1 Syntax SScanGroup pl p2 p3 p1 Unit number 0 p2 Module number 0 to 9 p3 Scan group 1 1 Scan group 1 Query SScanGroup pl p2 Example Set the module whose module number is 2 in scan group 1 SScanGroup 0 2 1 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress BsModeal Al Module Sets the mode and A D integration time of an Al module Syntax SModeAI p1 p2 p3 p4 pl Unit number 0 p2 Module number 0 to 9 p3 Mode 2CH 2 channel mode 10CH 10 channel mode p4 AD integration time Auto 50Hz 60Hz Common Query SModeAI pl p2 Example For the module whose module number is 2 set the mode to 10CH and the A
21. 1 Generate a manual trigger 2 Take a snapshot 3 Cause a display data timeout divide files 4 Cause an event data timeout divide files Example Execute manual sampling OExecRec 0 Boexecs NTP Queries the Time Using SNTP Queries the time using SNTP Syntax OExecSNTP p1 p1 Time query execution 0 Example Query the time using SNTP OExecSNTP 0 Tomessage Message Writing Writes a message Write a Preset Message Syntax OMessage pl p2 p3 pl Action type PRESET p2 Message number 1 to 100 p3 Display group number ALL Write to all display groups 1 to 50 Write to specified groups You can specify multiple groups at once To do so separate display groups with a colon Example Write the message in preset message number 8 to display groups 1 and 2 OMessage PRESET 8 1 2 Write a Free Message OMessage pl p2 p3 p4 pl Action type FREE p2 Message number 1 to 10 Syntax p3 Display group number ALL Write to all display groups 1 to 50 Write to specified groups You can specify multiple groups at once To do so separate display groups with a colon P4 Message string to write up to 32 characters UTF 8 Example Write a free message MARK in display groups 3 8 and 11 OMessage FREE 3 8 11 MARK IM 04L51B01 17EN 2 47 s suods y pue spuewwog N 2 6 Operation Commands Dopassword Changes the Password Changes the password Syntax OPassword
22. 2 p3 Inclusion of instantaneous data Off On Report Notification Syntax SMail pl p2 pl Setting type Report p2 Recipient Off 1 2 1 2 Media Alarm Notification Syntax SMail pl p2 p1 Setting type Media p2 Recipient Off 1 2 1 2 Power failure notification Syntax SMail p1 p2 pl Setting type Power p2 Recipient Off 1 2 1 2 System Error Notification Syntax SMail p1 p2 pl Setting type System p2 Recipient Off 1 2 1 2 Query SMail pl Example Send alarm notifications to recipient 1 when alarms occur and when they are cleared Include instantaneous data at the time of transmission and include the tag number or channel number in the subject SMail Alarm 1 On On Off On Description e The report function is an option MT EsmailAlarm Alarm Notification Mail Target Channels Detects the alarm status of the specified channels and sends alarm notifications Syntax SMailAlarm pl pl Channel string up to 249 characters up to 50 channels e Use channel number to specify the channels 4 digit numbers for I O channels Numbers that start with A for math channels A015 Numbers that start with C for communication channels C020 e Use periods to separate channel numbers see example Query SMailAlarm Example Set the target channels to channels 0001 0101 and A025 SMailAlarm 0001 0101 A025 Ismailtime Scheduled Transmission Times Sets the scheduled transmission time
23. 23 p5 Reference time Minutes MM 00 to 59 Query STimer p1 Example Set timer number 2 to relative timer at 6 hours 30 minutes Reset the timer when computation starts STimer 2 Relative 0 6 30 0n Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e If p2 Off you cannot set p3 or subsequent parameters e If p2 Relative and p3 0 you cannot set 00 00 for p4 and p5 I smatchTimer Match Time Timer Sets a match time timer Do Not Use Match Time Timers Syntax SMatchTimer pl p2 pl Match time timer number 1 to 4 p2 Type Off Match Time Timer That Synchronizes Once a Year Syntax SMatchTimer pl p2 p3 p4 p5 p6 p7 pl Match time timer number 1 to 4 p2 Type Year p3 Start time Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec P4 Start time Day 1 to 31 depends on the month p5 Interval Hours HH 00 to 23 p6 Interval Minutes MM 00 to 59 p7 Timer action Single Single shot Repeat Match Time Timer That Synchronizes Once a Month Syntax Repeat SMatchTimer pl p2 p3 p4 p5 p6 p1 Match time timer number 1 to 4 p2 Type Month p3 Start time Day 1 to 31 depends on the month P4 Interval Hours HH 00 to 23 p5 Interval Minutes MM 00 to 59 p6 Timer action Single Single shot Repeat Repeat Match Time Timer That
24. Action Log Event log Error Log Error log Commu Log Communication log Ftp Log FTP log Web Log Web log Mail Log Mail log Modbus Log Modbus log Sntp Log SNTP log Dhcp Log DHCP log Network Network information Setting Settings SaveLoad Save load SystemInfo System information Multi Multi panel p2 Display group number Query SHomeKind Example Set the standard screen to trend of display group 1 SHomeKind Trend 1 Description e Report is an option MT e Modbus M and Modbus C are an option MC e Multi is a GX20 GP20 display I sFavoriteMonitor Favorite Screen Display Information Sets the favorite screen display information SFavoriteMonitor pl p2 p3 pl Favorites number 1 to 20 p2 Information type see the table of the SMonitor command Syntax p3 Status see the table of the SMonitor command Query SFavoriteMonitor pl p2 Example Set the trend display to all channel display SFavoriteMonitor 1 Trend All I sFavoriteKind Favorite Screen Set the favorite screen SFavoriteKind pl p2 pl Favorites number 1 to 20 p2 Enable or disable Off On p3 Screen type see p1 of the SHomeKind command P4 Display group number p5 Multi panel name up to 16 characters UTF 8 Query SFavoriteKind pl Example Register the trend display of display group 2 to favorites screen number 1 Set the multi panel name to Favorite01 SFavoriteKind 1 On Trend 2 Favori te0l Syntax IM 04L51B01 1
25. Alarm Summary FLog 2 10 9 Message Summary RLOG anatiwa ziwa alisikika neater li 2 10 10 Event log FLog 2 10 11 Error Log FLog 210412 Address Setting Logi FLOG s ristiin an Le it 210 13 General log i FILOG Aa a aad raknia aiani ational 2 10 14 Modbus Communication Log FLog 210 ISA FTP Client Log FELOJ AAA AAA AA aaae cea dard 2 10 16 SNTP Time Adjustment Client Log FLOQ ccccceceeeeceeeeceeeeeeeeeeeneeeeeeaeeesenneeseeneeersaaees 2 10 17 E Mail Client Log FLog 2 10 18 WebLog ROG ii ai ae eet a Geel tee ait Note te eed 2 10 19 External Storage Medium and Internal Memory File List FMedia 2 75 2 10 20 External Storage Medium Free Space FMedia 2 10 21 Setting Data FGI rsisi a a kakaa ukaa atl 2 10 22 Decimal Place and Unit Information FCHINfO ccccceceeceeceeeeeeeeeseeeeeeeeeeeseeeeeseteeeseaees 2 10 23 System Configuration FSysConf 2 10 24 Instrument Manufacturer MFG senha dosti wani kaika suka ddei adada andia ekaia 2 10 25 Instruments Product Name _INF wizi urdea Menge eee Meee tale 2 10 26 Instrument s Basic Specifications _COD 2 10 27 Instrument s Firmware Version Information _VER c ccccceeeeeeeeeeeeeeeeeeeeeteeeeeseeeeeeseaees 2 79 2 10 28 Instrument s Option Installation Information OPT wwwwsswasmssnanzasanawaanuwazikun wasani 2 79 2 10 29 Instrument s Temperature Unit and Daylight Saving Time Installatio
26. Alarm value within the span range p6 Detection Off On p7 Output Off DO Output to a relay DO channel SW Output to an internal switch p8 Number If p7 DO Relay DO channel number Internal switch number 001 to 100 If p7 SW Query SAlarmCom p1 Example Set a high limit alarm H on alarm number 2 of communication channel 025 Set the alarm value to 85 0 When an alarm occurs output to the relay DO channel at number 0105 SAlarmCom 025 2 On H 850 0On DO 0105 Description e You cannot set this on a Off communication channel If p3 Off you cannot set p4 or subsequent parameters e If p7 Off you cannot set p8 e You cannot set DO channels or internal switches whose output type is set to Manual as output destination numbers BsaimHyscom Alarm Hysteresis MC Sets the alarm hysteresis for a communication channel Syntax SAlmHysCom pl p2 p3 pl Channel number p2 Alarm number 1 to 4 p3 Hysteresis Alarm Type Hysteresis Range H L O to 100000 Query SAlmHysCom p1 Example Set a hysteresis on alarm 3 of communication channel 025 SAlmHysCom 025 3 10 Description e Hysteresis specified for delay high and low limit alarms TH and TL does not apply BsaimDlycom Alarm Delay MC Sets the delay alarm time for a communication channel Syntax SAlmDlyCom p1 p2 p3 p4 pl Channel number p2 Hour 0 to 24 p3 Minute 0 to 59 P4 Second 0 to 59 Query SAlmDlyCom
27. Description Square Root Channels P4 Calculation type Off Syntax SRangeAI p1 p2 p3 p4 p5 p6 P7 p8 p p5 Span lower limit 9 p10 p11 p12 p13 p14 p6 Span upper limit pl Channel number Channels Whose Input Type Is Volt TC or RTD and p2 Input type Volt GS No Calculation p3 Range see Description Syntax SRangeAI pl p2 p3 p4 p5 p6 p7 P4 Calculation type Sqrt p1 Channel number p5 Span lower limit p2 Input type Volt TC RTD p6 Span upper limit p3 Range see Description p7 Bias 999999 to 999999 P4 Calculation type Off p8 Decimal Place 0 to 5 p5 Span lower limit p2 Scaling lower limit p6 Span upper limit p10 Scaling upper limit p7 Bias 999999 to 999999 p11 Unit up to 6 characters UTF 8 Delta Channels p12 Low cut function Off On Syntax SRangeAI p1 p2 p3 p4 p5 p6 p7 p8 p13 Low cut output Zero Linear pl Channel number p14 Low cut point 0 to 50 p2 Input type Volt TC RTD Dl Query SRangeAI p1 p3 Range see Description Example Measure 0 5000 to 1 0000 V on channel 0002 P4 Calculation type Delta No scaling No bias SRangeAI 0002 Volt 2V Off 5000 p5 Span lower limit 10000 0 p6 Span upper limit A Description 7 i a Dea on ai e You cannot use this command to configure settings p8 Reference channel number while recording is in progress Scaling Channels e You cannot use this command to configure settings caling Cha while computation is in progress Syntax SRangeAI p1 p2 p3 p4
28. Fixed Display the mark with the specified color P4 R value of the RGB mark colors for alarm 1 0 to 255 p5 G value of the RGB mark colors for alarm 1 0 to 255 p6 B value of the RGB mark colors for alarm 1 0 to 255 p7 R value of the RGB mark colors for alarm 2 0 to 255 p8 G value of the RGB mark colors for alarm 2 0 to 255 p9 B value of the RGB mark colors for alarm 2 0 to 255 PIO R value of the RGB mark colors for alarm 3 0 to 255 p11 G value of the RGB mark colors for alarm 3 0 to 255 p12 B value of the RGB mark colors for alarm 3 0 to 255 p13 R value of the RGB mark colors for alarm 4 0 to 255 p14 G value of the RGB mark colors for alarm 4 0 to 255 p15 B value of the RGB mark colors for alarm 4 0 to 255 Query SAlmMarkCom p1 Example Display the alarm marks for alarms 1 to 4 of communication channel 025 in fixed colors red brown orange and yellow respectively SAlmMarkCom 025 0On Fixed 255 0 0 165 42 42 255 165 0 255 255 0 Description e For details on RGB values see Description of the SColorlO command Bsaimcimit Rate of Change Alarm Interval Sets the rate of change interval of the rate of change alarm Syntax SAlmLimit p1 p2 p1 Interval for the low limit on rate of change alarm 1 to 32 Integer multiple of the scan interval p2 Interval for the high limit on rate of change alarm 1 to 32 Integer multiple of the scan interval Query SAlmLimit Example
29. SBandMath 015 In 0 0 255 5000 10000 Description e You cannot set this on a Off channel p2 is fixed to Off e If p2 Off you cannot set p3 or subsequent parameters e For details on RGB values see Description of the SColorlO command BsaAimMarkMath Alarm Mark MT Sets the display of the marker that indicates the specified alarm position of a math channel Syntax SAlmMarkMath p1 p2 p3 p4 p5 p6 p7 p8 p9 pl10 pl1 p12 p13 pl14 p15 pl Channel number p2 Whether to display the alarm mark on the scale Off On p3 Alarm mark type Alarm Display the default alarm mark Fixed Display the mark with the specified color P4 R value of the RGB mark colors for alarm 1 0 to 255 p5 G value of the RGB mark colors for alarm 1 0 to 255 p6 B value of the RGB mark colors for alarm 1 0 to 255 p7 R value of the RGB mark colors for alarm 2 0 to 255 p8 G value of the RGB mark colors for alarm 2 0 to 255 p9 B value of the RGB mark colors for alarm 2 0 to 255 p10 R value of the RGB mark colors for alarm 3 0 to 255 p11 G value of the RGB mark colors for alarm 3 0 to 255 p12 B value of the RGB mark colors for alarm 3 0 to 255 p13 R value of the RGB mark colors for alarm 4 0 to 255 2 22 IM 04L51B01 17EN 2 4 Setting Commands p14 G value of the RGB mark colors for alarm 4 0 to 255 p15 B value of the RGB mark colors for alarm 4 0 to 255 Query SAlmMarkMath p1 Example Displ
30. Strings Consisting Only of Characters in the ASCII Code Range 0x00 to 0x7f In this manual applicable parameters are indicated with ASCII Example p3 Tag number up to 16 characters ASCII You can use alphanumeric characters and some of the symbols For the ASCII characters that you can use see appendix 1 Character Strings Consisting of Characters in the UTF 8 Code Range In this manual applicable parameters are indicated with UTF 8 Example p2 Tag up to 32 characters UTF 8 UTF 8 codes include ASCII codes You can use UTF 8 characters including the ASCII characters above For the ASCII characters that you can use see appendix 1 Delimiters Commas are used as delimiters Sub delimiters Semicolons are used as sub delimiters Terminators CR LF is used as a terminator meaning CR followed by LF Expressed in ASCII code it is OxOd0x0a IM 04L51B01 17EN 2 3 s suods y pue spuewwog N 2 1 Command Transmission and GX20 Responses 2 1 4 GX GP Responses The GX GP returns the following responses to commands e If the GX GP successfully completes the processing of a received output request command it outputs the requested data e If the GX GP successfully completes the processing of a received command that is not an output request command it outputs an affirmative response e Ifa command syntax error setting error or other error occurs the GX GP outputs a negative response For
31. Synchronizes Once a Week Syntax SMatchTimer pl p2 p3 p4 p5 p6 p1 Match time timer number 1 to 4 p2 Type Week p3 Start time Day of week Sun Mon Tue Wed Thu Fri Sat P4 Interval Hours HH 00 to 23 p5 Interval Minutes MM 00 to 59 p6 Timer action Single Single shot Repeat Match Time Timer That Synchronizes Once a Day Syntax Repeat SMatchTimer pl p2 p3 p4 p5 pl Match time timer number 1 to 4 p2 Type Day p3 Interval Hours HH 00 to 23 P4 Interval Minutes MM 00 to 59 p5 Timer action Single Single shot Repeat Repeat Query SMatchTimer p1 Example Sets match time timer number 2 to a timer that operates on 21 hours 30 minutes on April 17 every year SMatchTimer 2 Year Apr 17 21 30 Re peat Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e If p2 Off you cannot set p3 or subsequent parameters DseventAct Event Action Sets an event action Syntax SEventAct pl p2 p3 p4 p5 p6 p7 SEventAct p1l p2 p3 p4 p5 Pp6 p7 Pp8 SEventAct p1l p2 p3 p4 p5 p6 p7 p8 rpg SEventAct pl p2 p3 p4 p5 p6 p7 p8 p9 pl0 pl Event action number 1 to 50 p2 Type Off On p3 Event type see the table below P4 Source element number see the table below p5 Alarm level see the table below IM 04L51B01 17EN 2 27 sesuodsey pue spuewwog N 2 4
32. The responses to output commands consisting of binary data output requests are in binary Format The following figure shows the binary output format The GX GP adds a header to the front of binary output data and a checksum at the end The request data is entered in the data block 4 bytes CR Data length Flag Reserved area 1 Reserved area 2 Header sum Data block EBCRLF The EBCRLF block stores ASCII code E ASCII code B followed by CR LF This indicates that the output data is binary Data length 32 bits big endian The data length block indicates the length of flag reserved area 1 reserved area 2 header sum data block data sum in bytes Flag 16 bits big endian The flag block indicates information of the entire data block Bit Flag Value Flag Meaning 0 1 15 Always zero Not used 14 No Yes Data sum inclusion 13 Always zero Not used 1 0 Intermediate Last data If the output data is continuous data this flag data indicates whether the last value in the data block is intermediate data or last data Reserved area 1 16 bits reserved area 2 to 16 bits Not used Header sum 16 bits big endian The header sum block indicates the sum of data length flag reserved area 1 reserved area 2 IM 04L51B01 17EN 2 55 s suods y pue spuewwog N 2 9 Responses to Commands 2 9 4 Data Block The actual output
33. Unit dependency main or sub information Fixed to Main p2 0 1 Unit address number Fixed at 0 p3 GX20 1J Unit name model name Enclosed in single quotation marks 7 COMM LAN P4 123456789 Product serial number p5 XxX xXxX xx MAC address XX XX KXX pe R1 01 Firmware version The output format is R version p7 MT C2 Options Codes of installed options delimited by spaces ps 0 Fixed at 0 p9 10 Maximum number of installable modules If there are not installable modules 0 is output p10 0 Unit status The unit status is output in a character string IM 04L51B01 17EN 2 81 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 32 Instrument s Module Configuration Information _MDS or MDR The output in response to the command _MDS or _MDR is shown below Syntax EA lt crlf gt pl p2 p3 p4 p5 p6 p7 p8 p9 pl0 pll lt crlf gt pl p2 p3 p4 p5 p6 p7 p8 p9 pl10 pll lt crlf gt EN lt crlf gt Output Example EA lt crlf gt ain 0 0 AI 1234567 R1 02 0 0 0 xxx lt crlf gt ain 0 1 D0 1234567 R1 01 0 0 16 xxx lt crlf gt EN lt crlf gt One line p1 to p10 contains configuration information of a single module Pn Value Description pl Main Sub Unit dependency main or sub information Fixed to Main p2 0 1 2 Address number of the unit that the module is installed in Fixed at 0 p3 0 1 2 Slot number of t
34. a thick line in red at the 80 position of group 2 STriphLine 2 2 0n 80 255 0 0 Thick Description e p4 and subsequent parameters are valid only when p3 On e For details on RGB values see Description of the SColorlO command Esscipmp Scale Bitmap Image Usage Sets whether to display a bitmap scale image in the trend display of a display group Syntax SSclBmp p1 p2 pl Group number p2 Enable or disable Off On Query SSclBmp p1 Example Use a bitmap scale image on display group 3 SSclBmp 3 On Description e Specify the bitmap file to use from the front panel of the GX GP Ismessage Message Sets messages Syntax SMessage pl p2 pl Message number 1 to 100 p2 Message string up to 32 characters UTF 8 Query SMessage pl Example Assign character string MESSAGE77 to message number 77 SMessage 77 MESSAGE77 Istimezone Time Zone Sets the time zone Syntax STimeZone pl p2 p1 Time zone Hour 13 to 13 p2 Time zone Minute 0 to 59 Query STimeZone Example Set the time offset to 9 hours ahead of GMT STimeZone 9 0 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress IspateBasic Gradual Time Adjustment Sets the gradual time adjustment feature Syntax SDateBasic pl p2 pl Boundary value for gradua
35. a transmit command of the Modbus master Syntax SModMCmd p1 p2 p3 p4 p5 p6 P7 ps pl Command number 1 to 100 p2 Command type Off Disable command Write Write a value to a Modbus register of another device Read a value from a Modbus register of another device p3 Slave number 1 to 247 P4 Data type BIT Bit String data INT16 16 bit signed integer UINT16 16 bit unsigned integer INT32 B 32 bit signed integer big endian INT32 L 32 bit signed integer little endian UINT32_B 32 bit unsigned integer big endian UINT32_L 32 bit unsigned integer little endian FLOAT B 32 bit floating point big endian FLOAT L 32 bit floating point little endian p5 Register 1 to 465535 p6 Channel type IO O channel Math Math channel Com Communication channel p7 First channel p8 Last channel Query SModMCmd p1 Example Register the following command in command number 2 read the 32 bit signed integer data that is assigned to registers 30003 upper 16 bits and 30004 lower 16 bits in the slave device assigned to address 5 into channel C002 SModMCmd 2 Read 5 INT32_B 30003 Com 002 002 Description Read IM 04L51B01 17EN 2 35 sesuodsey pue spuewwog 2 4 Setting Commands e If p2 Read set the communication channel in p6 p7 and p8 e Set the same type of channel in p7 and p8 e Math channels are an option MT e For details on data types registers and channel types see section 4 5 1 Modbus C
36. crl aaa lt crl aaa lt crl EN lt crlf gt Outputs the relay DO channel status of module numbers 00 to 09 Sign or Mantissa 00000000 to 99999999 8 digits For erroneous data data status is E the mantissa is 99999999 If the data status is O tover the mantissa is 99999999 over or 99999999 over If the data status is B burnout the mantissa is 99999999 burnout or 99999999 burnout Exponent 00 to 05 gt f gt f gt f gt f gt E gt f gt f gt f gt f gt If the module installed in the corresponding module number is not a DO module a hyphen is output If the module installed in the corresponding module number is a DO module 1 or 0 is output for the number of channels in the module in ascending order by channel number 1 indicates relay DO channel ON state and 0 indicates relay DO channel OFF state 2 58 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 3 Internal Switch Status FRelay The output in response to the command FRelay 1 is shown below Syntax EA lt crlf gt S001 010 aaaaaaaaaa lt crlf gt S011 020 aaaaaaaaaa lt crlf gt S021 030 aaaaaaaaaa lt crlf gt S031 040 aaaaaaaaaa lt crlf gt S041 050 aaaaaaaaaa lt crlf gt S051 060 aaaaaaaaaa lt crlf gt S061 070 aaaaaaaaaa lt crlf gt S S S 071 080 aaaaaaaaaa lt crlf gt 081 090 aaaaaaaaaa lt crlf gt 091 100 aaaaaaaaaa lt crlf gt EN l
37. e XX in the table represents the instrument address You can specify any address within the range of 01 to 99 and within the addresses assigned to the communication target instruments You can only open one instrument at any given time e When you open an instrument with the ESC O command you can send commands to it e If you open an instrument with the ESC O command any instrument that is already open will be automatically closed e Use CR LF for the terminator 2 56 IM 04L51B01 17EN 2 10 ASCII Output Format This section explains the ASCII output format e In the following format descriptions the terminator is denoted by lt crlif gt e One space ASCII code 0x 20 is denoted by an underscore Consecutive spaces are denoted by alternating underscores and overscores e An I O channel is expressed as a four digit number e g 0102 a math channel is expressed as A followed by a three digit number e g A015 and a communication channel is expressed as C followed by a three digit number e g C120 2 10 1 Most Recent Channel Data FData The output in response to the command FData 0 is shown below Syntax EA lt crlf gt DATE yy mo dd lt crlf gt TIME hh mm ss mmmt lt crlf gt S_ccccajaza3aquuuuuufdddddddd S_ccccajaza3aquuuuuufdddddddd S_ccccajaza3aquuuuuufdddddddd E pp lt crlf gt E pp lt crlf gt E pp lt crlf gt EN lt crlf gt yy mo dd Data t
38. each command the GX GP receives it returns a single response The controller PC side must process commands and responses in accordance with this command response rule If the command response rule is not followed the operation of the GX GP is not guaranteed For details on the response syntax see 2 9 Responses to Commands 2 4 IM 04L51B01 17EN 2 2 2 2 1 Command List of Commands Setting Commands Setup Item Required Options Page Measurement Operation Setting Commands SScan SScanGroup SModeAI SModeDI SScaleOver Scan interval Scan group Al module DI module Detection of values that exceed the scale Recording Basic Setting Commands SMemory SDispData SEventData Recording mode Display data recording Event data recording Recording Channel Setting Commands SRecDisp SRecEvent SRecManual Channel for recording display data Channel for recording event data Channel for recording manual sampled data Batch Setting Commands SBatch STextField Batch function Batch text Data Save Setting Commands SDirectory SFileHead SFileName SMediaSave SFileFormat Name of directory to save data File header File naming rule Automatic data file saving Display event data file format I O Channel Al DI DO Setting Commands Measurement range of Al channel 2 13 Measurement range of DI channel2 14 SRangeAl SRangeDI SRangeDO SMoveAve SBurnOut SRic SAlarmIO SAlmHysI
39. filter value to 255 127 63 31 CSFilter 255 127 63 31 Description e The status filter is applied to each communication connection Bctogin Log in over a Communication Path Logs in over a communication path Syntax CLogin pl p2 pl User name p2 password Example Log in using the user name admin and password password CLogin admin password Description e For the characters that you can use for the password see Appendix 1 BcLogout Log Out over a Communication Path Logs out over a communication path Syntax CLogout Example Logs out from the GX GP CLogout Fesc O Opens an Instrument RS 422 485 command Starts communication with the GX GP ESC in ASCII code is 0x1B For details see Appendix 1 Syntax ESC O p1 pl Instrument address 01 to 99 Example Open the instrument at address 99 ESC O 99 Description e Specify the address of the instrument that you want to communicate with e You can only open one instrument at any given time e If you execute ESC O any instrument that is already open will be automatically closed e Use a capital O e For this command use CR LF for the terminator e For the responses to this command see page 2 56 Fesc C Closes an Instrument RS 422 485 command Ends communication with the GX GP ESC in ASCII code is 0x1B For details see Appendix 1 Syntax ESC C p1 p1 Instrument address 01 to 99 Example Close th
40. it will return a response You can control the GX GP by writing a program that sends commands and processes responses and then executing the program You need to create the programs Example If you send the commands FSnap GET from your PC to the GX GP the GX GP will return the snapshot data of its screen For details on commands and responses see chapter 2 Commands and Responses Notes on Creating Programs e For RS 232 When you connect a PC to the GX GP through the serial interface the GX GP will be ready to receive commands e For RS 422 485 The device that receives an open command ESC O from a PC will be ready to receive commands The connection will close in the following situations e When the GX GP receives a connection close command ESC C e When another device is opened Example If you open the device at address 1 and then open the device at address 2 the connection with the device at address 1 will be closed automatically IM 04L51B01 17EN Chapter 2 Commands and Responses 2 1 Command Transmission and GX GP Responses 2 1 1 General Communication The GX GP can work with various applications through the use of commands The communication that is achieved through commands is referred to as general communication 2 1 2 Command Types and Functions The following types of commands are available The first character of command names represents the command type For example in the command SRangeAl
41. maximum file size as large as the GX GP internal communication buffer allows will be output Example Output all the data in file xyz in the DRVO DATAO directory FMedia GET DRVO DATAO xyz Description e If you omit p3 and p4 the maximum file size as large as the GX GP internal communication buffer allows will be output e The file data will be stored in the data block of the binary output file see page 2 55 Free Space on the External Storage Medium IM 04L51B01 17EN 2 45 s suods y pue spuewwog N 2 5 Output Commands Syntax FMedia pl pl Output type CHKDSk Example Output the free space on the external storage medium FMedia CHKDSK Description e For the ASCII output format see page 2 75 fren Outputs Setting Data Outputs the GX GP setting data Syntax FCnf p1 pl Operation ALL Read all settings IO Read I O settings MATH Read Math settings CO Read communication settings GROUP Read display group settings IP Read IP address settings SECURITY Read security settings OTHERS Read settings other than above You can specify multiple items in the list above Separate each item with a colon see the example Example Read I O and Math settings FCnf f 10 MATH Description e If you omit p1 all settings will be read e The setting data is output as the responses to the command queries The following table lists p1 and the corresponding commands pi Command
42. mm Minute 00 to 59 ss Second 00 to 59 nnn Error code 001 to 999 uuu u Error message fixed to 80 characters Unused character positions are filled with spaces IM 04L51B01 17EN 2 67 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 12 Address Setting Log FLog The output in response to the command FLog DHCP is shown below Syntax EA lt crlf gt yyyy mo dd_hh mm ss_kkk k_mmm m lt cr1lf gt EN lt crlf gt yyyy mo dd_hh mm ss Time of occurrence yyyy Year 1900 to 2099 mo Month 01 to 12 dd Day 01 to 31 hh Hour 00 to 23 mm Minute 00 to 59 ss Second 00 to 59 kkk k Type fixed to 15 characters Unused character positions are filled with spaces See table below mmm m Message fixed to 20 characters Unused character positions are filled with spaces See table below Type Message Error Message LINK ON Ethernet connection detected OFF Ethernet disconnection detected SET Address e g IP address set 10 0 122 3 DHCP OFF DHCP disabled ON DHCP enabled RENEWING Acquired IP address renewing RELEASING Acquired IP address releasing REJECTING Acquired IP address rejecting RENEWED
43. mm ss Time of command Tx Rx yyyy mo dd_hh mm ss_nn_uuu u_fdmmm m lt crl1f gt yyyy Year 1900 to 2099 mo Month 01 to 12 dd Day 01 to 31 hh Hour 00 to 23 mm Minute 00 to 59 ss Second 00 to 59 nn Connection ID s0 Serial general e0 Ethernet connection 0 general el Ethernet connection 1 general e2 Ethernet connection 2 general uuu u User name fixed to 20 characters Unused character positions are filled with spaces Multiple command flag Space Single command x Multiple commands d Tx Rx gt Tx command connected instrument to GX GP lt Rx Response GX GP to connected instrument mmm M Message fixed to 40 characters Unused character positions are filled with spaces The GX GP normally outputs the data that has been transmitted or received as is but it sometimes outputs special messages Special messages are shown below output Over length timed out disconnected Data output Command length too long Timeout Disconnection occurs when an Ethernet connection is disconnected IM 04L51B01 17EN 2 69 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 14 Modbus Communication Log FLog The output in response to the command FLog Modbus is shown below Syntax EA lt crlf gt yyyvy mo dd hh mm ss _c_xxxxxx_kkk k_nnn_d lt crlf gt EN lt crlf gt yyyy mo dd hh mm ss Time of error occurrence
44. number 2 read the 32 bit signed integer data that is assigned to registers 30003 upper 16 bits and 30004 lower 16 bits in the server device assigned to address 5 and unit number 1 into channel C002 SModCCmd 2 Read 5 1 INT32_B 30003 Com C002 C002 Description e If p2 Read set the communication channel in p7 p8 and p9 e Set the same type of channel in p8 and p9 e Math channels are an option MT e For details on data types registers and channel types see section 4 5 1 Modbus Client and Master Function in the Models GX10 GX20 GP10 GP20 Paperless Recorder User s Manual IM 04L51B01 01EN Esserver Server Function Enables or disables the server function Syntax SServer p1 p2 p3 pl Server type FTP HTTP SNTP MODBUS GENE p2 Operation Off On p3 Port number 1 to 65535 Query SServer pl Example Use the FTP server function SServer FTP On 21 Description e You cannot specify a port number that is used by another function IM 04L51B01 17EN 2 39 s suods y pue spuewwog N 2 4 Setting Commands e The settings specified with this command takes effect with the OIPApply command IskeepAlive Keepalive Sets the keepalive function Syntax SKeepAlive pl pl Operation Off On Query SKeepAlive Example Use keepalive SKeepAlive On Istimeout Communication Timeout Sets the communication timeout function Syntax STimeOut pl p2 pl Timeout function Off
45. or subsequent parameters oT U0 T UTU D D 2 18 IM 04L51B01 17EN 2 4 Setting Commands e You cannot specify set points beyond the number of points specified by p3 e If the Al channel input type p2 of SRangeAl is set to Skip or DI you cannot specify anything other than p2 Off I smathBasic Math Action MT Sets the basic operation of math channels Syntax SMathBasic pl p2 p3 p4 p1 Indication on computation error Display the computed value as Over Display the computed value as Over p2 SUM and AVE computation when overflow data is detected Error Over Over Sets the computation result to computation error Skip Discards the data that overflowed and continues the computation Computes by substituting upper or lower limit values in the data that overflowed e For channels that do not have linear scaling specified the upper or lower limit of the measuring range e For channels that have linear scaling specified the scaling upper or lower limit e For math channels the specified span upper or lower limit p3 MAX MIN and P P computation when overflow data is detected Over Computes using data that overflowed Skip Discards the data that overflowed and continues the computation P4 START STOP key action Off Computation does not start even when recording starts Computation starts when recording starts Computation resets and starts when recording starts
46. p3 p4 p5 pl Function Master Slave p2 Address 1 to 247 p3 Baud rate bps 1200 2400 4800 9600 19200 38400 57600 115200 P4 Parity Odd Even None p5 Stop bits 1 2 Query SSerialBasic Example Set the baud rate to 9600 the data length to 8 the parity check to ODD the stop bits to 1 the handshaking to OFF OFF the address to 02 and the protocol to NORMAL SSerialBasic Normal 2 9600 0dd 1 8 TOCE OLE Description e You can set p1 Master only on GXs GPs that have the MC option The settings specified with this command takes effect with the OSeriApply command The GX GP serial settings do not change until you send the OSeriApply command I smodMaster Modbus Master C2 MC or C3 MC Sets the Modbus master operation Syntax SModMaster p1l p2 p3 p4 p5 p 6 pl Master function Off On p2 Read cycle 100ms 200ms 500ms 1s 2s 5s 10s p3 Communication timeout 100ms 200ms 250ms 500ms 1s 2s 5s 10s 1min P4 Gap between messages Off 5ms 10ms 20ms 50ms 100ms p5 Recovery action retransmission Off 1 2 3 4 5 10 20 p6 Recovery action wait time Off 5s 10s 30s 1min 2min Smin Query SModMaster Example Set the read cycle to 500ms the communication timeout to 250ms the gap between messages to 10ms the retransmission to 2 and the recovery wait time to 5min SModMaster On 500ms 250ms 2 5min Bsmoamcmd Modbus Master Transmission Command C2 MC or C3 MC Sets
47. p5 p6 p7 p8 p e If p2 TC RTD DI you cannot specify p4 Sart 9 p10 p11 e If p2 GS you cannot specify p4 Off Delta p1 Channel number e If p2 DI you cannot set p7 p2 Input type Volt TC RTD DI The settable items for p3 are shown below p3 Range see Description P4 Calculation type Scale p5 Span lower limit p6 Span upper limit p7 Bias 999999 to 999999 can be set when p2 is not set to DI p8 Decimal Place 0 to 5 p9 Scaling lower limit PIO Scaling upper limit p11 Unit up to 6 characters UTF 8 Unified Signal Input Channels Input Type Is GS Syntax SRangeAI p1 p2 p3 p4 p5 p6 p7 p8 p 9 p10 p11 p12 p13 pl Channel number IM 04L51B01 17EN 2 13 s suods y pue spuewwog N 2 4 Setting Commands p2 Volt p2 TC p2 RTD p2 GS p2 DI 20mV R Pt100 1 5V Level 60mV S Pt100 H 0 4 2V DI 200mV 8 JPt100 1V K JPt100 H 2V K H Cul0GE 6V E Cul OLN 20V J Cul QWEED 50V Cul OBAILEY N Cul0a392 W Cul0a393 L Cu25 U1 Cu53 PLATINEL Cul00 PR20 40 J263B WRe3 25 Nil0OSAMA pvsAu7Fe NilQODIN NiNiMo Nil20 WWRe26 Pt25 N14 Pt50 XK Pt200WEED Cul0G Cu50G Cul00G Pt46G Pt100G BsrangeD Measurement Range of DI Channel Sets the measurement range of a DI channel Unused Channels Syntax SRangeDI pl1 p2 pl Channel number p2 Input type Skip Channels That Are Not Delta or Scaling Syntax SRangeDI pl1 p2 p3 p4 p5 pe
48. pl Channel number p2 Input type DI p3 Fixed at P4 Calculation type Off p5 Span lower limit 0 to 1 p6 Span upper limit 0 to 1 Delta Channels Syntax SRangeDI p1 p2 p3 p4 p5 p6 p7 pl Channel number p2 Input type DI p3 Fixed at P4 Calculation type Delta p5 Span lower limit 0 to 1 p6 Span upper limit 0 to 1 p7 Reference channel number Scaling Channels Syntax SRangeDI pl1 p2 p3 p4 p5 p6 p7 p8 p 9 p10 p1 Channel number p2 Input type DI p3 Fixed at P4 Calculation type Scale p5 Span lower limit 0 to 1 p6 Span upper limit 0 to 1 Query p7 Decimal Place 0 to 5 p8 Scaling lower limit p9 Scaling upper limit p10 Unit up to 6 characters UTF 8 SRangeDI pl Example Measure 0 to 1 on channel 0103 No scaling SRangeDI 0103 DI Off 0 1 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress IsrangeDo DO Channel Operation Sets the DO channel operation Alarm Output Syntax SRangeDO pl p2 p3 p4 p5 p6 p7 p8 rpg pl Channel number p2 Output type Alarm p3 Span lower limit 0 to 1 P4 Span upper limit 0 to 1 p5 Unit up to 6 characters UTF 8 p6 Energize or de energize Energize the relay DO channel during output De energize the relay DO channel during output Energize De energize
49. pl p2 p3 pl Old password up to 20 characters ASCII p2 New password up to 20 characters ASCII p3 New password enter the same password as p2 Example Change the password from PASS001 to WORDOOS OPassword PASS0O01 WORDO05 WO RDOO5S Description e For the characters that you can use for the password see Appendix 1 Tomath Starts Stops or Resets Computation or Clears the Computation Dropout Status Display Starts or stops computation resets computed values or clears the computation dropout status display Syntax OMath pl p1 Action type 0 0 Start computation 1 Stop computation 2 Reset computation 3 Clear the computation dropout status display Query OMath Example Start computation OMath 0 Description e You cannot use this command while the GX GP is saving or loading setup data Tosavecont Saves Setting Data Saves the GX GP setting data to the GX GP external storage medium Syntax OSaveConf pl p2 p3 pl File name up to 240 characters ASCII Specify the path and file name excluding the extension p2 Medium SD SD memory card USB USB flash memory p3 Setting file comment up to 50 characters UTF 8 Example Save setting data to a file named SETFILE1 to the SD memory card OSaveConf SD SETFILEL Description e If you omit p3 the default setting file comment will be added You can edit the default setting file comment fro
50. reports at 09 00 every day and monthly reports at 09 00 on the first day of each month SReport Day Month 1 09 Description e There are limitations to event and action combinations For details see section 1 14 in the Models GX10 GX20 GP10 GP20 Paperless Recorder User s Manual IM 04L51B01 01EN e Write only delimiters commas for irrelevant parameters invalid even if a value is specified e Event type DI is the channel of the DI module that has been set to remote module SModeDI command e Math channel and flag are an option MT e Communication channels are an option MC Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress If p1 Off you cannot set p2 or subsequent parameters 2 28 IM 04L51B01 17EN 2 4 Setting Commands IsrepData Report Data MT Sets the data type and file type of reports Syntax SRepData pl p2 p3 p4 p5 p6 pl Data type 1 Max Min Ave Sum Inst p2 Data type 2 Off Max Min Ave Sum Inst p3 Data type 3 Off Max Min Ave Sum Inst P4 Data type 4 Off Max Min Ave Sum Inst p5 Data type 5 Off Max Min Ave Sum Inst Off No Max Maximum value Min Minimum value Ave Average value Sum Integrated value Inst Instantaneous value p6 Filetype Combine 1 file Separate Separate Query SRepData Example R
51. settings specified by the SlpAddress SDhcp SDns and SServer commands e When you send this command the IP address settings take effect when the GX GP returns a response After this process the connection will be cut off This includes Ethernet connections to other devices Modbus server FTP server etc Fonit Clears Measured Data and Initializes Setting Data Clears the measured data in internal memory The command also initializes setting data Syntax OInit p1 p1 The types of data to be initialized and cleared SECURITY Security settings Display data event data manual sampled data report data alarm summary message summary and all logs Settings other than security settings ALL All measured data and settings You can specify multiple items at once To do so separate items with a colon Example Delete the measured data summary and logs in the internal memory OInit MEMORY Memory OTHERS 2 50 IM 04L51B01 17EN 2 7 Communication Control Commands Bcchecksum Sets the Checksum Sets the presence or absence of checksum Syntax CCheckSum p1 pl Checksum usage 0 Do not compute 1 Compute Query Example Enable the checksum CCheckSum 1 IcsFitter Sets the Status Filter Sets the filter used when outputting the GX GP status Syntax CSFilter pl p1 Filter values for status information numbers 1 to 4 0 0 0 0 to 255 255 255 255 Query CSFilter Example Set the status
52. the RGB mark colors for alarm 1 0 to 255 p6 B value of the RGB mark colors for alarm 1 0 to 255 p7 R value of the RGB mark colors for alarm 2 0 to 255 p8 G value of the RGB mark colors for alarm 2 0 to 255 p9 B value of the RGB mark colors for alarm 2 0 to 255 PIO R value of the RGB mark colors for alarm 3 0 to 255 p11 G value of the RGB mark colors for alarm 3 0 to 255 p12 B value of the RGB mark colors for alarm 3 0 to 255 p13 R value of the RGB mark colors for alarm 4 0 to 255 p14 G value of the RGB mark colors for alarm 4 0 to 255 p15 B value of the RGB mark colors for alarm 4 0 to 255 Query SAlmMarkIO pl1 Example Display the alarm marks for alarms 1 to 4 of channel 0001 in fixed colors red brown orange and yellow respectively SAlmMarkIO 0001 0n Fixed 255 0 0 165 42 42 255 165 0 255 255 0 Description e For details on RGB values see Description of the SColorlO command Isvatuelo Upper Lower Limit Display Characters Sets the upper lower limit display characters of DI channel or DO channel Syntax SValueI0O p1 p2 p3 pl Channel number p2 Lower limit display string up to 8 characters UTF 8 p3 Upper limit display string up to 8 characters UTF 8 Query SValuelIO pl1 Example For channel 0001 set the lower limit to OFF and the upper limit to ON SValuelO 0001 OFF 0ON Escalibio Calibration Correction Sets the calibration corr
53. the second parameter of a single command the GX GP outputs Bl 3s 132 Response Example 2 If error number 1 occurs in the third parameter and error number 100 occurs in the fifth parameter of a single command the GX GP outputs Etrit 0 Osos 5 IM 04L51B01 17EN 2 53 s suods y pue spuewwog N 2 9 Responses to Commands Response Example 3 In a string of two commands if error number 10 occurs in the second parameter of the first command and error number 500 occurs in the fifth parameter of the second command the GX GP outputs Bl 10s 132 50032 25 Error Messages You can use the instrument s error number information output command _ERR to output the error message that corresponds to an error number of a negative response 2 9 3 Data Output Response ASCII Output There are two types of data output ASCII and binary The responses to the following commands are in ASCII e Queries for operation commands and setting commands e ASCII data output requests of output commands Syntax EACRLF ASCII string data e e e e e e e CRLF ASCII string data e e e e e e CRLF ASCII string data e e e e e e e CRLF ENCRLF The GX GP adds a header EA in front of the ASCII string output data and a footer EN at the end The GX GP adds the two characters CRLF to the end of headers footers and ASCII string data 2 54 IM 04L51B01 17EN 2 9 Responses to Commands Binary Output
54. 00 to 23 Minute 00 to 59 Second 00 to 59 Detailed code fixed to 9 characters TCPTIP O Zg 2 E eal Q H LINK FILE NOFD NOID _ PARAM Internal processing error Unable to resolve server host name Unable to connect to server Unable to connect to data port Transmission to data port failed Reception from data port failed Received reject response from server Invalid server response Error in sending command to control port Error in receiving command from control port Invalid user name Invalid password Internal processing error Response timeout Ethernet cable not connected File access failed Internal processing error Internal processing error Internal processing error Server type P S File name fixed to 51 characters including extension Unused character positions are filled with spaces IM 04L51B01 17EN 2 71 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 16 SNTP Time Adjustment Client Log FLog The output in response to the command FLog SNTP is shown below Syntax EA lt crlf gt EN lt crlf gt yyyy mo dd_ hh mm ss nnn xxxxxxxxx lt cr1f gt yyyy mo dd_hh mm ss Time of error occurrence Yyyy Year 1900 to 2099 mo Month 01 to 12 dd Day 01 to 31 hh Hour 00 to 23 mm Minute 00 to 59 ss Second 00 to 59 nnn Error code XXXXXXXKKX Detailed code fixed
55. 2 G value of RGB background colors 0 to 255 p3 B value of RGB background colors 0 to 255 Query SBackColor Example Set the background color to black SBackColor 0 0 0 Description e For details on RGB values see Description of the SColorlO command IscGrpchange Automatic Group Switching Time Sets the time for automatically switching between display groups Syntax SGrpChange pl pl Automatic group switching time 5s 10s 20s 30s 1min Query SGrpChange Example Set the switching time to 1 minute SGrpChange 1min TsautoJump Jump Default Display Operation Sets the amount of time that must elapse until the GX GP returns to the specified screen standard screen when there is no user interaction Syntax SAutoJump p1 pl Jump default display operation Off 1min 2min 5min 10min 20min 30min 1h Query SAutoJump Example Set the automatic return time to 5 minutes SAutoJump 5min BscalFormat Calendar Display Format Sets the calendar display format Syntax SCalFormat pl pl 1st weekday Sun Mon Query SCalFormat Example Set the first weekday to Monday SCalFormat Mon SBarDirect Bar Graph Display Direction Sets the bar graph display direction Syntax SBarDirect pl p1 Direction Horizontal Horizontal Vertical Vertical Query SBarDirect Example Display bar graphs horizontally SBarDirect Horizontal I SChgMonitor Value Modification from the Monitor Enables or disables
56. 2 bits Indicates the alarm status 8 bits 8 bits 8 bits 8 bit a a a a s gt 2 84 IM 04L51B01 17EN 2 11 Format of the Data Block of Binary Output The eight bit values of alarm 1 to alarm 4 are described in the table below Bit Value Description Oto5 No alarm High limit alarm Low limit alarm Difference high limit alarm Difference low limit alarm High limit on rate of change alarm Low limit on rate of change alarm Delay high limit alarm Delay low limit alarm No alarm is activated An alarm is activated Alarm nonhold state 0 1 2 3 4 5 6 7 8 0 1 0 1 Alarm hold state IM 04L51B01 17EN 2 85 s suods y pue spuewwog N 2 11 Format of the Data Block of Binary Output 2 11 2 Channel FIFO Data FFifoCur The output in response to the command FFifoCur 0 is shown below Outputs the I O channel math channel and communication channel FIFO data Configuration Data is stored in Block 1 shown below ka 2 bytes 2 bytes gt Number of Blocks 16 bits Number of stored blocks Stores the number of blocks that can be output within the range specified by the read start position and end position Number of Bytes 16 bits Stores the number of bytes per block Block The content of the block is the same as that of Block 1 described in section 2 11 1 Most Recent Channel Data F
57. 2 p3 pl Channel number p2 Alarm number 1 to 4 p3 Hysteresis Alarm Type _ Hysteresis Range H L DH DL 0 0 to 5 0 of the span or scale width Query SAlmHysIO pl1 p2 Example Set a 0 5 hysteresis on alarm 3 of channel 0002 SAlmHysI0 0002 3 5 Description e Hysteresis specified for delay high and low limit alarms TH and TL and high and low limits on rate of change alarms RH and RL do not apply Bsaimplyio Alarm Delay Sets the delay alarm time for an Al or DI channel Syntax SAlmDlyI0O p1 p2 p3 p4 pl Channel number p2 Hour 0 to 24 p3 Minute 0 to 59 P4 Second 0 to 59 Query SAlmD1yIO p1 Example Set the channel 0001 alarm delay to 2 minutes 30 seconds SAlmDlyI0O 0001 0 2 30 Description e Set the delay time so that it is an integer multiple of the scan interval SScan command Istagio Tag Sets a tag to anAl DI or DO channel Syntax STagI0O p1 p2 p3 pl Channel number p2 Tag up to 32 characters UTF 8 p3 Tag number up to 16 characters ASCII Query STagIO p1 Example Set the channel 0001 tag to SYSTEM1 and the tag number to T1002 STagIO 0001 SYSTEM1 TIO02 Bscolorio Channel Color Sets the color an Al DI or DO channel Syntax SColorlI0 p1 p2 p3 p4 pl Channel number p2 R value of RGB display colors 0 to 255 see Description p3 G value of RGB display colors 0 to 255 see Description P4 B value of RGB display colors 0 to 255 see Des
58. 7 DO Relay DO channel number If p7 SW Internal switch number 001 to 100 Query SAlarmIO pl p2 Example Seta high limit alarm H on alarm number 2 of channel 0001 Set the alarm value to 1 8000V Use the alarm detection function When an alarm occurs output to the relay DO channel at number 0205 SAlarmIO 0001 2 0On H 18000 0n DO 0205 Description e You cannot set this on a Skip channel e If p3 Off you cannot set p4 or subsequent parameters e If p7 Off you cannot set p8 e For the alarm values of p5 use the values in the following table Channel Input Calculation Alarm Type Type Type Type H L RH RL DH DL TH TL Al channel Volt Off 1 3 GS Delta 1 3 5 TC Scale 2 RTD Sgrt 2 4 DI Off 0 1 1 Delta 1 3 5 Scale 2 4 DI channel DI Same as the DI input of Al channels 1 Within the measurement range 2 5Yo to 105 of the scale but within 999999 to 999999 excluding the decimal point 3 1 digit to measurement upper limit measurement lower limit 4 1 digit to scale upper limit scale lower limit but within 1 to 999999 excluding the decimal point 5 Within the difference measurement range e You cannot set DO channels or internal switches whose output type is set to Manual as output destination numbers BsaimHysio Alarm Hysteresis Sets the alarm hysteresis for Al and DI channels Syntax SAlmHysI0O pl p
59. 7EN 2 43 s suods y pue spuewwog N 2 5 Output Commands lJ FData Outputs the Most Recent Channel Data Outputs the most recent I O channel math channel and communication channel data Syntax FData pl p2 p3 pl Output format 0 The most recent data in ASCII format 1 The most recent data in binary format p2 First channel p3 Last channel Example Output the most recent data of channels 0001 to 0020 in ASCII format FData 0 0001 0020 Description e If you omit p2 and p3 all channels will be output e Channel ranges whose first channel and end channel are different channel types are interpreted as follows First Channel Last Channel Setting 0001 A100 0001 to 9999 A001 to A100 A001 C300 A001 to A100 C001 to C300 C001 A100 Not allowed will result in error A001 0001 Not allowed will result in error e For the ASCII output format see page 2 57 e For the binary output format see page 2 83 Fretay Outputs the Most Recent Relay DO Channel and Internal Switch Status Outputs the most recent relay DO Channel and internal switch status Syntax FRelay p1 p1 Output information 0 The most recent relay DO channel status in ASCII format 1 The most recent internal switch status in ASCII format Example Output the relay DO channel status FRelay 0 Description e For the output format see page 2 58 or page 2 59 JI Frifocur Outputs Channel FIFO Data Outputs the I O chann
60. Calls attention to actions or conditions that could cause serious or fatal injury to the user and precautions that can be taken to prevent such occurrences Calls attention to actions or conditions that could cause light injury to the user or cause damage to the instrument or user s data and precautions that can be taken to prevent such occurrences Calls attention to information that is important for the proper operation of the instrument IM 04L51B01 17EN Contents Chapter 1 Chapter 2 IMthOGDUCHOM desore ne ad seaxeeteeeaved A NEEE EERE EA EEA EE A E E i How to Use This Manual arisini a a Dea E e E aza ii Conventions Used in This Manual lt ca cisvsicsecaicassscsenavntccaraece ceases a ai a EAE EREA ii Using Dedicated Commands General 1 1 Operations over an Ethernet Network c ccccceceeeeceeeeeeceeeeeeeeeeeeeaeeeeeeseeaeeeeeesecneeeeeeteeeea 1 1 1 1 1 Preparing the Instrument 1 1 1 1 2 Sending Commands and Receiving RESPONSES ccececeeeeeeeeeeeeeeeeeeeeeeseeeeseneeeeeeneeeeeeeess 1 1 1 2 Operations over the Serial Interface 0 cccccccececececeeeeeeeeeeeeeceeeeaeeeeeeeeeaeeeeeeseeeeeeeeeeeaes 1 2 1 2 1 Preparing the Instrument 1 2 1 2 2 Sending Commands and Receiving RESPONSES ccccceeeeeeeeeeeeeeeeeeeeeeeeeeeseeaeeeseneeeeeaneess 1 2 Commands and Responses 2 1 Command Transmission and GX GP REespoOnseS w swwnamwanamwnanamanzwaanzwaan
61. D integration time to Auto SModeAI 0 2 10CH Auto Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e You can set the parameters in the following combinations Scan Mode Integration time p4 Interval p3 Auto 50Hz 60Hz Common 100ms 2CH Yes Yes Yes No 10CH Yes No No No 200ms 2CH Yes Yes Yes No 10CH Yes No No No 500ms Yes Yes Yes No 1s Yes Yes Yes Yes 2s Yes Yes Yes Yes 5s Yes Yes Yes Yes BsmodebI DI Module Sets the mode of a DI module Syntax SModeDI p1 p2 p3 pl Unit number 0 p2 Module number 0 to 9 p3 Mode Normal Remote Normal Dl input Remote Remote control input Query SModeDI pl p2 Example Set the module whose module number is 2 as a remote control input module SModeDI 0 2 Remote Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e Only one module can be set to remote If different modules are set to remote numerous times the last module will be the remote module Isscaleover Detection of Values That Exceed the Scale Sets how to detect measurement over range Syntax SSclOver pl P1 How to detect values that exceed the scale FREE Assume scale over range when the measureme
62. Data 2 86 IM 04L51B01 17EN 2 11 Format of the Data Block of Binary Output 2 11 3 FIFO Data Read Range FFifoCur The output in response to the command FFifoCur 1 is shown below Outputs FIFO data read position information ha 8 bytes Additional information always 0 The read position of the oldest data in the FIFO 1 to 99999999999 The read position of the most recent data in the FIFO 1 to 99999999999 The read position of the oldest data in the FIFO This is the oldest data number within the readable data range The read position of the most recent data in the FIFO This is the most recent data number within the readable data range IM 04L51B01 17EN 2 87 s suods y pue spuewwog N Aa Bank aaa Appendix Appendix 1 ASCII Character Codes The ASCII character code table is shown below Upper 4 Bits Characters Used in Commands In addition to alphanumeric characters the following characters are used commas as delimiters semicolons as sub delimiters question marks as query symbols single quotation marks to indicate user defined character strings and CR return LF line feed as terminators Characters That Can Be Used in User Defined Character Strings The table below shows the characters that can be used in user defined character strings tags tag No messages
63. Decimal Place 0 to 5 p6 Span lower limit 9999999 to 99999999 p7 Span upper limit 9999999 to 99999999 p8 Unit string up to 6 characters UTF 8 Query SRangeMath p1 Example Set expression 0001 0002 in math channel 015 Set the measurement range is 0 0 to 100 0 SRangeMath 015 0n Normal 0001 0002 1 0 1000 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e Ablank character string cannot be used in expressions e You cannot set the span upper and lower limits to the same value Estiogmath TLOG MT Sets the TLOG of a math channel Syntax STlogMath pl p2 p3 p4 p5 pl Channel number p2 Timer Type Timer Timer MatchTimeTimer Match time timer p3 Timer number 1 to 4 P4 Sum scale Off sec min hour p5 Reset On Off Query STlogMath pl1 Example Assign timer 2 to math channel 015 Set the sum scale to Off and disable reset STlogMath 015 Timer 2 O0ff Off Description e You cannot use this command to configure settings while computation is in progress J SRolAveMath Rolling Average MT Sets rolling average on a math channel Syntax SRolAveMath p1l p2 p3 p4 pl Channel number p2 Enable or disable Off On p3 Sample interval 1 to 6s 10s 12s 15s 20s 30s 1 to 6min 10min 12min 15min 20min 30min 1h P4 Number of samples 1 to 1500
64. Error Message 00 Continue 01 Switching Protocols 01 Created 02 Accepted 03 Non Authoritative Information 04 No Content Reset Content Partial Content Bad Reguest 01 Unauthorized 03 Forbidden 04 Not Found 05 Method Not Allowed 06 Not Acceptable J Proxy Authentication Required US re i re OD De OOM LOM LON MONE LONE mm oOo oa WAUA 08 Reguest Time out 09 Conflict 10 Gone 11 Length Reguired 12 Precondition Failed 13 Request Entity Too Large 14 Request URI Too Large 415 Unsupported Media Type 500 Internal Server Error 501 Not Implemented 502 Bad Gateway 503 Server Unavailable 504 Gateway Time out 505 HTTP Version Not Supported 2 74 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 19 External Storage Medium and Internal Memory File List FMedia The output in response to the command FMedia DIR is shown below Syntax EA lt crlf gt yy mm dd_hh mi ss_ 111 1 fff lt crlf gt yy mm dd_ hh mi ss lt DIR gt dddddddd lt crlf gt EN lt crlf gt yyyy mo dd_hh mm ss Time of file generation yy Year 1900 to 2099 mm Month 01 to 12 dd Day 01 to 31 hh Hour 00 to 23 mi Minute 00 to 59 ss Second 00 to 59 111 1 File size fiked to 10 characters Unused character positions are filled with spaces For directories lt DIR gt is output Prin File name 2 10 20 External S
65. IO SModeAI SModeDI SScaleOver SRangeAI SRangeDI SRangeDO SMoveAve SBurnOut SRJc SAlarmIO SAlmHysIO SAlmDlyI0O STagIO SColorIO SZoneI0O SScaleIO SBarIO SPartiallO S S S S BandIO SAlmMarkIO SValueIO CalibIo MathBasic SKConst SWconst RangeMath STlogMath SRolAveMath SAlarmMath SAlmHysMath SAlmDlyMath STagMath SColorMath SZoneMath SScaleMath SBarMath SPartialMath SBandMath SAlmMarkMath COMM SRangeCom SValueCom SWDCom AlarmCom SAlmHysCom SAlmDlyCom TagCom SColorCom SZoneCom ScaleCom SBarCom SPartialCom BandCom SAlmMarkCom Group STripLine SSclBmp IpAddress SDns SDhcp Security SOpePass SOpeLimit SUser SUserLimit e For the output format see page 2 76 MATH GROUP IP SECURITY NJNUJUJ U NUUNUU BFchinfo Outputs Decimal Place and Unit Information Outputs decimal place and unit information Syntax FChInfo pl p2 p1 First channel p2 Last channel Example Output the decimal place and unit information of channels 0001 to 0003 FChInfo 0001 0003 Description e If you omit p1 and p2 all channels will be output e For the output format see page 2 76 Fsysconf Queries the System Configuration and Reconfigures Modules Queries the system configuration and reconfigures modules Query the System Configuration Syntax FSysConf Example Query the System Configuration FSysConf Description e For the outpu
66. IP address renewed RELEASED IP address released EXTENDED IP address extension application complete ESEND DHCP message transmission failed ESERVER DHCP server search failed ESERVFAII DHCP server response failed reception timeout ERENEWED IP address renewal failed ERELEASED IP address release failed EEXTENDED IP address extension application failed XPIRED IP address lease expiration DNS UPDATED DNS host name registration complete REMOVED DNS host name removal complete FORMERR DNS message syntax error SERVFAIL DNS server processing error ENXDOMAIN DNS server query rejected domain does not exist EREFUSED DNS server query rejected process not allowed EYXDOMAIN DNS server query rejected record exists EYXRESET DNS server query rejected record exists ENXRESET DNS server query rejected record does not exist ENOTAUTH DNS server query rejected not authenticated ENOTZONE DNS server query rejected query error ENOTIMP DNS server query rejected The command is not implemented ENONAME Tried to register an blank host name to the DNS server If the GX GP cannot accept the IP address obtained from the DHCP server the GX GP will reject the address and immediately return a response to the DHCP server 2 68 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 13 General log FLog The output in response to the command FLog General is shown below Syntax EA lt crlf gt EN lt crlf gt yyyy mo dd_hh
67. O SAlmDlyIO STagIO SColor 10 SZoneloO SScalelIo SBar LO SPartiallo SBandIO SAlmMarkIO SValuelO SCalibIo DO channel operation Moving average 2 9 2 9 2 9 2 9 2 9 Page 2 10 2 10 2 10 Page 2 10 2 11 2 11 Page 2 11 2 11 Page 2 11 2 12 2 12 2 12 2 12 Page 2 14 2 15 Behavior when a sensor burns out2 15 Reference junction compensation 2 15 method Alarm Alarm hysteresis Alarm delay Tag Channel color Waveform display zone Scale display Bar graph display Partial expanded display Color scale band Alarm mark Upper lower limit display characters Calibration correction 2 15 2 16 2 16 2 16 2 16 2 17 2 17 2 17 2 17 2 17 2 18 2 18 2 18 Math Channel Setting Commands SMathBasic SKConst SRangeMath STlogMath SRolAveMath SAlarmMath SAlmHysMath SAlmDlyMath STagMath SColorMath SZoneMath SScaleMath SBarMath Math action MT Constant MT Computation expression MT TLOG MT Rolling average MT Alarm MT Alarm hysteresis MT Alarm delay MT Tag MT Channel color MT Waveform display zone MT Scale display MT Bar graph display MT SPartialMath Partial expanded display MT SBandMath Color scale band MT SAlmMarkMath Alarm mark MT Communication Channel Setting Commands SRangeCom SValueCom SwDCom SAlarmCom SAlmHysCom SAlmDlyCom STagCom SColorCom SZoneCom SScaleCom SBarCom SPartialCom SBandCom SAlmMarkC
68. On p2 Timeout value minutes 1 to 120 Query STimeOut Example Enable the communication timeout and set the timeout value to 3 minutes STimeOut On 3 f SFtpFormat FTP Server Directory Output Format Sets the FTP server directory output format Syntax SFtpFormat p1 p1 FTP server directory output format MS DOS UNIX Query SFtpFormat Example Specify MS DOS SFtpFormat MS DOS IsmoaDelay Modbus Server Delay Response Sets the Modbus server delay response Syntax SModDelay pl pl Delay response Off 10ms 20ms 50ms Query SModDelay Example Specify no delay response SModDelay Off BsModLimit Modbus Server Connection Limit Enables or disables the Modbus server connection limit function Syntax SModLimit pl pl Connection limit Off On Query SModLimit Example Enable connection limit SModLimit On Bsmodtist IP Address to Allow Connection to Modbus Server Sets the IP address to allow connection to Modbus server Syntax SModList pl p2 p3 p1 Registration number 1 to 10 p2 Enable or disable registration Off On p3 IP address 0 0 0 0 to 255 255 255 255 Query SModList p1 Example Register IP address 192 168 111 24 to registration number 1 SModList 1 0n 192 168 111 24 Issecurity Security Function Sets the security function Syntax SSecurity pl p2 p3 p4 pl Operations on the GX GP Off Login Operate p2 Operations via communication Off Login p3 Auto logout Off
69. RGB display colors 0 to 255 p3 G value of RGB display colors 0 to 255 P4 B value of RGB display colors 0 to 255 Query SColorMath p1 Example Set the math channel 015 display color to red SColorMath 015 255 0 0 Description e For details on RGB values see Description of the SColorlO command Bszonemath Waveform Display Zone MT Sets the waveform display zone of a math channel Syntax SZoneMath p1 p2 p3 pl Channel number p2 Zone lower limit 0 to 95 p3 Zone upper limit 5 to 100 Query SZoneMath p1 Example Set the waveform zone of math channel 015 waveform to 0 to 30 SZoneMath 015 0 30 IM 04L51B01 17EN 2 21 s suods y pue spuewwog N 2 4 Setting Commands Isscalemath Scale Display MT Sets the scale display of a math channel Syntax SScaleMath p1 p2 p3 pl Channel number p2 Scale display position Off 1 to 10 p3 Number of scale divisions 4 to 12 C10 Query SScaleMath pl1 Example Display the math channel 015 scale at display position 1 Display four equally spaced main scale marks SScaleMath 015 1 4 Isparmath Bar Graph Display MT Sets the bar graph display of a math channel Syntax SBarMath pl p2 p3 pl Channel number p2 Bar display base position Lower Lower Center Center Upper Upper p3 Number of scale divisions 4 to 12 Query SBarMath pl1 Example Display the computed values of math channel 015 on a bar graph with the cen
70. Set the intervals for the low limit on rate of change alarm and high limit on rate of change alarm to 10 times and 20 times the scan interval respectively SAlmLimit 10 20 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Tsaimsts Alarm Display Hold Nonhold Sets the alarm display hold nonhold operation Syntax SAlmSts pl pl Operation Hold NonHold Query SAlmSts Example Hold the alarm display until an alarm ACK operation SAlmSts Hold Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Estimer Timer Sets a timer Do Not Use Timers Syntax STimer pl p2 pl Timer number 1 to 4 p2 Timer type Off Relative Timer Syntax STimer p1 p2 p3 p4 p5 p6 pl Timer number 1 to 4 p2 Timer type Relative p3 Interval Days 0 to 31 P4 Interval Hours HH 00 to 23 2 26 IM 04L51B01 17EN 2 4 Setting Commands p5 Interval Minutes MM 00 to 59 p6 Action on Math start Off On Absolute Timer Syntax STimer p1 p2 p3 p4 p5 p1 Timer number 1 to 4 p2 Timer type Absolute p3 Interval 1min 2min 3min 4min 5min 6min 10min 12min 15min 20min 30min 1h 2h 3h 4h 6h 8h 12h 24h P4 Reference time Hours HH 00 to
71. Setting Commands p6 Operation mode see the table below p7 Action type see the table below p8 Source element number see the table below p9 Action detail 1 see the table below p10 Action detail 2 see the table below p3 P4 p5 p6 Event Type Value Source Alarm Operation Element Level mode Number Internal Switch SW 1 to 100 Rising Falling Both Remote control input D Channel Rising Falling number Both Relay DO channel DO Channel Rising Falling number Both Alarm AlarmlO Channel 1to4 Rising Falling I O channel number Both Alarm AlarmMath Channel 1to4 Rising Falling math channel number Both Alarm AlarmCom Channel 1to4 Rising Falling communication number Both channel Alarm AlarmAll Rising Falling Both Timer Timer 1to4 Edge Match time timer MatchTimeTimer 1 to 4 Edge Conditions p7 p8 p9 p10 p6 Action Type Value Source Action Action Element Detail 1 Detail 2 Number Rising Recording Memory Start Stop Falling Math math channel Math Start Edge Stop Reset Display rate switch RateChange 1 2 Flag Flag 1 to 20 Manual sample ManualSample Alarm ACK AlarmACK Snapshot Snapshot Time adjustment TimeAdjust Display data save SaveDisplay Event data save SaveEvent 1 Event trigger Trigger 1 Message Message 1to 100 All Select 1 to 50 Display group GroupChange 1 to 50 change Relative
72. Trend Digital Digital Bar Bar graph Overview OVERVIEW Alarm Alarm summary essage Message summary emory Memory summary Report Report summary odbus M Modbus master status osbus C Modbus client status Action Event log Log Error Log Error log Commu Log Communication log Ftp Log FTP log Web Log Web log Mail Log Maillog Modbus Modbus log Log Sntp Log SNTP log Dhcp Log DHCP log Network Network information P4 Display group number Query SMultikind pl p2 Example Display the bar graph of display group 8 in screen position 3 of the registration number 1 panel SMultikind 1 3 Bar 8 Description This command is only valid for the GX20 GP20 e Report is an option MT e Modbus M and Modbus C are an option MC BsHomeMonitor Standard Screen Information Sets the standard screen display information Syntax SHomeMonitor pl p2 p1 Information type see the table of the SMonitor command 2 42 IM 04L51B01 17EN 2 4 Setting Commands p2 Status see the table of the SMonitor command Query SHomeMonitor p1 Example Set the trend display to all channel display SHomeMonitor Trend All BsHomekind Standard Screen Set the standard screen Syntax SHomeKind pl p2 pl Screen type Trend Trend Digital Digital Bar Bar graph Overview OVERVIEW Alarm Alarm summary essage Message summary emory Memory summary Report Report summary odbus M Modbus master status osbus C Modbus client status
73. Unit SRangeDO 0203 Alarm 0 1 Unit Energ ize Or Hold Normal Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e If p2 Manual you cannot set p7 or subsequent parameters e If p7 And or Or you cannot set the reflash time SMoveAve Moving Average Sets the moving average of an Al channel Syntax SMoveAve p1 p2 p3 pl Channel number p2 Enable or disable Off On p3 Number of samples 2 to 100 Query SMoveAve p1 Example Set the number of moving average samples for channel 0002 to 12 SMoveAve 0002 0n 12 Bspurnout Behavior When a Sensor Burns Out Sets the behavior for when a burnout occurs on an Al channel Syntax SBurnOut pl p2 pl Channel number p2 Burnout processing Off Up Down Query SBurnOut pl Example Set the measured result to positive overflow Up when a burnout is detected on channel 0001 SBurnOut 0001 Up Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Bsric Reference Junction Compensation Method Sets the reference junction compensation method of an Al channel Syntax SRjc pl p2 p3 pl Channel number p2 Mode Internal Use the internal compensation function External Usean external compensation
74. ally transfer report data files when files are generated Snapshot Automatically transfer snapshot data files when files are generated AlarmSummary Transfer alarm summaries ManualSample Automatically transfer manual sampled data files when manual sampling is executed p2 Enable or disable transfer Off On Query SFtpKind p1 Example Automatically transfer display and event data files SFtpKind Data On Description e The report function is an option MT IsFtpTime FTP Transfer Time Shift Sets the amount of time to shift file transfers that are carried out by the FTP client function Syntax SFtpTime pl p2 pl Setting type Data Display and event data files Report Report files p2 Transfer shift time minutes 0 to 120 Query SFtpTime p1 Example Shift delay FTP transfers of report data files by 30 minutes SFtpTime Report 30 Description e The report function is an option MT EsFtpcnct FTP Client Connection Destination Server Sets the FTP client connection destination server Syntax SFtpCnct pl p2 p3 p4 p5 p6 p7 pl Server Primary Primary Secondary Secondary p2 Server name up to 64 characters ASCII p3 Port number 1 to 65535 P4 User name up to 32 characters ASCII p5 Password up to 32 characters ASCII p6 Directory name up to 64 characters ASCII p7 PASV mode Off On SFtpCnct pl The password is displayed using asterisks Example For the primary se
75. aracters UTF 8 Query SConfCmt Example Set SETTING FILE COMMENT SConfCmt SETTING FILE COMMENT Bsusbinput USB Input Device Specifies the USB input device Syntax SUsbInput pl pl USB input device type Japanese 109 Japanese keyboard English 104 English keyboard Query SUsbInput Example Specify the English keyboard SUsbInput English 104 Bsswitch Internal Switch Operation Sets the internal switch operation Syntax SSwitch p1 p2 p3 p1 Internal switch number 1 to 100 p2 Output type Alarm Output alarms Manual Specify the output value p3 Operation And Operate when all set alarms are in the alarm state Or Operate when any of the set alarms are in the alarm state Query SSwitch pl Example Output an alarm on internal switch 3 Use OR logic 2 34 IM 04L51B01 17EN 2 4 Setting Commands SSwitch 3 Alarm Or Description e p3is valid when p2 Alarm IsserialBasic Serial Communication Basics C2 or C3 Sets basic serial communication parameters Not Use Syntax SSerialBasic pl pl Function Off Normal Syntax SSerialBasic pl p2 p3 p4 p5 p6 p7 pl Function Normal p2 Address 1 to 99 p3 Baud rate bps 1200 2400 4800 9600 19200 38400 57600 115200 P4 Parity Odd Even None p5 Stop bits 1 2 p6 Data length bit 7 8 p7 Handshaking Off Off XON XON XON RS CS RS Modbus Master and Modbus Slave Syntax SSerialBasic p1 p2
76. ay the alarm marks for alarms 1 to 4 of math channel 015 in fixed colors red brown orange and yellow respectively SAlmMarkMath 015 0On Fixed 255 0 0 165 42 42 255 165 00 255 255 0 Description e For details on RGB values see Description of the SColorlO command IsrangeCcom Measurement Range MC Sets the measurement range of a communication channel Unused Channels Syntax SRangeCom p1 p2 pl Channel number p2 Enable or disable Off Used Channels Syntax SRangeCom p1 p2 p3 p4 p5 pe pl Channel number p2 Enable or disable On p3 Decimal Place 0 to 5 P4 Span lower limit 9999999 to 99999999 p5 Span upper limit 9999999 to 99999999 p6 Unit string up to 6 characters UTF 8 Query SRangeCom p1 Example Measure 0 00 to 100 00 on communication channel 025 SRangeCom 025 0n 2 0 10000 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e If p2 Off you cannot set p3 or subsequent parameters e You cannot set the span upper and lower limits to the same value Bsvaluecom Preset Operation MC Sets the preset operation of a communication channel Syntax SValueCom p1 p2 p3 pl Channel number p2 Value at power on Preset Last p3 Preset value 9 999999E 29 to 1E 30 0 1E 30 to 9 999999E 29 Query SValueCom p1 Exampl
77. azanaamaamaaazaa 2 1 2 1 1 General Communication e eee 2 1 2 Command Types and Functions 2 1 3 Command Syntax cceeeeeee i 2 1 4 EP AE rA PTEIN S EE A T T A E T 2 2 Listot Commands tiasesteladinasies eae ide GANS aad AUA 2 3 Parameters IA en ANNA ARia inlaid ealad ani ns 2 4 Setting Commands 2 ccivikwieian nein a EE E Oa Aa ENA mana ei 2 5 Output Commandeer nih A ee 2 6 Operation Command S esia aerar ved adean e bist sanuns ae a skies sad aeaee E iiei 2 7 Communication Control Commands 2 8 Instrument Information Output Commands 2 9 ReESponses to Commands saires den eE ea iaraa IA 2 9 1 Affirmative Response For commands other than output request commands 2 9 2 Negative RESPONSE iss xcs cc roAa eaa EO E ES eaeaerie 2 53 2 9 3 Data Output ReSponse ccceeeeeeeeeeeeeeeees 2 54 2 9 4 Output in Response to RS 422 485 Commands 2 56 210 ASCII Output F OMA II Aa 2 10 1 M st Recent Channel Data F Data ccs acces ae eel aed 2 10 2 Most Recent DO Channel Status FRelay 210 3 Internal Switch Status FRelay ccsscccs tee een ders elites eerie 2 10 4 Users Who Are Currently Logged In FUSE cccccseceseneeeeeeeeeteeaeeeseeeeeteeaeessaeeeseaaees 2 10 5 All Users Who Are Currently Logged In FUser 2 10 6 Instrument Address FACH eieiei ai sie Ai Aaah ed 210 7 GX Status FP Stal tec eM cassie ee oie eg vat eee ie erent akg tc ddta stare NG 2 10 8
78. cale Scale 2 30 STrdLine Trend line width grid 2 31 STrdRate Trend interval switching 2 31 STrdKind Trend type 2 31 STrdPartial Partial expanded trend display 2 31 SMsgBasic Message writing 2 31 SGroup Display group 2 31 STripLine Display group trip line 2 32 SScl1Bmp Scale bitmap image usage 2 32 SMessage Message 2 32 System Setting Commands Page STimeZone Time zone 2 32 SDateBasic Gradual time adjustment 2 32 SDateFormat Date format 2 32 SDst Daylight saving time 2 33 SLang Language 2 33 STemp Temperature unit 2 33 SDPoint Decimal point type 2 33 SFailAct Fail relay DO channel operation 2 33 FL SFailSts Instrument status to output FL 2 33 SPrinter Printer 2 34 SLed LED indicator operation 2 34 SSound Sound 2 34 SInstruTag Instruments tag 2 34 SConfCmt Setting file comment 2 34 SUsbInput USB input device 2 34 Internal Switch Setting Commands Page SSwitch Internal switch operation 2 34 Serial Communication Setting Commands Page SSerialBasic Serial communication basics C2 2 35 or C3 SModMaster Modbus master C2 MC or C3 2 35 MC SModMCmd Ja master transmission 2 35 command C2 MC or C3 MC Ethernet Communication Setting Commands Page SIpAddress P address information 2 36 SClient Client function 2 36 SDns DNS information 2 36 SDhcp DHCP client 2 36 SFtpKind File to transfer via FTP 2 37 SFtpTime FTP transfer time shift 2 37 SFtpCnct FTP client connection destination 2 37 server SSmtpLogin SMTP user au
79. channel 2 44 data FRelay Outputs the most recent relay DO 2 44 channel and internal switch status FFifoCur Outputs channel FIFO data 2 44 FSnap Takes a snapshot 2 44 FUser Outputs the user level 2 44 FAddr Outputs the IP address 2 45 FStat Outputs the GX GP status 2 45 FLog Outputs the log 2 45 FMedia Outputs external storage medium 2 45 and internal memory information FCnf Outputs setting data 2 46 FChInfo Outputs decimal place and unit 2 46 information FSysConf Queries the system configuration 2 46 and reconfigures modules 2 2 3 Operation Commands Command Description Page OSetTime Sets the time 2 47 ORec Starts or stops recording 2 47 IM 04L51B01 17EN 2 2 List of Commands OAlarmAck Clears alarm output alarm 2 47 _TYP Outputs the instrument s 2 52 e acknowledgement temperature unit and daylight OEZECREC Generates a manual trigger 2 47 saving time installation information anit manual a S a _ERR Outputs the instrument s error 2 52 Sllepshot OF CAUSES ameen number information OExecSNTP Queries the time using SNTP 2 47 UNS Outputs the instrument s unit 2 52 OMessage Writes a message 2 47 configuration information OPassword Changes the password 2 48 _UNR Outputs the instrument s unit 2 52 OMath Starts stops or resets 2 48 configuration information computation or clears the _MDS Outputs the instrument s module 2 52 computation dropout statu
80. cording to the limitation types p1 of the SOpeLimit 2 2 4 Communication Control command or p2 of the SUserLimit command Commands Limitation Type Invalid Command zags Memory ORec Command Description Page WEER RETT CCheckSum Sets the checksum 2 51 DataSave OExecRec CSFilter Sets the status filter 2 51 Message OMessage CLogin Log in via communication 2 51 Batch OBatName OBatComment CLogout Log out via communication 2 51 SEs ee arm armAc ESC O Opens an instrument RS 422 485 2 51 Gomin OFMail OIPApply only DispOpe SHomeKind SHomeMonitor ESC C Closes an instrument RS 422 4852 51 SFavoriteKind only SFavoriteMonitor Smonitor SMultiPattern SMultikKind ODispRate 2 2 5 Instrument Information DateSet OExecSNTP OSetTime Commands ChangeSet Sxxxx l OLoadConf Command Description Page File OLoadConf 1 OS aveConf Fmedia MFG F SA mamalia a 2 52 1 Setting commands except for SHomeKind SHomeMonitor A SFavoriteKind SFavoriteMonitor Smonitor SMultiPattern _INF me the instrument s product 2 52 and SMultiKind _ COD Outputs the instrument s basic 2 52 The command is not applicable to the model specifications The following commands can be used only on certain _VER Outputs the instrument s firmware 2 52 models version information Command Applicable Models _OPT Outputs the instrument s option 2 52 SVicwaAngle GX10 GP10 installation information SMultiPattern GX20 GP20 SMultikind GX20 GP20 IM 04L51B01 17EN 2 7
81. cription Query SColorIO pl1 Example Set the channel 0001 display color to red SColorIO 0001 255 0 0 2 16 IM 04L51B01 17EN 2 4 Setting Commands Description e The RGB values for different colors are indicated in the following table Color R G B Red Red 255 0 0 Green Green 0 153 51 Blue Blue 0 51 255 Blue violet Blue violet 102 51 204 Brown Brown 153 51 0 Orange Orange 255 153 51 Yellow green Yellow green 170 221 51 Light blue Light blue 153 204 255 Violet Violet 221 153 221 Gray Gray 153 153 153 Lime Lime 102 255 0 Cyan Cyan 0 255 255 Dark blue DarkBlue 0 0 153 Yellow Yellow 255 255 0 Light gray Light gray 204 204 204 Purple Purple 136 0 136 Black Black 0 0 0 Pink Deeppink 255 17 153 Rosy brown Rosybrown 204 153 153 Pale green Palegreen 187 255 153 Dark gray Gray31 102 102 102 Olive Olive 153 153 0 Dark cyan Dark cyan 0 153 153 Spring green Spring green 0 221 119 Iszoneio Waveform Display Zone Sets the waveform display zone of an Al DI or DO channel Syntax SZoneI0 pl p2 p3 pl Channel number p2 Zone lower limit 0 to 95 p3 Zone upper limit 5 to 100 Query SZoneIO p1 Example Set the waveform zone of channel 0001 waveform to 0 to 30 SZonel0 0001 0 30 Isscalelo Scale Display Sets the scale display of an Al DI or DO channel Syntax SScaleI0O p1 p2
82. d or disabled Syntax TYP Description e For the ASCII output format see page 2 80 _ERR Outputs the Instrument s Error Number Information Outputs the error description that corresponds to the error number Syntax _ERR pl P2 ese Write the details of the negative response returned from the GX GP in p1 p2 etc Example Output the error description when negative response E1 10 1 2 500 2 5 is returned _ERR 10 1 2 500 2 5 Description e For the ASCII output format see page 2 80 FUNS or _UNR Outputs the Instrument s Unit Configuration Information Outputs the instrument s unit configuration information Syntax _UNS Outputs the status that is recognized by the device _UNR Outputs the installation status Description e For the ASCII output format see page 2 81 I mos or MDR Outputs the Instrument s Module Configuration Information Outputs the instrument s module configuration information Syntax MDS Outputs the status that is recognized by the device _MDR Outputs the installation status Description e For the ASCII output format see page 2 79 Description e For the ASCII output format see page 2 82 2 52 IM 04L51B01 17EN 2 9 Responses to Commands This section explains the responses that GX GP returns in response to commands There are three types of responses affirmative response negative response and data output response
83. data The format varies depending on the output content For details see section 2 11 Format of the Data Block of Binary Output Data sum 16 bits big endian The data sum block indicates the sum of the data block Use the CCheckSum command to specify whether to include data sum By default check sum is set to No Whether data sum is included is expressed by a flag in the header block If the data sum block is not included the area itself will not be included For the check sum calculation method see Appendix 5 Check Sum Calculation Method Output in Response to RS 422 485 Commands The table below shows the responses to the ESC O command and ESC C command ESC in ASCII code is 0x1B For details see Appendix 1 ASCII Character Codes Syntax Meaning Response ESC O xxCRLF Opens an e Response from the destination instrument instrument ESC OxxCRLF _ Space e If there is no instrument at the address specified by the command No response ESC C_xxCRLF Closes an e Response from the destination instrument instrument ESC CxxCRLF _ Space e If there is no instrument at the address specified by the command No response Some possible reasons why the condition there is no instrument at the address specified by the command occurs are command error the address assigned to the instrument is different the instrument is not turned on and the instrument is not connected through serial interface
84. device p3 Compensation temperature 200 to 800 20 0 to 80 0 C 40 to 1760 40 to 1760 F 2531 to 3532 253 1 to 353 2K Query SRjc p1 Example Perform reference junction compensation of channel 0003 using the internal compensation circuit SRjc 0003 Internal Perform reference junction compensation of channel 0004 using an external compensation device Set the compensation temperature to 2 3 C SRjc 0004 External 23 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e If p2 Internal p3 is invalid Bsatarmio Alarm Sets the alarm for Al and DI channels Do Not Set Alarms Syntax SAlarmIO p1 p2 p3 pl Channel number p2 Alarm number 1 to 4 p3 Alarm on or off Off Do Not Output Alarms Syntax SAlarm10 p1 p2 p3 p4 p5 p6 p7 pl Channel number p2 Alarm number 1 to 4 p3 Alarm on or off On P4 Alarm type H L DH DL RH RL TH TL p5 Value p6 Detection Off On IM 04L51B01 17EN 2 15 sesuodsey pue spuewwog N 2 4 Setting Commands p7 Output Off Output Alarms Syntax SAlarmI0O p1 p2 p3 p4 p5 p6 p7 ps8 pl Channel number p2 Alarm number 1 to 4 p3 Alarm on or off On P4 Alarm type H L DH DL RH RL TH TL ps Value p6 Detection Off On p7 Output DO Output to a relay DO channel SW Output to an internal switch ps8 Number If p
85. e At power on replace the communication channel 025 value with the preset value of 0 5 SValueCom 025 Preset 0 5 Bswpocom Watchdog Timer MC Sets the watchdog timer of a communication channel Channels That Do Not Use Watchdog Timers Syntax SWDCom p1 p2 pl Channel number p2 Watchdog timer usage Off Channels That Use Watchdog Timers Syntax SWDCom p1 p2 p3 p4 pl Channel number p2 Watchdog timer usage On IM 04L51B01 17EN 2 23 s suods y pue spuewwog N 2 4 Setting Commands p3 Watchdog timer 1 to 120 s p4 Value at timer expired Preset Last Query SWDCom p1 Example Set the watchdog timer of communication channel 025 to 60 seconds Replace the communication channel 025 value with its preset value at watchdog timer expiration SWDCom 025 On 60 Preset Description e If p2 Off you cannot set p3 or subsequent parameters Bsatarmcom Alarm MC Sets the alarm of a communication channel No Alarm Setting Syntax SAlarmCom pl p2 p3 pl Channel number p2 Alarm number 1 to 4 p3 Alarm on or off Off Do Not Output Alarms Syntax SAlarmCom pl1 p2 p3 p4 p5 p6 p7 pl Channel number p2 Alarm number 1 to 4 p3 Alarm on or off On P4 Alarm type H L TH TL p5 Alarm value within the span range p6 Detection Off On p7 Output Off Output Alarms Syntax SAlarmCom p1 p2 p3 p4 p5 p6 pP7 p8 pl Channel number p2 Alarm number 1 to 4 p3 Alarm on or off On P4 Alarm type H L TH TL p5
86. e busy message ERR NEGATIVE Response message was a negative acknowledge message ERR GATE PATH Response message was a gateway path unavailable message RR GATE TARGET Response message was a gateway target device failed to respond message BAD SLAVE The slave address of the response message is invalid does not match the command BAD FC The function code of the response message is invalid does not match the command BAD ADDR The address of the response message is invalid does not match the command 2 70 IM 04L51B01 17EN 2 10 ASCII Output Format Detail Meaning BAD_NUM The register of the response message is invalid does not match the command BAD_CNT The number of registers in the response message is invalid does not match the command NO DATA Data has not yet been received once BAD DATA Data conversion of the response message failed VALID Data is being acquired normally DROP OUT Communication dropout occurred due to the inability to keep up 2 10 15 FTP Client Log FLog _ expresses an underscore The output in response to the command FLog FTP is shown below Syntax EA lt crlf gt EN lt crlf gt yyyy mo dd_hh mm ss_ xxxxxxxxx_k fff lt crlf gt yyyy mo dd_hh mm ss Time of error occurrence XXXXXXXXX Pe eee YYYY mo dd hh mm ss Year 1900 to 2099 Month 01 to 12 Day 01 to 31 Hour
87. e from the GX GP message omitted Code Response Judge IM 04L51B01 17EN App 3 xipueddy E Appendix 3 Output Flow Chart of External Storage Medium Files and File Lists Example for Outputting File aaaa dtd The flow chart for outputting file aaaa dtd in the DATAO directory on the external storage medium is shown below FMedia GET DRVO DATAO aaaa dtd 0 1 Receive response 1 If the binary header flag bit 0 is 0 there is more data If it is 1 data Is there more data transmission is complete 1 2 From the data length of the binary output common header obtain the number of received bytes Obtain the number of received bytes 3 Sum the number of received bytes 2 compute the unread position Compute the unread position 3 FMedia GET DRVO DATAO aaaa dtd unread position 1 Receive response App 4 IM 04L51B01 17EN Appendix 3 Output Flow Chart of External Storage Medium Files and File Lists Example for Outputting a File List The flow chart for outputting the list of files in the DATAO directory on the external storage medium is shown below FMedia DIR DRVO DATAO 0 1 Receive response 1 If there are no more files EA crifJEN crlf is output Are there more file lists 1 2 Count the number of lines in the output file list 3 Sum the number of lines in the file lists to compute the unread position Obtain t
88. e instrument at address 77 ESC C 77 Description e This command closes the connection to the instrument you are communicating with e Use a capital C e For this command use CR LF for the terminator e For the responses to this command see page 2 56 IM 04L51B01 17EN 2 51 s suods y pue spuewwog N 2 8 Instrument Information Output Commands MFG Outputs the Instrument Manufacturer Outputs the instrument manufacturer Syntax MFG Description e For the ASCII output format see page 2 78 INF Outputs the Instrument s Product Name Outputs the instrument s product name Syntax INF Description e For the ASCII output format see page 2 78 _COD Outputs the Instrument s Basic Specifications Outputs the instrument s basic specifications Syntax COD Description e For the ASCII output format see page 2 78 _VER Outputs the Instrument s Firmware Version Information Outputs the instruments firmware version information Syntax VER Description e For the ASCII output format see page 2 79 _OPT Outputs the Instrument s Option Installation Information Outputs the instrument s option installation information Syntax _OPT _TYP Outputs the Instrument s Temperature Unit and Daylight Saving Time Installation Information Outputs whether the instrument s Fahrenheit temperature unit and daylight saving time setting is enable
89. ecom Scale Display MC Sets the scale display of a communication channel Syntax SScaleCom pl1 p2 p3 pl Channel number p2 Scale display position Off 1 to 10 p3 Number of scale divisions 4 to 12 C10 Query SScaleCom p1 Example Display the communication channel 025 scale at display position 1 Display four equally spaced main scale marks SScaleCom 025 1 4 Esparcom Bar Graph Display MC Sets the bar graph display of a communication channel Syntax SBarCom pl p2 p3 pl Channel number p2 Bar display base position Lower Lower Center Center Upper Upper p3 Number of scale divisions 4 to 12 Query SBarCom p1 Example Display the values of communication channel 025 on a bar graph with the center set as the base position Center Display four equally spaced main scale marks SBarCom 025 Center 4 Espartiaicom Partial Expanded Display MC Sets the partial expanded display of a communication channel waveform Syntax SPartialCom pl p2 p3 p4 pl Channel number p2 Partial expanded On Off On Off p3 Partial expanded boundary position 1 to 99 P4 Partial expanded boundary value Query SPartialCom pl1 Example For channel 025 whose measurement range is 0 to 1 0000 V display the measured value of 0 7500 V at the 50 position SPartialCom 025 0n 50 7500 Description e You cannot set this on a Off channel p2 is fixed to Off e If p2 Off you cannot set p3 or subsequent parameters
90. ecord the maximum minimum and average values in daily and monthly reports Generate the daily and monthly reports in a single file SRepData Max Min Ave Off Combine Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Isreptemp Report Output MT Sets the report output mode Syntax SRepTemp p1 p2 p3 pl EXCEL template Off Disabled On Enabled p2 PDF output Off On p3 Printer output Off On Query SRepTemp Example Generate reports that use the Excel template SRepTemp On Off Off Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Isrepch Report Channel MT Assigns a channel to a report channel Not Assign a Channel Syntax SRepCh pl p2 pl Report Channel Number p2 Usage Off Assign a Channel Syntax SRepCh pl p2 p3 p4 pl Report Channel Number p2 Usage IO O channel Math Math channel Com Communication channel p3 Channel number P4 Sum scale Off sec min hour day Query SRepCh p1 Example Assign I O channel 0002 to report channel 1 Set the sum scale to Off SRepCh 001 10 0002 0ff Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure se
91. ection for Al channels Disable Calibration Correction Syntax SCalibIO pl p2 pl Channel number p2 Linearizer mode Off Use Calibration Correction Syntax SCalibI0O pl pl Channel number p2 Linearizer mode Appro Linearizer approximation Bias Linearizer bias p3 Number of set points 2 to 12 P4 Input value of set point 1 p5 Output value of set point 1 p6 Input value of set point 2 p7 Output value of set point 2 p8 Input value of set point 3 p9 Output value of set point 3 p10 Input value of set point 4 11 Output value of set point 4 12 Input value of set point 5 13 Output value of set point 5 14 Input value of set point 6 15 Output value of set point 6 16 Input value of set point 7 17 Output value of set point 7 18 Input value of set point 8 p19 Output value of set point 8 p20 Input value of set point 9 p21 Output value of set point 9 p22 Input value of set point 10 p23 Output value of set point 10 p24 Input value of set point 11 p25 Output value of set point 11 p26 Input value of set point 12 p27 Output value of set point 12 Query SCalibIO pl Example Set three set points on channel 0001 measurement range 0 to 1 0000 V Set the set points as follows when the input value is 0 V the output value is 0 0010 V when the input value is 0 5000 V the output value is 0 5020 V when the input value is 1 0000 V the output value is 0 9970 V SCalibIO 0001 Appro 3 0 10 5000 5020 10000 9970 Description e If p2 Off you cannot set p3
92. el math channel and communication channel FIFO data Acquire the FIFO Data Syntax FFifoCur p1l p2 p3 p4 p5 p6 p7 p1 FIFO data output 0 p2 Scan group 1 p3 First channel P4 Last channel p5 Read start position 1 0 to 99999999999 1 The most recent read position p6 Read end position 1 0 to 99999999999 1 The most recent read position p7 Maximum number of blocks to read 1 to 9999 Example Read the measured data of channels 0001 to 0020 Set the read start position to 180 and the read end position to the most recent position Set the maximum number of blocks to read to 9999 FFifoCur 0 1 0001 0020 180 1 9999 Acquire the FIFO Data Read Range Syntax FFifoCur pl p2 pl FIFO read range output 1 p2 Scan group 1 Example Acquire the current readable range FFifoCur 1 1 Description e For the binary output format see page 2 86 IFsnap Snapshot Outputs a snapshot data screen image data file Syntax FSnap pl pl Screen image data output GET Example Acquire screen image data FSnap GET Description e APNG image file will be stored in the data block of the binary output file see page 2 55 Fuser Outputs the User Level Outputs information about the users who are currently logged in Syntax FUser pl p1 Information about the users who are currently logged in 0 Refer to your own user information 1 Refer to information about all users who are currently logged in Example Re
93. elay Outputs the DO Channel and Internal Switch Status Outputs the DO channel and internal switch status Syntax OCmdRelay pl pl Specification of a setting e Express the setting Set a channel status as follows channel number status Use a hyphen as a separator e You can specify the following values for the channel number DO channel number Internal switch number e You can specify the following values for the status Off Off status On On status e You can specify the status of multiple channels at once To do so use a semicolon to separate channels as follows channel number status channel number status You can specify up to a total of 32 channels that consist of DO channels and internal switches Example Set channels 0101 0102 and 0103 to On and internal switches S001 and S002 to Off OCmdRelay 0101 0n 0102 0n 0103 On S001 Off S002 Off Description e If any of the channels that you specify do not exist or are not set to manual output SRangeDO command the settings of all channels are canceled and a command error results F OBatName Sets a Batch Name Sets a batch name Syntax OBatName pl p1 Always set this to 1 p2 Batch number up to 32 characters ASCII p3 Lot number up to 8 digits ASCII Query OBatName Example Set the batch name structure to batch number PRESSLINE and the lot number 007 OBatName 1 PRESSLINE 007 Description e For t
94. els with the MC communication channel option BsmodCList Modbus Client Connection Destination Server MC Sets the Modbus client connection destination server Syntax SModCList pl p2 p3 pl Registration number 1 to 16 p2 Server name up to 64 characters ASCII p3 Port number 1 to 65535 Query SModCList p1 Example Assign server name recorder1 and port number 502 to registration number 1 SModClient 1 recorderl 502 Bsmoaccmd Modbus Client Transmission Command MC Sets the Modbus client transmission command Syntax SModCCmd p1 p2 p3 p4 p5 p6 pP7 ps8 rpd pl Command number 1 to 100 p2 Command type Off Disable command Write Write a value to a Modbus register of another device Read Read a value from a Modbus register of another device p3 Server number 1 to 16 P4 Unit number 1 to 255 p5 Data type BIT Bit String data INT16 16 bit signed integer UINT16 16 bit unsigned integer INT32_B 32 bit signed integer big endian INT32_L 32 bit signed integer little endian UINT32_B 32 bit unsigned integer big endian UINT32_L 32 bit unsigned integer little endian FLOAT _B 32 bit floating point big endian FLOAT L 32 bit floating point little endian p6 Register 1 to 465535 p7 Channel type IO I O channel Math Math channel Com Communication channel p8 First channel p9 Last channel Query SModcCCmd p1 Example Register the following command in command
95. er limits is 2 digits or greater Issanaio Color Scale Band Sets the color scale band of an Al channel Syntax SBandI0O p1 p2 p3 p4 p5 p6 p7 pl Channel number p2 Color scale band Off In Out p3 R value of the color scale band RGB colors 0 to 255 P4 G value of the color scale band RGB colors 0 to 255 p5 B value of the color scale band RGB colors 0 to 255 p6 Upper limit of the color scale band display span lower limit to span upper limit p7 Lower limit of the color scale band display span lower limit to span upper limit Query SBandIO pl Example For channel 0001 set a blue band in the range of 0 5000 to 1 0000 SBandIo 0001 1In 0 0 255 5000 10000 IM 04L51B01 17EN 2 17 s suods y pue spuewwog N 2 4 Setting Commands Description e You cannot set this on a Skip channel p2 is fixed to Off e If p2 Off you cannot set p3 or subsequent parameters e For details on RGB values see Description of the SColorlO command Bsaimmarkio Alarm Mark Sets the display of the marker that indicates the specified alarm position of an Al or DI channel Syntax SAlmMarkI0 p1 p2 p3 p4 p5 p6 p7 p8 p9 pl0 pl11 pl12 p13 p14 pl15 pl Channel number p2 Whether to display the alarm mark on the scale Off On p3 Alarm mark type Alarm Display the default alarm mark Fixed Display the mark with the specified color P4 R value of the RGB mark colors for alarm 1 0 to 255 p5 G value of
96. ery IM 04L51B01 17EN 2 37 s suods y pue spuewwog N 2 4 Setting Commands p2 Recipient address 1 up to 150 characters ASCII p3 Recipient address 2 up to 150 characters ASCII P4 Character string to add to the subject up to 32 characters ASCII Query SMailHead Example Set the sender address to recorder1 data com and the recipient address to pc1 data com Add part1 to the subject SMailHead recorderl data com pcl data com partl I smaitBasic Common Section of the Mail Body Sets the items that are common to the body of all mails Syntax SMailBasic pl p2 pl Header string up to 128 characters UTF 8 p2 iia source URL Off On Query SMailBasic Example Set the header to recorder1 and include the source URL SMailBasic recorderl On smail Destination and Behavior for Each Mail Type Sets the destination and behavior for each mail type Alarm Notification Syntax SMail p1l p2 p3 p4 p5 p6 p1 Setting type Alarm p2 Recipient Off 1 2 1 2 off Not send 1 Send to recipient 1 2 Send to recipient 1 1 2 Send to recipient 1 and 2 p3 Inclusion of instantaneous data Off On P4 Alarm action On Send mails when alarms occur On Off Send mails when alarms occur and when they are cleared p5 Inclusion of tag number or channel number in subject Off On Scheduled Transmission Syntax SMail p1 p2 p3 pl Setting type Time p2 Recipient Off 1 2 1
97. et DO channels or internal switches whose output type is set to Manual as output destination numbers BsaimHysMath Alarm Hysteresis MT Sets the alarm hysteresis for a math channel Syntax SAlmHysMath p1 p2 p3 pl Channel number p2 Alarm number 1 to 4 p3 Hysteresis If p7 SW Alarm Type Hysteresis Range H L 0 to 100000 Query SAlmHysMath pl p2 Example Set a hysteresis on alarm 3 of math channel 015 SAlmHysMath 015 3 10 Description e Hysteresis specified for delay high and low limit alarms TH and TL does not apply BsaimDiymath Alarm Delay MT Sets the delay alarm time for a math channel Syntax SAlmDlyMath pl p2 p3 p4 pl Channel number p2 Hour 0 to 24 p3 Minute 0 to 59 P4 Second 0 to 59 Query SAlmDlyMath p1l Example Set the math channel 015 alarm delay to 2 minutes 30 seconds SAlmDlyMath 015 0 2 30 Description e Set the delay time so that it is an integer multiple of the scan interval SScan command Istagmath Tag MT Sets the tag of a math channel Syntax STagMath pl p2 p3 pl Channel number p2 Tag up to 32 characters UTF 8 p3 Tag number up to 16 characters ASCII Query STagMath pl1 Example Set the math channel 015 tag to SYSTEM1 and the tag number to T1002 STagMath 015 SYSTEM1 TI002 Bscolormath Channel Color MT Sets the color of a math channel Syntax SColorMath pl p2 p3 p4 pl Channel number p2 R value of
98. etc 3 5 6 7 0 P p 1 Q a q 2 R b r 3 S c S 4 T d t 5 U e u 6 V f V 7 W g W EL 8 X h x z 9 Y i y S Z j Z k Na m A n zazi o O l Item Command and Parameter Description Directory name p1 of the SDirectory command _ The characters other than those in File name p2 of the SFileName command blue cells and those in thick frames Batch number p2 of the OBatName command can be used Password p5 of SUser The characters other than those in p1 p2 and p3 of OPassword blue cells and SP space can be p2 of CLogin used Character strings that users specify other than those The characters other than those in above blue cells can be used IM 04L51B01 17EN App 1 xipueddy E Appendix 2 Login Procedure To communicate using the general communication feature you must log in to the GX GP from your PC If you complete the procedure successfully up to Login complete in the following figure you will be able to use the commands When Using the Login Function ithin the number of connections Log in with the CLogin command Verification match Login complete CI start C Ena lt gt Judge Response from the GX GP message omitted Code Response App 2 IM 04L51B01 17EN Appendix 2 Login Procedure When Not Using the Login Function Within the number of connections Login complete Start End Disconnect SS cc ss E1 401 Respons
99. fer to information about all users who are currently logged in FUser 1 Description e For the ASCII output format see page 2 60 2 44 IM 04L51B01 17EN 2 5 Output Commands Dradar Outputs the IP Address Outputs the GX GP IP address information Syntax FAddr pl pl Address output IP Output address information that includes the IP address subnet mask default gateway and DNS server as well as the host name and domain name Example Output the GX GP IP address information FAddr IP Description e For the ASCII output format see page 2 62 FStat Outputs the GX GP Status Outputs the GX GP status Syntax FStat pl pl Status output 0 Example Output the GX GP status FStat 0 Description e For the ASCII output format see page 2 63 Flog Outputs the Log Outputs the alarm summary message summary error log etc Syntax FLog pl p2 pl Status output 0 ALARM Alarm summary SG Message summary EVENT Event log ERROR Error log DHCP Ethernet address setting log GENERAL General log ODBUS Modbus log FTP FTP client log SNTP SNTP client log AIL E mail log WEB Web log p2 Maximum log readout length pi Read range ALARM 1 to 1000 MSG 1 to 500 GENERAL 1 to 200 Other than 1 to 50 those above Example Output 600 alarm summary entries FLog ALARM 600 Description e For the ASCII output format see page 2 64
100. g of data files to an external storage medium Syntax SMediaSave pl p2 pl Auto saving to an external storage medium Off On p2 Media FIFO Off On Query SMediaSave Example Enable the auto saving to the external storage medium and media FIFO SMediaSave On On I sFileFormat Display Event Data File Format Sets the file format of display data files and event data files Syntax SFileFormat p1 p1 File format Binary Text Query SFileFormat Example Create files in text format SFileFormat Text Description e The types of data that you can set file formats for are display data and event data The file saving methods that the specified file format is applied to are auto saving saving of unsaved data manual saving and FTP data transfer IM 04L51B01 17EN 2 4 Setting Commands SRangeAl p2 Input type GS p3 Range see Description Measurement Range of Al Channel P4 Calculation type Scale Sets the measurement range of an Al channel p5 Span lower limit Unused Channels p6 Span upper limit Syntax SRangeAI pl1 p2 p7 Bias 999999 to 999999 pl Channel number p8 Decimal Place 0 to 5 p2 Input type Skip p9 Scaling lower limit Channels Whose Input Type Is DI and No Math p10 Scaling upper limit Syntax SRangeAI pl p2 p3 p4 p5 p 6 p11 Unit up to 6 characters UTF 8 pl Channel number p12 Low cut function Off On p2 Input type Dl p13 Low cut output Zero Linear p3 Range see
101. he characters that you can use in the specified batch number p2 see Appendix 1 e The character limitations on the batch number p2 are the same as those for directory names See the explanation for the SDirectory command BopBatcomment Sets a Batch Comment Sets a batch comment Syntax OBatComment pl p2 p3 pl Always set this to 1 p2 Comment number 1 to 3 p3 Comment string up to 50 characters UTF 8 Query OBatComment Example Set comment number 2 to THIS PRODUCT IS COMPLETED OBatComment 1 2 THIS PRODUCT IS COMPLETED I OBatText Sets a Batch Text Sets a batch text Syntax OBatText pl p2 p3 p4 pl Always set this to 1 p2 Field number 1 to 24 p3 Field title up to 20 characters UTF 8 P4 Field string up to 30 characters UTF 8 Query OBatText Example For field number 1 set the title to Ope and the character string to GX OBatText 1 Ope GX JodispRate Switches the Trend Interval Switches between first trend interval normal trend interval and second trend interval Syntax ODispRate pl p1 Trend interval NORMAL First trend interval normal trend interval SECOND Second trend interval Example Switch from first trend interval to second trend interval ODispRate SECOND Description e Set the second trend interval with the STrdRate command IM 04L51B01 17EN 2 49 s suods y pue spuewwog N 2 6 Operation Commands
102. he number of received files 2 Compute the unread position 3 FMedia DIR DRVO DATAO unread position 1 Receive response IM 04L51B01 17EN App 5 xipueddy Appendix 4 FIFO Data Output Flow Chart Overview of the FIFO Buffer The GX GP internal memory is equipped with a dedicated FIFO First In First Out buffer for outputting measured data Measured data is written to the buffer at every scan interval The PC can continuously retrieve the most recent measured data from the FIFO buffer The size of the internal memory allocated for the FIFO buffer varies depending on the model The number of data entries that the FIFO buffer can store varies depending on the number of channels and scan interval The number of data entries that the FIFO buffer can store and the data length can be determined with the following formula Data entries 2000000 16 12 x number of channels fractions truncated Data length data entries x scan interval Example If there are 10 I O channels 10 math channels and 10 communication channels and the scan interval is 100 ms the number data entries will be 5319 and the data length will be 531 9 seconds or 8 865 minutes Example of FIFO Buffer Operation The following example shows the case when the scan interval is 1 second and the FIFO internal memory size is for 8 scan intervals y Block 1 Block 2 Block 3 Block 4 Block 5 Block 6
103. he unit that the module is installed in 0 reference P4 ATI DO Module name model name Enclosed in single quotation marks DI p5 1234567 Product serial number p6 R1 01 Module firmware version The output format is R version R1 02 p7 HS Options Codes of installed options delimited by spaces p8 0 Fixed at 0 p9 0 10 8 Maximum number of input channels allowed on the module If there are no inputs 0 is output p10 0 16 Maximum number of output channels allowed on the module If there are no outputs 0 is output pll xxx Module status The module status is output in a character string 2 82 IM 04L51B01 17EN 2 11 Format of the Data Block of Binary Output This section explains the data that is stored in the data block in the binary output of data output response 2 11 1 Most Recent Channel Data FData Configuration Block 1 The output in response to the command FData 1 is shown below Outputs the most recent I O channel math channel and communication channel data The figure below shows the structure of the output data Data is stored in Block 1 La 2 bytes 2 bytes a Number of blocks Number of bytes Number of Blocks 16 bits Always 1 Number of Bytes 16 bits Stores the number of bytes of block 1 The figure below shows the structure of block 1 12 bytes 8 bytes 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 2 bytes Voar ponnn poy wow win see
104. ime year month day yy Year 00 to 99 mo Month 01 to 12 dd Day 01 to 31 hh mm ss mmmt Data time hour minute second millisecond hh Hour 00 to 23 mm Minute 00 to 59 ss Second 00 to 59 mmm Millisecond 000 to 999 A period is inserted between the minute and millisecond t Reserved space s Data status Normal D Differential input S Skip O Over E Errors B Burnout Communication channel error ceee Channel number I O channel math channel communication channel ajaz2a3a4 ay Alarm status level 1 a2 Alarm status level 2 a3 Alarm status level 3 a4 Alarm status level 4 a1 a2 a3 and a is set to one of the following H High limit alarm L Low limit alarm h Difference high limit alarm 1 Difference low limit alarm R High limit on rate of change alarm Low limit on rate of change alarm T Delay high limit alarm t Delay low limit alarm Space No alarm uuuuuu Unit fiked to 10 characters Output flush left Unused character positions are filled with spaces IM 04L51B01 17EN 2 57 sasuodsey pue spuewwog N 2 10 ASCII Output Format 2 10 2 dddddddd Pp Most Recent DO Channel Status FRelay The output in response to the command FRelay 0 is shown below Syntax aaa 00 01 02 03 04 05 06 07 08 09 EA lt crlf gt aaa lt crl aaa lt crl aaa lt crl aaa lt crl aaa lt crl aaa lt crl aaa lt crl aaa lt
105. ion e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e If p2 Off you cannot set p3 e You cannot set a channel more than once Bspatch Batch Function Configures the batch function s basic settings Syntax SBatch pl p2 p3 pl Enable or disable Off On p2 Number of lot number digits Off 4 6 8 Off Do not use lot numbers 4 4 digit lot number 6 6 digit lot number 8 8 digit lot number p3 Auto increment Off On Query SBatch Example Enable the batch function Use 4 digit lot numbers Automatically increment the lot number in the next operation SBatch On 4 On Description e You cannot use this command to configure settings while recording is in progress IstextField Batch Text Sets a batch text Syntax STextField pl p2 p3 p1 Field number 1 to 24 p2 Title up to 20 characters UTF 8 p3 Character string up to 30 characters UTF 8 Query STextField pl Example For field number 3 set the field title to OPERATOR and the character string to RECORDER STextField 3 OPERATOR RECORD ERI Description e You cannot use this command to configure settings while recording is in progress Ispirectory Name of Directory to Save Data Sets the name of the directory to save data Syntax SDirectory pl pl Directory name up to 20 character
106. l Normal Thin Thin p2 Grid Auto Auto 4 to 12 Number of grid lines Query STrdLine Example Set the trend waveform line width to Thin and the number of grid lines to 10 StrdLine Thin 10 lJ STrdRate Trend Interval Switching Sets the trend interval switching Syntax STrdRate pl p2 p1 Trend interval switching Off Not switch On Switch p2 Second trend interval 5s 10s 15s 30s 1min 2min 5min 10min 15min 20min 30min 1h 2h 4h 10h Query STrdRate Example Set the second trend interval to 30 seconds STrdRate On 30s Description e You cannot set parameter p1 while recording is in progress e You cannot set parameter p1 while computation is in progress e p2is valid only when p1 On e You cannot choose a second trend interval that is shorter than the scan interval Estrakind Trend Type Sets the type of trend waveform to display Syntax STrdKind pl pl Type Fixed to T Y Query 9 STrdKind Example Display using rectangular coordinates STrdKind T Y Ustrapartial Partial Expanded Trend Display Enable or disable the partial expanded trend display Syntax STrdPartial pl pl Disable or enable Off On Query STrdPartial Example Enable the partial expanded trend display STrdPartial On IsmsgBasic Message Writing Sets the message writing operation Syntax SMsgBasic pl p2 p3 pl Message writing method Write messages to all display groups Separate Write messages to
107. lf gt EN lt crlf gt p Login mode M Via general communication W Via Web HTTP server F Via FTP server S RS 232 or RS 422 485 D Via front panel 1 User level A Administrator U User uuuuuuuuuuuuuuuuuuuu User name fixed to 20 characters Unused character positions are filled with spaces abcdefghijk Authority of user F Free L Lock a through n represent actions a Memory b Math c Data save d Message e Batch f Alarm ACK g Communication h Touch operation i Time set j Setting operation k External media IM 04L51B01 17EN 2 61 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 6 Instrument Address FAddr The output in response to the command FAddr IP is shown below Syntax EA lt crlf gt IP Address ss XXX XXX XXX Xxx lt cr1f gt Subnet Mask i xxx Xxx xxx xxx lt crlf gt Default Gateway xxx xXxxX xxx xxx lt crlf gt Primary DNS XXX XXX XXX XXX lt crlf gt Secondary DNS _ xxx xxx xxx xxx lt crlf gt Host_ AI yyyyyyyyyyyyyyyyyyyy lt crlf gt Domain II 1ZZZZAZAZAZAIAZAZZAZAZLZ lt Crlf gt EN lt crlf gt XXX IP address number 0 to 255 Vya Host name fixed to 64 characters Unused character positions are filled with spaces 222 Domain name fixed to 64 characters Unused character positions are filled with spaces 2 62 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 7 GX status FStat The output in response to the command FStat 0 i
108. lient and Master Function in the Models GX10 GX20 GP10 GP20 Paperless Recorder User s Manual IM 04L51B01 01EN IsipAddress IP Address Information Sets the IP address information Syntax SIpAddress 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 SIpAddress Example Set the IP address to 192 168 111 24 the subnet mask to 255 255 255 0 and the default gateway to 192 168 111 20 STIpAddress 192 168 111 24 255 255 255 0 192 168 111 20 Description e The settings specified with this command takes effect with the OIPApply command The GX GP IP address does not change until you send the OIPApply command Isctient Client Function Sets the client function Syntax SClient pl p2 pl Client type FTP SMTP SNTP MODBUS p2 Client Function Off On Query SClient pl Example Use the FTP client function SClient FTP On Description e Modbus client is valid on models with the MC communication channel option Ispns DNS Information Sets the DNS information Host GX Syntax SDns pl p2 p3 pl Setting type Host p2 Host name up to 64 characters ASCII p3 Domain name up to 64 characters ASCII DNS Server Syntax SDns p1 p2 p3 pl Setting type Server p2 Primary DNS server 0 0 0 0 to 255 255 255 255 p3 Secondary DNS server 0 0 0 0 to 255 255 255 255 Suffix Setup Syntax SD
109. lly adjusting the time Off 5s 10s 15s p2 Action to take when the boundary value for gradually adjusting the time is exceeded NotChange Do not change Change Change Query SDateBasic Example Set the boundary value to 15 seconds When the offset exceeds the boundary value do not change the time SDateBasic 15s NotChange Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress IspateFormat Date Format Sets the date format Syntax SDateFormat pl p2 p3 pl Date format YYMMDD Year month day MMDDYY Month day year DDMMYY Date month year p2 Delimiter Slash 2 32 IM 04L51B01 17EN 2 4 Setting Commands Dot period Hyphen p3 Month display Digit Display the month using numerals 1 to 12 Display the month using characters Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Letter Query SDateFormat Example Set the date format to year month day and display the month using numerals SDaeFormat YYMMDD Digit Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Ispst Daylight Saving Time Set the daylight saving time Syntax SDst pl p2 p3 p4 p5 p6 p7 p8 p9 p1 Enable or disable Use Not p2 Start ti
110. lt crlf gt B999999 Firmware part number first line Web program part number second line RX XX XX Firmware version first line Web program version second line 2 10 28 Instrument s Option Installation Information _OPT The output in response to the command _OPT is shown below Output Example EA lt crlf gt C2 RS 232 lt crlf gt C3 RS 422 485 lt crlf gt D5 VGA output lt crlf gt FL Fail output 1 point lt crlf gt MT Mathematical function with report function lt crlf gt MC Communication channel function lt crlf gt P1 24 VDC AC power supply lt crlf gt UH USB interface Host 2 ports lt crlf gt U__0 Model pre installed with analog universal input module s lt crlf gt CR__ Model pre installed with digital output module s and or digital input module s lt crlf gt EN lt crlf gt C2 RS 232 C3 RS 422 485 D5 VGA output FL Fail output 1 point MT Math including the report function MC Communication channel function P1 24VDC AC power supply UH USB interface host 2 ports AS Advanced security function part 11 compliant UX1X20 Model pre installed with analog universal input modules X1 Terminal type S Screw terminal C Clamp terminal X2 Number of analog universal input modules installed 1 2 3 4 5 6 7 8 9 A where A represents 10 CRY1Y2 Model pre installed with digital output modules and or digital input modules Y4 N
111. m the GX GP front panel Focommch Sets a Communication Channel to a value Sets a communication channel to a value Syntax OCommCh p1 p2 pl Communication channel p2 Value The setting range is as follows 9 9999999E 29 to 1 0000000E 30 0 1 0000000E 30 to 9 9999999E 29 The number of significant digits is 8 Query OCommCh pl Example Set communication channel C001 to 2 5350 OCommCh C001 2 5350 Doemail Starts or Stops the E mail Transmission Function Starts or stops the e mail transmission function Syntax OEMail pl pl Action type 0 Start the e mail transmission function 1 Stop the e mail transmission function Example Start the e mail transmission function OEMail 0 Tom BRestore Recovers Modbus manually Resumes command transmission from Modbus client or Modbus master to devices in which communication errors have occurred Syntax OMBRestore pl pl Action type 0 Modbus client Ethernet 1 Modbus master serial Example Manually recover the Modbus client OMBRestore 0 T ORTReset Resets a Relative Timer Resets a relative timer Syntax ORTReset p1 p1 Timer type 0 All timers 1 to 4 Timer number Example Reset relative timer 2 ORTReset 2 2 48 IM 04L51B01 17EN 2 6 Operation Commands TomtReset Resets the Match Time Timer Resets the match time timer Syntax OMTReset pl p1 Timer type 0 All timers 1 to 4 Timer number Example Reset match time timer 2 OMTReset 2 Tocmar
112. mal and unit information setting Set to 1 when the decimal or unit information is changed 2 Command error Set to 1 when there is a command syntax error wo Execution error Set to 1 when there is a command execution error SNTP error at startup Set to 1 when SNTP time synchronization fails at startup O IM 04L51B01 17EN 2 63 s suods y pue spuewwog N 2 10 ASCII Output Format Status Information 4 Bit Name Description 0 1 Medium access complete Set to 1 when a display event manual sample report or screen image data file is saved to the external storage medium Set to 1 when settings have been successfully saved or loaded Report generation complete Set to 1 when report generation is complete Timeout Set to 1 when a timer expires NI QD On p 2 10 8 Alarm Summary FLog The output in response to the command FLog ALARM is shown below Syntax EA lt crlf gt yyyy mo dd hh mm ss ttt kkk cccc_1lss lt crlf gt EN lt crlf gt yyyy mo dd_hh mm ss ttt Time of alarm occurrence yyyy Year 1900 to 2099 mo Month 01 to 12 dd Day 01 to 31 hh Hour 00 to 23 mm Minute 00 to 59 ss Second 00 to 59 ttt Millisecond 000 to 999 A period is inserted between the minute and millisecond kkk Alarm cause OFF Alarm release ON Alarm occurrence ACK All channel alarm ACK ALL All channel alarm OFF ecce Channel number
113. me Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec p3 Start time Week 1st 2nd 3rd 4th Last P4 Start time Weekday Sun Mon Tue Wed Thu Fri Sat p5 Start time Hour 0 to 23 p6 End time Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec p7 End time Week 1st 2nd 3rd 4th Last p8 End time Weekday Sun Mon Tue Wed Thu Fri Sat p9 End time Hour 0 to 23 Query SDst Example Switch to daylight saving time at hour 0 on the first Sunday of June and switch back at hour 0 on the first Sunday of December SDst On Jun 1st Sun 0 Dec 1st Sun 0 Isang Language Sets the language to use Syntax SLang p1 pl Language Japanese English German French Chinese Query SLang Example Set the language to Japanese SLang Japanese Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Istemp Temperature Unit Sets the temperature unit Syntax STemp pl pl Temperature unit C Celsius F Fahrenheit Query STemp Example Set the temperature unit to Celsius STemp C Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Esppoint Decimal Point Type Sets the decimal point type Syntax SDPoin
114. n e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e You cannot choose a recording interval that is shorter than the scan interval e You cannot choose a recording interval that is not an integer multiple of the scan interval e This setting is valid when event data recording is enabled recording mode of the SMemory command IsrecDisp Channel for Recording Display Data Sets the channel for recording display data Syntax SRecDisp pl p2 p3 pl Number 1 to 500 see Description p2 Channel type Off Donot record display data TO I O channel Math Math channel Com Communication channel p3 Channel number Query SRecDisp pl1 Example Assign the display data of I O channel 0005 to number 010 and record SRecDisp 010 10 0005 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e If p2 Off you cannot set p3 e There is a limit to the number of recording channels depending on the recording interval SDispData command IM 04L51B01 17EN 2 4 Setting Commands Recording Number of Recording Channels Interval 5 s div 100 10 s div 200 15 s div or higher 500 e You cannot set a channel more than once IsrecEvent Channel for Recording Even
115. n Information _TYP 2 80 2 10 30 Instrument s Error Number Information ERR man iieri eaan aa 2 80 IM 04L51B01 17EN Contents 2 11 Appendix Appendix 1 Appendix 2 Appendix 3 Appendix 4 Appendix 5 2 10 31 Instrument s Unit Configuration Information _UNS or _UNR c ceeceeeeeeeeeeeseeeeeeeeees 2 81 2 10 32 Instrument s Module Configuration Information _MDS or MDR cscceeeseeeeteeeeeeeees 2 82 Format of the Data Block of Binary Output 2 11 1 Most Recent Channel Data FData 2 11 2 Channel FIFO Data FFifoCur siete ite 2 11 3 FIFO Data Read Range FFifOCUr ccccccceeeeeceeeeeeeeeeeeeeeeeeeeeeeseeeeeeeaeesseeeeseeeeeeeseeeeeaee ASCII Character COAL Login Procedure siirsin anneanne an itis sends at Sa EeNNN Val aA NEEE REEERE When Using the Login Function zadi When Not Using the Login FUNGUA ii AA Kawa App 3 Output Flow Chart of External Storage Medium Files and File LIistsS App 4 Example for Ouiputting File aaaa dtd viissada raa aN DaS iiA App 4 Example for Outputting a File List ia IA aE i ea App 5 FIFO Data Output Flow Chatt au i a a EE App 6 Overview Of the FIFO Buffer asensin son aii NE DEE AAE swells AEA waa App 6 Example of FIFO Buffer Operations ticeccceccsseths seccanevac cnessesacasaceneesty E aa aa Ea App 6 Check Sum Calculation MO waza App 7 IM 04L51B01 17EN Chapter 1 Using Dedicated Commands General
116. ng dot delimiters fixed to 16 characters Unused character positions are filled with spaces ALL All display groups aa bb cc dd Multiple display groups User name fixed to 20 characters Unused character positions are filled with spaces IM 04L51B01 17EN 2 65 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 10 Event log FLog The output in response to the command FLog EVENT is shown below Syntax EA lt crlf gt EN lt crlf gt yyyy mo dd_hh mm ss_zzz sss S uuu u lt crlf gt yyyy mo dd hh mm ss Time of event occurrence ZZZ SSS S UUU U yyyy mo dd hh mm ss Event cause KEY REM COM SER ACT SYS Year 1900 to 2099 Month 01 to 12 Day 01 to 31 Hour 00 to 23 Minute 00 to 59 Second 00 to 59 Touchscreen operation Remote Ethernet communication Serial communication Event action System Event string fixed to 16 characters Unused character positions are filled with spaces User name fixed to 20 characters Unused character positions are filled with spaces 2 66 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 11 Error Log FLog The output in response to the command FLog ERROR is shown below Syntax EA lt crlf gt EN lt crlf gt yyyy mo dd_hh mm ss_ nnn_uuu u lt crlf gt yyyy mo dd_hh mm ss Time of error occurrence yyyy Year 1900 to 2099 mo Month 01 to 12 dd Day 01 to 31 hh Hour 00 to 23
117. ns p1 p2 p3 pl Setting type Suffix p2 Primary domain suffix up to 64 characters ASCII p3 Secondary domain suffix up to 64 characters ASCII Query SDns pl Example Set the IP address of the primary DNS server to 192 168 111 1 and the IP address of the secondary DNS server to 192 168 111 10 SDns Server 192 168 111 1 192 168 111 10 Description e The settings specified with this command takes effect with the OIPApply command The GX GP IP address does not change until you send the OIPApply command Isphcp DHCP Client Sets the DHCP client Do Not Obtain the IP Address Automatically Syntax SDhcp pl pl Automatic IP address assignment Off Obtain the IP Address Automatically Syntax SDhcp p1 p2 p3 pl Automatic IP address acquisition On p2 DNS information acquisition Off On p3 Automatic host name registration Off On Query SDhcp Example Automatically obtain the IP address and DNS information and automatically register the host name SDhcp On On On Description e The settings specified with this command takes effect with the OIPApply command The GX GP IP address does not change until you send the OIPApply command 2 36 IM 04L51B01 17EN 2 4 Setting Commands I SFtpKina File to Transfer via FTP Sets the file to transfer via FTP Syntax SFtpKind p1 p2 p1 Setting type Data Automatically transfer display and event data files when files are generated Report Automatic
118. nt range is exceeded OVER Assume scale over range when 105 of the scale is exceeded Query SSclOver Example Assume scale over range when the measurement range is exceeded SSclOver FREE Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e The setting specified with this command is valid if at least one module is installed IM 04L51B01 17EN 2 9 sesuodsey pue spuewwog 2 4 Setting Commands Ismemory Recording Mode Sets the type of data to record Syntax SMemory pl pl Recording mode D Display data D E1 Display data and event data El Event data Query SMemory Example Record display data SMemory D Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress IspispData Display Data Recording Sets the display data recording mode Syntax SDispData pl p2 pl Recording interval 5s 10s 15s 30s 1min 2min 5min 10min 15min 20min 30min 1h 2h 4h 10h div p2 File save interval 10min 20min 30min th 2h 3h 4h 6h 8h 12h 1day 2day 3day 5day 7day 14day 31day Query SDispData Example Set the recording interval to 1 minute and file save interval to 12 hours SDispData lmin 12h Descrip
119. ocessing error SMTPAUTH_ SMTP AUTH authentication failed ANOTSUPPORT_ Unsupported authentication method POP3UNREACH_ Unable to connect to POP3 server POP3TIMEOUT_ POP3 server connection timed out POP3HOSTNAME Unable to resolve POP3 host name POP3AUTH_ _ POP3 server authentication failed n recipient 1 Recipient 1 2 Recipient 2 Recipient 1 2 uuu U Recipient mail address fiked to 30 characters Unused character positions are filled with spaces The user name section of the recipient mail address the XXXX section of XXXX abc def ghi is output IM 04L51B01 17EN 2 73 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 18 Web Log FLog The output in response to the command FLog WEB is shown below Syntax EA lt crlf gt EN lt crlf gt yyyy mo dd_hh mm ss_ xxX xxxX XXX XxXxX_mmmmmmmm_uuu u_ccc_nnn lt crlf gt yyyy mo dd hh mm ss Time of error occurrence mmmmmmmm UUU U ccc nnn yyyy Year 1900 to 2099 mo Month 01 to 12 dd Day 01 to 31 hh Hour 00 to 23 mm Minute 00 to 59 ss Second 00 to 59 Source IP address HTTP query method GET GET method POST POST method Access destination URL fixed to 24 characters Unused character positions are filled with spaces HTTP response code fixed to 32 characters Unused character positions are filled with spaces See table below Error message see table below HTTP Response Code
120. om Measurement range MC Preset operation MC Watchdog timer MC Alarm MC Alarm hysteresis MC Alarm delay MC Tag MC Channel color MC Waveform display zone MC Scale display MC Bar graph display MC Partial expanded display MC Color scale band MC Alarm mark MC Alarm Setting Commands SAlmLimit SAlmSts Rate of change alarm interval Alarm display hold nonhold Time Setting Commands STimer SMatchTimer SEventAct Timer Match time timer Event Action Setting Commands Event action Report Setting Commands SReport SRepData SRepTemp SRepCh Report type MT Report data MT Report output MT Report channel MT Display Setting Commands SLcd SViewAngle SBackColor SGrpChange SAutoJump SCalFormat SBarDirect LCD View angle Screen background color Automatic group switching time Jump default display operation Calendar display format Bar graph display direction Page 2 19 2 20 2 20 2 20 2 20 2 20 2 21 2 21 2 21 2 21 2 21 2 22 2 22 2 22 2 22 2 22 Page 2 23 2 23 2 23 2 24 2 24 2 24 2 24 2 25 2 25 2 25 2 25 2 25 2 25 2 26 Page 2 26 2 26 Page 2 26 2 27 Page 2 27 Page 2 28 2 29 2 29 2 29 Page 2 29 2 30 2 30 2 30 2 30 2 30 2 30 IM 04L51B01 17EN s suods y pue spuewwog N 2 2 List of Commands SChgMonitor Value modification from the 2 30 monitor STrdWave Trend waveform display 2 30 STrdS
121. on p2 Free Lock Free Not lock Lock Lock Query SOpeLimit p1 Example Prohibit operations for changing settings SOpeLimit ChangeSet Lock Description e You cannot use this command to configure settings when logged in as a user when the user level is User Isuser User Settings Register users Syntax SUser pl1 p2 p3 p4 p5 p6 p7 pl User number 1 to 50 p2 User level Off Not Use Admin Administrator level User User level p3 Login mode Key Log in using keys Comm Log in via communication including Web Log into using keys and via communication P4 User name up to 20 characters ASCII p5 Password up to 20 characters ASCII p6 Enable or disable user limitation Off On p7 User limitation number 1 to 10 SUser pl The password of p5 are displayed using asterisks Example Register a user level user to user number 3 Set the user name to user10 and the password to pass012 Allow login only using keys and specify user limitation number 5 SUser 3 User Key userl0 pass012 Y 0n 5 Key Comm Query Description e If p1 1 p2 is fixed to Admin In addition you cannot set p3 to Comm e If p2 Admin p6 is fixed to Off e You cannot enter NULL or spaces in p4 or p5 For the characters that you can use in the specified password p5 see Appendix 1 e You cannot use this command to configure settings when logged in as a user when the user level is User B
122. on is in progress sprinter Printer Sets the printer Syntax SPrinter pl p2 p3 p4 p5 p 6 p1 IP address 0 0 0 0 to 255 255 255 255 p2 Paper size A4 A3 Letter p3 paper orientation Horizontal Vertical P4 Resolution dpi 300 600 p5 Number of copies 1 to 10 p6 Snapshot Off On Query SPrinter Example Set the IP address to 192 168 111 24 the paper size to A3 the paper orientation to horizontal the resolution to 600 the number of copies to 2 and snapshot to On Sprinter 192 168 111 24 A3 Horizon tal 600 2 0On sted LED Indicator Operation Sets the operation of the LED indicators on the front panel Syntax SLed p p2 p1 Type Function p2 Operation Off Power state AlarmAll Alarm Query SLed Example Set the LED indicator operation to Alarm SLed Function AlarmAl1 Bssound Sound Sets touch and warning sounds Syntax SSound pl p2 pl Touch sound Off On p2 Warning sound Off On Query SSound Example Enable touch and warning sounds SSound On On Bsinstrutag Instruments Tag Sets tags Syntax SInstruTag pl p2 pl Tag up to 32 characters UTF 8 p2 Tag number up to 16 characters ASCII Query 3 SInstruTag Example Set the tag to assign to the GX GP to GX and the tag number to 12345 SinstruTag GX 12345 Bsconfcmt Setting File Comment Sets the setting file comment Syntax SConfCmt pl pl Setting file comment up to 50 ch
123. only the groups that are displayed p2 Power failure message Off On p3 Change message Off On Query SMsgBasic Example Write messages to only the groups that are displayed Enable the power failure message and change message SMsgBasic Separate On On IsGroup Display Group Sets the display group Syntax SGroup pl p2 p3 p4 p1 Group number p2 Enable or disable Off On p3 Group name up to 16 characters UTF 8 P4 Channel list Common IM 04L51B01 17EN 2 31 s suods y pue spuewwog N 2 4 Setting Commands Specify using channel numbers 4 digit numbers for I O channels Numbers that start with A for math channels A015 Numbers that start with C for communication channels C020 Use periods to separate channel numbers see example Query SGroup p1 Example Assign channels 0001 0003 0005 A001 and C023 to group 2 and name it GROUP A SGroup 2 On GROUP A 0001 0003 0005 A001 C023 IstripLine Display Group Trip Line Sets a trip line for a display group Syntax STripLine pl p2 p3 p4 p5 p6 p7 p8 pl Group number p2 Trip line number 1 to 4 p3 Enable or disable Off On P4 Display position 1 to 100 p5 R value of RGB display colors 0 to 255 p6 G value of RGB display colors 0 to 255 p7 B value of RGB display colors 0 to 255 p8 Line width Thin Thin Normal Normal Thick Thick Query STripLine pl1 p2 Example Display trip line 2 using
124. p3 pl Channel number p2 Scale display position Off 1 to 10 p3 Number of scale divisions 4 to 12 C10 Query SScaleIO pl Example Display the channel 0001 scale at display position 1 Display four equally spaced main scale marks SScaleIO 0001 1 4 Issario Bar Graph Display Sets the bar graph display of an Al DI or DO channel Syntax SBarl0 pl p2 p3 pl Channel number p2 Bar display base position Lower Lower Center Center Upper Upper p3 Number of scale divisions 4 to 12 Query SBarIO p1 Example Display the measured values of channel 0001 on a bar graph with the center set as the base position Center Display four equally spaced main scale marks SBarIO 0001 Center 4 Ispartiatio Partial Expanded Display Sets the partial expanded display of an Al channel waveform Syntax SPartialI0O pl p2 p3 p4 pl Channel number p2 Partial expanded On Off On Off p3 Partial expanded boundary position 1 to 99 P4 Partial expanded boundary value span lower limit 1 digit to span upper limit 1 digit Query SPartiallIO p1 Example For channel 0001 whose measurement range is 0 to 1 0000 V display the measured value of 0 7500 V at the 50 position SPartiallIO 0001 0n 50 7500 Description e You cannot set this on a Skip channel p2 is fixed to Off e If p2 Off you cannot set p3 or subsequent parameters e P2 On can be specified when the difference between the span upper and low
125. ration in the United States and or other countries e Adobe and Acrobat are registered trademarks or trademarks of Adobe Systems Incorporated e Company and product names that appear in this manual are registered trademarks or trademarks of their respective holders e The company and product names used in this manual are not accompanied by the registered trademark or trademark symbols and December 2012 1st Edition All Right Reserved Copyright 2012 Yokogawa Electric Corporation IM 04L51B01 17EN How to Use This Manual This manual explains the dedicated communication commands for the GX GP and how to use them For details on the features of the GX GP and how to use it see the following manuals e Models GX10 GX20 GP10 GP20 Paperless Recorder First Step Guide IM 04L51B01 02EN e Models GX10 GX20 GP10 GP20 Paperless Recorder User s Manual IM 04L51B01 O1EN Conventions Used in This Manual Unit K k Markings WARNING CAUTION Note Denotes 1024 Example 768K file size Denotes 1000 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 In the manual the symbol is used in conjunction with the word WARNING or CAUTION
126. rument Manufacturer _MFG The output in response to the command MFG is shown below Outputs the instrument manufacturer Output Example EA lt crlf gt YOKOGAWA lt crl1f gt EN lt crlf gt 2 10 25 Instrument s Product Name _INF The output in response to the command _INF is shown below Output Example EA lt crlf gt GX20 GP20 123456789 xx xx xXxX XX XX XX RX xXxX xx lt crlf gt EN lt crlf gt GX20 GP20 Product name 123456789 Product serial number XX XX XX XX XX XX MAC address xx s are hexadecimals RX XX XX Firmware version 2 10 26 Instrument s Basic Specifications _COD The output in response to the command _COD is shown below Output Example EA lt crlf gt GX20 1 0 1 M lt crlf gt EN lt crlf gt GX20 Model 1 Type 1 100 channels 2 500 channels J Display language J Japanese E English C Chinese 1 Supply voltage Blank When the product name is GX10 GX20 1 When the product name is GP10 GP20 M Power cord Blank When the product name is GX10 GX20 PSE cable UL CSA cable VDE cable SAA cable BS cable GB cable INMETRO cable ZION NVE 2 78 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 27 Instrument s Firmware Version Information _VER The output in response to the command _VER is shown below Output Example EA lt crlf gt B999999 Rx xx xx Main Program lt crlf gt B999999 Rx xx xx Web Program lt crlf gt EN
127. rver assign the name server1 and port number 21 Set the user name to Administrator1 the password to password1 and the directory to directory1 Set PASV mode to Off SFtpCnct Primary serverl 21 Adm inistratorl passwordl director yl Off IssmtpLogin SMTP User Authentication Sets the SMTP user authentication method Query Syntax SSmtpLogin pl pl User authentication type off Not use authentication Auth Smtp Use Authentication SMTP POP3 Use POP Before SMTP unencrypted APOP Use POP Before SMTP encrypted Query SSmtpLogin Example Do not use authentication SSmtpLogin Off Issmtpcnct SMTP Client Connection Destination Server Sets the SMTP client connection destination server Syntax SSmtpCnct pl p2 p3 p4 p5 pl Destination server type SMTP POP p2 Server name up to 64 characters ASCII p3 Port number 1 to 65535 P4 User name up to 32 characters ASCII p5 Password up to 32 characters ASCII SSmtpCnct pl The password is displayed using asterisks Example Connect to SMTP server SMTPserver1 Set the port number to 25 the user name to administrator1 and the password to password1 SSmtpLogin SMTP SMTPserverl 25 administratorl passwordl I SmailHead Mail Header Recipient Address Sets the mail header including the recipient address Syntax SMailHead p1 p2 p3 p4 pl Sender address up to 64 characters ASCII Qu
128. s Syntax SMailTime pl1 p2 p3 p4 pl Recipient 1 or 2 p2 Reference time Hours HH 00 to 23 p3 Reference time Minutes MM 00 to 59 P4 Interval 1h 2h 3h 4h 6h 8h 12h 24h Query SMailTime p1 Example Send mail to recipient 1 every day at 08 30 SMailTime 1 08 30 24 Issntpcnet SNTP Client Sets the SNTP client operation and the connection destination server Syntax SSntpCnct p1 p2 p3 p4 p5 p6 p7 pl Server name up to 64 characters ASCII 2 38 IM 04L51B01 17EN 2 4 Setting Commands p2 Port number 1 to 65535 p3 Reference time Hours HH 00 to 23 P4 Reference time Minutes MM 00 to 59 p5 Access interval 6h 12h 24h p6 Timeout 10s 30s 90s p7 Time adjust on start action Off On Query SSntpCnct Example Set the server name to sntpserver1 the port number to 123 the timeout to 30s Query the time every day at 12 00 and at memory start SSntpCnct sntpserverl 123 12 00 24 30s On Bsmodclient Modbus Client Operation Sets the Modbus client operation Syntax SModClient pl p2 p3 p4 pl Read cycle 100ms 200ms 500ms 1s 2s 5s 10s p2 Recovery wait time Off 5s 10s 30s 1min 2min 5min p3 Keep connection Off On P4 Connection timeout s 1 to 10 Query SModClient Example Set the read cycle to 100ms the recovery wait time to Off and the connection timeout to 1 second SModClient 100ms off on 1 Description e This command is valid on mod
129. s ASCII Query SDirectory Example Set the directory name to DATAO SDirectory DATAO Description IM 04L51B01 17EN 2 11 s suods y pue spuewwog N 2 4 Setting Commands e For the characters that you can use in the directory name p1 see Appendix 1 e The following character strings cannot be used for directory names Character String AUX CON PRN NUL CLOCK como to COM9 LPTO to LPT9 e You cannot use a character string that starts or ends with a period or space for directory names SFileHead File Header Sets the file header character string Syntax SFileHead p1 p1 File header up to 50 characters UTF 8 Query SFileHead Example Set the file header to GX_DATA SFileHead GX DATA IsFiteName File Naming Rule Sets the file naming rule for data files Syntax SFileName p1 p2 p1 File naming rule Date Date Serial Serial number Batch Batch name p2 Specified file name up to 16 characters ASCII Query SFileName Example Set the file naming rule to Date Set the specified file name to Recorder1_data SSFileName Date Recorderl data Description e If the batch setting is disabled SBatch p1 Off you cannot specify p1 Batch e If p1 Batch p2 is invalid e For the characters that you can use in the specified file name p2 see Appendix 1 BsmediaSave Automatic Data File Saving Sets the auto savin
130. s display configuration information OSaveConf Saves setting data 2 48 _MDR Outputs the instrument s module 2 52 OCommCh Sets a communication channel to 2 48 configuration information a value OEMail Starts or stops the e mail 2 48 WA ii Wa aa ha WA 2 2 6 Conditions for Executing OMBRestore Recovers Modbus manually 2 48 Commands ORTReset Resets a relative timer 2 48 A command can be executed only when the GX GP can OMTReset Resets the match time timer 2 49 execute the setting change or operation that the command OCmdRelay Outputs the DO channel and 2 49 specifies Commands are invalid in the following internal switch status circumstances ji ii OBat Name Sets a batch name 2 49 e The GX GP is not in a condition to accept the OBatC t Sets a batch comment 2 49 operation gt panes Sets a batch text 2 49 For example if the GX GP is not recording you cannot iad S PAGITA ji write a message ODispRate Switches the trend interval 2 49 e If the GX GP does not have the function or is not using OLoadConf Loads setting data 2 50 the function OSeriApply Applies serial communication 2 50 The Setup Item column in section 2 2 1 Setting settings Commands contains the GX GP suffix codes that are OIPApply Applies the IP address 2 50 required for using the commands OInit Clears measured data and 2 50 e Operation lock or user restriction is placed on the initializes setting data operation The following table lists the commands that are invalid ac
131. s shown below Syntax EA lt crlf gt aaa bbb ccc ddd lt crlf gt EN lt crlf gt aaa bbb ccc ddd Status information 1 see table below Status information 2 see table below Status information 3 see table below Status information 4 see table below Status Information 1 WA a Bit Name Description Memory sampling Set to 1 during recording Computing Set to 1 while computation is in progress Alarm activated Set to 1 when an alarm is activated Accessing medium Set to 1 while the SD medium is being accessed E mail started Set to 1 while the e mail transmission has been started Buzzer activated Set to 1 when the buzzer is activated NOD Oj R hy O Status Information 2 Bit Name Description 0 gt 1 z 5 2 Memory end Set to 1 when the free space in the external memory is low 3 Touch operation Set to 1 when a user is logged in through touch operation login 4 2 5 6 Measurement Set to 1 while measurement errors are detected on an Al error module or when a burnout has occurred 7 Communication Set to 1 when there is any command that is blocking Modbus error master or Modbus client communication Status 3 and 4 are edge operations They are cleared when read Status Information 3 Bit Name Description 0 Computation dropout Set to 1 when computation cannot keep up 1 Deci
132. series When writing a series of commands separate each command with a sub delimiter A sub delimiter is a symbol that indicates a separation A terminator is attached to the end of the series The maximum number of bytes that can be sent at once is 8000 bytes 8000 characters Command name parameter 1 parameter 2 command name parameter1 terminator Command 1 Command 2 Sub delimiter IM 04L51B01 17EN 2 1 2 1 Command Transmission and GX20 Responses Queries Notes on Writing Commands in a Series Only setting commands can be written in a series e Queries see the next section cannot be written in a series e f there is an error in one of the commands in a series the commands before it are canceled and those after it are not executed Example of a Command SRangeAI 0001 VOLT 2V OFF 15000 18000 0 SRangeAI 0002 SKIP Queries are used to inquire the GX GP settings To send a query append a question mark to the command name or parameter When the GX GP receives a query it returns the relevant setting as a character string in an appropriate syntax Queries can be used on some of the available setting and operation commands Command name terminator Command name parameter1 terminator Examples of Queries and Responses Query Example of Responses SRangeAl SRangeAl 0001 VOLT 2V OFF 20000 20000 0 SRangGeAlO002 aw SRangeAl 0001 SRangeAl 0001 VOLT 2V OFF 20000 20000 0 Command Names
133. set to four spaces if the alarm cause is ACK or ALL 1 Alarm level 1 to 4 ss Alarm type H High limit alarm h Difference high limit alarm Lo Low limit alarm l1 Difference low limit alarm R_ High limit on rate of change alarm ro Low limit on rate of change alarm TL Delay high limit alarm ta Delay low limit alarm 2 64 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 9 Message Summary FLog The output in response to the command FLog MSG is shown below Syntax EA lt crlf gt yyyy mo dd_hh mm ss __ u lt crlf gt EN lt crlf gt yyyy mo dd_hh mm ss YYYY MO DD HH MM SS mmm m ZZZ 999 9 UUU U YYYY MO DD HH MM SS t mmm m_zzz_ ggg g_uuu Time when the message was written yyyy Year 1900 to 2099 mo Month 01 to 12 dd Day 01 to 31 hh Hour 00 to 23 mm Minute 00 to 59 ss Second 00 to 59 Data position where message was written YYYY Year 1900 to 2099 O Month 01 to 12 DD Day 01 to 31 HH Hour 00 to 23 M Minute 00 to 59 Ss Second 00 to 59 Message type N Normal message H Freehand message Message fixed to 48 characters Unused character positions are filled with spaces For freehand message the string image is output Operation property 3 characters KEY Touchscreen operation REM Remote COM Ethernet communication SER Serial communication ACT Event action SYS System Target group multiple groups are expressed usi
134. suserLimit Authority of User Sets user operation limitations Syntax SUserLimit p1l p2 p3 p1 User limitation number 1 to 10 p2 Authority of user see p1 of the SOpeLimit command p3 Free Lock Free Lock Query SUserLimit pl Example Set user limitation number 1 so that changing settings is prohibited SUserLimit 1 ChangeSet Lock Description e You cannot use this command to configure settings when logged in as a user when the user level is User I smonitor Monitor Screen Display Information Sets the monitor screen display information Syntax SMonitor pl p2 p1 Information type see the table below p2 Status see the table below IM 04L51B01 17EN 2 41 s suods y pue spuewwog N 2 4 Setting Commands Information Type Status pl Description p2 Digital Digital value display Off On Scroll Auto scroll Off On Message Message display Stream List Trend All channel group display Group All Axis Time axis on historical 1 2 3 4 5 trend Op TB Value Digital value display on 4Value Max historical trend Min Data Historical data type Disp Eventl DigitalWave Digital waveform display Off On Alarm Alarm display Watch List Time Channel Level Type Alarm Sort Alarm sort item Alarm Order Alarm sort order Ascending Descending Message Sort Message sort item Datatime WriteTime Message Group User Ascending Descending Disp
135. t A in front Example A001 Communication GX20 GP20 001 to 300 Math channel channel GX10 GP10 001 to 050 For SGroup and SMailAlarm commands insert C in front Example C001 Number of GX20 GP20 1 to 60 report channels _GX10 GP10 1 to 50 Number of GX20 GP20 1 to 50 display groups _ GX10 GP10 1 to 30 Number of GX20 GP20 20 channels GX10 GP10 10 that can be registered to display groups Type Notation and Range of Values Modbus GX20 GP20 1 to 100 command GX10 GP10 1 to 50 number 2 3 3 Parameter Number Specification When specifying consecutive channel numbers or group numbers in a setting command you can specify them using a range instead of specifying each number one by one e Use a hyphen to separate the first number and the last number For I O channels you can specify a range that spans over multiple slots that modules are installed in e You can specify the minimum number by omitting the number before the hyphen and the maximum number by omitting the number after the hyphen If you want to specify all numbers from the first number to the last number specify only the hyphen Example 1 To specify 3 to 10 3 10 To specify 3 to the maximum number 3 To specify the first number to 10 1 0 To specify all numbers Example 2 Acommand that sets the channel ranges of Al modules installed in slots 0 1 and 2 to Skip SRangeAI
136. t Data Sets the channel for recording event data Syntax SRecEvent pl p2 p3 p4 pl Scan group 1 p2 Number 001 to 500 see Description p3 Channel type Off Do not record event data IO I O channel Math Math channel Com Communication channel p4 Channel number Query SRecEvent pl1 p2 Example Assign the event data of I O channel 0006 to number 011 and record SEventData 1 011 10 0006 Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e If p3 Off you cannot set p4 e This setting is valid when event data recording is enabled recording mode of the SMemory command e There is a limit to the number of recording channels depending on the recording interval SEventData command Recording Number of Recording Channels Interval 100 ms 100 200 ms 200 500 ms or more 500 e You cannot set a channel more than once BsrRecManual Channel for Recording Manual Sampled Data Sets the channel for recording manual sampled data Syntax SRecManual pl p2 p3 pl Number 1 to 50 p2 Channel type Off Do not record manual sampled data IO I O channel Math Math channel Com Communication channel p3 Channel number Query SRecManual p1 Example Assign the manual sampled data of I O channel 0003 to number 2 and record SRecManual 2 10 0003 Descript
137. t crlf gt aaa The most recent internal switch status is output The internal switch status is output 10 channels per line over 10 lines 1 indicates that the internal switch is ON and 0 indicates that the internal switch is OFF IM 04L51B01 17EN 2 59 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 4 Users Who Are Currently Logged In FUser The output in response to the command FUser 0 is shown below Syntax EA lt crlf gt Pp 1 uuuuuuuuuuuuuuuuuuuu_abcdefghijk lt crlf gt EN lt crlf gt p Login mode M Via general communication W Via Web HTTP server F Via FTP server S RS 232 or RS 422 485 D Via front panel 1 User level A Administrator U User uuuuuuuuuuuuuuuuuuuu User name fixed to 20 characters Unused character positions are filled with spaces abcdefghijk Authority of user F Free L Lock a through represent actions Memory Math Data save Message Batch Alarm ACK Communication Touch operation Time set Setting operation External media Aub FQMhoaa ow 2 60 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 5 All Users Who Are Currently Logged In FUser The output in response to the command FUser 1 is shown below Syntax EA lt crlf gt Pp 1 uuuuuuuuuuuuuuuuuuuu abcdefghijk lt crlf gt Pp 1 uuuuuuuuuuuuuuuuuuuu abcdefghijk lt crlf gt Pp 1 uuuuuuuuuuuuuuuuuuuu abcdefghijk lt crlf gt Pp 1 uuuuuuuuuuuuuuuuuuuu abcdefghijk lt cr
138. t format see page 2 77 Reconfigures Modules Aligns the module configuration settings that are recognized by the GX GP and the actual module configuration Syntax FSysConf pl pl Module reconfiguration 1 Example Reconfigure the modules FSysConf 1 2 46 IM 04L51B01 17EN 2 6 Operation Commands JosetTime Sets the Time Sets the time Syntax OSetTime p1 pl Time to set YYYY MO DD_HH MI SS the underscore denote a space YYYY MO DD or HH MI SS YYYY Year 2001 to 2035 MO Month 01 to 12 DD Day 01 to 31 HH Hour 00 to 23 MI Minute 00 to 59 Ss Second 00 to 59 OSetTime The OSetTime query outputs the GX GP current time Example Set the time to 23 00 00 on May 24 2013 OSetTime 2013 05 24 23 00 00 Torec Starts or Stops Recording Starts or stops recording Syntax ORec pl pl Recording start or stop 0 Start 1 Stop Query ORec Example Start recording ORec 0 BoatarmAck Clears Alarm Output Clears alarm output performs an alarm ACK Syntax OAlarmAck p1 pl Alarm output clearance 0 Example Clear the alarm output OAlarmAck 0 BoeExecRec Generates a Manual Trigger Executes Manual Sample Takes a Snapshot or Causes a Timeout Generates a manual trigger executes manual sample takes a snapshot or divides the data being recorded into separate files Syntax OExecRec pl Query pl Alarm output clearance type 0 0 Execute manual sampling
139. t pl pl Decimal point type Point Use points Comma Use commas Query SDPoint Example Use a comma for the decimal point SDPoint Comma Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Israilact Fail Relay DO Channel Operation FL Sets the fail relay DO channel operation Syntax SFailAct pl pl Operation Fail Output fail information Status Output instrument information Query SFailAct Example Output fail signals from the fail relay DO channel SFailAct Fail Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress Israiists Instrument Status to Output FL Sets the instrument status to output from the fail relay DO IM 04L51B01 17EN 2 33 s suods y pue spuewwog N 2 4 Setting Commands channel Syntax SFailSts p1 p2 p3 p4 p5 pl Memory media status Off On p2 Measurement error Off On p3 Communication error Off On P4 Recording stop Off On p5 Alarm Off On Query SFailSts Example Output all information SFailSts On On On On On Description e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computati
140. ter set as the base position Center Display four equally spaced main scale marks SBarMath 015 Center 4 EspartialMath Partial Expanded Display MT Sets the partial expanded display of a math channel waveform Syntax SPartialMath p1 p2 p3 p4 pl Channel number p2 Partial expanded On Off On Off p3 Partial expanded boundary position 1 to 99 P4 Partial expanded boundary value Query SPartialMath p1 Example For channel 015 whose measurement range is 0 to 1 0000 V display the measured value of 0 7500 V at the 50 position SPartialMath 015 0n 50 7500 Description e You cannot set this on a Off channel p2 is fixed to Off e If p2 Off you cannot set p3 or subsequent parameters e P2 On can be specified when the difference between the span upper and lower limits is 2 digits or greater BspBanamath Color Scale Band MT Sets the color scale band of a math channel Syntax SBandMath p1 p2 p3 p4 p5 p6 p7 pl Channel number p2 Color scale band Off In Out p3 R value of the color scale band RGB colors 0 to 255 P4 G value of the color scale band RGB colors 0 to 255 p5 B value of the color scale band RGB colors 0 to 255 p6 Upper limit of the color scale band display span lower limit to span upper limit p7 Lower limit of the color scale band display span lower limit to span upper limit Query SBandMath p1 Example For math channel 015 set a blue band in the range of 0 5000 to 1 0000
141. the feature that allows values to be changed from the monitor Syntax SChgMonitor pl p1 Disable or enable Off On Query SChgMonitor Example Enable the feature that allows values to be changed from the monitor SChgMonitor On J STrdWave Trend Waveform Display Sets the trend waveform display mode Syntax STrdWave pl p2 pl Waveform display direction Horizontal Horizontal Vertical Vertical p2 Trend clear off Do not clear On Clear Query STrdWave Example Set the trend waveform to horizontal display and clear the waveform when recording is started STrdWave Vertical On Istrascale Scale Set the scale Syntax STrdScale pl p2 p3 2 30 IM 04L51B01 17EN 2 4 Setting Commands pl Number of digits to display for scale values Normal Normal Fine Fine p2 Current value display Mark Mark Bar Bar graph p3 Number of digits to display for channels that are added to the current value mark O digit 0 digits not show channel numbers 3 digit 3 digits 4 digit 4 digits Query STrdScale Example Set the number of digits to display for scale values to Fine display the value indicators on a bar graph and set the number of digits to display for channels that are added to the current value mark to 4 digits StrdScale Fine Bar 4 digit Istrdtine Trend Line Width Grid Sets the trend waveform line width and the grid in the display area Syntax STrdLine pl p2 p1 Line width Thick Thick Norma
142. thentication 2 37 SSmtpCnct SMTP client connection 2 37 destination server SMailHead Mail header recipient address 2 37 SMailBasic Common section of the mail body 2 38 SMail Destination and behavior for each 2 38 mail type SMailAlarm Alarm notification mail target 2 38 channels SMailTime SSntpCnet SModClient SModCList SModCCmd SServer SKeepAlive STimeOut SFtpFormat SModDelay SModLimit SModList Scheduled transmission times 2 38 SNTP client 2 38 Modbus client operation 2 39 Modbus client connection 2 39 destination server MC Modbus client transmission 2 39 command MC Server function 2 39 Keepalive 2 40 Communication timeout 2 40 FTP server directory output format2 40 Modbus server delay response 2 40 Modbus server connection limit 2 40 IP address to allow connection to 2 40 Modbus server Security Setting Commands Page SSecurity Security function 2 40 SOpePass Password to unlock operation 2 40 SOpeLimit Operation lock details 2 41 SUser User settings 2 41 SUserLimit Authority of user 2 41 Local Setting Commands Page SMonitor Monitor screen display 2 41 information SMultiPattern Multi panel division 2 42 SMultikind Multi panel 2 42 SHomeMonitor Standard display information 2 42 SHomeKind Standard display 2 43 SFavoriteMonitorFavorite screen display 2 43 information SFavoriteKind Favorite screen 2 43 2 2 2 Output Commands Command Description Page FData Outputs the most recent
143. timer reset TimerReset 1to4 Settings load ConfigLoad 1to3 Favorite screen PlayList 1 to 20 display Both Recording start stop MemoryStartStop Math start stop MathStartStop Display rate switch RateChange1_2 1 2 Flag On Off FlagOn_Off 1 to 20 Query SEventAct p1 Invalid parameters are returned as blanks in queries Example Execute memory start on the rising edge of the remote control input channel 0101 Use event action number 2 SEventAct 2 0n DI 0101 Rising Mem ory Start Tsreport Report Type MT Sets the type of report to create No Reports Syntax SReport pl p1 Type Off Hourly and Daily Reports Syntax SReport p1 p2 pl Type Hour Day p2 Time to create reports Hour HH 00 to 23 Daily and Wash Reports Syntax SReport pl p2 p3 pl Type Day Week p2 Day to create reports Mon Tue Wed Thu Fri Sat Sun p3 Time to create reports Hour HH 00 to 23 Daily and Hany Reports Syntax SReport pl p2 p3 p1 Type Day Month p2 Day to create reports 1 to 28 p3 Time to create reports Hour HH 00 to 23 Batch Reports Syntax SReport pl p2 p1 Type Batch p2 Recording interval 10min 15min 30min th Day Custom eae Syntax SReport pl p2 p3 p4 p5 pl Type Custom p2 Recording interval 10min 15min 30min th p3 a creation interval 4h 6h 8h 12h 24h P4 Time to create reports Hour HH 00 to 23 p5 a to create reports Minute MM 00 to 59 Query SReport p1 Example Create daily
144. tion e You cannot use this command to configure settings while recording is in progress e You cannot use this command to configure settings while computation is in progress e You cannot choose a recording interval that is shorter than the scan interval e You cannot choose a recording interval that is not an integer multiple of the scan interval e File save interval is valid when display data recording is enabled recording mode of the SMemory command I SEventData Event Data Recording Sets the event data recording mode Syntax SEventData p1l p2 p3 p4 p5 p6 p1 Scan group 1 p2 Recording interval 100ms 200ms 500ms 1s 2s 5s 10s 15s 20s 30s 1min 2min 5min 10min 15min 20min 30min p3 Operation mode Free Starts recording at recording start and stops recording at recording stop SingleTrigger After a trigger event occurs the GX GP will record for the specified time and stop RepeatTrigger After a trigger event occurs the GX GP will record for the specified time and stop Then the GX GP will enter the trigger wait state p4 Data length 10min 20min 30min 1h 2h 3h 4h 6h 8h 12h 1day 2day 3day 5day 7day 14day 31day p5 Pre trigger 0 5 25 50 75 95 100 p6 Trigger source key Off On Query SEventData p1 Example Record event data in Free mode at a recording interval of 1 second Separate the data into different files every 2 hours SEventData 1 1s Free 2h Descriptio
145. to 9 characters SUCCESS_ Success EOVER_ Adjustment limit exceeded EDORMANT Internal processing error EHOSTNAME Host name lookup failed ETCPIP___ Internal processing error ESEND__ Packet transmission failed ETIMEDOUT Response timeout occurred EBROKEN_ Response packet corrupt ELINK_ _ Ethernet cable not connected 2 72 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 17 E Mail Client Log FLog The output in response to the command FLog Mail is shown below Syntax EA lt erlf gt yyyy mo dd_ hh mm ss ffffff eeeeeeeeeeee n uuu u lt crlf gt EN lt crlf gt yyyy mo dd hh mm ss Time of transmission yyyy Year 1900 to 2099 mo Month 01 to 12 dd Day 01 to 31 hh Hour 00 to 23 mm Minute 00 to 59 ss Second 00 to 59 ffffff Cause fixed to 6 characters ALARM _ Alarm mail TIMER Scheduled mail POWER _ Power on power failure recovery emory Low external storage memory ERROR Error notification REPORT Report file TEST _ Test mail eeeeceeeeeece Detailed error code fixed to 12 characters HOSTNAME Unableto resolve server host name TIMEOUT_ _ Communication with server timed out LINK _ Ethernet cable not connected UNREACH _ _ Unable to connect to server HELO Server rejected greeting message AILFROM Server rejected sender RCPITO _ Server rejected recipient DATA Server rejected the data transmission command TCPIP Internal processing error INVYAL Internal pr
146. torage Medium Free Space FMedia The output in response to the command FMedia CHKDSk is shown below Syntax EA lt crlf gt zzzzzzZz Kbytes free lt crlf gt EN lt crlf gt ZZZZZZZ Free space KB IM 04L51B01 17EN 2 75 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 21 Setting Data FCnf The output in response to the command FCnf is shown below Syntax EA lt crlf gt lt Response to a setting query gt EN lt crlf gt The setting data is output in the format of the response to a setting query 2 10 22 Decimal Place and Unit Information FChinfo The output in response to the command FChInfo is shown below Syntax EA lt crlf gt S Ccccc uuuuuuuuuu pp lt crlf gt S Cccc uuuuuuuuuu pp lt crlf gt S Ccccc uuuuuuuuuu pp lt crlf gt EN lt crlf gt s Data status N Normal D Differential input S Skip Ecce Channel number I O channel math channel communication channel uuuuu Unit information fiked to 10 characters Unused character positions are filled with spaces pp Decimal place 00 to 05 2 76 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 23 System Configuration FSysConf The output in response to the command FSysConf is shown below Syntax EA lt crlf gt Unit 00 00 ccccceccccecccccc uuuuuuuuuuuuuuuu defghij 01 cccccccccccccccc uuuuuuuuuuuuuuuu defghij 02 ccccccccccccccce uuuuuuuuuuuuuuuu defghij 03 Ccccccccccccccccc uuu
147. ttings while computation is in progress e If p2 Off you cannot set p3 or subsequent parameters e Communication channels are an option MC Esca LCD Sets the brightness and backlight saver of the LCD Syntax SLcd pl p2 p3 p4 p1 Brightness 1 to 6 p2 Backlight saver mode Off Not used Dimmer Dimmer TimeOff Off p3 Backlight saver saver time 1min 2min 5min 10min 30min 1h P4 Backlight saver restore Key Touch Key or touchscreen Keyt Touch Alarm Key touchscreen or alarm Query Slcd Example Set the LCD brightness to 3 and the screen backlight saver type to DIMMER Set the amount time of until the GX GP switches to saver mode to 5 minutes and the event that causes the GX GP to return from saver mode to the pressing of a key and tapping of the touchscreen SLcd 3 Dimmer 5min Key Touch Description e p3 and subsequent parameters are valid when p2 Off IM 04L51B01 17EN 2 29 s suods y pue spuewwog N 2 4 Setting Commands IsviewAngle View Angle Set the view angle Syntax SViewAngle pl pl View Angle Upper Easy to view from above Lower Easy to view from below Query SViewAngle Example Set the view angle so that it is easy to view from above SViewAngle Upper Description e This command is valid for the GX10 GP10 BsBackColor Screen Background Color Sets the screen background color Syntax SBackColor p1 p2 p3 p1 R value of RGB background colors 0 to 255 p
148. umber of digital output C contact modules installed 1 2 3 4 5 Y2 Number of digital input modules installed 1 2 IM 04L51B01 17EN 2 79 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 29 Instrument s Temperature Unit and Daylight Saving Time Installation Information _TYP The output in response to the command _TYP is shown below Output Example EA lt crlf gt DST Summer time Winter time lt crlf gt DEGF degF lt crlf gt EN lt crlf gt DST Daylight saving time enabled DEGF Fahrenheit temperature unit enabled 2 10 30 Instrument s Error Number Information _ERR The output in response to the command ERR is shown below Output Example EA lt crlf gt 10 1 2 Dram Error lt crlf gt 500 2 5 Media Error lt crlf gt EN lt crlf gt 2 80 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 31 Instrument s Unit Configuration Information _UNS or _UNR The output in response to the command _UNS or _UNR is shown below Syntax EA lt crlf gt pl p2 p3 p4 p5 p6 p7 p8 p9 pl0 lt crlf gt pl p2 p3 p4 p5 p6 p7 p8 p9 pl0 lt crlf gt Output Example EA lt crlf gt ain 0 GX20 13 123456789 xx xx xx xx xx xx R1 01 MT C2 0 10 0 lt crlf gt EN lt crlf gt EN lt crlf gt One line p1 to p10 contains configuration information of a single unit Pn Value Description pl Main Sub
149. uuuuuuuuuuuuu defghijklmnopqrs lt crlf gt 04 ccccccccccecccce uuuuuuuuuuuuuuuu defghijklmnopqrs lt crlf gt klmnopqrs lt crlf gt k k k k 05 cccceccccccecccce uuuuUuUuUUUUUUUUUU_defghijklmnopqrs lt crlf gt k k k k Imnopgrs lt crlf gt Imnopgrs lt crlf gt 06 ccccccccccecccccc uuuuuuuuuuuuuuuu defghijklmnopqrs lt crlf gt 07 ccccccccccecccce uuuuuuuuuuuuuuuu defghijklmnopqrs lt crlf gt 08 cccccccccccccccc uuuuuuuuuuuuuuuu defghijklmnopqrs lt crlf gt 09 cccccccccccccccc uuuuuuuuuuuuuuuu defghijklmnopqrs lt crlf gt EN lt crlf gt ecceeccecccccccc Module models that are actually installed Module not installed 16 hyphens GX90XA 10 U2 Analog input module GX90XD 16 11 Digital input module GX90YD 06 11 Digital output module uuuuuuuuuuuuuuuu Module models recognized by the GX Module not installed 16 hyphens GX90XA 10 U2 Analog input module GX90XD 16 11 Digital input module GX90YD 06 11 Digital output module defghijklmnopqrs Module status Normal x Error d to s express the following items d System data error Calibration value error Parameter error Reserved FRAM error Reserved Reserved Reserved A D error RJC error Reserved Reserved Reserved Reserved Reserved Reserved YOR QOQTOS SrRVUrTaQ MO IM 04L51B01 17EN 2 77 s suods y pue spuewwog N 2 10 ASCII Output Format 2 10 24 Inst

Download Pdf Manuals

image

Related Search

Related Contents

MULTIEVACUATOR    LC32D1320 / LC42D1320  SERVICE MANUAL - Aire Acondicionado Mitsubishi Electric  Poêle AKIMIX  Samsung Monitor Curved 34" SE790C Instrukcja obsługi  MSDS - 林純薬 – 電子材料  Toshiba Satellite C75-A-129  Mitsubishi Electronics WD-62530 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file