background image

4-28

IM 04P01B01-17E

4.6

Control Commands

DS

Switches the execution mode.

Syntax

DS p1

<terminator>

p1

Mode

0

Run mode

1

Basic Setting mode

Example

Switch to Basic Setting mode.

DS 1

Description The execution mode cannot be changed to Basic

Setting Mode while recording or computation is

in progress.

PS

Starts/Stops recording.

Syntax

PS p1

<terminator>

p1

Start/Stop recording.

0

Start

1

Stop

Example

Start recording.

PS 0

UD

Switches the screen/switches
the channel.

Returning to the data display screen

Returns from the Setting mode screen, the screen that

appears when the FUNC key is pressed, or the screen that

appears when the DISP MENU key is pressed back to the

measurement data display screen.

Syntax

UD p1

<terminator>

p1

Fixed to 0.

Example

Return to the data display screen.

UD 0

Displaying the specified data display screen

Syntax

UD p1,p2

<terminator>

p1

Fixed to 1.

p2

Screen number (1 to 15)

Example

Display data display screen 2.

UD 1,2

Switching the display channel (manual switching)

Syntax

UD p1

<terminator>

p1

Fixed to 2.

Example

Switch the display channel.

UD 2

Description • An error results if the specified screen is set to

SKIP for UD1.

• UD2 is valid on screens whose display

channel is set to manual switching.

AK

Executes alarm acknowledge
(Alarm ACK).

Syntax

AK p1

<terminator>

p1

Executes alarm acknowledge (0)

Example

Execute alarm acknowledge.

AK 0

TL

Starts/stops/resets computation
(/M1 option).

Syntax

TL p1

<terminator>

p1

Operation type

0

Computation start

1

Computation stop

2

Computation reset

Example

Start the computation.

TL 0

MP

Starts/Stops manual print.

Syntax

MP p1

<terminator>

p1

Operation type

0

Manual print start

1

Manual print stop

Example

Start manual print.

MP 0

LS

Starts/Stops the list (setting
information) printout.

Syntax

LS p1

<terminator>

p1

Operation type

0

List print start

1

List print stop

Example

Start list print.

LS 0

Description List print refers to printing of settings of Setting

mode.

SU

Starts/Stops the setup list (basic
setting information) printout.

Syntax

SU p1

<terminator>

p1

Operation type

0

Setup list print start

1

Setup list print stop

Example

Start setup list print.

SU 0

Description Setup list print refers to printing of settings of

Basic Setting mode.

MS

Prints the message.

Syntax

MS p1

<terminator>

p1

Message number (1 to 5)

Example

Print the message of message number 3.

MS 3

Description The message string is set with the SG command.

AC

Clears the alarm printout buffer.

Syntax

AC p1

<terminator>

p1

Clear the alarm printout buffer (0)

Example

Clear the alarm printout buffer.

AC 0

4.6  Control Commands

Summary of Contents for Vigilantplant mR10000

Page 1: ...s Manual Yokogawa Electric Corporation Models 436101 436102 436103 436104 436106 437101 437102 437103 437104 437106 437112 437118 437124 R10000 R20000 Communication Interface IM 04P01B01 17E 4th Edit...

Page 2: ...E Explains all the functions and procedures of the User s Manual R20000 recorder excluding the communication functions R10000 R20000 IM 04P01B01 17E This manual Explains the functions of the Communica...

Page 3: ...Sec 4 4 SA command Sec 4 4 TD command Sec 4 5 XN command Sec 4 5 YS command Sec 3 2 Sec 2 5 Sec 4 5 UL command Sec 4 4 VL commands Sec 4 5 UQ and UF commands Sec 4 5 UG and UH commands Sec 4 4 VH VC V...

Page 4: ...Communication Interface C3 Option Explains the specifications of the RS 422A 485 communication interface and how to use the interface Chapter 4 Commands Explains each command that is available Chapter...

Page 5: ...utions that can be taken to prevent such occurrences CAUTION Calls attentions to actions or conditions that could cause light injury to the user or damage to the instrument or user s data and precauti...

Page 6: ...wn for 3 seconds also to exit from the data display setup screen FEED key Feeds the chart paper CHARACTER Key Changes the character type when entering a character Press this key while holding down the...

Page 7: ...asic Setting mode display appears The top and bottom lines are the setup item and comment respectively The section that is blinking in the setup item that you change In this manual the section that yo...

Page 8: ...s A Z A to Z and space a z a to z and space 0 9 0 to 9 and space 2 3 and space Use the key or SHIFT key to select a character You repeat these steps to set the character string key SHIFT key key Host...

Page 9: ...Press the CHARACTER key or SHIFT CHARACTER key to show Paste DISP and then press the key The character string is pasted Exiting from Basic Setting Mode Press the ESC key several times to return to th...

Page 10: ...Number of Simultaneous Use 2 1 2 2 Connecting the Ethernet Interface 2 2 When Connecting Only the Recorder and a PC 2 2 When Connecting to a Preexisting Network 2 2 2 3 Configuring the Ethernet Inter...

Page 11: ...formation Output Commands Available when using the instrument information server function via Ethernet communications 4 33 Chapter 5 Responses 5 1 Response Syntax 5 1 Affirmative Response 5 1 Single N...

Page 12: ...1B01 17E 1 2 3 4 5 6 App Index Contents Appendix Appendix 1 ASCII Character Codes App 1 Appendix 2 Output Flow of FIFO Data App 2 Appendix 3 Login Procedure App 4 Appendix 4 A List of Error Messages A...

Page 13: ...protocol Dedicated protocol Lower layer protocol TCP IP Interface Ethernet 10BASE T UDP Communication functions of the recorder Application TCP Transmission Control Protocol UDP User Datagram Protocol...

Page 14: ...Topics Ethernet interface settings Section 2 3 Commands Section 4 2 Instrument Information Server Outputs the serial number model name and other information about the recorder connected via the Ethern...

Page 15: ...e allowed There is a maximum number of simultaneous connections that can be established with the recorder Related Topics Login function settings Section 2 5 Maximum number of simultaneous connections...

Page 16: ...unication functions of the recorder Application Setting Measurement Server The functions are the same as those of the Setting Measurement server of the Ethernet interface See page 1 1 Related Topics R...

Page 17: ...nd the Number of Simultaneous Use The following table shows the maximum number of simultaneous connections the number of simultaneous users and the port numbers of the recorder Function Maximum Number...

Page 18: ...an example in which a recorder and a PC are connected to the network When connecting the recorder or the PC to a preexisting network the transfer rate connector type etc must be matched For details c...

Page 19: ...Setting mode screen Note To cancel an operation press the ESC key Host Name and Domain Name 1 Press the key to select Ethernet and then press the key Basic Ethernet 2 Press the key to select Host and...

Page 20: ...g complete 6 Press the ESC key to return to the higher level menu To save the settings and exit from Basic Setting mode proceed to Saving the Settings DNS Domain Name System 1 Press the key to select...

Page 21: ...t the recorder s host name and the domain name of the network to which the recorder belongs Be sure to set these items when using the DNS Host Set the recorder s host name using up to 64 alphanumeric...

Page 22: ...ary DNS Server Set the IP address of the secondary DNS server The default value is 0 0 0 0 If the primary DNS server is down the secondary server is used to search the host name and IP address correla...

Page 23: ...be confirmed with the indicator that is located to the left of the Ethernet port on the recorder Indicator Connection Status of the Ethernet Interface ON Green The Ethernet interface is electrically...

Page 24: ...ncel an operation press the ESC key Enabling Disabling the Login Function 1 Press the key to select Ethernet and then press the key Basic Ethernet 2 Press the key to select Login and then press the ke...

Page 25: ...enance Test servers on the recorder via the Ethernet interface Enabling Disabling the Login Function Set whether to use the login function Registering Users User level Select either of the user levels...

Page 26: ...o Not The user name admin can be used to login to the recorder as an administrator Password is not necessary The user name user can be used to access the recorder as a user Password is not necessary T...

Page 27: ...an operation press the ESC key Communication Timeout 1 Press the key to select Ethernet and then press the key Basic Ethernet 2 Press the key to select Timeout and then press the key Ethernet Timeout...

Page 28: ...ettings are activated and the Operation mode screen appears Explanation The communication timeout function and the keepalive function can be configured Communication Timeout Selecting On or Off If On...

Page 29: ...31 Modbus slave protocol Transmission mode Half duplex Synchronization Start stop synchronization Baud rate Select from 1200 2400 4800 9600 19200 and 38400 bps Start bit Fixed to 1 bit Data length Sel...

Page 30: ...A Connection Procedure Cable Use the cable that meets the conditions below Item Conditions Cable Shielded twisted pair cable 3 pairs AWG24 14 Four wire system 2 pairs 24 AWG or more Two wire system Ch...

Page 31: ...ce Converter on the next page The two wire system can be used only when using the Modbus protocol For the configuration procedure see section 3 5 Four Wire System Generally a four wire system is used...

Page 32: ...RD B RD A SDB SDA RS 232 Two Wire System Connect the transmission and reception signals with the same polarity on the RS 422A 485 terminal block The two wire system can be used only when using the Mod...

Page 33: ...puter 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 el...

Page 34: ...RS 422A interface exist in the system The maximum number of connection is 16 Some of YOKOGAWA s conventional recorder only support the RS 422A driver In this case only up to 16 units can be connected...

Page 35: ...dded every time a character is transmitted The start bit is followed by the data bits parity bit and stop bit See the figure below Data bit 7 or 8 bits 1 character Stop bit Parity bit Even Odd or None...

Page 36: ...upported Functions The function codes of the Modbus slave protocol that the recorder supports are shown below The recorder does not support broadcast commands Function Code Specifications Operation 3...

Page 37: ...valid channel is read 31001 Alarm status of the measured data of CH01 31002 Alarm status of the measured data of CH02 31003 Alarm status of the measured data of CH03 31004 Alarm status of the measured...

Page 38: ...of CH1B upper word 32029 Computed data of CH1C lower word 32030 Computed data of CH1C upper word 32031 Computed data of CH1D lower word 32032 Computed data of CH1D upper word 32033 Computed data of C...

Page 39: ...Registers corresponding to models with the M1 computation function option The values are the same as those of the alarm status of the measured data Valid channels vary depending on the device An error...

Page 40: ...an be input When reading from the register The communication input data a floating point is converted to a 16 bit signed integer and output 40301 Communication input data of C01 lower word 40302 Commu...

Page 41: ...of C22 upper word 40345 Communication input data of C23 lower word 40346 Communication input data of C23 upper word 40347 Communication input data of C24 lower word 40348 Communication input data of...

Page 42: ...dress and then press the key Address 1 3 Press the key to select the Baud rate value and then press the key Baud rate 38400 4 Press the key to select the Data length value and then press the key Data...

Page 43: ...ct the data length from below To output data in BINARY format be sure to set the data length to 8 bits 7 or 8 Parity Parity check method Select the parity check from the following Odd Even or None Pro...

Page 44: ...nored except for parameters that are specified using an ASCII character string unit tag and message string when spaces are valid You can omit the parameters that do not need to be changed from their c...

Page 45: ...haracter Use either of the following two characters for the terminator CR LF 0DH 0AH in ASCII code LF 0AH in ASCII code Note The total data length from the first character to the terminator must be le...

Page 46: ...ing Run mode Yes No 4 13 SP Sets the partial expanded recording Run mode Yes No 4 13 VR Turns ON OFF the recording on each channel Run mode Yes No 4 14 ST Sets the tag Run mode Yes No 4 14 SG Sets the...

Page 47: ...s No 4 23 UK Sets whether to use of partial expanded recording Basic Setting mode Yes No 4 23 UL Selects the display printout language Basic Setting mode Yes No 4 23 XN Selects the date format Basic S...

Page 48: ...on adjustment Basic Setting mode Yes No 4 29 Yes Command usable No Command not usable Output Commands Command Command Function Execution Mode Administrator User Page Type Name Control BO Sets the byte...

Page 49: ...atistical information All modes Yes Yes 4 32 help Outputs help All modes Yes Yes 4 32 net Outputs network statistical information All modes Yes Yes 4 32 quit Disconnects the connection of the instrume...

Page 50: ...2 to 3200 B B 0 0 to 1820 0 C 0 to 18200 32 to 3308 F 32 to 3308 K K 200 0 to 1370 0 C 2000 to 13700 328 to 2498 F 328 to 2498 E E 200 0 to 800 0 C 2000 to 8000 328 0 to 1472 0 F 3280 to 14720 J J 200...

Page 51: ...of Leftmost and Range of Leftmost and the SR Command Rightmost Values of Span Rightmost Values of Span of the SR Command Level LEVEL 0 to 1 0 to 1 Contact CONT 0 to 1 0 to 1 0 when less than 2 4 V 1...

Page 52: ...4 option I01 to I06 I11 to I16 R20000 Models with the A5 option I01 to I06 I11 to I16 I21 to I26 I31 to I36 R20000 Communication Input Data R10000 Pen model C01 to C08 dot model C01 to C12 R20000 Pen...

Page 53: ...01 1 5V 1000 5000 0 12000 1 OFF Description This command cannot be specified while computation is in progress For p3 and p4 enter an integer value of 5 digits or less according to the table in sectio...

Page 54: ...t p3 in the range of 10 of the span of the measurable range at the range type or 10 of the scaling span Specify the value with an integer see section 4 3 The bias setting is valid only when the bias f...

Page 55: ...F input DI 0 or 1 For scaling 1 5V scaling and square root 5 to 105 of the scale span except within 20000 to 30000 Parameter p5 for the difference high limit alarm difference low limit alarm Values in...

Page 56: ...Z Sets zone recording Syntax SZ p1 p2 p3 terminator p1 Channel number p2 Leftmost position of the zone R10000 0 to 95 R20000 0 to 175 mm p3 Rightmost position of the zone R10000 5 to 100 R20000 0 to 1...

Page 57: ...rt speed used by the remote control function R1 option Syntax SE p1 terminator p1 Secondary chart speed See the explanation Query SE Example Set the chart speed to 50 mm h SE 50 Description Select the...

Page 58: ...when p2 is OFF The SS command can be used on the R10000 with system version 1 02 or earlier SO Sets the computing equation M1 option Syntax SO p1 p2 p3 p4 p5 p6 terminator p1 Computation channel numb...

Page 59: ...02 STATUS On screens with the displayed channel switching interval Syntax VD p1 p2 p3 terminator p1 Screen number 01 to 15 p2 Display type 1CH digital 1 channel digital display 2CH digital 2 channel d...

Page 60: ...ottom sections p3 Top section display type 1CH digital 1 channel digital display 2CH digital 2 channel digital display 3CH digital 3 channel digital display R20000 TIME Date Time R10000 Chart speed Ch...

Page 61: ...100 ms 6 channels 2 5 s 12 channels 5 s 18 and 24 channels 10 s VH Sets the batch number and lot number BT1 option When setting the batch number Syntax VH p1 p2 terminator p1 BATCH p2 Batch number up...

Page 62: ...ON OFF p4 Pen offset compensating recording ejection ON OFF ON OFF p5 Select chart speed when ejecting pen offset compensating record C SPEED Chart speed setting 450mm h Fixed to 450 mm h Query VA p1...

Page 63: ...using the basic setting commands the settings must be saved using the YE or XE command The settings that are returned in response to a query in the basic setting mode will contain the new settings eve...

Page 64: ...the A D integral time Syntax XI p1 terminator p1 Integration time of the A D converter AUTO Automatically set in synch with the power supply frequency 50HZ 20 ms 60HZ 16 7 ms 100MS 100 ms dot model Q...

Page 65: ...he interval according to the chart speed Manual Specify the interval p2 Reference time 00 to 23 hour p3 Interval 10min 12min 15min 20min 30min 1h 2h 3h 4h 6h 8h 12h 24h when p1 is Manual p4 Periodic p...

Page 66: ...te format for displaying and printing Y M D example 2005 08 31 M D Y example 08 31 2005 D M Y example 31 08 2005 D M Y example 31 08 2005 M D Y example Aug 31 2005 Query XN Example Set to the 2005 08...

Page 67: ...essage 1 Message2 Print message 2 Message3 Print message 3 Message4 Print message 4 Message5 Print message 5 Priority R_RCD Priority to remote recording BatchCMT switch Batch comment switching Query X...

Page 68: ...value is applied to TLOG SUM or TLOG AVE computation SKIP Do not use the data for computation LIMIT Use the limit value given by the recorder for computation Query US Example When the computed result...

Page 69: ...3 terminator p1 Channel number p2 Setting mode ReviseValue Specify deviation Abs Value Specify absolute value p3 Number of calibration set points 2 to 16 Query UQ p1 Example Set the setting mode to Ab...

Page 70: ...t ON OFF Query UH Example Display all menus UH ON ON ON ON ON UE Selects enable disable for Start printout End printout and message format BT1 option When using Start printout End printout Syntax UE p...

Page 71: ...ose display channel is set to manual switching AK Executes alarm acknowledge Alarm ACK Syntax AK p1 terminator p1 Executes alarm acknowledge 0 Example Execute alarm acknowledge AK 0 TL Starts stops re...

Page 72: ...Byte order 0 Outputs the data MSB first 1 Outputs the data LSB first Query BO Example Output the data MSB first BO 0 Description This command applies to the byte order of numerical data during BINARY...

Page 73: ...data instantaneous value Report Output the statistical calculation data of periodic printout report data Tlog1 Output the data at the most recent timeout of TLOG timer 1 Tlog2 Output the data at the...

Page 74: ...ument The ASCII code of ESC is 1BH Syntax ESC O p1 terminator CR LF p1 Instrument address 01 to 32 Example Open the instrument at address 01 ESC O 01 Description Specifies the address of the instrumen...

Page 75: ...ocal Address The recorder s socket address Displays IP address port number Foreign Address The destination socket address Displays IP address port number State Connection status ESTABLISHED Connection...

Page 76: ...lision incidents quit Disconnects the connection of the instrument being operated Syntax quit terminator 4 10 Instrument Information Output Commands Available when using the instrument information ser...

Page 77: ...is section denotes a terminator Affirmative Response When the command is processed correctly an affirmative response is returned Syntax E0CRLF Example E0 Single Negative Response When the command is n...

Page 78: ...l Diagram E B CR LF BINARY data ASCII BINARY Data length Data sum Flag ID Header sum 1 byte BINARY header 12 bytes BINARY data BINARY footer 2 bytes EBCRLF Indicates that the data is BINARY Data Lengt...

Page 79: ...data Section 5 3 1 FIFO data Section 5 3 10 Setup data file Undisclosed The table above shows the different types of BINARY Data Measured computed data can be output using the FD command FIFO data ca...

Page 80: ...len Length of the data on which the sum is calculated Return value Calculated sum intcksum unsigned char buff int len unsigned short p Pointer to the next two byte data word in the buffer that is to b...

Page 81: ...s not exist The causes that the condition become The instrument with the specified address does not exist is such as a command error the address not matching that of the instrument the instrument is n...

Page 82: ...r of the listed commands in the table in section 4 2 A List of Commands However the setting information for the following commands is not output Setting commands SD CM and FR Basic Setting commands YE...

Page 83: ...el k Channel type 0 Measurement channel A Computation channel cc Channel number R10000 01 to 06 0A to 0P R20000 01 to 24 0A to 1P uuuuuu Unit information 6 characters left justified mV____ mV V_____ V...

Page 84: ...or space winter S1S2S3S4S5S6 Data status Takes on the values below for the FYTlog1 and FYTlog2 commands For all other cases they are all spaces S1 Time change during TLOG computation T occurred or sp...

Page 85: ...nout data when up is specified are positive Negative over data and the burnout data when down is specified are negaitive ddddd Mantissa 00000 to 99999 5 digits 8 digits for computed data For error dat...

Page 86: ...ond 000 to 999 T t S summer or space winter S1S2S3S4S5S6 Data status S1 Time change during reporting T occurred or space not occurred S2 Power OFF and ON during reporting P occurred or space not occur...

Page 87: ...alue minimum value maximum value average value and sum value of the computation channel f1 Sign of mantissa ddddd Mantissa 00000 to 99999 dddddddd Mantissa 00000000 to 99999999 f2 Sign of exponent pp...

Page 88: ...mation 1 000 to 255 bbb Status information 2 000 to 255 ccc Status information 3 000 to 255 ddd Status information 4 000 to 255 Example EA 000 000 032 000 EN User Information The FU command is used to...

Page 89: ...Data and FIFO Data The FD FD1 command is used to output the most recent measured computed data The FF FEGET FERESEND and FEGETNEW command is used to output the FIFO data The decimal point position an...

Page 90: ...A2 Bit 4 to 7 0 to 8 A3 Bit 0 to 3 A4 Bit 4 to 7 Measured data 0 to FFFFH Computed data 0 to FFFFFFFFH BINARY value 0 to 8 is entered in the upper and lower 4 bits of a byte 8 bits for the alarm stat...

Page 91: ...1 The logical AND of the condition register and the filter becomes the status information The IF command can be used to set the filter The IS command is used to output the status information Status i...

Page 92: ...n the measurement process could not keep up 1 Decimal point unit Set to 1 when the decimal point unit information is information change changed 2 Command error Set to 1 when there is a command syntax...

Page 93: ...d English Note 2 3 and are assigned to character codes as follows 7BH 7CH 2 7DH 3 7EH 5EH Characters in the parentheses are the characters assigned on the keyboard 0 1 2 3 4 5 6 7 8 A B C D E F G H P...

Page 94: ...e measured computed data The measured computed data are acquired to the internal memory at 1 s intervals Measured computed data are acquired to blocks 1 through 8 in order After acquiring to block 8 t...

Page 95: ...esponse E0 Send command Receive response Wait for the FIFO acquiring interval 1 s Move the FIFO read position to the most recent acquire position Command description Command to send Received response...

Page 96: ...thin the number of simultaneous uses Within 2 minutes Within the number of connections Within 2 minutes User name Password Increment retry count 1 1 1 1 End Start Judgment Transition Code for a descri...

Page 97: ...an be used to access the recorder as a user E1 403 Yes No No No No No No E1 404 E1 421 Connect Disconnect E1 422 Disconnect E1 420 Disconnect Login complete Within 3 retries Within 3 retries E0 E1 402...

Page 98: ...s for message Cannot enter a setting that exceeds the message string 16 characters 21 Cannot set an alarm for a SKIPPED channel 22 The upper and lower span limits are equal This is not allowed 23 The...

Page 99: ...gateway is not equal to Set the correct default gateway that of IP address 151 This action is invalid during calculation 160 This action is invalid during chart end 161 This action is invalid during...

Page 100: ...Connection has been lost 421 The number of simultaneous connection has been exceeded 422 Communication has timed out Warning Messages Code Message Explanation Countermeasures 600 Initialized Settings...

Page 101: ...5 administrator 2 9 affirmative response 5 1 alarm 4 11 4 20 alarm ACK 4 28 alarm acknowledge 4 28 alarm delay 4 23 alarm delay time 4 14 alarm printout buffer 4 28 ASCII character codes App 1 ASCII d...

Page 102: ...4 15 E end printout 4 19 4 27 entering basic setting mode vi entering characters vii entering values vii error messages App 6 ESC key vi Ethernet interface 2 1 Ethernet statistical information 4 32 ex...

Page 103: ...85 interface 4 24 run mode vi 4 3 S secondary chart speed 4 14 selecting the setup item and value vi serial number 4 33 setting commands 4 3 setting mode vi setting basic setting data output 5 6 setti...

Reviews: