Digital Controller CB100/CB400 CB500/CB700 CB900 Communication Instruction Manual ® RKC INSTRUMENT INC.
All Rights Reserved, Copyright 1998, RKC INSTRUMENT INC.
Thank you for purchasing the RKC instrument. In order to achieve maximum performance and ensure proper operation of your new instrument, carefully read all the instructions in this manual. Please place this manual in a convenient location for easy reference. SYMBOLS WARNING : This mark indicates precautions that must be taken if there is danger of electric shock, fire, etc., which could result in loss of life or injury.
CAUTION ! This is a Class A instrument. In a domestic environment, this instrument may cause radio interference, in which case the user may be required to take adequate measures. ! This instrument is protected from electric shock by reinforced insulation. Provide reinforced insulation between the wire for the input signal and the wires for instrument power supply, source of power and loads. ! This instrument is designed for installation in an enclosed instrumentation panel.
CONTENTS Page 1. SPECIFICATIONS................................................................1 2. WIRING .................................................................................2 3. SETTING FOR COMMUNICATION ......................................5 3.1 Transfer to communication setting mode.........................................................5 3.2 Communication parameter selection ...............................................................6 3.3 Device address setting .....................
MEMO i-4 IMCB03-E5
1. SPECIFICATIONS Interface: Based on RS-485, EIA standard Connection method: 2-wire system, half-duplex multi-drop connection Communication distance: 1 km max. The maximum communication distance will be affected by the surrounding conditions. Synchronous method: Start/stop synchronous type Communication speed: 2400 bps, 4800 bps, 9600 bps, 19200 bps Data bit configuration: Start bit: Data bit: Parity bit: Stop bit: Protocol: ANSI X3.28 subcategory 2.
2. WIRING ! WARNING In order to prevent electric shock or instrument failure, do not turn on the power until all the wiring is finished. Up to 32 CB100/CB400/CB500/CB700/CB900 digital controller (hereinafter, the "controller") including the host computer can be connected if multidrop connected by RS-485. Terminal No. and signal details !" CB100/CB400/CB500/CB900 Terminal No. Signal name Name 13 SG 14 T/R(A) Send data/Receive data 15 T/R(B) Send data/Receive data Terminal No.
2. WIRING When host computer interface is RS-485 !" It is necessary that a circuit to transfer send and receive be built-in the host computer.
2.
3. SETTING FOR COMMUNICATION In order to make communication between the CB100/CB400/CB500/CB700/CB900 digital controller (hereinafter, the "controller") and the host computer, it is necessary to set the device address, communication speed, data construction and interval time. Communication settings are made in communication setting mode. The following pictures used for explanation are for CB900. However, the same operation also applies to other controllers. The section in each picture is dimly lit. 3.
3. SETTING FOR COMMUNICATION 3.2 Communication parameter selection Parameters in communication setting mode are selected in the order of device address "Add," communication speed "bPS," data construction "bIT" and interval time set value "InT." Each parameter is selected by pressing the SET key. Display flowchart !" Power ON Input type and input range display Display changes automatically PV/SV display mode (Display for approx. 4 sec) Press the SET key.
3. SETTING FOR COMMUNICATION 3.3 Device address setting Set the device address by using numerals from 0 to 99. Press the UP or DOWN key to change the numeral, and also press the
3. SETTING FOR COMMUNICATION 2. Set the device address. Press the UP key to enter "5" in the lowest digit. PV SV AT OUT1 OUT2 ALM1 ALM2 SET R/S 3. Press the
3. SETTING FOR COMMUNICATION 3.4 Communication speed setting Set a communication speed of 2400 bps, 4800 bps, 9600 bps or 19200 bps by using numerals from 0 to 3. Press the UP or DOWN key to change the numeral. Symbol Name Communication speed bPS Setting range 0 : 2400 bps 1 : 4800 bps 2 : 9600 bps 3 : 19200 bps Description Selects the communication speed. Factory set value 2 CAUTIONS &"Set the same communication speed to both the controller and connecting host computer.
3. SETTING FOR COMMUNICATION 2. Press the DOWN key to enter "1" in the lowest digit. As a result, a communication speed of 4800 bps is set. PV SV AT OUT1 OUT2 ALM1 ALM2 SET R/S 3. Press the SET key to change to the next communication parameter. As a result, the set communication speed is registered.
3. SETTING FOR COMMUNICATION 3.5 Data bit configuration setting Set the data bit configuration during communication by using numerals from 0 to 5. Press the UP or DOWN key to change the numeral. Symbol Name Data bit configuration Setting range 0 to 5 See *A Description Selects data bit configuration during communication.
3. SETTING FOR COMMUNICATION Setting procedure !" Example: When setting data bit configuration to "1: 8 data bits, no parity bit and 2 stop bits." 1. Change the controller to communication setting mode, and then display the data bit configuration (See P. 5, 6). Data bit configuration PV SV AT OUT1 OUT2 ALM1 ALM2 SET R/S 2. Press the UP key to enter "1" in the lowest digit. As a result, data bit configuration is set to "8 data bits, no parity bit and 2 stop bits.
3. SETTING FOR COMMUNICATION 3.6 Interval time setting Set the interval time. Press the UP or DOWN key to change the numeral, and press the
3. SETTING FOR COMMUNICATION 2. Here, as an interval time of 250 ms needs to be set, calculate the interval time set value using the equation (See P. 13). Interval time set value: 250 ms ÷ 1.666 ms 150 (Round to the nearest whole number.) Interval time: 150 × 1.666 ms 249.9 (Approx. 250 ms) Thus, enter an interval time set value of 150 calculated from the above by pressing the UP or DOWN key at the front of the controller. 3. Press the DOWN key to enter "0" in the lowest digit.
3. SETTING FOR COMMUNICATION 5. Press the UP key to enter "5" in the tens digit. PV SV AT OUT1 OUT2 ALM1 ALM2 SET R/S 6. Press the
3. SETTING FOR COMMUNICATION 3.7 Notes under communication (1) If polling is made by specifying the identifier of the function which is not added to the controller, the controller sends [EOT]. In addition, if selecting is made, the controller sends [NAK]. (2) When the communication parameter was changed, always turn on the power again. Otherwise, no communication is performed by using the changed value. (3) Send/receive timing The controller requires the following processing times during data send/receive.
3. SETTING FOR COMMUNICATION 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 controller is show in the following.
3. SETTING FOR COMMUNICATION When host computer is selected from data sending to data receiving !" When switching the host computer into reception from transmission, it must be confirmed that the data was surely put on line. This is not observe the transmission buffer of host computer itself, but confirming with shift register.
4. COMMUNICATION PROTOCOL The CB100/CB400/CB500/CB700/CB900 digital controller (hereinafter, the "controller") 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). !"In the polling/selecting method, the controller is controlled completely by the host computer is permitted.
4. COMMUNICATION PROTOCOL 4.1.1 Polling procedure (1) Initialize of data link Host computer sends [EOT] for initializing of data link before polling sequence. (2) Polling sequence send Host computer sends polling sequence with a format shown below. # $ Example: % ENQ 0 2 M 1 ENQ Device Identifier address # Device address [Number of digits: 2] This data is a device address of the controller for polled and must be the same as the device address set value in item "3.3 Device address setting" (P.
4. COMMUNICATION PROTOCOL $ Identifier [Number of digits: 2] (See P. 28.) This is for identifying data (measured value, status and set value) sent to the host computer. % Data [Number of digits: 6] Data indicated by the identifier belonging to the controller. It is expressed in decimal ASCII code including a minus sing (-) and a decimal point. No zero suppression is made. ' [ETX] A transmission control character used to indicate text end.
4. COMMUNICATION PROTOCOL (6) Acknowledgment [ACK] Send [ACK] when the host computer could receive data items correctly. Next, the controller sends the identifier data following the identifier just sent in succession shown in "(Communication identifier list" (P. 28). If data send from the controller is suspend, send [EOT] to terminate the data link. (7) Negative acknowledge [NAK] If the host computer cannot receive send data correctly from the controller, it sends [NAK] to the controller.
4. COMMUNICATION PROTOCOL 4.1.2 Polling procedure example (When the host computer requests data) Normal transmission (" Host computer send E O 0 T 1 M 1 Host computer send E N Q 04H 30H 31H 4DH 31H 05H S T X Polling Identifier address M 1 0 0 1 0 .
4. COMMUNICATION PROTOCOL 4.2 Selecting Selecting is an operation in which the host computer selects one from among the controllers multidrop connected and then of recommending data receive. The procedure is as the following. Due to adopted fast selecting in controllers therefore becomes the type to send the data which connected to selecting sequence.
4. COMMUNICATION PROTOCOL (3) Data send Host computer to send the data with a format indicated below continuing the selecting sequence. STX # $ Identifier Data ETX BCC * For [STX], [ETX] and [BCC], see item "4.1 Polling" (P. 19). # Identifier [Number of digits : 2] (See P. 28.) This identifies the data (set value) which is sent by the host computer. $ Data [Number of digits : 6] Data is the information being sent to the controller.
4. COMMUNICATION PROTOCOL (4) Acknowledgment [ACK] If the controller correctly received data sent from the host computer, send [ACK]. Then, if there is data to be sent next on the host computer side, send the data. After the data has been sent, send [EOT] to terminate the data link. (5) Negative acknowledge [NAK] The controller sends [NAK] in the following cases. Then the appropriate recovery processing steps, such as data resend on the host computer side should be taken.
4. COMMUNICATION PROTOCOL 4.2.2 Selecting procedure example (When the host computer sends a set value) Normal transmission (" Host computer send E O T 0 1 S T X S 1 2 0 0 Host computer send . 0 E T X S T X B C C 04H 30H 31H 02H 53H 31H 32H 30H 30H 2EH 30H 03H 4DH Selecting address 1 1 .
5. COMMUNICATION IDENTIFIER Communication identifier list (" NOTES !"Communication is not possible when an identifier is specified that the controller can not recognize. !"The number of digits is 6 for all data. (Attributes Identifier Name RO: Read only, R/W: Read/Write) Data range Factory set value Attribute Measured value (PV) M1 Within input range ---- RO Current transformer input 1 M2 0.0 to 100.0 A ---- RO M3 0.0 to 100.
5. COMMUNICATION IDENTIFIER Identifier Name Heater break alarm 1 setting Data range Factory set value Attribute A3 0.0 to 100.0 A 0.0 R/W A4 0.0 to 100.0 A 0.0 R/W A5 0.1 to 200.0 min. 8.0 R/W A6 Temperature input: 0 to 9999 °C [°F] 0 R/W 0 R/W 0 R/W Temperature input: 30 (30.0) R/W See *1. Heater break alarm 2 setting See *2. Control loop break alarm (LBA) setting See *1, *3. LBA deadband See *1, *3.
5. COMMUNICATION IDENTIFIER Identifier Name Data range Factory set value Attribute Derivative time D1 1 to 3600 sec (0: PI control) *Cannot be set while the self-tuning (ST) function is activated. Only polling can be made. 60 R/W Anti-reset windup W1 100 R/W Heat-side proportioning cycle T0 1 to 100 % of heat-side proportional band (0: Integral action OFF) *Cannot be set while the self-tuning (ST) function is activated. Only polling can be made.
5. COMMUNICATION IDENTIFIER *1: The communicable identifier differs depending on the alarm type specified in alarm 2.
5. COMMUNICATION IDENTIFIER *7: This is an identifier which enables communication at heat/cool PID action with autotuning (Water cooling/Air cooling). *8: Relay contact output: 20 sec Voltage pulse output, Triac output: 2 sec *9: Details of set data lock level selection.
5.
6. TROUBLESHOOTING This section lists some of the main causes and solutions for communication problems. If you can not solve a problem, please contact RKC sales office or the agent, on confirming the type name and specifications of the product. Problem No response Probable cause Trouble with and imperfect contact of communication cable Check communication cables and connectors. Incorrect communication speed Set the communication speed suitable for the host computer by referring to "3.
7.
MEMO 36 IMCB03-E5
The first edition: The fifth edition: MAY. 1998 DEC.
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) IMCB03-E5 DEC.