RKC Instrument SA100L Communication Instruction Manual

Add to My manuals
64 Pages

advertisement

RKC Instrument SA100L Communication Instruction Manual | Manualzz

Temperature Controller

®

RKC INSTRUMENT INC.

SA100L

Communication

Instruction Manual

IMR01J08-E1

Modbus is a registered trademark of Schneider Electric.

Company names and product names used in this manual are the trademarks or registered trademarks of the respective companies.

All Rights Reserved, Copyright  2004, 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

CAUTION

: 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.

: This mark indicates that if these precautions and operating procedures are not taken, damage to the instrument may result.

!

: This mark indicates that all precautions should be taken for safe usage.

: This mark indicates important information on installation, handling and operating

procedures.

: This mark indicates supplemental information on installation, handling and

operating procedures.

: This mark indicates where additional information may be located.

!

WARNING

An external protection device must be installed if failure of this instrument could result in damage to the instrument, equipment or injury to personnel.

All wiring must be completed before power is turned on to prevent electric shock, fire or damage to instrument and equipment.

This instrument must be used in accordance with the specifications to prevent fire or damage to instrument and equipment.

This instrument is not intended for use in locations subject to flammable or explosive gases.

Do not touch high-voltage connections such as power supply terminals, etc. to avoid electric shock.

RKC is not responsible if this instrument is repaired, modified or disassembled by other than factory-approved personnel. Malfunction can occur and warranty is void under these conditions.

IMR01J08-E1 i-1

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 basic insulation between the power supply and the input/output. Provide reinforced insulation between the wire for the input signal and the wires for instrument power supply, source of power and loads.

Be sure to provide an appropriate surge control circuit respectively for the following:

- If input/output or signal lines within the building are longer than 30 meters.

- If input/output or signal lines leave the building, regardless the length.

This instrument is designed for installation in an enclosed instrumentation panel. All high-voltage connections such as power supply terminals must be enclosed in the instrumentation panel to avoid electric shock by operating personnel.

All precautions described in this manual should be taken to avoid damage to the instrument or equipment.

All wiring must be in accordance with local codes and regulations.

All wiring must be completed before power is turned on to prevent electric shock, instrument failure, or incorrect action.

The power must be turned off before repairing work for input break and output failure including replacement of sensor, contactor or SSR, and all wiring must be completed before power is turned on again.

To prevent instrument damage or failure, protect the power line and the input/output lines from high currents with a protection device such as fuse, circuit breaker, etc.

Prevent metal fragments or lead wire scraps from falling inside instrument case to avoid electric shock, fire or malfunction.

Tighten each terminal screw to the specified torque found in the manual to avoid electric shock, fire or malfunction.

For proper operation of this instrument, provide adequate ventilation for heat dispensation.

Do not connect wires to unused terminals as this will interfere with proper operation of the instrument.

Turn off the power supply before cleaning the instrument.

Do not use a volatile solvent such as paint thinner to clean the instrument. Deformation or discoloration will occur. Use a soft, dry cloth to remove stains from the instrument.

To avoid damage to instrument display, do not rub with an abrasive material or push front panel with a hard object.

Do not connect modular connectors to telephone line.

NOTICE

This manual assumes that the reader has a fundamental knowledge of the principles of electricity, process control, computer technology and communications.

The figures, diagrams and numeric values used in this manual are only for purpose of illustration.

RKC is not responsible for any damage or injury that is caused as a result of using this instrument, instrument failure or indirect damage.

Periodic maintenance is required for safe and proper operation of this instrument. Some components have a limited service life, or characteristics that change over time.

Every effort has been made to ensure accuracy of all information contained herein. RKC makes no warranty expressed or implied, with respect to the accuracy of the information. The information in this manual is subject to change without prior notice.

No portion of this document may be reprinted, modified, copied, transmitted, digitized, stored, processed or retrieved through any mechanical, electronic, optical or other means without prior written approval from RKC. i-2

IMR01J08-E1

CONTENTS

Page

1. OUTLINE............................................................................... 1

2. SPECIFICATIONS ................................................................ 2

3. WIRING ................................................................................. 4

4. SETTING............................................................................... 6

4.1 Transfer to Communication Setting Mode .......................................................6

4.2 Setting the Communication Parameters ..........................................................7

4.3 Communication Requirements ......................................................................11

5. RKC COMMUNICATION PROTOCOL............................... 13

5.1 Polling............................................................................................................13

5.1.1 Polling procedures ............................................................................................. 14

5.1.2 Polling procedure example................................................................................. 17

5.2 Selecting........................................................................................................18

5.2.1 Selecting procedures ......................................................................................... 18

5.2.2 Selecting procedure example............................................................................. 21

5.3 Communication Identifier List ........................................................................22

6. MODBUS COMMUNICATION PROTOCOL....................... 31

6.1 Message Format............................................................................................31

6.2 Function Code ...............................................................................................32

6.3 Communication Mode....................................................................................32

6.4 Slave Response ............................................................................................33

6.5 Calculating CRC-16.......................................................................................34

6.6 Message Format............................................................................................36

6.6.1 Read holding registers [03H].............................................................................. 36

6.6.2 Preset single resister [06H] ................................................................................ 37

6.6.3 Diagnostics (loopback test) [08H] ...................................................................... 38

IMR01J08-E1 i-3

Page

6.7 Data Configuration.........................................................................................39

6.7.1 Data range ......................................................................................................... 39

6.7.2 Data processing precautions.............................................................................. 40

6.8 Communication Data List...............................................................................41

7. INPUT RANGE TABLES .................................................... 49

8. TROUBLESHOOTING........................................................ 53

9. ASCII 7-BIT CODE TABLE ................................................ 56 i-4

IMR01J08-E1

1. OUTLINE

SA100L interfaces with the host computer via Modbus or RKC communication protocols. For reference purposes, the Modbus protocol identifies the host computer as master, the SA100L as slave.

Host computer or

SA100L

PLC, etc.

RS-485

Host computer or

PLC, etc. or

SA100L

SA100L

RS-232C

RS-232C/RS-485 converter

SA100L

SA100L

SA100L

IMR01J08-E1

1

2. SPECIFICATIONS

RKC communication

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 1

Data bit: 7 or 8

Parity bit: Without, Odd or Even

Stop bit: 1 or 2

Protocol: ANSI X3.28 subcategory 2.5, A4

Error control: Vertical parity (With parity bit selected)

Horizontal parity (BCC check)

Communication code: ASCII 7-bit code

Termination resistor: Externally

Xon/Xoff control: None

Maximum connections: 32 instruments maximum including a host computer

Signal logic: RS-485

Signal voltage

V (A) - V (B) ≥ 2 V

V (A) - V (B) ≤ -2 V

Logic

0 (SPACE)

1 (MARK)

Voltage between V (A) and V (B) is the voltage of (A) terminal for the

(B) terminal.

2. SPECIFICATIONS

Modbus

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:

Communication speed:

Start/stop synchronous type

2400 bps, 4800 bps, 9600 bps, 19200 bps

Data bit configuration: Data bit: 8 (Byte data corresponding to binary data or bit.)

Parity bit: Without, Odd or Even

Stop bit: 1

Protocol: Modbus

Signal transmission mode: Remote Terminal Unit (RTU) mode

Function code: 03H (Read holding registers)

06H (Preset single register)

08H (Diagnostics: loopback test)

Error check method: CRC-16

Error code: 1: Function code error

2: When written to read only (RO) data, When any address other than

0000H to 001AH is specified, etc.

3: When the data written exceeds the setting range, When the specified number of data items in the query message exceeds the maximum number of data items available

4: Self-diagnostic error response

Termination resistor: Externally

Maximum connections: 32 instruments maximum including a master

Signal logic: RS-485

Signal voltage

V (A) - V (B) ≥ 2 V

V (A) - V (B) ≤ -2 V

Logic

0 (SPACE)

1 (MARK)

Voltage between V (A) and V (B) is the voltage of (A) terminal for the

(B) terminal.

IMR01J08-E1

3

3. WIRING

!

WARNING

To prevent electric shock or instrument failure, turn off the power before connecting or disconnecting the instrument and peripheral equipment.

Connector pin number and signal details

2 3 Pin No. Signal name Symbol

Communication connector

1

SG

2

3

Send data/Receive data

Send data/Receive data

T/R (A)

T/R (B)

Front

The bottom of the instrument

A connector and connector cable for connecting the input block is necessary to be prepared by the customer.

Housing: XHP-3 (J.S.T. Mfg. Co., Ltd. product)

Recommended cable size: AWG 30 to 22

Wiring method

Connection to the RS-485 port of the host computer (master)

SA100L

(Slave)

RS-485

Paired wire

Host computer (Master)

SG

T/R (A)

SG

T/R (A)

T/R (B)

T/R (B)

Communication connector

SA100L

(Slave)

Shielded twisted pair wire

* R

SD (TXD) : Send data

RD (RXD) : Receive data

Send/Receive transfer signal

SD (TXD) and RD (RXD): Negative logic

SG

T/R (A)

T/R (B)

Communication connector

31 max.

* R

* R: Termination resistors (Example: 120 Ω 1/2

3. WIRING

Connection to the RS-232C port of the host computer (master)

A RS-232C/RS-485 converter is required.

Paired wire

SA100L

(Slave)

RS-485

SG SG

RS-232C

T/R (A) T/R (A)

T/R (B)

Communication connector

* R * R

T/R (B)

Shielded twisted pair wire

RS-232C/RS-485 converter

Host computer

(Master)

* R: Termination resistors (Example: 120 Ω 1/2

When the host computer (master) uses Windows 95/98/NT , use a RS-232C/RS-485 converter with an automatic send/receive transfer function.

Recommended: CD485 , CD485/V manufactured by Data Link, Inc. or equivalent.

The cable is provided by the customer.

Connection with up to 31 SA100L (slaves) and one host computer (master)

Device address

(Slave address)

Host computer (Master)

RS-485

1 or

2 3

SA100L

(Slave)

4

Host computer (Master)

RS-232C

RS-232C/RS-485 converter

RS-485

Junction terminal

29 30

SA100L

(Slave)

31

IMR01J08-E1

5

4. SETTING

To establish communication parameters between host computer (master) and SA100L (slave), it is necessary to set the device address (slave address), communication speed, data bit configuration and interval time on each SA100L (slave) in the communication mode.

Power ON

Input Type/Input Range Display (Display for approx. 4 seconds)

Display changes automatically

PV/SV Display Mode

Press and hold the

SET key and press the <RST key at the same time

If the key is not pressed for more than one minute, the display will automatically return to the PV/SV display mode.

Communication Setting Mode

(Setting the communication parameters)

Power is turned on again

(Registration of set value)

4.1 Transfer to Communication Setting Mode

To go to the communication setting mode, you must be in PV/SV display. Press and hold the SET key and press the <RST key at the same time to initiate communication settings. The first parameter to be displayed will be the device address (slave address), Add .

PV PV

AT

OUT1

AT

OUT1

SV

OUT2

SV2

ALM1

ALM2

SV

OUT2

SV2

ALM1

ALM2

SET

SA100L

RST

PV/SV display

SET

SA100L

RST

Device address (Slave address)

Communication setting mode

When let communication setting mode finish, press and hold the SET key and press the

<RST key at the same time. The display changes to the PV/SV display.

4. SETTING

4.2 Setting the Communication Parameters

To select parameters in communication setting mode, press the SET key. The parameters are displayed and sequenced in the order of device address (slave address), Add , communication speed, bPS , data bit configuration, bIT and interval time set value, InT .

Setting procedure

Setting procedure vary depending on the communication parameter.

• Device address Add , interval time InT

Operate UP, DOWN and <RST key, and input numerals.

• Communication speed bPS , data bit configuration bIT

Operate UP and DOWN key, and choose one among the displayed set value.

Press the SET key

PV

SV

PV

SV

PV

SV

PV

SV

Device address

(Slave address)

[Add]

Press the SET key

Communication speed

[bPS]

Press the SET key

Data bit configuration

[bIT]

Press the SET key

Interval time

[InT]

Registration of set value

After completing all communication parameter settings, turn on the power again, and register the set value which changed.

IMR01J08-E1

7

4. SETTING

Description of each parameters

(Add)

(bPS)

(bIT)

Device address

(Slave address)

Communication speed

Data bit configuration

Interval time *

0 to 99

1920: 19200 bps

See data bit configuration table

0 to 250 ms

Please set it not to duplication in multi-drop connection.

If the slave address is set to 0 in Modbus, two-way communication cannot be performed.

Set the same communication speed for both the SA100L

(slave) and the host computer

(master).

Set the same data bit configuration for both the

SA100L (slave) and the host computer (master).

The SA100L’s interval time must match the specifications of the host computer. set value

0

960

8n1

10

(InT)

Data bit configuration table

Set value Data bit Parity bit Stop bit

(7E1) 7 Even

(7E2) 7 Even

1

2

Setting range of

RKC communication

(8E1) 8 Even

(8E2) 8 Even

1

2

Setting range of

Modbus

* The interval time for the SA100L should be set to provide a time for host computer to finish sending all data including stop bit and to switch the line to receive data. If the interval time between the two is too short, the SA100L may send data before the host computer is ready to receive it. In this case, communication transmission can not be conducted correctly. For a successful communication sequence to occur, the SA100L’s interval time must match the specifications of the host computer.

8

IMR01J08-E1

4. SETTING

Setting procedure example

1. Go to the communication setting mode so that device address (slave address), Add , is displayed.

Present set value is displayed, and the least significant digit blinks.

PV

SV

AT

OUT1

OUT2

SV2

ALM1

ALM2

SET

SA100L

RST

Device address (Slave address)

2. Set the device address. Press the UP key to enter 5 at the least significant digit.

Example: Setting the device address (slave address) to 15.

PV

SV

AT

OUT1

OUT2

SV2

ALM1

ALM2

SET

SA100L

RST

3. Press the <RST key to blink the tens digit.

PV

SV

AT

OUT1

OUT2

SV2

ALM1

ALM2

SET

SA100L

RST

Continued on the next page.

IMR01J08-E1 9

4. SETTING

4. Press the UP key to enter 1 at the tens digit.

PV

SV

AT

OUT1

OUT2

SV2

ALM1

ALM2

SET

SA100L

RST

5. Press the SET key to set the value thus set. The display changes to the next communication parameter. It the SET key is not pressed within 1 minute, the present display returns to the SV

Setting & Monitor Mode and the value set here returns to that before the setting is changed.

PV

SV

AT

OUT1

OUT2

SV2

ALM1

ALM2

SET

SA100L

RST

Communication speed

10

IMR01J08-E1

4. SETTING

4.3 Communication Requirements

Processing times during data send/receive

The SA100L requires the following processing times during data send/receive.

Whether the host computer is using either the polling or selecting procedure for communication, the following processing times are required for SA100L to send data:

-Response wait time after SA100L sends BCC in polling procedure

-Response wait time after SA100L sends ACK or NAK in selecting procedure

RKC communication (Polling procedure)

Procedure details Time (ms)

Response send time after SA100L receives ENQ

Response send time after SA100L receives ACK

Response send time after SA100L receives NAK

Response send time after SA100L sends BCC

RKC communication (Selecting procedure)

Procedure details

1.6

1.6

1.6

4.0

Time (ms)

Response send time after SA100L receives BCC

Response wait time after SA100L sends ACK

Response wait time after SA100L sends NAK

Modbus

Procedure details

Read holding registers [03H]

Response transmission time after the slave receives the query message

Preset single register [06H]

Response transmission time after the slave receives the query message

Diagnostics (loopback test) [08H]

Response transmission time after the slave receives the query message

Response send time is time at having set interval time in 0 ms.

1.6

3.0

Time

13 ms max.

6 ms max.

6 ms max.

10

1.0

1.0

12

10

10

1.0

IMR01J08-E1 11

4. SETTING

RS-485 (2-wire system) send/receive timing (RKC communication)

The sending and receiving of RS-485 communication is conducted through two wires; consequently, the transmission and reception of data requires precise timing. Typical polling and selecting procedures between the host computer and SA100L are described below:

Polling procedure

Send data

(Possible/Impossible)

Possible

Impossible

Host computer

Controller

Sending status

Send data

(Possible/Impossible)

Possible

Impossible

E

O

T

- - - - -

E

N

Q a

Sending status

S

T

X a : Response send time after SA100L receives [ENQ] + Interval time b : Response send time after SA100L sends BCC c : Response send time after SA100L receives [ACK] + Interval time or

Response send time after SA100L receives [NAK] + Interval time

- - - - -

Selecting procedure

B

C

C

A

C

K or

N

A

K b c

Send data

(Possible/Impossible)

Possible

Host computer

Impossible

Sending status

S

T

X

- - - - -

B

C

C

Controller

Send data

(Possible/Impossible)

Possible

Impossible a b

Sending status

A

C

K or

N

A

K a: Response send time after SA100L receives BCC + Interval time b: Response wait time after SA100L sends ACK or Response wait time after SA100L sends NAK

To switch the host computer from transmission to reception, send data must be on line. To check if data is on line, do not use the host computer’s transmission buffer but confirm it by the shift register.

Whether the host computer is using either the polling or selecting procedure for communication, the following processing times are required for SA100L to send data:

-Response wait time after SA100L sends BCC in polling procedure

-Response wait time after SA100L sends ACK or NAK in selecting procedure

Fail-safe

A transmission error may occur with the transmission line disconnected, shorted or set to the high-impedance state. In order to prevent the above error, it is recommended that the fail-safe function be provided on the receiver side of the host computer. The fail-safe function can prevent a framing error from its occurrence by making the receiver output stable to the MARK (1) when the transmission line is in the high-impedance state.

12

IMR01J08-E1

5. RKC COMMUNICATION PROTOCOL

The temperature controller SA100L (hereafter, called 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 the selecting method used in this controller).

The polling/selecting procedures are a centralized control method where the host computer controls the entire process. The host computer initiates all communication so the controller responds according to queries and commands from the host.

The code use in communication is 7-bit ASCII code including transmission control characters.

The transmission control characters are EOT (04H), ENQ (05H), ACK (06H), NAK (15H), STX

(02H) and ETX (03H). The figures in the parenthesis indicate the corresponding hexadecimal number.

5.1 Polling

Polling is the action where the host computer requests one of the connected controllers to transmit data.

An example of the polling procedure is shown below:

E

O

T

(1)

Host computer send

[Address] [ ID ]

(2)

E

N

Q

Controller send

No response

(5)

Host computer send

Controller send

Host computer send

E

O

T

(10)

E

O

T (4)

S

T

X

[ ID ] [ Data ]

E

T

X

[ BCC ]

(3) No

(8) response

(9)

Indefinite

Time out

E

O

T

A

C

(6)

K N

A

(7) K

ID: Identifier

IMR01J08-E1

13

5. RKC COMMUNICATION PROTOCOL

5.1.1 Polling procedures

(1) Data link initialization

Host computer sends EOT to the controllers to initiate data link before polling sequence.

(2) Data sent from host computer - Polling sequence

Host computer sends polling sequence with the format shown below:

1.

2.

3.

Example:

Device address

Identifier

ENQ 0 2 M 1 ENQ

1. Device address (2 digits)

The device address specifies the controller to be polled and each controller must have its own unique device address.

For details, see 4.2 Setting the Communication Parameters (P. 7) .

2. Identifier (2 digits)

The identifier specifies the type of data that is requested from the controller.

For details, see 5.3 Communication Identifier List (P. 22) .

3. ENQ

The ENQ is the transmission control character that indicates the end of the polling sequence. The

ENQ must be attached to the end of the identifier. The host computer then must wait for a response from the controller.

(3) Data sent from the controller

If the polling sequence is received correctly, the controller sends data in the following format:

1.

2.

3.

4.

5.

STX Identifier Data ETX BCC

14

IMR01J08-E1

5. RKC COMMUNICATION PROTOCOL

1. STX

STX is the transmission control character which indicates the start of the text transmission

(identifier and data).

2. Identifier (2 digits)

The identifier indicates the type of data (measured value, status and set value) sent to the host computer.

For details, see 5.3 Communication Identifier List (P. 22) .

3. Data (6 digits [Expect model code and ROM version number.] )

Data is the information being sent from the controller. It is expressed in decimal ASCII code including a minus sign (-) and a decimal point. No zero suppression is made.

4. ETX

ETX is a transmission control character used to indicate the end of text transmission.

5. BCC

BCC (Block Check Character) detects error using horizontal parity and is calculated by horizontal parity (even number).

Calculation method of BCC: Exclusive OR all data and characters from STX through ETX, not including STX.

Example:

STX M 1 0 0 0 5

4DH 31H 30H 30H 30H 35H

0

30H

0 ETX

30H 03H

BCC

Hexadecimal numbers

BCC = 4DH ⊕ 31H ⊕ 30H ⊕ 30H ⊕ 30H ⊕ 35H ⊕ 30H ⊕ 30H ⊕ 03H = 7AH

Value of BCC becomes 7AH.

(4) EOT sent from the controller (Ending data transmission from the controller)

In the following cases, the controller sends EOT to terminate the data link:

• When the specified identifier is invalid

• When there is an error in the data type

• When all the data has been sent

(5) No response from the controller

The controller will not respond if the polling address is not received correctly. It may be necessary for the host computer to take corrective action such as a time-out.

IMR01J08-E1

15

5. RKC COMMUNICATION PROTOCOL

(6) ACK (Acknowledgment)

An acknowledgment ACK is sent by the host computer when data received is correct. When the controller receives ACK from the host computer, the controller will send any remaining data of the next identifier without additional action from the host computer.

For the identifier, see 5.3 Communication Identifier List (P. 22) .

When host computer determines to terminate the data link, EOT is sent from the host computer.

(7) NAK (Negative acknowledge)

If the host computer does not receive correct data from the controller, it sends a negative acknowledgment NAK to the controller. The controller will re-send the same data when NAK is received. This cycle will go on continuously until either recovery is achieved or the data link is corrected at the host computer.

(8) No response from host computer

When the host computer does not respond within approximately three seconds after the controller sends data, the controller sends EOT to terminate the data link.

(9) Indefinite response from host computer

The controller sends EOT to terminate the data link when the host computer response is indefinite.

(10) EOT (Data link termination)

The host computer sends EOT message when it is necessary to suspend communication with the controller or to terminate the data link due lack of response from the controller.

16

IMR01J08-E1

5. RKC COMMUNICATION PROTOCOL

5.1.2 Polling procedure example

Normal transmission

Host computer send

E

O

T

04H

0 1 M 1

E

N

Q

30H 31H 4DH 31H 05H

Polling address

Identifier

Host computer send

A

C

K

06H

S

T

X

M 1 0 0 1 0 .

0

E

T

X

B

C

C

02H 4DH 31H 30H 30H 31H 30H 2EH 30H 03H 60H

Host computer send

S

T

X

O Z 0 0 0 0 0 0

E

T

X

B

C

C

02H 4FH 5AH 30H 30H 30H 30H 30H 30H 03H 16H

E

O

T

04H

Identifier Data

Send data

Controller send

Next send data

Controller send

Error transmission

Host computer send

E

O

T

0 1 M 1

E

N

Q

04H 30H 31H 4DH 31H 05H

Polling address

Identifier

S

T

X

M

Error data

1 0 0 1

02H 4DH 31H 30H 30H 31H

Host computer send

N

A

K

15H

.

0

E

T

X

B

C

C

2EH 30H 03H 60H

Host computer send

S

T

X

M 1 0 0 1 0 .

0

E

T

X

B

C

C

02H 4DH 31H 30H 30H 31H 30H 2EH 30H 03H 60H

A

C

K

06H

Identifier Data

Send data

Controller send

Re-send data

Controller send

IMR01J08-E1

17

5. RKC COMMUNICATION PROTOCOL

5.2 Selecting

Selecting is the action where the host computer requests one of the connected controllers to receive data. An example of the selecting procedure is shown below:

Host computer send Controller send

Host computer send

E

O

T

(1)

[Address]

(2)

S

T

X

[ Identifier ]

E

[ Data ] [ BCC ]

X

(3)

No response

A

C

K (4)

(6)

E

O

T

(7)

N

A

K (5)

5.2.1 Selecting procedures

(1) Data link initialization

Host computer sends EOT to the controllers to initiate data link before selecting sequence.

(2) Sending selecting address from the host computer

Host computer sends selecting address for the selecting sequence.

Device address (2 digits)

The device address specifies the controller to be selected and each controller must have its own unique device address.

For details, see 4.2 Setting the Communication Parameters (P. 7) .

18

IMR01J08-E1

5. RKC COMMUNICATION PROTOCOL

(3) Data sent from the host computer

The host computer sends data for the selecting sequence with the following format:

1.

2.

STX Identifier Data ETX BCC

For the STX, ETX and BCC, see 5.1 Polling (P. 13) .

1. Identifier (2 digits)

The identifier specifies the type of data that is requested from the controller, such as set value.

For details, see 5.3 Communication Identifier List (P. 22) .

2. Data (Maximum 6 digits)

Data is the information being sent to the controller. It is expressed in decimal ASCII code including a minus sign (-) and a decimal point (period).

About numerical data

The data that receipt of letter is possible

• Data with numbers below the decimal point omitted or zero suppressed data can be received.

<Example> When data send with − 001.5, − 01.5, − 1.5, − 1.50, − 1.500 at the time of − 1.5, controller can receive a data.

• When the host computer send data with decimal point to item of without decimal point, controller receives a message with the value which cut off below the decimal point.

<Example> When setting range is 0 to 200, controller receives as a following.

Send data 0.5 100.5

Receive data 0 100

• Controller receives value in accordance with decided place after the decimal point. The value below the decided place after the decimal point is cut off.

<Example> When setting range is − 10.00 to +10.00, controller receives as a following.

Send data

Receive data

− .5

− 0.50

.058 .05 − 0

0.05 0.05 0.00

The data that receipt of letter is impossible

Controller sends NAK when received a following data.

+

.

− .

Plus sign and the data that gained plus sing

Only minus sign (there is no figure)

Only decimal point (period)

Only minus sign and decimal point (period)

IMR01J08-E1

19

5. RKC COMMUNICATION PROTOCOL

(4) ACK (Acknowledgment)

An acknowledgment ACK is sent by the controller when data received is correct. When the host computer receives ACK from the controller, the host computer will send any remaining data. If there is no more data to be sent to controller, the host computer sends EOT to terminate the data link.

(5) NAK (Negative acknowledge)

If the controller does not receive correct data from the host computer, it sends a negative acknowledgment NAK to the host computer. Corrections, such as re-send, must be made at the host computer. The controller will send NAK in the following cases:

• When an error occurs on communication the line (parity, framing error, etc.)

• When a BCC check error occurs

• When the specified identifier is invalid

• When receive data exceeds the setting range

(6) No response from controller

The controller does not respond when it can not receive the selecting address, STX, ETX or BCC.

(7) EOT (Data link termination)

The host computer sends EOT when there is no more data to be sent from the host computer or there is no response from the controller.

20

IMR01J08-E1

5. RKC COMMUNICATION PROTOCOL

5.2.2 Selecting procedure example

Normal transmission

Host computer send

E

O

T

0 1

S

T

X

S 1 2 0 0 .

0

E

T

X

B

C

C

04H 30H 31H 02H 53H 31H 32H 30H 30H 2EH 30H 03H 4DH

Selecting address

Identifier Data

Send data

A

C

K

06H

Controller send

Host computer send

S

T

X

A 1 5 .

0

E

T

X

B

C

C

02H 41H 31H 35H 2EH 30H 03H 58H

Next send data

Host computer send

E

O

T

04H

A

C

K

06H

Controller send

Error transmission

Error data

Host computer send

E

O

T

0 1

S

T

X

S 1 2 1 0 .

E

0

X

B

C

C

04H 30H 31H 02H 53H 31H 32H 31H 30H 2EH 30H 03H 4DH

Selecting address

Identifier Data

Send data

N

A

K

15H

Controller send

Host computer send

S

T

X

S 1 2 0 0 .

0

E

T

X

B

C

C

02H 53H 31H 32H 30H 30H 2EH 30H 03H 4DH

Re-send data

A

C

K

06H

Controller send

Host computer send

S

T

X

A

02H 41H

1

31H

……

IMR01J08-E1

21

5. RKC COMMUNICATION PROTOCOL

5.3 Communication Identifier List

Communication is not possible when an identifier is specified that the controller can not recognize.

The number of digits for data is 6.

Normal setting data

Name Iden-

Alarm interlock release

Set value (SV)

Alarm 1 set value tifier

(Attribute

Data range

RO: Read only, R/W: Read and Write)

Factory set value

Attribute

Model code ID Display the model code

Measured value (PV) M1 Within input range

Limit action monitor

Burnout

OZ 0: Normal

1: Limit output ON

2: EXCD status

B1 0: OFF

1: ON

Alarm 1 status

Alarm 2 status

AA 0: OFF

AB 1: ON

Peak hold value monitor

Bottom hold value monitor

EXCD time

Limit action release

HP Setting limiter [low] to

Setting limiter [high]

HQ Setting limiter [low] to

Setting limiter [high]

TH 0.00 to 999.59

(0 min 00 sec to 999 min 59 sec)

HR Transfer of limit action release signal

“0” setting:

0: Limit action release (always “1”)

“1” setting:

1: Limit action release (always “0”)

IR 0: Interlock release (always “1”)

S1 Setting limiter [low] to

Setting limiter [high]

A1 Process alarm, SV alarm:

Same as input range

Deviation alarm:

− Span to +Span

However, within − 1999 to +9999 digits

-----

-----

RO

RO

0 RO

----- RO

-----

-----

RO

RO

----- RO

----- RO

----- RO

1 R/W

1

0 (0.0)

Temperature input: 50 (50.0)

Voltage/current inputs: 5.0

R/W

R/W

R/W

1

2

1 If Alarm 1, Alarm 2, Alarm 1 interlock, or Alarm 2 interlock are not provided, the attribute becomes

RO.

2 If Alarm 1 is not provided, the attribute becomes RO.

Continued on the next page.

22

IMR01J08-E1

5. RKC COMMUNICATION PROTOCOL

Continued from the previous page.

PV bias

Name Iden-

Alarm 1 timer

Alarm 2 set value

Alarm 2 timer

PV ratio

Digital filter

Analog output selection 4 tifier

TD 0 to 9999

PR

F1

LA

0.500 to 1.500

0 to 100 seconds (0: OFF)

0: Measured value (PV)

1: Set value (SV)

2: Deviation

(Attribute

Data range

RO: Read only, R/W: Read and Write)

Factory set value

Attribute

A2 Process alarm, SV alarm:

Same as input range

Deviation alarm:

− Span to +Span

However, within − 1999 to +9999 digits

TG 0 to 9999

PB − Span to +Span

However, within − 1999 to +9999 digits

Temperature input: 50 (50.0)

Voltage/current inputs: 5.0

0

Temperature input: 0 (0.0)

Voltage/current inputs: 0.0

1.000

0

R/W 1

R/W 2

R/W

R/W

R/W

R/W

3

Analog output scale high 4, 5

Analog output scale low 4, 5

HV Measured value (PV), Set value (SV):

Same as input range

Deviation:

− Span to +Span

Temperature input:

Input range

(high limit)

Voltage/current inputs: 100.0

HW Temperature input:

Input range

(low limit)

Voltage/current inputs: 0.0

1 If Alarm 1 is not provided or Alarm 1 timer unit is set to 0, the attribute becomes RO.

2 If Alarm 2 is not provided, the attribute becomes RO.

3 If Alarm 2 is not provided or Alarm 2 timer unit is set to 0, the attribute becomes RO.

4 These communication items, LA, HV and HW are not sent by Acknowledgement ACK from the

5 host computer. Send the polling sequence for these items separately (Example: EOT 00 LA ENQ).

The setting range is from − 1999 to +9999 regardless of the position of the decimal point.

Note 1 Set the attribute to R/W (Read and Write) for OUT1 when OUT1 is used as transmission output.

Set the attribute to RO (Read only) for OUT1 when OUT1 is not used as transmission output.

Continued on the next page.

IMR01J08-E1

23

5. RKC COMMUNICATION PROTOCOL

Continued from the previous page.

Name Iden- tifier

Set data lock

(Attribute

Data range

RO: Read only, R/W: Read and Write)

LK Least significant digit:

Lock only setting items other than

SV and alarms

(Data 0: Unlock, 1: Lock)

2nd digit:

Lock only alarms

(Data 0: Unlock, 1: Lock)

3rd digit:

Lock only SV

(Data 0: Unlock, 1: Lock)

4th digit:

Factory set value

Attribute

0 R/W

(Data 0: Lock, 1: Unlock)

5th to Most significant digit:

EEPROM storage mode 1

EB 0: Backup mode

(Set values are store to the EEPROM)

1: Buffer mode

(No set values are store to the EEPROM)

0 R/W

1 The non-volatile memory (EEPROM) has limitations on the number of memory rewrite times. If the buffer mode is selected as an EEPROM storage mode, all of the set values changed are not written to the EEPROM and thus a problem of limitations on the number of memory rewrite times can be solved. When the memory is used to frequently change the set value via communication, select the buffer mode.

When selecting any EEPROM storage mode, take notice of the following.

• If power failure occurs while the buffer mode is selected, the set value returns to the value before the storage mode is selected.

• If the buffer mode is changed to the backup mode, all of the set values at that time are stored to the EEPROM. If necessary to backup the final value of each set item, select the backup mode.

• When the power is turned on, the backup mode is always set.

Continued on the next page.

24

IMR01J08-E1

5. RKC COMMUNICATION PROTOCOL

Continued from the previous page.

Name Iden- tifier

(Attribute

Data range

RO: Read only, R/W: Read and Write)

Factory set value

Attribute

EEPROM storage status 1

Error code 2

EM 0: Mismatch

1: Match

----- RO

ER 0: No error

1: Adjustment error

2: EEPROM error

4: A/D conversion error

8: RAM check error

128: Watchdog timer error

----- RO

1 The contents of the buffer memory and those of the EEPROM can be checked.

When data is 0 : The contents of the buffer memory do not match with those of the EEPROM.

• As data is being written to the EEPROM in backup mode, do not turn the power off. If turned off, no set values are stored.

• If the set value is changed after the backup mode is changed to the buffer mode, 0 is set (mismatch). As the set value changed is not backup, select the backup mode if necessary.

When data is 1 : The contents of the buffer memory match with those of the EEPROM.

(Data write to the EEPROM is completed.)

2 Any number other than 0 indicates errors (RAM write error, etc.) detected by the controller self-diagnosis function. Please contact RKC sales office or the agent.

IMR01J08-E1

25

5. RKC COMMUNICATION PROTOCOL

Initial setting data

!

WARNING

The Initial setting data (Engineering mode) should be set according to the application before setting any parameter related to operation. Once the Initial setting data is set correctly, those data is not necessary to be changed for the same application under normal conditions. If they are changed unnecessarily, it may result in malfunction or failure of the instrument. RKC will not bear any responsibility for malfunction or failure as a result of improper changes in the

Initial setting.

The initial setting data items can be set by changing to the engineering mode. Transfer to engineering mode sets “1: Read/Write” with identifier “IO.”

(Attribute RO: Read only, R/W: Read and Write)

Name Iden- tifier

Engineering mode

Monitor display configuration

Input type selection

Data range

IO Engineering mode setting data items

0: Read only

1: Read/Write

DW 0: PV/SV display

1: Only PV display

2: Only SV display

XI 0: Thermocouple K

1: Thermocouple J

2: Thermocouple R

3: Thermocouple S

4: Thermocouple B

5: Thermocouple E

6: Thermocouple N

7: Thermocouple T

8: Thermocouple W5Re/W26Re

9: Thermocouple PLII

10: Thermocouple U

11: Thermocouple L

12: RTD Pt100

13: RTD JPt100

14: Voltage 0 to 5 V DC

(Current 0 to 20 mA DC) *

15: Voltage 1 to 5 V DC

(Current 4 to 20 mA DC) *

16: Voltage 0 to 10 V DC

* For the current input specification, a resistor

250 must be connected between

the input terminals.

Factory set value

Attribute

0 R/W

Note 2 Note 1

Note 1: Attribute varies depending on the Engineering mode (Identifier: IO) setting.

Note 2: Factory set value varies depending on the instrument specification.

Continued on the next page.

26

IMR01J08-E1

5. RKC COMMUNICATION PROTOCOL

Continued from the previous page.

Name Iden- tifier

Display unit selection PU 0: ° C

1: ° F

Decimal point position

Setting limiter [high]

XU

(Attribute

Data range

0: No decimal place

1: One decimal place

2: Two decimal places

3: Three decimal places

RO: Read only, R/W: Read and Write)

Factory set value

Attribute

XV Setting limiter [low] to Maximum value of the selected input range

Note 2 Note 1

Note 1

Setting limiter [low] XW Minimum value of the selected input range to Setting limiter [high]

Temperature input:

Maximum value of the selected input range

Voltage/current inputs: 100.0

Temperature input:

Minimum value of the selected input range

Voltage/current inputs: 0.0

Note 2

Note 1

Note 1 Output logic operation selection

LO See Table 1 (P.30)

Alarm 1 type selection XA 0: Alarm not provided

1: SV high alarm

2: SV low alarm

3: Process high alarm

4: Process low alarm

5: Deviation high alarm

6: Deviation low alarm

7: Deviation high/low alarm

8: Band alarm

Alarm 1 hold action WA 0: Without alarm hold action

1: Effective when the power is turned

on

2: Effective when the power is turned

on or the SV is changed

Note 2

Note 2

Note 1

Note 1

Note 1: Attribute varies depending on the Engineering mode (Identifier: IO) setting.

Note 2: Factory set value varies depending on the instrument specification.

Continued on the next page.

IMR01J08-E1

27

5. RKC COMMUNICATION PROTOCOL

Continued from the previous page. gap

Name Iden-

Alarm 1 differential

Alarm 1 process abnormality action selection tifier

(Attribute

Data range

HA 0 (0.0) to Span

OA 0: Normal processing

1: Turn the alarm output ON

RO: Read only, R/W: Read and Write)

Factory set value

Attribute

Temperature input:

2 (2.0) ° C [ ° F]

Voltage/current inputs:

0.2 % of span

Alarm 1 not provided: 0

Alarm 1 provided: 1

Note 1

Note 1

Alarm 1 interlock

Alarm 2 differential gap

QA 0: Without alarm interlock

1: With alarm interlock

TU 0 to 60 (sec) Alarm 1 timer unit

Alarm 2 type selection XB 0: Alarm not provided

1: SV high alarm

2: SV low alarm

3: Process high alarm

4: Process low alarm

5: Deviation high alarm

6: Deviation low alarm

7: Deviation high/low alarm

8: Band alarm

Alarm 2 hold action WB 0: Without alarm hold action

1: Effective when the power is turned

on

2: Effective when the power is turned

on or the SV is changed

HB 0 (0.0) to Span

0

Note 2

Note 2

Note 1

Note 1

Note 1

Note 1

Alarm 2 process abnormality action selection

OB 0: Normal processing

1: Turn the alarm output ON

Temperature input:

2 (2.0) ° C [ ° F]

Voltage/current inputs:

0.2 % of span

Alarm 2 not provided: 0

Alarm 2 provided: 1

Note 1

Alarm 2 interlock QB 0: Without alarm interlock

1: With alarm interlock

Note 1: Attribute varies depending on the Engineering mode (Identifier: IO) setting.

Note 2: Factory set value varies depending on the instrument specification.

Continued on the next page.

28

IMR01J08-E1

5. RKC COMMUNICATION PROTOCOL

Continued from the previous page.

Name Iden- tifier

Alarm 2 timer unit

Limit action type selection

Limit action differential gap

TV

MH

0 to 60 (sec)

(Attribute

Data range

XE 0: Limit action [high limit]

1: Limit action [low limit]

0 (0.0) to Span

RO: Read only, R/W: Read and Write)

Factory set value

Attribute

0 Note 1

Temperature input:

2 (2.0) ° C [ ° F]

Voltage/current inputs:

0.2 % of span

Note 1

Limit action hold action

Limit action process abnormality action selection

LH

LE

0: Without alarm hold action

1: Effective when the power is turned

on

0: Normal processing

1: Turn the alarm output ON

Limit action at the time of power ON

<RST key operation time selection

LP 0: Limit action output turned O FF at

the time of power ON

1 : Limit action output turned O N at

the time of power ON

RT 0: Press for one second

1: Press once

Reset action selection RS 0: All data is reset with each

1: Each data is reset with each

Limit action release signal selection

Integrated operating time display

Holding peak value ambient temperature display

RO 0: The limit action release signal reset

at the limit action release “0”.

1: The limit action release signal reset

at the limit action release “1”.

UT Display product calculation operating time.

Hp The maximum ambient temperature on the rear terminal board of the instrument is stored and displayed on the set value

(SV) display.

----- RO

----- RO

ROM version display VR Display the version of loading software.

-----

Note 1: Attribute varies depending on the Engineering mode (Identifier: IO) setting.

RO

Continued on the next page.

IMR01J08-E1

29

5. RKC COMMUNICATION PROTOCOL

Continued from the previous page.

Table 1: Output logic operation selection

Set value OUT1

1* Limit output (De-energized) *

2* Limit output (De-energized)

3

4

5

Limit output (De-energized)

Limit output (De-energized)

Limit output (De-energized)

9

10

11

6

7

8

Limit output (De-energized)

Limit output (De-energized)

Limit output (Energized)

Limit output (Energized)

Limit output (Energized)

Limit output (Energized)

OR

AND

OUT2

output of alarm 1 and alarm 2 (Energized) *

output of alarm 1 and alarm 2 (Energized)

Alarm 1 output (Energized)

OR output of alarm 1 and alarm 2 (De-energized)

AND output of alarm 1 and alarm 2 (De-energized)

Alarm 1 output (De-energized)

No output

OR output of alarm 1 and alarm 2 (Energized)

AND output of alarm 1 and alarm 2 (Energized)

Alarm 1 output (Energized)

OR output of alarm 1 and alarm 2 (De-energized)

12

13

14

Limit output (Energized)

Limit output (Energized)

Limit output (Energized)

AND output of alarm 1 and alarm 2 (De-energized)

Alarm 1 output (De-energized)

No output

15* Transmission output *

16* Transmission output

Limit output (De-energized)

Limit output (Energized)

*

* Writing (selecting) when the OUT1 is current output:

• Set the value “1” to the identifier “LO.” “15” is written to the identifier “LO.”

• Set the value “2” to the identifier “LO.” “16” is written to the identifier “LO.”

30

IMR01J08-E1

6. MODBUS COMMUNICATION PROTOCOL

The master controls communication between master and slave. A typical message consists of a request

(query message) sent from the master followed by an answer (response message) from the slave. When master begins data transmission, a set of data is sent to the slave in a fixed sequence. When it is received, the slave decodes it, takes the necessary action, and returns data to the master.

6.1 Message Format

The message consists of four parts: slave address, function code, data, and error check code which are always transmitted in the same sequence.

Slave address

Function code

Data

Error check CRC-16

Message format

Slave address

The slave address is a number from 1 to 99 manually set at the front key panel of the controller.

For details, see 4.2 Setting the Communication Parameters (P. 7) .

Although all connected slaves receive the query message sent from the master, only the slave with the slave address coinciding with the query message will accept the message.

Function code

The function codes are the instructions set at the master and sent to the slave describing the action to be executed. The function codes are included when the slave responds to the master.

For details, see 6.2 Function Code (P. 32) .

Data

The data to execute the function specified by the function code is sent to the slave and corresponding data returned to the master from the slave.

For details, see 6.6 Message Format (P. 36) , 6.7 Data Configuration (P. 39) and

6.8 Communication Data List (P. 41) .

Error check

An error checking code (CRC-16: Cyclic Redundancy Check) is used to detect an error in the signal transmission.

For details, see 6.5 Calculating CRC-16 (P. 34) .

IMR01J08-E1

31

6. MODBUS COMMUNICATION PROTOCOL

6.2 Function Code

Function code contents

Function code

(Hexadecimal)

03H

06H

08H

Function Contents

Read holding registers

Preset single register

Measured value (PV), alarm status, etc.

Set value (SV), alarm set value, PV bias, etc.

(For each word)

Diagnostics (loopback test) Diagnostics (loopback test)

Message length of each function (Unit: byte)

Function code

(Hexadecimal)

Function Query message Response message

Min Max Min Max

03H Read holding registers 8 8 7 255

06H Preset 8 8 8 8

08H Diagnostics 8 8 8 8

6.3 Communication Mode

Signal transmission between the master and slaves is conducted in Remote Terminal Unit (RTU) mode.

RTU mode

Items Contents

Data bit length

Start mark of message

End mark of message

Message length

Data time interval

8 bit (Binary)

Unused

Unused

See 6.2 Function Code (P. 32)

24 bit’s time or less *

Error check CRC-16 (Cyclic Redundancy Check)

* The data time intervals in one query message from the master must be 24 bit’s time or less. If the data time interval exceeds 24 bit’s time, the slave regards the transmission as ended and because the message format is incomplete, the slave does not respond.

32

IMR01J08-E1

6. MODBUS COMMUNICATION PROTOCOL

6.4 Slave Responses

(1) Normal response

• In the response message of the Read Holding Registers, the slave returns the read out data and the number of data items with the same slave address and function code as the query message.

• In the response message of the Preset Single Resister, the slave returns the same message as the query message.

• In the response message of the Diagnostics (loopback test), the slave returns the same message as the query message.

(2) Defective message response

• If the query message from the master is defective, except for transmission error, the slave returns the error response message without any action.

Slave address

Function code

Error code

Error check CRC-16

Error response message

• If the self-diagnostic function of the slave detects an error, the slave will return an error response message to all query messages.

• The function code of each error response message is obtained by adding 80H to the function code of the query message.

Error code Contents

1

2

3

4

(3) No response

Function code error (Specifying nonexistent function code)

When written to read only (RO) data, When any address other than 0000H to

001AH is specified, etc.

When the data written exceeds the setting range, When the specified number of data items in the query message exceeds the maximum number of data items available

Self-diagnostic error response

The slave ignores the query message and does not respond when:

• The slave address in the query message does not coincide with any slave address settings.

• The CRC code of the master does not coincide with that of the slave.

• Transmission error such as overrun, framing, parity and etc., is found in the query message.

• Data time interval in the query message from the master exceeds 24 bit’s time.

IMR01J08-E1

33

6. MODBUS COMMUNICATION PROTOCOL

6.5 Calculating CRC-16

The Cyclic Redundancy Check (CRC) is a 2 byte (16-bit) error check code. After constructing the data message, not including start, stop, or parity bit, the master calculates a CRC code and appends this to the end of the message. The slave will calculate a CRC code from the received message, and compare it with the CRC code from the master. If they do not coincide, a communication error has occurred and the slave does not respond.

The CRC code is formed in the following sequence:

1. Load a 16-bit CRC register with FFFFH.

2. Exclusive OR ( ⊕ ) the first byte (8 bits) of the message with the CRC register. Return the result to the CRC register.

3. Shift the CRC register 1 bit to the right.

4. If the carry flag is 1 , exclusive OR the CRC register with A001 hexadecimal and return the result to the CRC register. If the carry flag is 0 , repeat step 3 .

5. Repeat step 3 and 4 until there have been 8 shifts.

6. Exclusive OR the next byte (8 bits) of the message with the CRC register.

7. Repeat step 3 through 6 for all bytes of the message (except the CRC).

8. The CRC register contains the 2 byte CRC error code. When they are appended to the message, the low-order byte is appended first, followed by the high-order byte.

34

IMR01J08-E1

6. MODBUS COMMUNICATION PROTOCOL

The flow chart of CRC-16

START

FFFFH → CRC Register

CRC Register ⊕ next byte of the message → CRC Register

0 → n

Shift CRC Register right 1 bit

No

Carry flag is 1

Yes

CRC Register ⊕ A001H → CRC Register n + 1 → n

No

No n > 7

Yes

Is message complete ?

Yes

END

The ⊕ symbol indicates an exclusive OR operation. The symbol for the number of data bits is n .

IMR01J08-E1

35

6. MODBUS COMMUNICATION PROTOCOL

6.6 Message Format

6.6.1 Read holding registers [03H]

The query message specifies the starting register address and quantity of registers to be read.

The contents of the holding registers are entered in the response message as data, divided into two parts: the high-order 8 bits and the low-order 8 bits, arranged in the order of the register numbers.

Example: The contents of the three holding registers from 0000H to 0002H are the read out from slave address 2.

Query message

Slave address 02H

Function code 03H

Starting number High 00H

First holding register address

00H

The setting must be between 1 (0001H) and

125 (007DH).

Normal response message

Slave address

Function code

Number of data

First holding register contents

Next holding register contents

Next holding register contents

High

Low

High

Low

High

Low

02H

03H

06H

00H

00H

00H

00H

00H

63H

Number of holding registers × 2

Error response message

Slave address

80H + Function code

Error code

02H

83H

03H

36

IMR01J08-E1

6. MODBUS COMMUNICATION PROTOCOL

6.6.2 Preset single register [06H]

The query message specifies data to be written into the designated holding register. The write data is arranged in the query message with high-order 8 bits first and low-order 8 bits next. Only R/W holding registers can be specified.

Example: Data is written into the holding register 0010H of slave address 1.

Query message

Slave address

Function code

Holding register High

01H

06H

00H

Write data High 01H

Any data within the range

02H

Normal response message

Slave address

Function code

Holding register High

Write data High

01H

06H

00H

01H

Error response message

Slave address

80H + Function code

Error code

01H

86H

02H

IMR01J08-E1

37

6. MODBUS COMMUNICATION PROTOCOL

6.6.3 Diagnostics (loopback test) [08H]

The master’s query message will be returned as the response message from the slave. This function checks the communication system between the master and slave.

Example: Loopback test for slave address 1

Query message

Slave address

Function code

01H

08H

Test code High 00H

Test code must be set to 00 .

00H

Any pertinent data

Normal response message

Slave address

Function code

Test code High

01H

08H

00H

Contents will be the same as query message data.

Error response message

Slave address

80H + Function code

Error code

01H

88H

03H

38

IMR01J08-E1

6. MODBUS COMMUNICATION PROTOCOL

6.7 Data Configuration

6.7.1 Data range

The numeric range of data used in Modbus protocol is 0000H to FFFFH. Only the set value within the setting range is effective.

FFFFH represents -1.

Data processing with decimal points

Data with decimal points

Data with three decimal places

The Modbus protocol does not recognize data with decimal points during communication.

PV ratio

Example: When PV ratio is 0.555, 0.555 is processed as 555, 555 = 022BH

PV ratio High 02H

Data without decimal points

Limit action monitor

Burnout

Alarm 1 status

Alarm 2 status

EXCD time (min)

EXCD time (sec)

Limit action release

Alarm interlock release

Alarm 1 timer

Alarm 2 timer

Digital filter

Analog output selection

Set data lock

EEPROM storage mode

EEPROM storage status

Engineering mode

Monitor display configuration

Input type selection

Display unit selection

Decimal point position

Output logic operation selection

Alarm 1 type selection

Alarm 1 hold action

Alarm 1 process abnormality action selection

Alarm 1 interlock

Alarm 1 timer unit

Alarm 2 type selection

Alarm 2 hold action

Alarm 2 process abnormality action selection

Alarm 2 interlock

Alarm 2 timer unit

Limit action type selection

Limit action hold action

Limit action process abnormality action selection

Limit action at the time of power ON

<RST key operation time selection

Reset action selection

Limit action release signal selection

Example: When Alarm 1 timer is 50 seconds; 50 is processed as 50, 50 = 0032H

Alarm 1 timer High 00H

IMR01J08-E1

39

6. MODBUS COMMUNICATION PROTOCOL

Data whose decimal point’s presence and/or position depends on input range

The position of the decimal point changes depending on the input range type because the Modbus protocol does not recognize data with decimal points during communication.

The following data can have one of three decimal point positions:

• No decimal point

• One decimal place

• Two decimal place

For details, see 7. INPUT RANGE TABLES (P. 49) .

Measured value (PV)

Peak hold value monitor

Bottom hold value monitor

Set value (SV)

Alarm 1 set value

Alarm 2 set value

PV bias

Analog output scale high

Analog output scale low

Setting limiter [high]

Setting limiter [low]

Alarm 1 differential gap

Alarm 2 differential gap

Limit action differential gap

Example: When the temperature set value is − 20.0 ° C; − 20.0 is processed as − 200,

− 200 = 0000H − 00C8H = FF38H

Set value (SV) High FFH

6.7.2 Data processing precautions

• For 03H (read holding register), an error response message is returned when the start address is larger than 1AH.

• For 06H (preset single register), an error message is returned when the write address is larger than

1AH.

• Read data of unused channel and undefined address is 0 .

• Any attempt to write to an unused channel is not processed as an error. Data can not be written into an unused channel.

• If data range or address error occurs during data writing, the data written before error is in effect.

40

IMR01J08-E1

6. MODBUS COMMUNICATION PROTOCOL

6.8 Communication Data List

The communication data list summarizes data addresses (holding resister numbers), names, descriptions, factory set values and attributes.

(Attribute RO: Read only, R/W: Read and Write)

Name

Measured value

(PV)

Resister address

Hexa- decimal Decimal

Attribute

Data range

0000 0 RO Within input range

Factory set value

-----

Limit action monitor 0001 1 RO 0:

1: Limit output ON

2: EXCD status

Burnout

Alarm 1 status

Alarm 2 status

Peak hold value monitor

Bottom hold value monitor

0002 2 RO 0:

1: ON

0003 3 RO 0:

0004 4 RO 1:

0005 5 RO Setting limiter [low] to

Setting limiter [high]

0006 6 RO Setting limiter [low] to

Setting limiter [high]

-----

-----

-----

-----

-----

EXCD time (min)

EXCD time (sec)

0007 7 RO 0 to 999 (0 to 999 min)

0008 8 RO 0 to 59 (0 to 59 sec)

Limit action release 0009 9 R/W Transfer of limit action release signal

“0” setting:

0: Limit action release (always “1”)

“1” setting:

1: Limit action release (always “0”)

Alarm interlock release

000A 10 R/W 1 0: Interlock release (always “1”)

Set value (SV) 000B 11 R/W Setting limiter [low] to

Setting limiter [high]

Alarm 1 set value 000C 12 R/W 2 Process alarm, SV alarm:

Same as input range

Deviation alarm:

− Span to +Span

However, within − 1999 to +9999 digits

1

1

Temperature input: 0 or 0.0

Voltage/current inputs: 0

Temperature input: 50 or 50.0

Voltage/current inputs: 5.0

1 If Alarm 1, Alarm 2, Alarm 1 interlock, or Alarm 2 interlock are not provided, the attribute becomes

RO.

2 If Alarm 1 is not provided, the attribute becomes RO.

Continued on the next page.

IMR01J08-E1

41

6. MODBUS COMMUNICATION PROTOCOL

Continued from the previous page.

Name

Alarm 1 timer

Resister address

Hexa- decimal Decimal

Attribute

000D 13 R/W

Alarm 2 set value 000E 14 R/W 2

1

(Attribute

0 to 9999

RO: Read only, R/W: Read and Write)

Data range

Process alarm, SV alarm:

Same as input range

Factory set value

Temperature input: 50 or 50.0

Voltage/current inputs: 5.0

Alarm 2 timer

PV bias

Deviation alarm:

− Span to +Span

However, within − 1999 to +9999 digits

000F 15 R/W 3 0 to 9999

0010 16 R/W − Span to +Span

However, within − 1999 to +9999 digits

Temperature input: 0 or 0.0

Voltage/current inputs: 0.0

PV ratio

Digital filter

Analog output selection

Analog output scale high 4

0011 17 R/W 0.500 to 1.500

0012 18 R/W 0 to 100 seconds (0: OFF)

0013 19 Note 1 0: Measured value (PV)

1: Set value (SV)

2: Deviation

0014 20 Measured value (PV), Set value (SV):

Same as input range

1.000

0

0

Deviation:

− Span to +Span

Temperature input:

Input range

(high limit)

Voltage/current inputs: 100.0

Analog output scale low 4

0015 21 Temperature input:

Input range

(low limit)

Voltage/current inputs: 0.0

1 If Alarm 1 is not provided or Alarm 1 timer unit is set to 0, the attribute becomes RO.

2 If Alarm 2 is not provided, the attribute becomes RO.

3 If Alarm 2 is not provided or Alarm 2 timer unit is set to 0, the attribute becomes RO.

4 The setting range is from − 1999 to +9999 regardless of the position of the decimal point.

Note 1 Set the attribute to R/W (Read and Write) for OUT1 when OUT1 is used as transmission output.

Set the attribute to RO (Read only) for OUT1 when OUT1 is not used as transmission output.

Continued on the next page.

42

IMR01J08-E1

6. MODBUS COMMUNICATION PROTOCOL

Continued from the previous page.

EEPROM storage mode 1

EEPROM storage status 2

Name

Set data lock

(Attribute RO: Read only, R/W: Read and Write)

Resister address

Hexa- decimal Decimal

Attribute

Data range

0016 22 R/W Bit data b0: Lock only setting items other than

SV and alarms

(Data 0: Unlock, 1: Lock) b1: Lock only alarms

(Data 0: Unlock, 1: Lock) b2: Lock only SV

(Data 0: Unlock, 1: Lock) b3: Engineering mode

(Data 0: Lock, 1: Unlock) b4, b5: Unused (“0” fixed)

Factory set value

0

[Decimal number: 0 to 15]

0017 23

R/W 0: Backup mode

(Set values are store to the EEPROM)

1: Buffer mode

(No set values are store to the EEPROM)

0

0018 24

-----

1: Match

Unused

002F

47

--------- -----

1 The non-volatile memory (EEPROM) has limitations on the number of memory rewrite times. If the buffer mode is selected as an EEPROM storage mode, all of the set values changed are not written to the EEPROM and thus a problem of limitations on the number of memory rewrite times can be solved. When the memory is used to frequently change the set value via communication, select the buffer mode.

When selecting any EEPROM storage mode, take notice of the following.

• If power failure occurs while the buffer mode is selected, the set value returns to the value before the storage mode is selected.

• If the buffer mode is changed to the backup mode, all of the set values at that time are stored to the EEPROM. If necessary to backup the final value of each set item, select the backup mode.

• When the power is turned on, the backup mode is always set.

2 The contents of the buffer memory and those of the EEPROM can be checked.

When data is 0 : The contents of the buffer memory do not match with those of the EEPROM.

• As data is being written to the EEPROM in backup mode, do not turn the power off. If turned off, no set values are stored.

• If the set value is changed after the backup mode is changed to the buffer mode, 0 is set (mismatch). As the set value changed is not backup, select the backup mode if necessary.

When data is 1 : The contents of the buffer memory match with those of the EEPROM.

(Data write to the EEPROM is completed.)

IMR01J08-E1

43

6. MODBUS COMMUNICATION PROTOCOL

Initial setting data

!

WARNING

The Initial setting data (Engineering mode) should be set according to the application before setting any parameter related to operation. Once the Initial setting data is set correctly, those data is not necessary to be changed for the same application under normal conditions. If they are changed unnecessarily, it may result in malfunction or failure of the instrument. RKC will not bear any responsibility for malfunction or failure as a result of improper changes in the

Initial setting.

The initial setting data items can be set by changing to the engineering mode. Transfer to engineering mode sets “1: Read/Write” with resister address “0030H.”

(Attribute RO: Read only, R/W: Read and Write)

Name

Resister address

Hexa- decimal Decimal

Attribute

Data range

Engineering mode 0030 48 R/W Engineering mode setting data items

0: Read only

1: Read/Write

Factory set value

0

0 Monitor display configuration 1: Only PV display

2: Only SV display

Input type selection 0032 50

1: Thermocouple J

2: Thermocouple R

3: Thermocouple S

4: Thermocouple B

5: Thermocouple E

6: Thermocouple N

7: Thermocouple T

8: Thermocouple W5Re/W26Re

9: Thermocouple PLII

10: Thermocouple U

11: Thermocouple L

12: RTD Pt100

13: RTD JPt100

14: Voltage 0 to 5 V DC

(Current 0 to 20 mA DC) *

15: Voltage 1 to 5 V DC

(Current 4 to 20 mA DC) *

16: Voltage 0 to 10 V DC

* For the current input specification, a resistor

250 must be connected between

the input terminals.

Note 2

Note 1: Attribute varies depending on the Engineering mode (Resister address: 0030H) setting.

Note 2: Factory set value varies depending on the instrument specification.

Continued on the next page.

44

IMR01J08-E1

6. MODBUS COMMUNICATION PROTOCOL

Continued from the previous page.

Name

Display unit selection

Decimal point position

(Attribute

Resister address

Hexa- decimal Decimal

Attribute

0033 51 ° C

1: ° F

RO: Read only, R/W: Read and Write)

Data range

1: One decimal place

2: Two decimal places

3: Three decimal places

Factory set value

0

Note 2

Setting limiter

[high]

Setting limiter

[low] value of the selected input range range to Setting limiter [high]

Temperature input:

Maximum value of the selected input range

Voltage/current inputs: 100.0

Temperature input:

Minimum value of the selected input range

Voltage/current inputs: 0.0

Note 2 Output logic operation selection

Alarm 1 type selection

Note 2

1: SV high alarm

2: SV low alarm

3: Process high alarm

4: Process low alarm

5: Deviation high alarm

6: Deviation low alarm

7: Deviation high/low alarm

8: Band alarm

Alarm 1 hold action

Note 2

1: Effective when the power is turned

on

2: Effective when the power is turned

on or the SV is changed

Note 1: Attribute varies depending on the Engineering mode (Resister address: 0030H) setting.

Note 2: Factory set value varies depending on the instrument specification.

Continued on the next page.

IMR01J08-E1

45

6. MODBUS COMMUNICATION PROTOCOL

Continued from the previous page.

(Attribute RO: Read only, R/W: Read and Write)

Name

Alarm 1 differential gap

Resister address

Hexa- decimal Decimal

Attribute

Data range

003A 58 Note 1 0 (0.0) to Span

Factory set value

Temperature input:

2 (2.0) ° C [ ° F]

Voltage/current inputs:

0.2 % of span

Alarm 1 process abnormality action selection

003B 59 Note 1 0: Normal processing

1: Turn the alarm output ON

Alarm 1 not provided: 0

Alarm 1 provided: 1

0 Alarm 1 interlock 003C 60 Note 1 0: Without alarm interlock

1: With alarm interlock

Alarm 1 timer unit 003D 61 Note 1 0 to 60 (sec)

Alarm 2 type selection

0

Note 2

Alarm 2 hold action

003E 62 Note 1 0: Alarm not provided

1: SV high alarm

2: SV low alarm

3: Process high alarm

4: Process low alarm

5: Deviation high alarm

6: Deviation low alarm

7: Deviation high/low alarm

8: Band alarm

003F 63 Note 1 0: Without alarm hold action

1: Effective when the power is turned

on

2: Effective when the power is turned

on or the SV is changed

Note 2

Alarm 2 differential gap

Alarm 2 process abnormality action selection

Alarm 2 interlock 0042 66

1: Turn the alarm output ON

1: With alarm interlock

Temperature input:

2 (2.0) ° C [ ° F]

Voltage/current inputs:

0.2 % of span

Alarm 2 not provided: 0

Alarm 2 provided: 1

0

Note 1: Attribute varies depending on the Engineering mode (Resister address: 0030H) setting.

Note 2: Factory set value varies depending on the instrument specification.

Continued on the next page.

46

IMR01J08-E1

6. MODBUS COMMUNICATION PROTOCOL

Continued from the previous page.

(Attribute RO: Read only, R/W: Read and Write)

Name

Resister address

Hexa- decimal Decimal

Attribute

Alarm 2 timer unit 0043 67

Data range

Factory set value

0

0 Limit action type selection

Limit action differential gap

1: Limit action [low limit]

Temperature input:

2 (2.0) ° C [ ° F]

Voltage/current inputs:

0.2 % of span

0 Limit action hold action

Limit action process abnormality action selection

Limit action at the time of power ON

0048 72

1: Effective when the power is turned

on

1: Turn the alarm output ON

Note 1 0: Limit action output turned O

the time of power ON

FF at

1 : Limit action output turned O N at

the time of power ON

0

1

<RST key operation time selection

Reset action selection

004A 74

1: Press once

Note 1 0: All data is reset with each

1

0

1: Each data is reset with each

Limit action release signal selection

004B 75 Note 1 0: The limit action release signal reset

at the limit action release “0”.

1: The limit action release signal reset

at the limit action release “1”.

Note 1: Attribute varies depending on the Engineering mode (Resister address: 0030H) setting.

0

Continued on the next page.

IMR01J08-E1

47

6. MODBUS COMMUNICATION PROTOCOL

Continued from the previous page.

Table 1: Output logic operation selection

Set value OUT1

1* Limit output (De-energized) *

2*

3

Limit output (De-energized)

Limit output (De-energized)

6

7

4

5

Limit output (De-energized)

Limit output (De-energized)

Limit output (De-energized)

Limit output (De-energized)

8

9

10

11

12

13

Limit output (Energized)

Limit output (Energized)

Limit output (Energized)

Limit output (Energized)

Limit output (Energized)

Limit output (Energized)

OR

AND

Alarm 1 output (Energized)

OR

OR

output of alarm 1 and alarm 2 (Energized)

output of alarm 1 and alarm 2 (Energized)

AND output of alarm 1 and alarm 2 (Energized)

Alarm 1 output (Energized)

OR output of alarm 1 and alarm 2 (De-energized)

AND output of alarm 1 and alarm 2 (De-energized)

Alarm 1 output (De-energized)

*

output of alarm 1 and alarm 2 (Energized)

output of alarm 1 and alarm 2 (De-energized)

AND output of alarm 1 and alarm 2 (De-energized)

Alarm 1 output (De-energized)

No output

OUT2

14 Limit output (Energized)

15* Transmission output *

No output

Limit output (De-energized) *

16* Transmission output Limit output (Energized)

* Writing (selecting) when the OUT1 is current output:

• Set the value “1” to the resister address “0037H.” “15” is written to the resister address “0037H.”

• Set the value “2” to the resister address “0037H.” “16” is written to the resister address “0037H.”

48

IMR01J08-E1

7. INPUT RANGE TABLES

Input Range Table 1

Input type Input range Code

K 0 to 100 ° C

0 to 300 ° C

0 to 450 ° C

0 to 500 ° C

0 to 1372 ° C

− 199.9 to +300.0 ° C

0.0 to 400.0 ° C

0.0 to 800.0 ° C

Thermocouple

0.0 to 200.0 ° C

0.0 to 600.0 ° C

− 199.9 to +800.0 ° C

0 to 800 ° F

0 to 200 ° C

0 to 400 ° C

0 to 600 ° C

0 to 800 ° C

0 to 1000 ° C

0 to 1200 ° C

0 to 1600 ° F

0 to 2502 ° F

0.0 to 800.0 ° F

20 to 70 ° F

− 199.9 to +999.9 ° F

0 to 200 ° C

0 to 400 ° C

0 to 600 ° C

0 to 800 ° C

0 to 1000 ° C

J 0 to 1200 ° C

− 199.9 to +300.0 ° C

0.0 to 400.0 ° C

0.0 to 800.0 ° C

0 to 450 ° C

0.0 to 200.0 ° C

0.0 to 600.0 ° C

− 199.9 to +600.0 ° C

K 01

K 02

K 03

K 04

K 05

K 06

K 07

K 08

K 09

K 10

K 13

K 14

K 17

K 20

K 29

K 37

K 38

K A1

K A2

K A3

K A4

K A9

K B2

J 01

J 02

J 03

J 04

J 05

J 06

J 07

J 08

J 09

J 10

J 22

J 23

J 30

Continued on the next page.

IMR01J08-E1

49

7. INPUT RANGE TABLES

Continued from the previous page.

Input type Input range Code

0 to 800 ° F

0 to 1600 ° F

0 to 2192 ° F

J 0 to 400 ° F

− 199.9 to +999.9

0.0 to 800.0 ° F

° F

0 to 1600 ° C 1

0 to 1769 ° C 1

R 0 to 1350 ° C 1

0 to 3200 ° F 1

0 to 3216 ° F 1

0 to 1600 ° C 1

S 0 to 1769 ° C 1

0 to 3200 ° F 1

0 to 3216 ° F 1

Thermocouple B

400 to 1800 ° C

0 to 1820 ° C 1

800 to 3200 ° F

0 to 3308 ° F 1

0 to 800 ° C

E 0 to 1000 ° C

0 to 1600 ° F

0 to 1832 ° F

0 to 1200 ° C

0 to 1300 ° C

N 0.0 to 800.0 ° C

0 to 2300 ° F

0 to 2372 ° F

0.0 to 999.9 ° F

− 199.9 to +400.0 ° C 2

− 199.9 to +100.0 ° C 2

− 100.0 to +200.0 ° C

0.0 to 350.0 ° C

T 199.9 to +752.0 ° F 2

− 100.0 to +200.0 ° F

− 100.0 to +400.0 ° F

0.0 to 450.0 ° F

0.0 to 752.0 ° F

1

2

Accuracy is not guaranteed between 0 to 399 ° C (0 to 751 ° F)

Accuracy is not guaranteed between − 199.9 to − 100.0 ° C ( − 199.9 to − 148.0 ° F)

J A1

J A2

J A3

J A6

J A9

J B6

R 01

R 02

R 04

R A1

R A2

S 01

S 02

S A1

S A2

B 01

B 02

B A1

B A2

E 01

E 02

E A1

E A2

N 01

N 02

N 06

N A1

N A2

N A5

T 01

T 02

T 03

T 04

T A1

T A2

T A3

T A4

T A5

Continued on the next page.

50

7. INPUT RANGE TABLES

Continued from the previous page.

Input type Input range Code

0 to 2000 ° C

W5Re/W26Re 0 to 2320 ° C

0 to 4000 ° F

0 to 1300 ° C

0 to 1390 ° C

PL ° C

0 to 2400 ° F

Thermocouple

0 to 2534 ° F

− 199.9 to +600.0 ° C *

− 199.9 to +100.0 ° C *

0.0 to 400.0 ° C

U 199.9 to +999.9 ° F *

− 100.0 to +200.0 ° F

0.0 to 999.9 °

0 to 400 ° C

F

L 0 to 800 ° C

0 to 800 ° F

0 to 1600 ° F

− 199.9 to +649.0 ° C

− 199.9 to +200.0 ° C

− 100.0 to +50.0 ° C

− 100.0 to +100.0 ° C

− 100.0 to +200.0 ° C

0.0 to 50.0 ° C

0.0 to 100.0 ° C

0.0 to 200.0 ° C

0.0 to 300.0 ° C

RTD Pt100 0.0 to 500.0 ° C

− 199.9 to +999.9 ° F

− 199.9 to +400.0 ° F

− 199.9 to +200.0 ° F

− 100.0 to +100.0 ° F

− 100.0 to +300.0 ° F

W 01

W 02

W A1

A 01

A 02

A 03

A A1

A A2

U 01

U 02

U 03

U A1

U A2

U A3

L 01

L 02

L A1

L A2

D 01

D 02

D 03

D 04

D 05

D 06

D 07

D 08

D 09

D 10

D A1

D A2

D A3

D A4

D A5

0.0 to 100.0 ° F D

0.0 to 200.0 ° F D

0.0 to 400.0 ° F D

0.0 to 500.0 ° F D

* Accuracy is not guaranteed between − 199.9 to − 100.0 ° C ( − 199.9 to − 148.0 ° F)

Continued on the next page.

IMR01J08-E1

51

7. INPUT RANGE TABLES

Continued from the previous page.

Input type Input range

− 199.9 to +649.0 ° C

− 199.9 to +200.0 ° C

− 100.0 to +50.0 ° C

− 100.0 to +100.0 ° C

RTD JPt100 − 100.0 to +200.0 ° C

0.0 to 50.0 ° C

0.0 to 100.0 ° C

0.0 to 200.0 ° C

0.0 to 300.0 ° C

0.0 to 500.0 ° C

Input Range Table 2

Input type Input range

Code

P 01

P 02

P 03

P 04

P 05

P 06

P 07

P 08

P 09

P 10

Code

Voltage

Current

0 to 5 V DC

0 to 10 V DC

1 to 5 V DC

0 to 20 mA DC

4 to 20 mA DC

0. 0 to 100.0 %

4

5

6

7

8

01

01

01

01

01

For the current input specification, a resistor of 250 Ω must be connected between the input terminals.

52

IMR01J08-E1

8. TROUBLESHOOTING

To prevent electric shock or instrument failure, always turn off the system power before replacing the instrument.

To prevent electric shock or instrument failure, always turn off the power before mounting or removing the instrument.

To prevent electric shock or instrument failure, do not turn on the power until all the wiring is completed.

To prevent electric shock or instrument failure, do not touch the inside of the instrument.

All wiring must be performed by authorized personnel with electrical experience in this type of work.

CAUTION

!

WARNING

All wiring must be completed before power is turned on to prevent electric shock, instrument failure, or incorrect action.

The power must be turned off before repairing work for input break and output failure including replacement of sensor, contactor or SSR, and all wiring must be completed before power is turned on again.

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.

RKC communication

Solution

No response Wrong connection, no connection or disconnection of the communication cable

Confirm the connection method or condition and connect correctly

Breakage, wrong wiring, or imperfect contact of the communication cable

Mismatch of the setting data of communication speed and data bit configuration with those of the host

Wrong address setting

Confirm the wiring or connector and repair or replace the wrong one

Confirm the settings and set them correctly

Continued on the next page.

IMR01J08-E1

53

8. TROUBLESHOOTING

Continued from the previous page.

No response Error in the data format

Transmission line is not set to the receive state after data send (for RS-485)

Solution

Reexamine the communication program

EOT return The specified identifier is invalid Confirm the identifier is correct or that with the correct function is specified.

Otherwise correct it

Reexamine the communication program Error in the data format

NAK return Error occurs on the line (parity bit error, Confirm the cause of error, and solve the framing error, etc.) problem appropriately. (Confirm the transmitting data, and resend data)

The data exceeds the setting range

The specified identifier is invalid

Confirm the setting range and transmit correct data

Confirm the identifier is correct or that with the correct function is specified.

Otherwise correct it

54

IMR01J08-E1

8. TROUBLESHOOTING

Modbus

No response Wrong connection , no connection or disconnection of the communication cable contact of the communication cable

Solution

Confirm the connection method or condition and connect correctly

Mismatch of the setting data of communication speed and data bit configuration with those of the host repair or replace the wrong one

Confirm the settings and set them correctly

Error code

1

Error code

2

Error code

3

Error code

4

Wrong address setting

A transmission error (overrun error, Re-transmit after time-out occurs or framing error, parity error or CRC-16 verify communication program error) is found in the query message

The time interval between adjacent data in the query message is too long, exceeding

24 bit’s time

Function cod error

(Specifying nonexistent function code)

Confirm the function code

When written to read only (RO) data,

When any address other than 0000H to

001AH is specified, etc.

Confirm the address of holding register

When the data written exceeds the setting range, When the specified number of data items in the query message exceeds the maximum number of data items available

Confirm the setting data

Self-diagnostic error Turn off the power to the instrument. If the same error occurs when the power is turned back on, please contact RKC sales office or the agent.

IMR01J08-E1

55

9. ASCII 7-BIT CODE TABLE

This table is only for use with RKC communication. b4 0 1 2 3 4 5 6 7

0 0 0 0 0 NUL DLE SP 0 @ P ‘ p

0 0 0 1 1 SOH DC1

0 0 1 0 2 STX DC2

0 0 1 1 3 ETX DC3

!

#

1

2

3

A

B

C

Q

R

S a b c q r s

0 1 0 0 4 EOT DC4 $ 4 D T d t

0 1 0 1 5 ENQ NAK % 5 E U e u

0 1 1 0 6 ACK SYM & 6 F V f v

0 1 1 1 7 BEL ETB ’ 7 G W g w

1 0 0 0 8 BS CAN ( 8 H X h x

1 0 0 1 9 HT EM ) 9 I Y i y

1 0 SUB

1 1 ESC

1 0

1 1

1 0

1 1

56

The first edition: SEP. 2004

The second edition: JUN. 2001

RKC INSTRUMENT INC.

HEADQUARTERS: 16-6, KUGAHARA 5-CHOME, OHTA-KU TOKYO 146-8515 JAPAN

PHONE: 03-3751-9799 (+81 3 3751 9799)

FAX: 03-3751-8585 (+81 3 3751 8585)

IMR01J08-E1 SEP.

advertisement

Related manuals

Download PDF

advertisement