Home
Models GX10/GX20/GP10/GP20 Paperless Recorder
Contents
1. Description e f you omit p3 and p4 the maximum file size as large as the GX GP internal communication buffer allows will be output The file data will be stored in the data block of the binary output file see page 2 55 IM 04L51B01 17EN 2 45 sesuodses pue spuewwog H 2 5 Output Commands Free Space on the External Storage Medium 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 li rcnt Outputs Setting Data Outputs the GX GP setting data Syntax FCnf pl 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 IO MATH Description e f you omit p1 all settings will be read The setting data is output as the responses to the command queries The following table lists p1 and the corresponding commands pi Command IO SModeAI SModeDI SScaleOver SRangeAI SRangeDI SRangeDO SMoveAve SBurnOut SRjc SAlarmIO SAlmHysIO SAlmDlyIO STagIO SColorIO SZonelIlO SScalelO SBarIO SPartialIlO S S
2. 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 etc Upper 4 Bits 2 3 4 5 6 7 SP 0 P p space 1 A Q a q 2 B R b r 3 C S C S 4 D T d t 5 E U e u 2 6 F V f V m 7 G W g w bd 8 H X h x 9 l Y i y I J Z j Z K k L l M m N n O o m7 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 H 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 successfull
3. 9 9999999E 29 to 1 0000000E 30 0 1 0000000E 30 to 9 9999999E 29 The number of significant digits is 8 Query OCommCh p1 Example Set communication channel C001 to 2 5350 OCommCh C001 2 5350 Boewaii Starts or Stops the E mail Transmission Function Starts or stops the e mail transmission function Syntax OEMail pl pl Action type O Startthe 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 BonrReset Resets a Relative Timer Resets a relative timer Syntax ORTReset pl pl Timertype 0 All timers 1 to 4 Timer number Example Reset relative timer 2 2 48 IM 04L51B01 17EN 2 6 Operation Commands ORTReset 2 Blowrneset Resets the Match Time Timer Resets the match time timer Syntax OMTReset pl pl Timer type 0 All timers 1 to 4 Timer number Example Reset match time timer 2 OMTReset 2 Tocmarelay Outputs the DO Channel and Internal Switch Status Outputs the DO channel and internal switch status Syntax OCmdRelay pl pl Specification of a setting Express the setting Set a channel status as foll
4. 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 596 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 You cannot set DO channels or internal switches whose output type is set to Manual as output destination numbers B samHysio Alarm Hysteresis Sets the alarm hysteresis for Al and DI channels Syntax SAlmHysIO pl p2 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 pl p2 1 Example Set a 0 5 hysteresis on alarm 3 of channel 0002 SAlmHysIO 0002 3 5 Description 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 Eisaimmbtyio Alarm Delay Time Sets the alarm delay time for an Al or DI channel Syntax SAlmDlyIO pl p2 p3 p4 pl Channel number p2 Hour 0 to 24 p3 Minute 0 to 59 P4 Second
5. 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 sesuodses pue spuewwog H 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 instrument s 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 Description e For the ASCII output format see page 2 79 _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 enabled or disabled Syntax TYP Description e For the ASCII output format see page 2 80 _
6. EA crlf EN crlf 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 crlf EN crlf yyyy mo dd hh mm ss nnn uuu u crlf 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 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 H 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 crlf yyyy mo dd hh mm ss kkk k mmm m crlf EN crlf yyyy mo dd hh mm ss T
7. Ismessage Message Sets messages Syntax SMessage p1 p2 pl Message number 1 to 100 p2 Message string up to 32 characters UTF 8 Query SMessage p1 Example Assign character string MESSAGET7 to message number 77 SMessage 77 MESSAGE77 Esrimezone Time Zone Sets the time zone Syntax STimeZone pl p2 pl 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 You cannot use this command to configure settings while recording is in progress 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 gradually 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 You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress EspateFormat Date Format Sets the date format Syntax SDateFormat pl p2 p3 p1 Date format YYM
8. 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 BsRangeMath Computation Expression MT Sets the computation expression of a math channel Unused Channels Syntax SRangeMath pl p2 pi Channel number p2 Computation expression on off Off Used Channels Syntax SRangeMath p1 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 Decimal Place 0 to 5 p6 Span lower limit 9999999 to 99999999 p7 Span upper limit 9999999 to 99999999 p8 Unit 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 Ablank character string cannot be used in expressions e You cannot set the span upper and lower limits to the
9. S S BandIO SAlmMarkIO SValueIO CalibIO MathBasic SKConst SWconst RangeMath STlogMath RolAveMath SAlarmMath SAlmHysMath SAlmDlyMath STagMath SColorMath SZoneMath SScaleMath SBarMath SPartialMath SBandMath SAlmMarkMath SRangeCom SValueCom SWDCom SAlarmCom SAlmHysCom SAlmDlyCom STagCom SColorCom SZoneCom SScaleCom SBarCom SPartialCom SBandCom SAlmMarkCom SGroup STripLine SSclBmp MATH n COMM GROUP IP SIpAddress SDns SDhcp SECURITY SSecurity SOpePass SOpeLimit SUser SUserLimit e For the output format see page 2 76 IN Fchinfo 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 f you omit p1 and p2 all channels will be output e For the output format see page 2 76 ll rsysconr 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 output 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 Mod
10. User s SMART ETE Manual Models GX10 GX20 GP10 GP20 Paperless Recorder Communication Command User s Manual vigilantplant YOKOGAWA 4 IM 04L51B01 17EN Yokogawa Electric Corporation 2nd Edition Introduction Notes Trademarks Revisions 2nd Edition February 2013 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 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 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 Copying or reproducing all or any part of the contents of this manual without the permission of YOKOGAWA is strictly prohibited 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 vigilantplant is a registered trademark of Yokogawa Electric Corporation e SMARTDACt is a trademark of Yokogawa Electric Corporation Microsoft and Windows are registered trademark
11. WORDOOS OPassword PASS001 WORD005 WO RD005 Description e For the characters that you can use for the password see Appendix 1 Bowath 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 You cannot use this command while the GX GP is saving or loading setup data lBlosavecont Saves Setting Data Saves the GX GP setting data to the GX GP external storage medium Syntax OSaveConf p1 p2 p3 p1 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 SETFILEI Description e f you omit p3 the default setting file comment will be added You can edit the default setting file comment from the GX GP front panel lBlocommch Sets a Communication Channel to a value Sets a communication channel to a value Syntax OCommCh p1 p2 p1 Communication channel p2 Value The setting range is as follows
12. 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 f 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 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 There are two types of user defined character strings depending on the type of characters that can be used Character 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
13. 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 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
14. 09 Conflict 10 Gone 11 Length Required 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 crlf yy mm dd hh mi ss lll l fff crlf yy mm dd hh mi ss DIR dddddddd crlf EN crlf 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 Storage Medium Free Space FMedia The output in response to the command FMedia CHKDSk is shown below Syntax EA crlf ZZZZZzz Kbytes free lt crlf gt EN crlf ZZZZZZZ Free space KB IM 04L51B01 17EN 2 75 s suods y pue spuewwog H 2 10 ASCII Output Format 2 10 21 Setting Data FCnf The output in response to the command FCnf is shown below Syntax EA crlf Response to a setting query EN crlf The setting data is output in the format of the respon
15. 9999999 to 99999999 p6 Unit up to 6 characters UTF 8 Query SRangeCom p1 Example Measure 0 00 to 100 0096 on communication channel 025 SRangeCom 025 0n 2 0 10000 2 Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress f p2 Off you cannot set p3 or subsequent parameters You cannot set the span upper and lower limits to the same value svatluecom Preset Operation MC Sets the preset operation of a communication channel Syntax SValueCom pl p2 p3 p1 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 Example At power on replace the communication channel 025 value with the preset value of 0 5 SValueCom 025 Preset 0 5 E swpcom 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 H 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 Rep
16. FLog ssssseeeeneneennne 2 72 2 10 17 E Mail Client Log Flog nem een ene itae ee niei e 2 73 2 10 18 Web Log FLog 2 10 19 External Storage Medium and Internal Memory File List FMedia sssss 2 75 IM 04L51B01 17EN Contents 2 11 Appendix Appendix 1 Appendix 2 Appendix 3 Appendix 4 Appendix 5 2 10 20 External Storage Medium Free Space FMedia sssssseenseeeneee 2 75 2 10 21 Setting Data FCnf 2 10 22 Decimal Place and Unit Information FCHIMIO ia Wa a aa 2 76 2 10 29 System Gorifiguration E SVSCOHf ooo colt onere tre e eee ence 2 77 2 10 24 Instrument Manufacturer MFG 2 10 25 Instrument s Product Name INF 2 10 26 Instrument s Basic Specifications COD ii aa 2 10 27 Instrument s Firmware Version Information VER 2 10 28 Instrument s Option Installation Information OPT zwa wasaini kiua kiiza 2 10 29 Instrument s Temperature Unit and Daylight Saving Time Installation Information TYP 2 80 2 10 30 Instrument s Error Number Information ERR scssnsa rsen aa a 2 80 2 10 31 Instrument s Unit Configuration Information UNS or UNR ssesseee 2 81 2 10 32 Instrument s Module Configuration Information MDS or MDR 2 82 Format of the Data Block of Binary Output isi aaa AE s 2 83 2 11 1 Most Recent Channel Data FData 2 83 2 11 2 Channel FIFO Data FFifoCur 2
17. 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 gt 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 1byte 1byte 1byte 1byte 1byte 1 byte 2 bytes Ee ot vo oe win see enc Additional information gt 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 sesuodses 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
18. Sets the language to use Syntax SLang pl pl Language Japanese English German French Chinese Russian Korean 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 e f you change the language with this command the GX GP may restart lE sremp Temperature Unit Sets the temperature unit Syntax STemp pl p1 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 BispPoint Decimal Point Type Sets the decimal point type Syntax SDPoint 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
19. 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 Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress You cannot choose a recording interval that is shorter than the scan interval You cannot choose a recording interval that is not an integer multiple of the scan interval This setting is valid when event data recording is enabled recording mode of the SMemory
20. conjunction with the word WARNING or CAUTION 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 e P i Howto Use This Manual 3 2 acikcto raciste aac neta adc nacta sa ene nx aci ca aza ii Conventions Used in This Manual ariete cone nho rna ea ua coenae ec cesta die a ya Ree caa daa nagd ii Using Dedicated Commands General 1 1 1 2 Operations over an Ethernet Network ssssssssssssseseseeeee ener nnne rnnt nnne 1 1 1 1 1 Preparing the Instrument 1 1 1 1 2 Sending Commands and Receiving Responses sse 1 1 Operations over the Serial Interface essssssssssssssseseseneseee nennen nnne 1 2 1 2 1 Preparing the Instrument 1 2 1 2 2 Sending Commands and Receiving Responses sssssssseenee 1 2 1 2 3 IRS 232 Connection Procedure MUR 1 3 1 2 4 RS 422 485 Connection PIO SA UA uice erret na ENNET AE EENES 1 6 Command
21. crlf CR Model pre installed with digital output module s and or digital input module s crlf EN crlf 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 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 CRY4Y2 Model pre installed with digital output modules and or digital input modules Y4 Number 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 H 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 crlf DST Summer time Winter time lt crlf gt DEGF degF crlf 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 crlf 10 1 2 Dram Error lt crlf gt 500 2 5 Media Error lt crlf gt EN crlf 2 80
22. f p2 Read set the communication channel in p7 p8 and p9 e Set the same type of channel in p8 and p9 Math channels are an option MT 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 IM 04L51B01 17EN 2 39 sesuodses pue spueuluio 2 H 2 4 Setting Commands Eisserver 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 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 B srimeout Communication Timeout Sets the communication timeout function Syntax STimeOut p1 p2 p1 Timeout function Off 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 Esrirormat FTP Server Directory Output Format Sets the FTP server directory output format Syntax SFtpFo
23. when there is no user interaction Syntax SAutoJump p1 pi 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 BscaiFormat Calendar Display Format Sets the calendar display format Syntax SCalFormat pl p1 1st weekday Sun Mon Query SCalFormat Example Set the first weekday to Monday SCalFormat Mon IsparDirect 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 EschgMonitor Value Modification from the Monitor Enables or disables the feature that allows values to be changed from the monitor Syntax SChgMonitor pl pl Disable or enable Off On Query SChgMonitor Example Enable the feature that allows values to be changed from the monitor SChgMonitor On lJ STrdWave Trend Waveform Display Sets the trend waveform display mode Syntax STrdWave p1 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 Istrdscale Scale Set the scale Syntax STrdScale p1 p2 p3 pl Number of digits to display for scale value
24. 2 Year Apr 17 21 30 Re peat Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress f 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 p1 p2 p3 p4 p5 p6 p7 p8 SEventAct p1 p2 p3 p4 p5 p6 p7 p8 rp9 SEventAct p1l p2 p3 p4 p5 p6 p7 p8 p9 p10 pl Event action number 1 to 50 p2 Type Off On p3 Eventtype see the table below P4 Source element number see the table below p5 Alarm level see the table below 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 Repeat IM 04L51B01 17EN 2 27 sesuodses pue spueuiuio 2 H 2 4 Setting Commands 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
25. 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 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 p1 Example For field number 3 set the field title to OPERATOR and the character string to RECORDERI1 STextField 3 OPERATOR RECORD ER1 Description You cannot use this command to configure settings while recording is in progress lispirectory Name of Directory to Save Data Sets the name of the directory to save data Syntax SDirectory pl p1 Directory name up to 20 characters ASCII Query SDirectory Example Set the directory name to DATAO SDirectory DATAO Description IM 04L51B01 17EN 2 11 sesuodses pue SPUBWLWO 9 H 2 4 Setting Commands Forthe characters that you can use in the directory name p1 see Appendix 1 The following character strings cannot be used for directory names Character String AUX CON PRN NUL CLOCK COMO to COM9 LPTO to LPT9 You cannot use a character string that st
26. 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 C Communication channel error cccc Channel number 1 0 channel math channel communication channel a1a2a3a4 81 Alarm status level 1 82 Alarm status level 2 a3 Alarm status level 3 a4 Alarm status level 4 a1 82 a3 and a4 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 f Low limit on rate of change alarm T Delay high limit alarm t Delay low limit alarm Space No alarm uuuuuu Unit fixed to 10 characters Output flush left Unused character positions are filled with spaces IM 04L51B01 17EN 2 57 sasuodsey pue spuewwog H 2 10 ASCII Output Format 2 10 2 f 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 073 08 09 EA crlf aaa crl aaa crl aaa crl aaa crl aaa crl aaa crl aaa crl aaa crl aaa crl aaa crl EN crlf 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 i
27. 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 time 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 SAlmMarkCom Measurement range MC Preset operation MC Watchdog timer MC Alarm MC Alarm hysteresis MC Alarm delay time 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 SR
28. 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 crlf pl p2 p3 p4 p5 p6 p7 p8 p9 pl0 lt crlf gt p1 p2 p3 p4 p5 p6 p7 p8 p9 pl0 crlf Output Example EA crlf ain 0 GX20 1J3 123456789 xx xx xx xx xx xx R1 01 MT C2 0 10 0 lt crlf gt EN crlf EN crlf One line p1 to p10 contains configuration information of a single unit Pn Value Description pl Main Sub 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 COMM LAN P4 123456789 Product serial number p5 xx xx xx MAC address XX XX XX pe R1 01 Firmware version The output format is R version p7 MT C2 Options Codes of installed options delimited by spaces p8 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 H 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 Syn
29. 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 Channeltype IO I O channel Math Math channel IM 04L51B01 17EN 2 35 sesuodsey pue spuewwog H 2 4 Setting Commands 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 f p2 Read set the communication channel in p6 p7 and p8 Setthe same type of channel in p7 and p8 Math channels are an option MT 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 Isipaddress IP Address Information Sets the IP address information Syntax SIpAddress pl 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 SIpAddress 192 168 111 24 255 255 255 0 192 16
30. Lock a through k 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 sesuodses pue spuewwog H 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 crlf IP Address XXX XXX XXX XXXXCrlf Subnet Mask XXX XXX XXX XXX crlf Default Gateway XXX XXX XXX XXX crlf Primary DNS XXX XXX XXX XXXXCcrlf Secondary DNS xxx Xxx Xxx xxx crlf Host AI IYYYYYYYYVYYYYVYYYYYYY crlf Domain izzZZZZZZZZZZZZZZZZZz orlf EN crlf XXX IP address number 0 to 255 yyy 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 is shown below Syntax EA crlf aaa bbb ccc ddd crlf EN crlf 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 Bit Name Description Memory sampling Set to 1 during recording Computing Set to 1 while
31. Off On Modbus M Modbus master status Overview List display type Modbus C Modbus client status Overview List display type Query SMonitor pl1 Example Set the trend display to all channel display SMonitor Trend All Description e Modbus_M and Modbus C are an option MC suuttiPattern Multi Panel Division Sets the multi panel multi panel pattern Syntax SMultiPattern pl p2 p3 pl 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 This command is only valid for the GX20 GP20 Eisuuttikina Multi Panel Set the screens to display on the multi panel Syntax SMultiKind pl p2 p3 p4 p1 Registration number 1 to 20 p2 Screen position 1 to 6 p3 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 Action Event log Log Error Log Error log Commu Log Communication log Ftp Log FTP log
32. 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 ll rsnap 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 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 O Refer to your own user information 1 Refer to information about all users who are currently logged in Example Refer 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 Bi F
33. 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 p1 p2 1 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 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 Bsuomekina Standard Screen Set the standard screen Syntax SHomeKind pl p2 p1 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 Action Log Event log Error Log Errorlog Commu Log Communication log Ftp Log FTP log Web Log Web log Mail Log Maillog 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
34. 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 FData 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 H ENS UU Bank aaa Appendix Appendix 1 ASCII Character Codes The ASCII character code table is shown below
35. at the 5095 position Sets the waveform display zone of an Al DI or DO SPartiallO 0001 0n 50 7500 channel Description Syntax SzoneIO p1 p2 p3 You cannot set this on a Skip channel p2 is fixed to p1 Channel number Off p2 Zone lower limit 0 to 95 e f p2 Off you cannot set p3 or subsequent p3 Zone upper limit 76 5 to 100 parameters Query SZoneIO p1 Example Set the waveform zone of channel 0001 waveform to 0 to 30 SZonelO 0001 0 30 Isscatelo e P2 On can be specified when the difference between the span upper and lower limits is 2 digits or greater spanaio Color Scale Band Scale Display Sets the color scale band of an Al channel Sets the scale display of an Al DI or DO channel Syntax SBandIO p1 p2 p3 p4 p5 06 p7 Syntax SScalelO p1 p2 p3 pl Channel number pl Channel number p2 Color scale band Off In Out p2 Scale display position Off 1 to 10 p3 R value of the color scale band RGB p3 Number of scale divisions 4 to 12 C10 colors 0 to 255 Query SScaleIO p1 P4 G value of the color scale band RGB Example Display the channel 0001 scale at display colors 0 to 255 position 1 Display four equally spaced main p5 B value of the color scale band RGB scale marks colors 0 to 255 SScalelO 0001 1 4 p6 Upper limit of the color scale band display span lower limit to span upper limit IM 04L51B01 17EN 2 17 sesuodses pue spueuiuio 2 H 2 4 Setting Commands p7 Lower limit
36. color of a communication channel Syntax SColorCom p1 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 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 pl p2 p3 p1 Channel number p2 Zone lower limit 76 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 Isscalecom Scale Display MC Sets the scale display of a communication channel Syntax SScaleCom pl1 p2 p3 p1 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 sBarcom 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 comm
37. commas for irrelevant parameters invalid even if a value is specified Event type DI is the channel of the DI module that has been set to remote module SModeDI command Math channel and flag are an option MT Communication channels are an option MC ISReport Report Type MT Sets the type of report to create No Reports Syntax SReport pl p1 Type Off Hourly and Daily Reports Syntax SReport pl p2 p1 Type Hour Day p2 Time to create reports Hour HH 00 to 23 Daily and me 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 Mun Reports Syntax SReport pl p2 p3 pl 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 1h Day Custom Rebus Syntax SReport p1 p2 p3 p4 p5 pl Type Custom p2 Recording interval 10min 15min 30min 1h p3 RI creation interval 4h 6h 8h 12h 24h P4 Time to create reports Hour HH 00 to 23 p5 na to create reports Minute MM 00 to 59 Query SReport p1 Example Create daily 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 You cannot use this command to configure settings while recordin
38. 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 Unit SRangeDO 0203 Alarm 0 1 Unit Energ ize Or Hold Normal Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress f p2 Manual you cannot set p7 or subsequent parameters fp7 And or Or you cannot set the reflash time i 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 movin
39. ent Edu ges 2 53 2 9 1 Affirmative Response For commands other than output request commands 2 53 2 9 2 Negative Response 2 53 2 9 3 Data Output Response sssssssss 2 54 2 9 4 Output in Response to RS 422 485 Commands sss 2 56 Pee Beside D 2 57 2 10 1 Most Recent Channel Data FData ssesssssssssssssseeeseeetnnnr tnnt nennt 2 57 2 10 2 Most Recent DO Channel Status FRelay ssssssssseseeeneeenene 2 58 2 10 3 Internal Switch Status FRelay 2 10 4 Users Who Are Currently Logged In FUser sssessseseseeeeeneeeennne ne 2 60 2 10 5 All Users Who Are Currently Logged In FUser sssseeemnm 2 61 2 10 6 Instrument Address FAddr 210 7 JGX Status FSlal nein eee eect ee DL EE ceci te AA cbe dotes ode bos 210 8 Alarm Summary FLO issie 2 i toes rine Deep poten bi earners decet p ped Duda dedos 2 10 9 Message Summary FLog 2 10 10 Event log FLO 0 2 5 1 irri rete AS eats eet LN rte e cae sube dus 2 10 14 SErtotlog EbOg 4er acetates Eesti hese Oa Deed ed END ie i 2 10 12 Address Setting Log FLog 2 10 13 General Commu nication Log FLog 22 1 iere ilr as cecus EDD a ded 2 69 2 10 14 Modbus Commo nication Log FEog uostri trice deret caen ett reta c Lm cca cbe dn 2 70 2 10 15 FTP Client Log FLog 2 10 16 SNTP Time Adjustment Client Log
40. installed MM 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 MM 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 Q H Q OO S Srmmwu Hr 5i MO IM 04L51B01 17EN 2 77 s suods y pue spuewwog H 2 10 ASCII Output Format 2 10 24 Instrument Manufacturer MFG The output in response to the command MFG is shown below Outputs the instrument manufacturer Output Example EA crlf YOKOGAWA crlf EN crlf 2 10 25 Instrument s Product Name INF The output in response to the command INF is shown below Output Example EA crlf GX20 GP20 123456789 xx XX XX XX XX XX RX XX 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
41. is NaN 7 Communication error 5 S o OolOdA o NLAO 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 Y Channel number Math channel 6 bits 10 bits aa gt Y Reserved Channel number Communication channel 6 bits 10 bits Reserved y Y Channel number Alarm 32 bits Indicates the alarm status 8 bits 8 bits 8 bits 8 bit gt gt n 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 0 to 5 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 sesuodses pue spuewwog H 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
42. 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 1to50 Display group GroupChange 1 to 50 change Relative 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 RateChangei_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 O0n DI 0101 Rising Mem ory Start Description 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 Write only delimiters
43. of the color scale band display span lower limit to span upper limit Query SBandIO p1 Example For channel 0001 set a blue band in the range of 0 5000 to 1 0000 SBandIO 0001 1n 0 0 255 5000 10000 Description e You cannot set this on a Skip channel p2 is fixed to Off e f 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 SAlmMarkIO p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 pl11 p12 p13 p14 p15 pi 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 0to 255 p5 G value of the RGB mark colors for alarm 1 0to 255 p6 B value of the RGB mark colors for alarm 1 0to 255 p7 R value of the RGB mark colors for alarm 2 0to 255 p8 G value of the RGB mark colors for alarm 2 0to 255 p9 B value of the RGB mark colors for alarm 2 0to 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 0to 255 p14 G value of the RGB mark colors for alarm 4 0to 255 p15 B val
44. one instrument at any given time When you open an instrument with the ESC O command you can send commands to it f you open an instrument with the ESC O command any instrument that is already open will be automatically closed Use CR LF for the terminator 2 56 IM 04L51B01 17EN 2 10 ASCII Output Format This section explains the ASCII output format In the following format descriptions the terminator is denoted by crlf One space ASCII code 0x 20 is denoted by an underscore Consecutive spaces are denoted by alternating underscores and overscores Anl 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 crlf DATE yy mo dd lt crlf gt TIME hh mm ss mmmt crlf S CcCcCCa1a2asa4uuuuuuf ddddddad S cccca1a2asa4uuuuuuf ddddddad S cccca1a2asa4uuuuuuf ddddddad E pp crlf E pp crlf E pp crlf EN lt crlf gt yy mo dd Data time 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
45. operation 2 33 FL SFailSts Instrument status to output FL 2 34 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 authentication 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 SSntpCnct SModClient SModCList SModCCmd SServer SKeepAlive STimeOut SFtpFormat SModDelay SModLimit SModList Scheduled transmission times 2 38 SNTP client 2 39 Modbus client operation MC 2 39 Modbus client connection 2 39 destination server MC Modbus
46. p2 is fixed to Off e f 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 sBanaMath Color Scale Band MT Sets the color scale band of a math channel Syntax SBandMath pl p2 p3 p4 p5 p6 p7 pi 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 SBandMath 015 1n 0 0 255 5000 10000 Description e You cannot set this on a Off channel p2 is fixed to Off f p2 Off you cannot set p3 or subsequent parameters e For details on RGB values see Description of the SColorlO command saimMarkMath 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 p10 p11 p12 p13 p14 p15 pi 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 th
47. panel p2 Display group number Multi panel registration number if p3 Multi Query SHomeKind Example Set the standard screen to trend of display group 1 SHomeKind Trend 1 Description Report is an option MT e Modbus M and Modbus C are an option MC 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 Multi panel registration number if p3 Multi p5 Favorite screen 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 screen name to Favorite01 SFavoriteKind 1 0n Trend 2 Favori te01 Syntax IM 04L51B01 17EN 2 43 sesuodsey pue spuewwog H 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 S
48. suser User Settings Register users Syntax SUser pl 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 Username 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 p1 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 P rto Key Comm Query Description e If p1 1 p2 is fixed to Admin In addition you cannot set p3 to Comm fp2 Admin p6 is fixed to Off 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 You cannot use this command to configure settings when logged in as a user when the user level is User Eisusen imit Authority of User Sets user operation limitations Syntax SUserLimit p1 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 p1 Example Set user limitation number 1 so th
49. that you will use must meet the following requirements 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 When Not Using the Login Function You can start using commands immediately after communication is established with the GX GP 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 je39uo5 spueuiuio2 poj3eoipeg 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 outpu
50. 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 sesuodses pue spuewwog H 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 crlf EN crlf yyyy mo dd hh mm ss xxX xxx xxx xxx mmmmmmmm uuu u ccc nnn crlf yyyy mo dd hh mm ss Time of error occurrence mmrmmmmmm 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 Error Message 00 Continue 01 Switching Protocols 01 Created 02 Accepted 03 Non Authoritative Information 04 No Content Reset Content Partial Content Bad Request 01 Unauthorized 03 Forbidden 04 Not Found 05 Method Not Allowed 06 Not Acceptable Ce JJ Proxy Authentication Required B re i re OD De OOM LOM LON MONE LONE mm c C c e 08 Request Time out
51. 0 to 59 Query SAlmDlyIO p1 Example Set the channel 0001 alarm delay time to 2 minutes 30 seconds SAlmD1yIO 0001 0 2 30 Description Setthe 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 STag10 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 TI002 STagIO 0001 SYSTEMI TI002 Escoioro Channel Color Sets the color an Al DI or DO channel Syntax SColorIO pl 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 Description Query SColorIO p1 Example Set the channel 0001 display color to red SColorIO 0001 255 0 0 2 16 IM 04L51B01 17EN 2 4 Setting Commands Description The RGB values for different colors are indicated in EsBaro the following table Color R G B Note Bar Graph Display Red 255 0 0 Sets the bar graph display of an Al DI or DO channel Green 0 153 51 Syntax SBarlO pl p2 p3 Blue 0 51 255 Blue violet 19 51 204 GX10 GP10 pl Channel number 102 51 204 GX20 GP20 p2 Bar display base position Brown 153 5
52. 0ms 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 B suoaepi DI Module Sets the mode of a DI module Syntax SModeDI p1 p2 p3 p1 Unit number 0 p2 Module number 0 to 9 p3 Mode Normal Remote Normal Dl input Remote Remote control input Query SModeDI p1 p2 Example Set the module whose module number is 2 as a remote control input module SModeDI 0 2 Remote Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress 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 measurement 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 You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress IM 04L51B01 17EN 2 9 sesuodses pu
53. 1 0 Lower Lower Orange 255 153 51 Center Center Yellow green 153 204 51 GX10 GP10 Upper Upper 170 221 51 GX20 GP20 p3 Number of scale divisions 4 to 12 Light blue 119 170 221 GX10 GP10 Query SBarIO pl 153 204 255 GX20 GP20 Example Display the measured values of channel 0001 Violet 204 102 204 GX10 GP10 on a bar graph with the center set as the base 221 153 221 GX20 GP20 position Center Display four equally spaced Gray 153 153 153 main scale marks Lime 102 255 0 SBarIO 0001 Cent 4 Cyan 0 255 255 BEES MAS Dark blue 0 0 153 Yellow 255 255 0 Light gray 204 204 204 SPartiallO Purple 153 0 153 GX10 GP10 136 0 136 GX20 GP20 Partial Expanded Display Black 0 0 0 Sets the partial expanded display of an Al channel Pink 255 17 153 waveform Rosy brown 204 153 153 Syntax SPartiallO pl p2 p3 p4 rae oe iar 255 153 GX2OIGP2O po Channel numibes Dark gray 102 102 102 p2 Partial expanded On Off On Off Olive 153 153 0 p3 Partial expanded boundary position 76 1 Dark cyan 0 153 153 to 99 Spring green 0 204 153 GX10 GP10 P4 Partial expanded boundary value span 0 221 119 GX20 GP20 lower limit 4 1 digit to span upper limit 1 digit WI Query SPartiallO p1 SZonelO Example For channel 0001 whose measurement range is O to 1 0000 V display the measured value of Waveform Display Zone 0 7500 V
54. 600 2 0n lisiea 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 AlarmAll 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 p1 Tag up to 32 characters UTF 8 p2 Tag number up to 16 characters ASCII Query SInstruTag Example Set the tag to assign to the GX GP to GX and the tag number to 12345 SinstruTag GX 12345 EiscontCcmt Setting File Comment Sets the setting file comment Syntax SConfCmt pl pl Setting file comment up to 50 characters UTF 8 Query SConfCmt Example Set SETTING FILE COMMENT SConfCmt SETTING FILE COMMENT B susbinput USB Input Device Specifies the USB input device Syntax SUsbInput pl p1 USB input device type Japanese 109 Japanese keyboard English 104 English keyboard Query SUsbInput Example Specify the English keyboard SUsbInput English 104 Isswitch Internal Switch Operation Sets the internal switch operation Syntax SSwitch p1 p2 p3 p1 Internal switch number 1 to 100 p2 Output type Output alarms Alar
55. 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 _ expresses an underscore 2 10 15 FTP Client Log FLog The output in response to the command FLog FTP is shown below Syntax EA crlf yyyy mo dd hh mm ss xxxxxxxxx k fff crlf EN crlf 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 XXXXXXXXX Detailed code fixed to 9 characters TCPIP Internal processing error HOSTADDR IP address not set TNAME Unable to resolve server host name T O n UNREACH Unable to connect to server CONNECT Unable to connect to data port SEND Transmission to data port failed RECV Reception from data port failed REPLY Received reject response from server SERVER _ Invalid server response CMDSEND Error in sending command to control port CMDRECV Error in receiving command from contro
56. 8 111 20 Description 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 scient Client Function Sets the client function Syntax SClient pl p2 p1 Client type FTP SMTP SNTP MODBUS p2 Client Function Off On Query SClient p1 Example Use the FTP client function SClient FTP On Description e Modbus client is valid on models with the MC communication channel option Espns 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 pl 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 SDns pl 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 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 Ispncp DHCP Client Sets t
57. 86 2 11 3 FIFO Data Read Range FOCUS 2 87 ASCII Character COdeS cirean ereraa bta Ese vade E ere bora ga a v Ra ME esa a SE E ARE DECRE RE Login PROCC GUNG ua KWA taeda eed inte E E LT When Using the EogirF rnctlom uec waa When Not Using the Login Function Output Flow Chart of External Storage Medium Files and File Lists Example for Outputting File aaaa dtd ii m Example for Outputting a File List 2 ice ciet aa FIFO Data Output Flow Chart eren ettet retinet Malai Overview ofthe FIFO BUNE soir tor eit DR ehe cerent inedia udi Facete ta celos deis n Esa Example of FIFO Buffer OperatlOl 2 2 reete rna Se emen nte usd RO aede saec ee ER nada Rs Check Sum Calculation Method IM 04L51B01 17EN Chapter 1 Using Dedicated Commands General 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
58. 999999 P4 Calculation type Off p8 Decimal Place 0 to 5 p5 Span lower limit p9 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 DI 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 Description 7 zi i on ere on poe You cannot use this command to configure settings p8 Reference channel number while recording is in progress Scaling Channels You cannot use this command to configure settings caling Cha while computation is in progress Syntax SRangeAI p1 p2 p3 p4 p5 p6 p7 p8 p e f p2 TC RTD DI you cannot specify p4 Sart 9 pl10 pll f p2 GS you cannot specify p4 Off Delta pl Channel number e f 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 p10 Scaling upper limit p11 Unit up to 6 c
59. Aaar Outputs the IP Address Outputs the GX GP IP address information Syntax FAddr pl p1 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 li rLog Outputs the Log Outputs the alarm summary message summary error log etc Syntax FLog pl p2 pl Status output 0 ALAR Alarm summary SG Message summary EVENT Event log ERROR Error log DHCP Ethernet address setting log GENERAL General communication 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 lBl ruedia Outputs External Storage Medium and Internal Memory Information Outputs external storage medium and internal memory information File list Syntax FMedia pl p2 p3 p4 p1
60. ERR Outputs the Instrument s Error Number Information Outputs the error description that corresponds to the error number Syntax _ERR pl p2 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 B uNsor 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 Imps 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 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 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 o
61. MDD Year month day MMDDYY Month day year DDMMYY Date month year p2 Delimiter Slash k Dot period Hyphen p3 Month display Digit Display the month using numerals 1 to 12 2 32 IM 04L51B01 17EN 2 4 Setting Commands Letter Display the month using characters Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Query SDateFormat Example Set the date format to year month day and display the month using numerals SDaeFormat YYMMDD Digit Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress Ispst Daylight Saving Time Set the daylight saving time Syntax SDst p1 p2 p3 p4 p5 p6 p7 p8 p9 p1 Enable or disable Use Not p2 Start time 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 lsiang Language
62. 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 DRVO Output the file lists of items 10 to 20 in the DRVO directory FMedia DIR DRVO 10 20 Description 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 Ifyou 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 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
63. P returns a response After this process the connection will be cut off This includes Ethernet connections to other devices Modbus server FTP server etc Blonit Clears Measured Data and Initializes Setting Data Clears the measured data in internal memory The command also initializes setting data Syntax OInit pl 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 pl 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 filter value to 255 127 63 31 CSFilter 255 127 63 31 Description The status filter is applied to each communication connection IcLogin Log
64. 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 IM 04L51B01 17EN 2 33 sesuodses pue spuewwog H 2 4 Setting Commands Esraiists Instrument Status to Output FL Sets the instrument status to output from the fail relay DO channel Syntax SFailSts p1 p2 p3 p4 p5 pi 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 computation 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
65. S 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 When the GX GP receives a connection close command ESC C 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 1 2 Operations over the Serial Interface 1 2 3 RS 232 Connection Procedure Connect a cable to the 9 pin D sub RS 232 connector Connection Connector pin arrangement and signal names 21 Each pin corresponds to the signal indicated below The following table shows the signal name RS 232 standard JIS and ITU T standard signals Pin Signal Name Name Meaning JIS ITU T RS 232 2 RD 104 BB RXD Received data Input signal to the GX GP 3 SD 103 BA TXD Transmitted data Output signal from the GX GP 5 SG 102 JAB GND Signal ground Signal ground 7 RS 105 CA RTS Requestto send Handshaking signal when receiving data from the PC Output signal from the GX GP 8 CS 106 JCB CTS Clear to send Handshaking signal when receiving data from the PC Input signal to the GX GP 1 Pins 1 4 6 and 9 are not used Signal direction OL lt e Connection example OFF OFF XON XON PC GX GP SD 3 SD RD 2 RD RS 7 RS cs 8 CS SG 5 SG
66. SCII 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 crlf yyyy mo dd hh mm ss ttt kkk cccc lss crlf EN crlf 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 Geoc Channel number 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 T Delay high limit alarm E Delay low limit alarm 2 64 IM 04L51B01 17EN 2 10 ASCII Output Format 2 10 9 Message Summary FLog The
67. XON RS XON RTS PC SD RD Lo RS CS SG GX GP 3 SD 2 RD 7 RS 4 8 CS 5 SG RS Request to send Ready to receive CS Clear to send Ready gt 8 SD Send data RD Received data CS RS CTS RTS PC GX GP SD 3 SD RD 2 RD RS 7 RS cS 8 cs SG 5 SG The connection of RS on the PC and CS on the GX GP is not necessary However we recommend that you wire them so that the cable can be used in either direction IM 04L51B01 17EN 1 3 je39uo5 spueuiuio2 pojeoipeg Buisn 1 2 Operations over the Serial Interface Handshaking When using the RS 232 interface for transferring data it is necessary for equipment on both sides to agree on a set of rules to ensure the proper transfer of data The set of rules is called handshaking Because there are various handshaking methods that can be used between the GX GP and the PC you must make sure that the same method is chosen by both the GX GP and the PC You can choose any of the four methods on the GX GP in the table below Hand Data transmission control Data Reception Control shaking Control used when sending data to a PC Control used when receiving data from a PC Software Hardware No Software Hardware No Handshaking Handshaking handshaking Handshaking Handshaking handshaking OFF OFF Yes Yes XON XON Yes Ye
68. arts or ends with a period or space for directory names Esriteneaa File Header Sets the file header character string Syntax SFileHead pl p1 File header up to 50 characters UTF 8 Query SFileHead Example Set the file header to GX DATA SFileHead GX DATA EsriieName File Naming Rule Sets the file naming rule for data files Syntax SFileName pl p2 pl 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 If the batch setting is disabled SBatch p1 Off you cannot specify p1 Batch e If p1 Batch p2 is invalid For the characters that you can use in the specified file name p2 see Appendix 1 BsmediaSave Automatic Data File Saving Sets the auto saving of data files to an external storage medium Syntax SMediaSave pl1 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 EsriteFormat Display Event Data File Format Sets the file format of display data files and event data files Syntax SFileFormat pl p1 File format Binary Text Query SFileFormat Example Create files in
69. at changing settings is prohibited SUserLimit 1 ChangeSet Lock Description You cannot use this command to configure settings when logged in as a user when the user level is User B suonitor Monitor Screen Display Information Sets the monitor screen display information SMonitor pl p2 p1 Information type see the table below p2 Status see the table below Syntax IM 04L51B01 17EN 2 41 s suods y pue spuewwog H 2 4 Setting Commands Information Type Status p1 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 7 8 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 Alarm Sort Time Channel Level Type Alarm sort item Alarm Order Alarm sort order Ascending Descending Message Sort Message sort item Datatime WriteTime Message Group User Ascending Descending Disp 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
70. 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 ps 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 H ENS UU Bank aaa
71. channel 025 set a blue band in the range of 0 5000 to 1 0000 SBandCom 025 1n 0 0 255 5000 10000 Description You cannot set this on a Off channel p2 is fixed to Off f p2 Off you cannot set p3 or subsequent parameters For details on RGB values see Description of the SColorlO command IM 04L51B01 17EN 2 25 sesuodses pue spueuiuio 2 H 2 4 Setting Commands E sAimMarkCom Alarm Mark MC Sets the display of the marker that indicates the specified alarm position of a communication channel Syntax SAlmMarkCom pl p2 p3 p4 p5 p6 p7 p 8 p9 p10 p11 p12 p13 p14 p15 pi 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 0to 255 p5 G value of the RGB mark colors for alarm 1 0to 255 p6 B value of the RGB mark colors for alarm 1 0to 255 p7 R value of the RGB mark colors for alarm 2 0to 255 p8 G value of the RGB mark colors for alarm 2 0to 255 p9 B value of the RGB mark colors for alarm 2 0to 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 p14 G value of the RGB mark colors for alarm 4 0 to 255 p15 B valu
72. client transmission 2 39 command MC Server function 2 40 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 41 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 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 Pa
73. command EsRecpisp Channel for Recording Display Data Sets the channel for recording display data Syntax SRecDisp pl p2 p3 pl Number see Description p2 Channel type Off Do not record display data IO I O channel Math Math channel Com Communication channel p3 Channel number Query SRecDisp p1 Example Assign the display data of I O channel 0005 to number 10 and record SRecDisp 10 10 0005 Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress f p2 Off you cannot set p3 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 You cannot set a channel more than once IsrecEvent Channel for Recording Event Data Sets the channel for recording event data Syntax SRecEvent pl p2 p3 p4 pl Scan group 1 p2 Number 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 11 and record SEventData 1 11 10 0006 Description You cannot use this command to
74. 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 o O1 0o NB O Status Information 2 Bit Name Description 0 1 z 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 z 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 Decimal 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 sesuodses pue spuewwog H 2 10 A
75. configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress f p3 Off you cannot set p4 This setting is valid when event data recording is enabled recording mode of the SMemory command 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 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 Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress f p2 Off you cannot set p3 You cannot set a channel more than once EisBatch Batch Function Configures the batch function s basic settings Syntax SBatch pl p2 p3 p1 Enable or disable Off On p2 Number of lot number digits Off 4 6 8 Off Do not use lot numbers
76. d ui 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 sesuodses pue spuewwog H 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 crlf yyyy mo dd hh mm ss c xxxxxx kkk k nnn d crlf EN crlf 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 c Communication type M Modbus master e Modbus client XXXXXX 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 posi
77. d to the communication line 1 6 IM 04L51B01 17EN 1 2 Operations over the Serial Interface Four wire system Generally a four wire system is used to connect to a host device In the case of a four wire system the transmission and reception lines need to be crossed over r Terminator external 120 O 1 2W or greater Terminator external 4 Host device RS 422 485 side terminal on the GX GP SDA O SDA 7 y SDA i y p SDA SDB O SDB SDB SDB RDA O RDA y RDA RDA RDB JO RDB RDB RDB WET NOE 7 coe iin n x32 Do not connect terminators to 1 through n 1 Two wire system Connect the transmission and reception signals with the same polarity on the RS 422 485 terminal block Only two wires are used to connect to the external device Terminator external 120 O 1 2W or greater Terminator external RS 422 485 Host device terminal on the GX GP 02 7 Bt A B SG oceans ca n fn 31 Do not connect terminators to 1 through n 1 M o t e VLLL The method used to eliminate noise varies depending on the situation In the connection example the shield of the cable is connected only to the GX GP s ground one sided grounding This is effective when there is a difference in the electric potential between the com
78. de RS 7 True fixed XON RS Data transmission control The operation is the same as with XON XON Data reception control Hardware handshaking is performed between the GX GP and the PC When the amount of area of the received buffer used reaches to 192 bytes the GX GP sets RS False When the amount of area decreases to 64 bytes the GX GP sets RS True IM 04L51B01 17EN 1 2 Operations over the Serial Interface CS RS Data transmission control Hardware handshaking is performed between the GX GP and the PC When the CS signal becomes False while sending data to the PC the GX GP stops the data transmission When the CS signal becomes True the GX GP resumes the data transmission The X OFF and X ON signals are treated as data Data reception control The operation is the same as with XON RS M o t e PF The PC program must be designed so that the received buffers of both the GX GP and the PC do not become full If you select XON XON send the data in ASCII format ML IM 04L51B01 17EN 1 5 je39uo5 spueuiuio2 pojeoipeg Buisn 1 2 Operations over the Serial Interface RS 422 485 Connection Procedure Connect a cable to the terminal Connection Connecting the Cable As shown in the figure below remove approximately 6 mm of the covering from the end of the cable to expose the conductor Keep the exposed section from the end of the shield within 5 cm Four wire system Two wi
79. e specified color P4 R value of the RGB mark colors for alarm 1 0to 255 p5 G value of the RGB mark colors for alarm 1 0to 255 p6 B value of the RGB mark colors for alarm 1 0to 255 p7 R value of the RGB mark colors for alarm 2 0to 255 p8 G value of the RGB mark colors for alarm 2 0to 255 p9 B value of the RGB mark colors for alarm 2 0to 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 0to 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 0to 255 p14 G value of the RGB mark colors for alarm 4 0to 255 p15 B value of the RGB mark colors for alarm 4 0to 255 Query SAlmMarkMath p1 Example Display the alarm marks for alarms 1 to 4 of math channel 015 in fixed colors red brown orange and yellow respectively 2 22 IM 04L51B01 17EN 2 4 Setting Commands SAlmMarkMath 015 0n Fixed 255 0 0 165 42 42 255 165 0 255 255 90 Description e For details on RGB values see Description of the SColorlO command BsRangecom Measurement Range MC Sets the measurement range of a communication channel Unused Channels Syntax SRangeCom p1 p2 p1 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
80. e common to the body of all mails Syntax SMailBasic pl p2 pl Header string up to 128 characters UTF 8 p2 M 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 pl1 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 p1 Setting type Time p2 Recipient Off 1 2 1 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 pl 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 142 System Error Notification Syntax SMail p1 p2 pl Setting type System p2 Recipient Off 1 2 142 Query SMail p1 Example Send alarm notifications to recipient 1 when alarms occur and when they are cleared Incl
81. e 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 0n Fixed 255 0 0 165 42 42 255 165 0 255 255 0 Description For details on RGB values see Description of the SColorlO command Bi samLimit 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 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 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 sAImsts 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 You cannot use this command to configure settings while recording is in progress e You can
82. e spueuluio 2 H 2 4 Setting Commands The setting specified with this command is valid if at least one module is installed 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 You cannot use this command to configure settings while recording is in progress 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 1h 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 Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress You cannot choose a recording interval that is shorter than the scan interval You cannot choose a recording interval that is not an integer multiple of the scan interval File save interval is valid when display data recording is enabled recording mode of the SMemory
83. e 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 Ox1B For details see Appendix 1 ASCII Character Codes Syntax Meaning Response ESC O xxCRLF Opens an Response from the destination instrument instrument ESC OxxCRLF _ Space If there is no instrument at the address specified by the command No response ESC C xxCRLF Closes an Response from the destination instrument instrument ESC CxxCRLF _ Space fthere is no instrument at the address specified by the command No response A 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 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
84. e 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 f 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 Communication Log FLog The output in response to the command FLog General is shown below Syntax EA crlf EN crlf yyyy mo dd hh mm ss Time of command Tx Rx yyyy mo dd hh mm ss nn uuu u fdmmm m crlf 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 f Multiple command flag Space Single comman
85. ed even when logged out SSecurity Login Login 5min On Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress 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 B sopePass Password to Unlock Operation Sets the password that is used to release the operation lock Syntax SOpePass pl pi Password up to 20 characters ASCII Query SOpePass The password is displayed using asterisks Example Set the password to password1 SOpePass passwordl Description You cannot use this command to configure settings when logged in as a user when the user level is User BisopeLimit 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 operation p2 Free Lock Free Notlock Lock Lock Query SOpeLimit pl Example Prohibit operations for changing settings SOpeLimit ChangeSet Lock Description You cannot use this command to configure settings when logged in as a user when the user level is User E
86. epData 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 21 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 28 2 29 2 29 Page 2 29 2 29 2 30 2 30 2 30 2 30 2 30 IM 04L51B01 17EN sesuodses pue spueuiuio 2 H 2 2 List of Commands SChgMonitor Value modification from the 2 30 monitor STrdWave Trend waveform display 2 30 STrdScale 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 SSclBmp 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
87. excluding the extension p2 Medium SD SD memory card USB USB flash memory p3 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 OTHERS Description e f you omit parameter p2 the medium is set to the SD memory card e f you omit parameter p3 all settings will be loaded e f you change the language with this command the GX GP may restart 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 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 BoiPAppiy Applies the IP Address Applies Ethernet communication settings Syntax OIPApply pl p1 Apply the settings 0 Example Apply the IP address settings OIPApply O0 Description This command applies the IP address 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 G
88. g 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 p1 Example Set the measured result to positive overflow Up when a burnout is detected on channel 0001 SBurnOut 0001 Up Description You cannot use this command to configure settings while recording is in progress 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 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 pl 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 You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computatio
89. g is in progress You cannot use this command to configure settings while computation is in progress If p1 Off you cannot set p2 or subsequent parameters BisReppata 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 ed type 3 Off Max Min Ave Sum Inst 2 28 IM 04L51B01 17EN 2 4 Setting Commands 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 File type Combine 1 file Separate Separate Query SRepData Example Record 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 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 pl 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 whi
90. ge 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 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 snapsnot or cduses aumegu 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 status 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 elem 2 26 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 inval
91. hannels GX10 GP10 10 that can be registered to display groups Modbus GX20 GP20 1 to 100 command GX10 GP10 1 to 50 number 2 3 3 Specifying a Range 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 Usea 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 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 10 To specify all numbers Example 2 A command that sets the channel ranges of Al modules installed in slots O to 2 to Skip SRangeAI 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 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 You cannot use this c
92. haracters 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 p1 Channel number IM 04L51B01 17EN 2 13 s suods y pue spueuluio 2 H 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 CulOWEED 50V T CulOBAILEY N CulDa392 W Cu10a393 L Cu25 U Cu53 PLATINEL Cu100 PR20 40 J263B WRe3 25 Ni100SAMA pvsAu7Fe NilOODIN NiNiMo Ni120 WWRe26 Pt25 N14 Pt50 KK Pt200WEED Cul0G Cu50G Cul00G Pt46G Pt100G BisRangep Measurement Range of DI Channel Sets the measurement range of a DI channel Unused Channels Syntax SRangeDI p1 p2 pi Channel number p2 Input type Skip Channels That Are Not Delta or Scaling Syntax SRangeDI p1 p2 p3 p4 p5 p6 p1 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 pl 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 p1 p2 p3 p4 p5 p6 p7 p8 p 9 p10 pl Channel number p2 Input type DI p3 Fixed at P4 Calculation type Sca
93. he 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 pl 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 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 lsrtpkina File to Transfer via FTP Sets the file to transfer via FTP Syntax SFtpKind pl p2 pl Setting type Data Automatically transfer display and event data files when files are generated Report Automatically 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 The report function is an option MT lsrtprime FTP Transfer Time Shift Sets the amount of time to shift f
94. he fifth parameter of a single command the GX GP outputs BELL i1tf3 10021 5 IM 04L51B01 17EN 2 53 sesuodses pue spuewwog H 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 ELI 10 1 2 500 2 5 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 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 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 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 f
95. he host device see the manual of the host device If a converter is being used turn ON its terminator The recommended converter is a type that has a built in terminator Select the appropriate terminator 120 Q indicated in the figure according to the characteristic impedance of the line the installation conditions of the instruments and so on 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 S represents the command type The second and subsequent characters represent the contents of commands Type Description Operation commands Commands that start with D These commands are used Example OSet Time to operate the GX GP Setting commands Commands that start with S These commands change Example SRangeAI the 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 Communication Control commands Commands that start with C These commands control the Example CChec
96. id in the following internal switch status circumstances ii OBat Name Sets a batch name 2 49 The GX GP is not in a condition to accept the OBatC t Sets a batch comment 2 49 operation bxc Sets a batch text 2 49 For example if the GX GP is not recording you cannot i M S PAGITA write a message ODispRate Switches the trend interval 2 49 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 Operation lock or user restriction is placed on the initializes setting data operation The following table lists the commands that are invalid according 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 TEUER CCheckSum X 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 onim OEMail OIPApply only DispOpe SHomeKind SHomeMonitor ESC C Closes an instrument RS 422 4852 51 SFavor
97. ile 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 pl Example Shift delay FTP transfers of report data files by 30 minutes SFtpTime Report 30 Description The report function is an option MT lisrtpcnct 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 Username 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 server 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 Ei ssmtpLogin SMTP User Authentication Sets the SMTP user authentication method Query Syntax SSmtpLogin pl p1 User authentication type Off Not use authentication Auth Smtp Use Authentication SMTP POP3 Use POP Before SMTP unencrypted APOP Use POP Before SMTP enc
98. ime 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 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 messag
99. imit 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 AI 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 insert A in front Example A001 Communication GX20 GP20 001 to 300 Math channel channel GX10 GP 10 001 to 050 For SGroup and SMailAlarm commands insert C in front Example C001 Number of GX20 GP20 001 to 500 channels for GX10 GP 10 001 to 100 recording display data Number of GX20 GP20 001 to 500 channels for GX10 GP10 001 to 100 recording event data Type Notation and Range of Values Number of GX20 GP20 1 to 60 report channels GX10 GP10 1 to 50 Number of GX20 GP20 1 to 50 display groups GX10 GP 10 1 to 30 Number of GX20 GP20 20 c
100. in a series fthere 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 SRangeAI SRangeAl 0001 VOLT 2V OFF 20000 20000 0 SRangeAlL0002 2 aped haere ties tues SRangeAl 0001 SRangeAl 0001 VOLT 2V OFF 20000 20000 0 Command Names 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 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 Write parameters in their appropriate order Spaces around and in the middle of parameters are ignored Exception is the character strings that users specify
101. 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 esc 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 p1 Instrument address 01 to 99 Example Open the instrument at address 99 ESC O 99 Description 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 Usea capital O e For this command use CR LF for the terminator e For the responses to this command see page 2 56 esc C Closes an Instrument RS 422 485 command Ends communication with the GX GP ESC in ASCII code is Ox1B For details see Appendix 1 Syntax ESC C pl pl Instrument address 01 to 99 Example Close the instrument at address 77 ESC C 77 Description This command closes the connection to the instrument you are communicating with e Usea capital C
102. 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 Time MC Sets the alarm delay 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 p1 Example Set the communication channel 025 alarm delay time to 2 minutes 30 seconds SAlmDlyCom 025 0 2 30 Description Set the delay time so that it is an integer multiple of the scan interval SScan command B sragcom Tag MC Sets the tag of a communication channel Syntax STagCom p1 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 TI0O02 2 24 IM 04L51B01 17EN 2 4 Setting Commands lEscoiorcom Channel Color MC Sets the
103. is shown below Output Example EA crlf GX20 1 70 1 M lt crlf gt EN crlf 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 AS cable BS cable GB cable NBR cable ZIOoOuNmnuzx 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 crlf B999999 Rx xx xx Main Program lt crlf gt B999999 Rx xx xx Web Program crlf EN 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 crlf C2 RS 232 crlf C3 RS 422 485 crlf D5 VGA output lt crlf gt FL Fail output 1 point lt crlf gt MT Mathematical function with report function crlf MC Communication channel function crlf P1 24 VDC AC power supply lt crlf gt UH USB interface Host 2 ports crlf U O0 Model pre installed with analog universal input module s
104. iteKind only SFavoriteMonitor Smonitor SMultiPattern SMultiKind ODispRate 2 2 5 Instrument Information DateSet OExecSNTP OSetTime Commands ChangeSet Sxxxx OLoadConf Command Description Page File OLoadConf OS aveConf Fmedia MFG er MM 2 52 1 Setting commands except for SHomeKind SHomeMonitor A SFavoriteKind SFavoriteMonitor Smonitor SMultiPattern _INF ei 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 sesuodses pue spuewwog H 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 l
105. kSum 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 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 sesuodses pue spuewwog H 2 1 Command Transmission and GX20 Responses Queries Notes on Writing Commands in a Series Only setting commands can be written in a series Queries see the next section cannot be written
106. l port USER Invalid user name PASS Invalid password ACCT internal processing error TIMEOUT Response timeout LINK Ethernet cable not connected FILE File access failed NOFD Internal processing error NOID Internal processing error PARAM Internal processing error k Server type P S fff tf File name fixed to 51 characters including extension Unused character positions are filled with spaces IM 04L51B01 17EN 2 71 sasuodsey pue spuewwog H 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 crlf EN lt crlf gt yyyy mo dd hh mm ss nnn xxxxxxxxx crlf 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 XXXXXXXXX Detailed code fixed 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 X 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 Sy
107. lace the communication channel 025 value with its preset value at watchdog timer expiration SWDCom 025 0n 60 Preset Description f p2 Off you cannot set p3 or subsequent parameters Bsalarmcom 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 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 TH TL p5 Alarm value within the span range p6 Detection Off On p7 Output Off Output Alarms Syntax SAlarmCom 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 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 0n H 850 0n DO 0105 Description You cannot set this on a Off communication channel f p3 Off you cannot set p4 or subsequent parameters f p7 Off you cannot set p8 Youcannot set DO channels or
108. le p5 Span lower limit 0 to 1 p6 Span upper limit 0 to 1 p7 Decimal Place 0 to 5 p8 Scaling lower limit p9 Scaling upper limit p10 Unit up to 6 characters UTF 8 Query SRangeDI p1 Example Measure 0 to 1 on channel 0103 No scaling SRangeDI 0103 DI 0ff 0 1 Description You cannot use this command to configure settings while recording is in progress 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 a 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 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 p1 p2 p3 p4 p5 p6 p7 p8 FDS i 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
109. le recording is in progress You cannot use this command to configure settings while computation is in progress EsRepch 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 1 0 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 You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress e fp2 Off you cannot set p3 or subsequent parameters Communication channels are an option MC lisi ca LCD Sets the brightness and backlight saver of the LCD Syntax SLcd pl p2 p3 p4 pl 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 SLcda 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 tha
110. m 2 34 IM 04L51B01 17EN 2 4 Setting Commands 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 p1 Example Output an alarm on internal switch 3 Use OR logic SSwitch 3 Alarm Or Description p3is valid when p2 Alarm I sserialBasic 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 pi 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 p3 p4 p5 p1 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 OEL I OLL Description You can set p1 Master only on GXs GPs that have the MC option The settings specified with this comma
111. 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 p1 Example Set the math channel 015 alarm delay time to 2 minutes 30 seconds SAlmDlyMath 015 0 2 30 Description Setthe delay time so that it is an integer multiple of the scan interval SScan command B sragwath 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 p1 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 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 For details on RGB values see Description of the SColorlO command szoneMath 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 76 0 to 95 p3 Zone upper limit Yo 5 to 100 Query SZoneMath p1 Example Set the waveform zone of math channel 015 waveform to 096
112. n is in progress f p2 Internal p3 is invalid B saiarmio 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 SAlarmIO p1 p2 p3 p4 p5 p6 p7 p1 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 sesuodses pue spueuiuio2 H 2 4 Setting Commands p7 Output Off Output Alarms Syntax SAlarmIO p1 p2 p3 p4 p5 p6 p7 p8 p1 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 Outputto an internal switch p8 Number If p7 DO Relay DO channel number If p7 SW Internal switch number 001 to 100 Query SAlarmIO p1 p2 Example Set a 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 SAlarm10 0001 2 0n H 18000 0n D0 0205 Description You cannot set this on a Skip channel f p3 Off you cannot set p4 or subsequent parameters f p7 Off you cannot set p8 e For the alarm values of p5 use the values in the following table
113. n p1 On e You cannot choose a second trend interval that is shorter than the scan interval lsrrakina Trend Type Sets the type of trend waveform to display Syntax STrdKind pl pl Type Fixed to T Y Query 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 p1 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 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 string e 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 The maximum number of characters per channel is 4 Use periods to sepa
114. nd 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 p1 p2 p3 p4 p5 p6 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 5min 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 E suoaMcma Modbus Master Transmission Command C2 MC or C3 MC Sets a transmit command of the Modbus master Syntax SModMCnd p1 p2 p3 p4 p5 p6 p7 p8 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 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
115. ndix 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 DATA0 0 1 Receive response 1 If there are no more files EA crIf EN crIf 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 the 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 H 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
116. not use this command to configure settings while computation is in progress Esrimer Timer Sets a timer Do Not Use Timers Syntax STimer pl p2 p1 Timer number 1 to 4 p2 Timer type Off Relative Timer Syntax STimer pl 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 p5 Interval Minutes MM 00 to 59 p6 Reseton Math start Off On Absolute Timer Syntax STimer p1 p2 p3 p4 p5 pl 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 23 p5 Reference time Minutes MM 00 to 59 Query STimer p1 2 26 IM 04L51B01 17EN 2 4 Setting Commands 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 You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress f p2 Off you cannot set p3 or subsequent parameters f 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 S
117. ntax EA crlf yyyy mo dd hh mm ss ffffff eeeeeeeeeeee n uuu u crlf EN crlf 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 eeeeeeeeeeee Detailed error code fixed to 12 characters HOSTADDR IP address not set HOSTNAME X Unable to 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 X A nternal processing error INVAL _ internal processing error SMTPAUTH SMTP AUTH authentication failed ANOTSUPPORT Unsupported authentication method POP3UNREACH_ Unable to connect to POP3 server POPS3TIMEOUT POP3 server connection timed out POP3HOSTNAME Unable to resolve POP3 host name POP3AUTH _ POPS server authentication failed n recipient 1 Recipient 1 2 Recipient 2 Recipient 142 uuu u Recipient mail address fixed to 30 characters Unused character positions are filled
118. oExecs 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 H 2 6 Operation Commands BloPassword Changes the Password Changes the password Syntax OPassword pl p2 p3 p1 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 PASSO01 to
119. ommand to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress E sscanGroup Scan Group Registers a measurement channel in scan group 1 Syntax SScanGroup pl p2 p3 pl Unit number 0 p2 Module number 0 to 9 p3 Scan group 1 1 Scan group 1 Query SScanGroup p1 p21 Example Set the module whose module number is 2 in scan group 1 SScanGroup 0 2 1 Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress BiswodeA 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 AD integration time to Auto SModeAI 0 2 10CH Auto Description You cannot use this command to configure settings while recording is in progress You cannot use this command to configure settings while computation is in progress 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 20
120. output in response to the command FLog MSG is shown below Syntax EA crlf 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 ggg g 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 using 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 H 2 10 ASCII Output Format 2 10 10 Event log FLog The output in response to the command FLog EVENT is shown below Syntax
121. ows channel number status Use a hyphen as a separator You can specify the following values for the channel number DO channel number Internal switch number You can specify the following values for the status Off Off status On On status 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 BloBatName 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 OBatName Query Example Set the batch name structure to batch number PRESSLINE and the lot number 007 OBatName 1 PRESSLINE 007 Description e For the characters that you can use in the specified batch number p2 see Appendix 1 The character limitations on the batch number p2 are the same as those for directory names See the explanation for the SDirecto
122. puter s ground and the GX GP s ground This may be the case for long distance communications If there is no difference in the electric potential between the computer s ground and the GX GP s ground the method of connecting the shield also to the computer s ground may be effective two sided grounding In addition in some cases using two sided grounding with a capacitor connected in series on one side is effective Consider these possibilities to eliminate noise When using the two wire interface Modbus protocol the 485 driver must be set to high impedance within 3 5 characters after the last data byte is sent by the host computer LLL IM 04L51B01 17EN 1 7 j amp 39uo5 spueuiuio2 pojeoipeg Buisn 1 2 Operations over the Serial Interface A CAUTION Serial interface converter The recommended converter is given below SYSMEX RA CO LTD MODEL RC 770X LINE EYE SI 30FA YOKOGAWA ML2 qu M M s P m UA Some converters not recommended by Yokogawa have FG and SG pins that are not isolated In this case do not follow the diagram on the previous page do not connect anything to the FG and SG pins Especially in the case of long distance communications the potential difference that appears may damage the GX GP or cause communication errors For converters that do not have the SG pin they can be used wi
123. rate channel numbers see example SGroup pl The channel string is output exactly as it is specified Example Assign channels 0001 0003 0005 A001 and C023 to group 2 and name it GROUP A SGroup 2 On GROUP A 1 3 5 A1 C23 Common Query IM 04L51B01 17EN 2 31 s suods y pue spueuluio 2 H 2 4 Setting Commands lsTripLine 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 Rvalue 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 p1 p211 Example Display trip line 2 using a thick line in red at the 80 position of group 2 STripLine 2 2 0n 80 255 0 0 Thick Description e p4and subsequent parameters are valid only when p3 On 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 pl Example Use a bitmap scale image on display group 3 SSclBmp 3 0n Description Specify the bitmap file to use from the front panel of the GX GP
124. re system HAI FG mmm SG hy a a Electric potential Shield Electric potentiall Shield Recommended torque of the shield of the shield for tightening the screw 0 2 Nem Signal names Each terminal corresponds to the signal indicated below Signal Name Meaning FG Frame ground of the GX GP SG Signal ground SDB Send data B SDA Send data A RDB Receive data B RDA Receive data A Connecting to the host device The figure below illustrates the connection of the GX GP to a host device If the port on the host device is an RS 232 interface connect a converter Host computer RS 422 485 or host device terminal on the GX GP Host device side i RS 422 485 RS 422 485 Host computer terminal on the GX GP Host device side x Converter l 56 1 RS 232 L RS 422 485 Connection example to the host device A connection can be made with a host device having a RS 232 RS422 or RS 485 port In the case of RS 232 a converter is used See the connection examples below for a typical converter terminal For details see the manual that comes with the converter RS 422 485 Port Converter SDA TD SDB TD RDA RD RDB RD SG SHIELD FG EARTH There is no problem of connecting a 220 O terminator at either end if YOKOGAWA s PLCs or temperature controllers are also connecte
125. rmat pl 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 BiswoaLimit 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 BiswoaList IP Address to Allow Connection to Modbus Server Sets the IP address to allow connection to Modbus server Syntax SModList pl p2 p3 pl 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 Eissecurity 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 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 chang
126. ront 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 LE 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 4 flag reserved area 1 reserved area 2 IM 04L51B01 17EN 2 55 s suods y pue spuewwog 2 9 Responses to Commands 2 9 4 Data Block The actual output 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 th
127. ry command BloBatComment Sets a Batch Comment Sets a batch comment Syntax OBatComment p1 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 GK OBatText 1 Ope GX BlopispRate 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 spueuiuio 2 H 2 6 Operation Commands lBloroadCont Loads Setting Data Loads a setting data file from the GX GP external storage medium into the GX GP Syntax OLoadConf pl p2 p3 p1 File name up to 240 characters ASCII Specify the path and file name
128. rypted Query SSmtpLogin Example Do not use authentication SSmtpLogin Off E ssmtpcnct 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 suaitHead 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 Query IM 04L51B01 17EN 2 37 sesuodses pue spuewwog H 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 ar
129. s 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 0 digit 0 digits not show channel numbers 3 digit 3 digits 4 digit 4 digits Query STrdScale 2 30 IM 04L51B01 17EN 2 4 Setting Commands 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 srraLine Trend Line Width Grid Sets the trend waveform line width and the grid in the display area Syntax STrdLine pl p2 pl Line width Thick Thick Normal 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 p2is valid only whe
130. s XON RS Yes Yes CS RS Yes Yes Yes Supported 1 Stops transmission when X OFF is received Resume when X ON is received 2 Stops sending when CS CTS is false Resumes when it is true 3 Sends X OFF when the receive data buffer is 3 4 full Sends X ON when the receive data buffer is 1 4th full 4 Sets RS RTS to False when the receive data buffer is 3 4 full Sets RS RTS to True when the receive data buffer becomes 1 4 full OFF OFF Data transmission control There is no handshaking between the GX GP and the PC The X OFF and X ON signals received from the PC are treated as data and the CS signal is ignored Data reception control There is no handshaking between the GX GP and the PC When the received buffer becomes full all of the data that overflows are discarded RS 7 True fixed e XON XON Data transmission control Software handshaking is performed between the GX GP and the PC When an X OFF code is received while sending data to the PC the GX GP stops the data transmission When the GX GP receives the next X ON code the GX GP resumes the data transmission The CS signal received from the PC is ignored Data reception control Software handshaking is performed between the GX GP and the PC When the amount of area of the received buffer used reaches to 192 bytes the GX GP sends an X OFF code When the amount of area decreases to 64 bytes the GX GP sends an X ON co
131. s Syntax SAlarmMath pl p2 p3 p4 p5 p6 p7 p8 2 20 IM 04L51B01 17EN 2 4 Setting Commands 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 DO Output to a relay DO channel SW Output to an internal Switch p8 Number If p7 DO Relay DO channel number If p7 SW Internal switch number 001 to 100 Query SAlarmMath p1 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 0n H 850 0n DO 0105 Description You cannot set this on a Off channel f p3 Off you cannot set p4 or subsequent parameters If p7 Off you cannot set p8 You cannot set DO channels or internal switches whose output type is set to Manual as output destination numbers B saimHysMath 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 Alarm Type Hysteresis Range H L 0 to 100000 Query SAlmHysMath p1 p2 Example Set a hysteresis on alarm 3 of math channel 015 SAlmHysMath 015 3 10 Description Hysteresis specified for delay high and low limit alarms TH and TL does not apply BsaimDiymath Alarm Delay Time MT Sets the alarm delay time for a
132. s O xover 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 crlf 001 010 aaaaaaaaaa crlf 011 020 aaaaaaaaaa crlf 021 030 aaaaaaaaaa crlf 031 040 aaaaaaaaaa crlf 041 050 aaaaaaaaaa crlf 051 060 aaaaaaaaaa crlf 061 070 aaaaaaaaaa crlf S S S 071 080 aaaaaaaaaa lt crlf gt 081 090 aaaaaaaaaa lt crlf gt 091 100 aaaaaaaaaa lt crlf gt EN lt 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 spuew
133. s and Responses 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 2 10 Command Transmission and GX GP Responses see em 22 1 2 1 1 General Communication 2 1 2 1 2 Command Types and Functions 1 2 1 3 Command Syntax 2 1 4 GXGP RESPONSES SM Listiof Commands EE HN 2 2 1 Setting Commands E 2 22 Output Command Saares ae Bea c e dee t om eer dice ide eco AAA 2 2 8 Operation COmMAandS s 2 odere creer t tec GA iere re Kaika cba 2 24 Communication Control Commands n 2 2 5 Instrument Information Comtimarids iae rrr tre rero nt rre i rera kisa 2 2 6 Conditions for Executing Comhmhnands 3 e ees Lieder nese ae hin beasties 2 7 Parameters i seins nisin ie E einen DE CE ede epus D EE CEPR iden 2 3 1 Measuring Range Parameters m 2 92 Parameter Notation and Rage dicere iecore tee cu itu sega ci bc Ua er eee cabe 2 8 2 9 9 Speoltying a Rage coectetuer oerte oed Pee oes Pease id AN duce i cnn Lu kaa LEE peu oe kakaa kaba 2 8 Setting Commands Output Commands Operation CommandS w wwmmemememamwamamamwuwuwuwamamananananunawuwanunu nini nett nri inis asia sanas anis 2 47 Communication Control Commands sss ener nennen enne 2 51 Instrument Information Output Commands sse 2 52 RESPONSES to Commands nt tero pei tit RE Qe dE D
134. s or trademarks of Microsoft Corporation in the United States and or other countries Adobe and Acrobat are registered trademarks or trademarks of Adobe Systems Incorporated Company and product names that appear in this manual are registered trademarks or trademarks of their respective holders The company and product names used in this manual are not accompanied by the registered trademark or trademark symbols and December 2012 1st Edition February 2013 2nd Edition All Right Reserved Copyright 2012 2013 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 Models GX10 GX20 GP10 GP20 Paperless Recorder First Step Guide IM 04L51B01 02EN Models GX10 GX20 GP10 GP20 Paperless Recorder User s Manual IM 04L51B01 01EN 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
135. same value lE sriogMath 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 p1 Example Assign timer 2 to math channel 015 Set the sum scale to Off and disable reset STlogMath 015 Timer 2 Off Off Description e You cannot use this command to configure settings while computation is in progress lJ SRolAveMath Rolling Average MT Sets rolling average on a math channel Syntax SRolAveMath pl 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 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 Alarm
136. se to a setting query 2 10 22 Decimal Place and Unit Information FChinfo The output in response to the command FChlnfo is shown below Syntax EA crlf S cccc uuuuuuuuuu ppc crlf S CCCC uuuuuuuuuu ppc crlf S ccCC uuuuuuuuuu ppc crlf EN lt crlf gt S Data status N Normal D Differential input S Skip GOeo Channel number I O channel math channel communication channel uuuuu Unit information fixed 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 crlf Unit 00 00 ccccccccccccccce uuuuuuuuuuuuuuuu defghij 01 ccccccccccccccce uuuuuuuuuuuuuuuu defghij 02 ccccccccccccccco uuuuuuuuuuuuuuuu defghij 03 ccccccccccccccce uuuuuuuuuuuuuuuu defghijklmnopqrs crlf 04 ccccccccccccccceo uuuuuuuuuuuuuuuu defghijklmnopqrs crlf klmnopqrs crlf k k k k 05 ccccccccccccccceo uuuuuuuuuuuuuuuu defghijklmnopqrs crlf k k k k lmnopqrs crlf lmnopqrs crlf 06 ccccccccccccccce uuuuuuuuuuuuuuuu defghijklmnopqrs crlf 07 ccccccccccccccco uuuuuuuuuuuuuuuu defghijklmnopqrs crlf 08 ccccccccccccccce uuuuuuuuuuuuuuuu defghijklmnopqrs crlf 09 ccccccccccccccce uuuuuuuuuuuuuuuu defghijklmnopqrs crlf EN crlf ecceeccecccccccc Module models that are actually
137. t 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 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 This command is valid for the GX10 GP10 IM 04L51B01 17EN 2 29 sesuodses pue spueuluio2 H 2 4 Setting Commands EspackCotor Screen Background Color Sets the screen background color Syntax SBackColor pl p2 p3 p1 R value of RGB background colors 0 to 255 p2 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 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 lmin E sAutoJump Jump Default Display Operation Sets the amount of time that must elapse until the GX GP returns to the specified screen standard screen
138. t 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 Connection See section 1 2 3 RS 232 Connection Procedure or section 1 2 4 RS 422 485 Connection Procedure 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 The PC is connected to the GX GP through the serial interface 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 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 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 For R
139. tax EA crlf p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 pll crlf p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 pll crlf EN lt crlf gt Output Example EA crlf ain 0 0 AI 1234567 R1 02 0 10 0 xxx crlf ain 0 1 DO 1234567 R1 01 0 0 16 xxx crlf 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 the unit that the module is installed in 0 reference P4 AI 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
140. tection 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 AI DI DO Setting Commands Measurement range of Al channel 2 13 Measurement range of DI channel2 14 SRangeAI SRangeDI SRangeDO SMoveAve SBurnOut SRjc SAlarmIlO SAlmHysIO SAlmDlyIO STagIO SColor 10 SZonelO SScalelO 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 time Tag Channel color Waveform display zone Scale display Bar graph display Partial expanded display Color scale band Alarm mark Upper lower limit display characters
141. text format SFileFormat Text Description 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 pl 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 p6 p11 Unit up to 6 characters UTF 8 pl Channel number p12 Low cut function Off On p2 Input type DI p13 Low cut output Zero Linear p3 Range see Description Square Root Channels P4 Calculation type Off Syntax SRangeAI pl 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 pl1 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
142. 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 H 2 1 Command Transmission and GX20 Responses 2 1 4 GX GP Responses The GX GP returns the following responses to commands fthe GX GP successfully completes the processing of a received output request command it outputs the requested data fthe GX GP successfully completes the processing of a received command that is not an output request command it outputs an affirmative response f a command syntax error setting error or other error occurs the GX GP outputs a negative response For 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 De
143. thout using the signal ground For details see the manual that comes with the converter Css On some non recommended converters the signal polarity may be reversed A B or indication In this case reverse the connection For a two wire system the host device must control the transmission driver of the converter in order to prevent collisions of transmit and received data When using the recommended converter the driver is controlled using the RS RTS signal on the RS 232 When instruments that support only the RS 422 interface exist in the system When using the four wire system up to 32 GX GPs can be connected to a single host device However this may not be true if instruments that support only the RS 422 interface exist in the system When YOKOGAWA s recorders that support only the RS 422 interface exist in the system The maximum number of connection is 16 Some of YOKOGAWA s conventional recorders HR2400 and pR for example only support the RS 422 driver In this case only up to 16 units can be connected M o t e PL In the RS 422 standard 10 is the maximum number of connections that are allowed on one port for a four wire system ML Terminator When using a multidrop connection including a point to point connection connect a terminator to the GX GP if the GX GP is connected to the end of the chain Do not connect a terminator to a GX GP in the middle of the chain In addition turn ON the terminator on t
144. tions 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 device 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
145. to 3096 SZoneMath 015 0 30 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 IM 04L51B01 17EN 2 21 s suods y pue spuewwog H 2 4 Setting Commands Query SScaleMath p1 Example Display the math channel 015 scale at display position 1 Display four equally spaced main scale marks SScaleMath 015 1 4 I sBarmath Bar Graph Display MT Sets the bar graph display of a math channel Syntax SBarMath p1 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 p1 Example Display the computed values of math channel 015 on a bar graph with the center set as the base position Center Display four equally spaced main scale marks SBarMath 015 Center 4 SPartiaimath Partial Expanded Display MT Sets the partial expanded display of a math channel waveform Syntax SPartialMath p1 p2 p3 p4 p1 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 5096 position SPartialMath 015 0n 50 7500 Description e You cannot set this on a Off channel
146. 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 p7 p8 rpg 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 SModCCmd pl 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 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
147. ude 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 The report function is an option MT suaitAtarm 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 The maximum number of characters per channel is 4 Use periods to separate channel numbers see example e To specify all channels from the first channel to the last channel delimit the channels with a hyphen An error will occur if there are no valid channels in the hyphen designated channels SMailAlarm The channel string is output exactly as it is specified Example Set the target channels to channels 0001 to 0021 0101 A025 and C003 SMailAlarm 1 21 101 A25 C3 B suairrime Scheduled Transmission Times Sets the scheduled transmission times Syntax Query SMailTime pl1 p2 p3 p4 p1 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 pl Example Send mail to recipient 1 ever
148. ue 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 SCalibIO pl O UU I0 UO OUO O Query IM 04L51B01 17EN 2 4 Setting Commands 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 2ppro 3 0 10 5000 5020 10000 9970 Description e f p2 Off you cannot set p3 or subsequent parameters 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 O
149. ue of the RGB mark colors for alarm 4 0to 255 Query SAlmMarkIO p1 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 For details on RGB values see Description of the SColorlO command B svaiueio Upper Lower Limit Display Characters Sets the upper lower limit display characters of DI channel or DO channel Syntax SValueIO 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 SValueIO p1 Example For channel 0001 set the lower limit to OFF and the upper limit to ON SValuelO 0001 OFF ON lscaiibio Calibration Correction Sets the calibration correction for Al channels Disable Calibration Correction Syntax SCalibIO pl p2 pl Channel number p2 Linearizer mode Off Use Calibration Correction Syntax SCalibIO 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 val
150. ule reconfiguration 1 Example Reconfigure the modules FSysConf 1 2 46 IM 04L51B01 17EN 2 6 Operation Commands lBlosetrime Sets the Time Sets the time Syntax OSetTime pl pl Time to set YYYYIMO 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 Blonec Starts or Stops Recording Starts or stops recording Syntax ORec p1 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 BogxecRec 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 p1 Alarm output clearance type 0 0 Execute manual sampling 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 lBl
151. unication 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 sPartiaiCom 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 p1 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 You cannot set this on a Off channel p2 is fixed to Off f 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 sBanaCom Color Scale Band MC Sets the color scale band of a communication channel Syntax SBandCom p1 p2 p3 p4 p5 p6 p7 p1 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
152. utput 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 GX 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 the second parameter of a single command the GX GP outputs EL 3 122 Response Example 2 If error number 1 occurs in the third parameter and error number 100 occurs in t
153. ver Sets the computation result to computation error 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 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 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 Skip Limit Skip 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 IM 04L51B01 17EN 2 19 s suods y pue spuewwog H 2 4 Setting Commands 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 The math function is an option MT Iskconst Constant
154. wog 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 crlf p 1 uuuuuuuuuuuuuuuuuuuu abcdefghijk crlf 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 k represent actions Memory Math Data save Message Batch Alarm ACK Communication Touch operation Time set Setting operation External media Aub FQMhoarada sw 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 crlf p 1 uuuuuuuuuuuuuuuuuuuu abcdefghijk crlf p 1 uuuuuuuuuuuuuuuuuuuu abcdefghijk crlf p 1 uuuuuuuuuuuuuuuuuuuu abcdefghijk crlf p 1 uuuuuuuuuuuuuuuuuuuu abcdefghijk crlf EN crlf 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
155. y day at 08 30 SMailTime 1 08 30 24 2 38 IM 04L51B01 17EN 2 4 Setting Commands B ssntpCnct SNTP Client Sets the SNTP client operation and the connection destination server Syntax SSntpCnct pl p2 p3 p4 p5 p6 p7 pl Server name up to 64 characters ASCII 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 sntpserver1 123 12 00 24 30s On Bsmoaclient Modbus Client Operation MC 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 This command is valid on models with the MC communication channel option BiswoacList Modbus Client Connection Destination Server MC Sets the Modbus client connection destination server Syntax SModCList pl p2 p3 p1 Registration number 1 to 16 p2 Server name up
156. y 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 start C End 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 E c ss E1 401 Response from the GX GP message omitted Code Response Judge IM 04L51B01 17EN App 3 xipueddy H 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 DRV0 DATA0 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 Appe
157. ynchronizes 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 pl 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 Match Time Timer That Synchronizes Once a Week Syntax Repeat SMatchTimer pl p2 p3 p4 p5 p6 pl 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 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
158. yntax 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 f you omit p2 and p3 all channels will be output 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 llrritocur Outputs Channel FIFO Data Outputs the I O channel math channel and communication channel FIFO data Acquire the FIFO Data Syntax FFifoCur pl p2 p3 p4 p5 p6 p7 p1 FIFO data output 0 p2 Scan group 1 p3 First channel P4 Last channel p5
Download Pdf Manuals
Related Search
Related Contents
302 Dual Microphone Preamplifier SH1630/SH1630TF/SH1610F のマルチキャストフィルタ機能について The Singing Machine SMVG-620 User's Manual Manuale originale - Clouditalia Orchestra Philips SWV3442W 6 ft HDMI/DVI conversion cable ゼットコート - 株式会社オーデック Yamaha Multichannel Monitoring Booklet Copyright © All rights reserved.
Failed to retrieve file