RKC INSTRUMENT REX-F9000 Communication Instruction Manual

High resolution
Hide thumbs Also See for REX-F9000:

Advertisement

High Resolution
Temperature Controller
REX-F9000
Communication
Instruction Manual
IM9000F02-E2
RKC INSTRUMENT INC.
®

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the REX-F9000 and is the answer not in the manual?

Questions and answers

Summary of Contents for RKC INSTRUMENT REX-F9000

  • Page 1 High Resolution Temperature Controller REX-F9000 Communication Instruction Manual IM9000F02-E2 RKC INSTRUMENT INC. ®...
  • Page 2 MELSEC : MITSUBISHI product C200HS: OMRON product Company names and product names used in this manual are the trademarks or registered trademarks of the respective companies. All Rights Reserved, Copyright 1999, RKC INSTRUMENT INC.
  • Page 3 Thank you for purchasing the RKC product. Before operating this instrument, please carefully read this manual and fully understand its contents. And always keep it around you to make it available easily anytime. SYMBOL : If there are possible dangers such as electric shock, fire (burns), etc. which may WARNING result in operator's loss of life or injury, precautions to avoid such dangers are described.
  • Page 4 CAUTION This is a Class A instrument. In a domestic environment this instrument may cause radio interference, in which case the user is required to take adequate measures. This instrument is protected from electric shock by reinforced insulation. So please arrange reinforced insulation to the wire for input signal against the wires for instrument power supply, source of power and loads as far as possible.
  • Page 5: Table Of Contents

    5.1 Communication protocol ................36 5.1.1 Communication data configuration ..............36 5.1.2 Data format.......................38 5.1.3 Data read......................39 5.1.4 Data write ......................40 5.1.5 Reversal of read/write data bytes..............41 5.1.6 REX-F9000 no response ..................43 5.1.7 Example of text sent by PLC................43 i - 3 IM9000F02-E2...
  • Page 6 Page 5.2 Communication identifier................44 5.3 Example of sequence program ..............46 5.3.1 MELSEC Series (MITSUBISHI) ................46 5.3.2 C200HS (OMRON) ...................48 6. TROUBLESHOOTING ............50 7. ASCII 7-BIT CODE TABLE ..........52 i - 4 IM9000F02-E2...
  • Page 7: Specification

    1. SPECIFICATION (1) Interface : Based on EIA standard RS-485 (2) Connection method : 2-wire system, half-duplex multidrop connection (3) Communication distance : 1 km (max.) * However, the maximum communication distance varies slightly with the surroundings such as cables etc. (4) Synchronous method : Start/stop synchronous type (5) Communication speed :...
  • Page 8 1. SPECIFICATIONS (10) Communication code : RKC standard communication : ASCII 7-bit code Ladder communication : Text : BCD code Control code : STX(02H), CR(0DH), LF(0AH) * Code in brackets ( ) are in hexadecimal. (11) Terminal resister : or more (Externally connected) (12) Xon/Xoff control : None (13) Signal logic :...
  • Page 9: Connection

    In order to prevent electric shock or instrument failure, turn off power for this instrument and peripheral equipment before connecting or disconnecting. Up to 32 REX-F9000 including the host computer (or programmable controller [hereinafter, the "PLC"]) can be connected if multidrop connected by RS-485.
  • Page 10 When RS-485 is used as a host computer or PLC interface It is necessary that a circuit to transfer send and receive be built-in the host computer (or PLC). Paired wire RS-485 Host computer or PLC REX-F9000 T/R(A) T/R(A) SD (TXD):Send data T/R(B) T/R(B) RD (RXD):Receive data...
  • Page 11 2. CONNECTION Connection example 1-channel type When up to 32 REX-F9000 controllers including host computer (or PLC) are connected. Host computer or PLC Host computer or PLC RS-232C Communication level converter RS-485 RS-485 BRA-100B-2 BRA-100B-2 BRA-100B-2 RS-485 Device address REX-F9000...
  • Page 12: Setting For Communication

    3. SETTING FOR COMMUNICATION In order to make communication between the REX-F9000 and the host computer (or PLC), it is necessary to set the device address, communication speed, communication data configuration, interval time and protocol. Communication settings are made in parameter group 24 (PG24).
  • Page 13: Transfer To Parameter Group

    3. SETTING FOR COMMUNICATION 3.2 Transfer to parameter group 24 (PG24) Press the SET key to set the instrument to the SV setting mode. MODE MONI Press the SET key for more than 5 sec in SV setting mode to set the instrument to operator set mode.
  • Page 14: Communication Parameter Selection

    3. SETTING FOR COMMUNICATION 3.3 Communication parameter selection Communication parameter in parameter group 24 (PG24) are selected in the order of device address (Add), communication speed (bPS), communication data configuration (bIT), interval time (InT) and protocol selection (CMPS). Each communication parameter is selected by pressing the SET key.
  • Page 15: Device Address Setting

    Factory set value : 0 Setting procedure CAUTION For the 2-channel type REX-F9000, set independent device addresses to CH1 and CH2. Example : When setting device address to 15. Change the controller to parameter group 24 (PG24), and then display the device address (See P.8).
  • Page 16 3. SETTING FOR COMMUNICATION Press the SHIFT key to brightly light the tens digit. MODE MONI Press the UP key to enter "1" in the tens digit. MODE MONI Press the SET key to select the next communication parameter. As a result, the set device address is registered. MODE MONI : Bright lighting...
  • Page 17: Communication Speed Setting

    Set the same communication speed to both the REX-F9000 and connecting host computer (or PLC). For the 2-channel type REX-F9000, set the communication speed to CH1 and CH2. Example : When setting communication speed to "2 : 4800 bps." Select the communication speed display. (See P.8.)
  • Page 18 3. SETTING FOR COMMUNICATION Press the DOWN key to enter "2" in the lowest digit. As a result, a communication speed of 4800 bps is set. MODE MONI Press the SET key to change to the next communication parameter. As a result, the set communication speed is registered.
  • Page 19: Communication Data Configuration Setting

    4. ADJUSTMENT 3.6 Communication data configuration setting Set the data configuration during communication. Press the UP or DOWN key to change the numeral. Symbol and symbol name (bIT) : Communication data configuration Setting items RKC standard communication : Set the desired numeric value from 0 to 11. Set value Parity bit Data bit...
  • Page 20 3. SETTING FOR COMMUNICATION Setting procedure CAUTION For the 2-channel type REX-F9000, set the same communication data configuration to CH1 and CH2. Example : When setting communication data configuration to "1 : 8 data bits, no parity bit and 2 stop bits."...
  • Page 21: Interval Time Setting

    Range : 0 to 250 ms Factory set value : 250 Setting procedure CAUTION For the 2-channel type REX-F9000, set the same interval time to CH1 and CH2. Example : When setting interval time to 200 ms. Select the interval time display. (See P.8.) MODE MONI Press the SHIFT key to brightly light the tens digit.
  • Page 22 3. SETTING FOR COMMUNICATION Press the DOWN key to enter "0" in the tens digit. MODE MONI Press the SET key to change to the next communication parameter. As a result, the set interval time is registered. MODE MONI : Bright lighting : Dim lighting For the 1-channel type, if the key is not operated for more than 1 minute, the present display automatically returns to the PV/SV display.
  • Page 23: Protocol Setting

    RKC standard communication Ladder communication Setting procedure CAUTION For the 2-channel type REX-F9000, set same protocol selection to CH1 and CH2. Example : When setting protocol to "1 : Ladder communication." Select the protocol selection display. (See P.8.) : Bright lighting...
  • Page 24 3. SETTING FOR COMMUNICATION Setting a numeric value of "1" by pressing the UP key changes the protocol to ladder communication. MODE MONI Press the SET key to change to the next communication parameter. As a result, the set data construction is registered. MODE MONI : Bright lighting...
  • Page 25: Cautions For Communicatin

    This maximum time corresponds to interval time. If no interval time is set, the REX-F9000 side may be set to the send state even when the host computer side is not set to the receive state. As a result, no communication is conducted correctly.
  • Page 26 RS-485 (2-wire system) send/receive timing The transmission and reception of RS-485 communication are operated by a transmitting wire. Therefore, the timing of switching should be acted correctly. Send/receive example in the host computer and REX-F9000 is show in the following. Polling procedure Possible...
  • Page 27 3. SETTING FOR COMMUNICATION Send/receive processing times The processing time shown in the following is required for the REX-F9000 during data sending and receiving. Polling procedure Time (ms) Procedure details Response send time after calling [ENQ] receive Response send time after acknowledgment [ACK] receive...
  • Page 28: Rkc Standard Communication

    4. RKC STANDARD COMMUNICATION 4.1 Communication protocol The REX-F9000 uses the polling/selecting method to establish a data link. The basic procedure is followed ANSI X3.28 subcategory 2.5, A4 basic mode data transmission control procedure (Fast selecting is established for selecting).
  • Page 29 Device address [Number of digits: 2] This data is a device address of the REX-F9000 for polled and must be the same as the device address set value in item "3.4 Device address setting" (P. 9). Identifier [Number of digits : 2] (See P. 31.) This is for identifying data requested for the REX-F9000.
  • Page 30 When there is an error in the data type. After all the data has been sent. (5) REX-F9000 no response The REX-F9000 is set to no response when the polling sequence is not received correctly. If necessary, take time out recovery etc. for the host computer. IM9000F02-E2...
  • Page 31 If data send from the REX-F9000 is suspend, send [EOT] to terminate the data link. (7) Negative acknowledge [NAK] If the host computer cannot receive send data correctly from the REX-F9000, it sends [NAK] to the controller. Then, the REX-F9000 re-sends the same data to the host computer.
  • Page 32: Polling Procedure Example

    Normal transmission Host computer send Polling Identifier address REXF-9000 data send Host computer send Host computer send REX-F9000 data send For the presence of error in data Host computer send Error data Polling Identifier address REX-F9000 data send Host computer send...
  • Page 33: Selecting

    Send the selecting address selected as the selecting sequence from the host computer. [Device address] (Number of digits : 2) This data is a device address of the REX-F9000 to be selected and must be the same as the device address set value in item "3.4 Device address setting" (P. 9).
  • Page 34 Data [Number of digits : 7] This is the data indicated by the identifier of the REX-F9000. It is expressed in decimal ASCII code including a minus sign ( - ) and a decimal point. Even zero suppressed data or data whose figures below the decimal point are omitted can be received (However, the maximum number of digits is 7).
  • Page 35 When normally receive data exceeds the setting range. (6) No response If the selecting address is not received correctly, the REX-F9000 is set to no response, if [STX], [ETX] and [BCC] is not received correctly, the REX-F9000 is also set to no response.
  • Page 36: Selecting Procedure Example

    Selecting procedure example (When the host computer sends a set value) Normal transmission Host computer send Selecting Send data address REX-F9000 send Host computer send Host computer send ...... Send data REX-F9000 send For the presence of error in data...
  • Page 37: Communication Identifier

    4. RKC STANDARD COMMUNICATION 4.2 Communication identifier Communication identifier list Before changing data corresponding to the identifiers from "XI (input type)" to "WB (alarm 2 hold action selection)," always turn the "Control RUN/STOP" mode to "STOP." The number of digits is 7 for all data. [Except for model code (ID)] (Attributes RO: Read only, R/W: Read/Write) Iden-...
  • Page 38 4. RKC STANDARD COMMUNICATION (Attributes RO: Read only, R/W: Read/Write) Iden- Factory set Name Data range Attribute tifier value Control response 0 : Slow parameter 1 : Medium 2 : Fast PV bias -19.999 to +19.999 C 0.000 Sensor bias -1.9999 to +1.9999 0.0000 Digital filter...
  • Page 39 4. RKC STANDARD COMMUNICATION Continued on the next page. IM9000F02-E2...
  • Page 40 4. RKC STANDARD COMMUNICATION (Attributes RO: Read only, R/W: Read/Write) Iden- Factory set Name Data range Attribute tifier value Input type 0 : Pt100 (3-wire system) 1 : Pt100 (4-wire system) See *7 2 : JPt100 (3-wire system) 3 : JPt100 (4-wire system) Decimal point position 0 : No digit below decimal-point...
  • Page 41 *2 : This is an identifier which enables communication when there is an alarm 2. *3 : Any number other than "0" indicates errors (RAM write error, etc.) detected by the REX-F9000 self- diagnosis function. If two or more errors occur simultaneously, the sum total of all error Nos. is sent.
  • Page 42 4. RKC STANDARD COMMUNICATION : Hold action type Set value Type No hold action Hold action is taken when the power is turned on. Hold action is taken when the power is turned on or the setting changed. *10 : Set data lock level Set value Set data lock level Set value (SV) and parameter can't be set.
  • Page 43: Ladder Communication

    REX-F9000 uses the ignored process for the ladder communication protocol. Definition of protocol Read : Based on a data request from the PLC, data is sent to the PLC from the REX-F9000. Write : Based on a data request from the PLC, data is received by the REX-F9000.
  • Page 44 Upper byte 1000 Read request, write result data + (Positive) 1100 Read request, write result data - (Negative) Other Abnormal response *1 : Data transfer order is in accordance with the command from the PLC connected to the REX-F9000. IM9000F02-E2...
  • Page 45: Data Format

    REX-F9000 Data after write execution CR, LF [Delimit] Control characters to indicate the end of a text. The REX-F9000 judges that the text ends if it receives CR (0DH) and LF (0AH) in succession. 5.1.2 Data format The data (DAT) format is expressed as internal data excluding the decimal point.
  • Page 46: Data Read

    Reads identifiers requested from the PLC by the corresponding number of data items. A response from REX-F9000 is returned as 4-digit BCD data excluding the sign data and decimal point. Number of data which can be read at a time : 1 to 30.
  • Page 47: Data Write

    Identifie 0010 dddd (02H) address (0DH) (0AH) (ADR) (ID) 0011 Command Setting data (CMD) REX-F9000 response Number of bytes Number of BCD digits Details Device Identifie 0010 dddd address (ADR) (ID) 0011 The original data is returned by ignoring data write for either of the following cases.
  • Page 48: Reversal Of Read/Write Data Bytes

    (ADR) These two items can be inverted. Inverting method Reversal of Identifier (ID) and data (DAT) The usual data transfer order is reversed by the command (CMD). REX-F9000 (During data send from PLC) Command Details Identifier transfer order (CMD) (0000)
  • Page 49 Other Abnormal response *1 : Data transfer order is in accordance with the command from the PLC connected to the REX-F9000. Only data is inverted Change can be made by specifying "0011" to the data number (ID) and setting data on "0 : High order Low order "...
  • Page 50: Rex-F9000 No Response

    5. LADDER COMMUNICATION 5.1.6 REX-F9000 no response The REX-F9000 issues no-response for any of the following cases. The device address sent from the PLC does not match the device address of the REX-F9000. "CR" and "LF" can't be normally received.
  • Page 51: Communication Identifier

    5. LADDER COMMUNICATION 5.2 Communication identifier In RKC standard communication described above, each item is expressed by an identifier combined with a number and a letter (M1, S1 ...) but in ladder communication, each item is expressed only by a number. (Attributes RO: Read only, R/W: Read/Write) Identifier...
  • Page 52 5. LADDER COMMUNICATION (Attributes RO: Read only, R/W: Read/Write) Identifier Factory set Item Details of data value Upper Lower PV bias -1999 to +1999 1/100 0000 Undefined ---------- ------ ---- ---- Control 0 : RUN 1 : STOP ------ 0000 RUN/STOP Reversing the 0: Upper byte Lower byte...
  • Page 53: Example Of Sequence Program

    5. LADDER COMMUNICATION 5.3 Example of sequence program 5.3.1 MELSEC Series (MITSUBISHI) The ladder communication send/receive program using the MITSUBISHI MELSEC Series (A2CCPU24) is described below. Send data creation program (example) M000 STX setting MOVP H0002 Address setting = 01 Send data creation switch Identifier setting...
  • Page 54 5. LADDER COMMUNICATION Receive program (example) X1E1 Acquisition of receive FROMP character length Receive data read request Stores character length MOVP in index register Transfers receive data FROMP from receive buffer Receive data read Y1F1 completion setting X1E0, X1E1, Y1F0, Y1F1 and K61 in the above program differ depending on the programmable controller used to communication module address.
  • Page 55: C200Hs (Omron)

    5. LADDER COMMUNICATION 5.3.2 C200HS (OMRON) The communication send/receive program using the OMRON C200HS is described below. The following types of OMRON C200HS with the built-in RS-232C post can perform non- protocol communication. C200HS-CPU21 C200HS-CPU23 C200HS-CPU31 C200HS-CPU33 Send data creation program (example) 30000 STX setting Address setting = 01...
  • Page 56 5. LADDER COMMUNICATION Receive program (example) 26406 Receive data head register Control data D1100 Receive completion #0000 Number of stored data bytes flag #0256 For details on setting the PLC, see the manual for "OMRON C200HS." IM9000F02-E2...
  • Page 57: Troubleshooting

    Make re-setting after checking the identifier EOT return referring to The identifier of a function not added to " Communication identifier list" (P.31). the REX-F9000 is specified BCC error Check BCC of the transmission data. Data exceeds the setting range Check a data range.
  • Page 58 6. TROUBLESHOOTING Ladder communication Details Cause Measures Trouble wit and imperfect contact Check communication cables and communication cable and connector connectors. Device address designation differs Make reassignment after checking device address by referring to "3.4 Device address setting" (P.9). Set the communication speed suitable Incorrect communication speed for the PLC by referring to "3.5 Communication speed...
  • Page 59: Ascii 7-Bit Code Table

    7. ASCII 7-BIT CODE TABLE b5 to b7 b4 b3 b2 b1 ‘ ” & ’ < ¥ > ˜ IM9000F02-E2...
  • Page 60 RKC INSTRUMENT INC. HEADQUARTERS: 16-6, KUGAHARA 5-CHOME, OHTA-KU TOKYO 146-8515 JAPAN PHONE: 03-3751-9799 (+81 3 3751 9799) E-mail: info@rkcinst.co.jp FAX: 03-3751-8585 (+81 3 3751 8585) IM9000F02-E2 JUL.1999...

Table of Contents