!"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 2001, 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.
IMR01K02-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 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.
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.
Temperature controller SA201 interfaces with the host computer via Modbus or RKC communication
protocols. For reference purposes, the Modbus protocol identifies the host computer as master, the
SA201 as slave.
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: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 connected
Maximum connections:32 instruments maximum including a master
Signal logic:RS-485
Signal voltageLogic
IMR01K02-E1
V (A) - V (B) ≥ 2 V0 (SPACE)
V (A) - V (B) ≤ -2 V1 (MARK)
Voltage between V (A) and V (B) is the voltage of (A) terminal for the
(B) terminal.
3
3.WIRING
(B)
(A)
(B)
(A)
)
)
p
(B)
(A)
WARNING
!
To prevent electric shock or instrument failure, do not turn on the power until all
the wiring is completed.
Terminal number and signal details
!"
!"
!"!"
Terminal
Signal nameSymbol
No.
10Signal groundSG
11Send data/Receive dataT/R (A)
12Send data/Receive dataT/R (B)
Wiring method
!"
!"
!"!"
Connection to the RS-485 port of the host computer (master)
#"
#"
#"#"
SA201
(Slave)
SG
T/R
T/R
Communication
terminal
$
$
$
SA201
(Slave)
SG
RS-485
Shielded twisted
pair wire
Paired wire
* R
Host com
SG
T/R
T/R
SD (TXD) and RD (RXD): Negative logic
uter (Master)
SD (TXD
RD (RXD
Send/Receive
transfer signal
Send data
:
Receive data
:
terminal
* R
* R: Termination resistors (Example: 120 Ω 1/2 W)
IMR01K02-E1
T/R
T/R
Communication
31 max.
4
Connection to the RS-232C port of the host computer (master)
(
!"
!"
!"!"
A RS-232C/RS-485 converter is required.
SA201
(Slave)
SG
T/R (A)
RS-485
Paired wire
SG
T/R (A)
RS-232C
3. WIRING
T/R (B)
Communication
connector
* R * R
Shielded twisted
pair wire
* R: Termination resistors (Example: 120 Ω 1/2 W)
T/R (B)
RS-232C/RS-485
converter
Host computer
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 SA201 (slaves) and one host computer (master)
!"
!"
!"!"
Host computer (Master)Host computer (Master)
RS-232C
RS-485
or
RS-232C/RS-485 converter
RS-485
Master)
Junction terminal
Device address
(Slave address)
SA201
(Slave)
IMR01K02-E1
3029311234
SA201
(Slave)
5
4.SETTING
To establish communication parameters between host computer (master) and SA201 (slave), it is
necessary to set the device address (slave address), communication speed, data bit configuration and
interval time on each SA201 (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 <R/S 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 <R/S key at the same time to initiate communication settings. The first parameter to be
displayed will be the device address (slave address), Add.
PV
SET
SA201
R/S
SV
AT
SV2
ALM1
ALM2
OUT1
OUT2
PV/SV display
PV
SET
SA201
R/S
Device address (Slave address)
Communication setting mode
SV
AT
SV2
ALM1
ALM2
OUT1
OUT2
When let communication setting mode finish, press and hold the SET key and press the
<R/S key at the same time. The display changes to the PV/SV display.
6
IMR01K02-E1
3. WIRING
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
•
Operate UP, DOWN and <R/S key, and input numerals.
, interval time
Add
InT
Communication speed
•
, data bit configuration
bPS
bIT
Operate UP, DOWN and <R/S key, and choose one among the displayed set value.
PV
PV
SV
Device address
(Slave address)
Press the SET key.
SV
Communication
Press the SET key.
SVPV
Data configuration
Press the SET key.
[
Add
speed
[
bPS
[
bIT
]
]
]
Press the SET key.
Registration of set value
!"
!"
!"!"
PV
SV
Interval time set value
[
]
InT
After completing all communication parameter settings, turn on the power again, and register the set
value which changed.
IMR01K02-E1
7
3. WIRING
Description of each parameters
!"
!"
!"!"
SymbolNameSetting rangeDescriptionFactory
set value
Device address
(Slave address)
(Add)
Communication
speed
(bPS)
Data bit
configuration
(bIT)
Interval time *0 to 250 msThe SA201’s interval time
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 SA201
(slave) and the host computer
(master).
Set the same data bit
configuration for both the
SA201 (slave) and the host
computer (master).
must match the specifications
of the host computer.
0
960
8n1
10
Set valueData bitParity bitStop bit
(7n1)7Without1
(7n2)7Without2
(7E1)7Even1
(7E2)7Even2
(7o1)7Odd1
(7o2)7Odd2
(8n1)8Without1
Setting range of
RKC
communication
(8n2)8Without2
(8E1)8Even1
(8E2)8Even2
Setting range of
Modbus
(8o1)8Odd1
(8o2)8Odd2
* The interval time for the SA201 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 SA201 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 SA201’s interval time must match the specifications of the host computer.
8
IMR01K02-E1
3. WIRING
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
SET
SA201
R/S
SV
AT
SV2
ALM1
ALM2
OUT1
OUT2
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
SET
SA201
R/S
SV
AT
SV2
ALM1
ALM2
OUT1
OUT2
3. Press the <R/S key to blink the tens digit.
PV
SET
SA201
R/S
SV
AT
SV2
ALM1
ALM2
OUT1
OUT2
Continued on the next page.
IMR01K02-E1
9
3. WIRING
4. Press the UP key to enter 1 at the tens digit.
PV
SET
SA201
R/S
SV
AT
SV2
ALM1
ALM2
OUT1
OUT2
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
PV/SV display mode and the value set here returns to that before the setting is changed.
PV
SET
SA201
R/S
SV
AT
SV2
ALM1
ALM2
OUT1
OUT2
Communication speed
6. After completing all communication parameter settings, turn on the power again, and register the
set value which changed.
Besides power on again, register of set value with RUN/ STOP transfer. In this case, have to
change to STOP before setting communication parameter. Change to RUN after completing
the communication parameter settings, the instrument performs the same operation as that at
the time of power on again.
For the RUN/STOP transfer, see the SA201 Instruction Manual (IMR01K01-E
%%%%
).
10
IMR01K02-E1
3. WIRING
4.3 Communication Requirements
Processing times during data send/receive
!"
!"
!"!"
The SA201 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 SA201 to send data:
-Response wait time after SA201 sends BCC in polling procedure
-Response wait time after SA201 sends ACK or NAK in selecting procedure
RKC communication (Polling procedure)
Procedure detailsTime (ms)
MINTYPMAX
Response send time after SA201 receives ENQ1.64.012
Response send time after SA201 receives ACK1.6
Response send time after SA201 receives NAK1.6
Response send time after SA201 sends BCC
RKC communication (Selecting procedure)
Procedure detailsTime (ms)
Response send time after SA201 receives BCC1.63.010
Response wait time after SA201 sends ACK
Response wait time after SA201 sends NAK
Modbus
Procedure detailsTime (ms)
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
−−
MINTYPMAX
−−
−−
−
−
13 ms max.
6 ms max.
6 ms max.
10
10
1.0
1.0
1.0
IMR01K02-E1
Response send time is time at having set interval time in 0 ms.
11
3. WIRING
RS-485 (2-wire system) send/receive timing
!"
!"
!"!"
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 SA201 are described below:
Polling procedure
#"
#"
#"#"
Send data
(Possible/Impossible)
Host computer
Sending status
Send data
Controller
a
: Response send time after SA201 receives [ENQ] + Interval time
b
: Response send time after SA201 sends BCC
c
: Response send time after SA201 receives [ACK] + Interval time or
(Possible/Impossible)
Sending status
Possible
Impossible
Possible
Impossible
E
O
- - - - -
T
E
N
Q
bca
S
- - - - -
T
X
B
C
C
A
C
K
Response send time after SA201 receives [NAK] + Interval time
N
or
A
K
Selecting procedure
#"
#"
#"#"
Send data
(Possible/Impossible)
Host computer
Sending status
Send data
Controller
a:
Response send time after SA201 receives BCC + Interval time
b:
Response wait time after SA201 sends ACK or Response wait time after SA201 sends NAK
(Possible/Impossible)
Sending status
Possible
Impossible
Possible
Impossible
S
- - - - -
T
X
B
C
C
ba
N
A
or
A
C
K
K
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 SA201 to send data:
-Response wait time after SA201 sends BCC in polling procedure
-Response wait time after SA201 sends ACK or NAK in selecting procedure
Fail-safe
!"
!"
!"!"
A transmission error may occur with the transmission line disconnected, shorted or set to the highimpedance 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
IMR01K02-E1
5.RKC COMMUNICATION PROTOCOL
p
[
]
[
]
[
]
[
]
[
]
A
A
Q
SA201 (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:
Host com
E
Address
O
T
(1)
ID: Identifier
uter send
ID
(2)
Host
Controller send
E
N
No response
computer
send
Controller
send
(5)
E
O
T
(4)
(3)
E
T
X
BCC
(8)
No
response
Time
out
S
ID
T
X
Data
(9)
Indefinite
Host
computer
send
E
O
T
(10)
E
O
T
(6)
C
K
N
K
(7)
IMR01K02-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:
Example:
ENQ
1
M02
Device
address
3.2.1.
ENQ
Identifier
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:
3.2.5.4.1.
IdentifierDataBCCETXSTX
14
IMR01K02-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) For details, see 5.3 Communication Identifier List (P. 22).
The identifier indicates the type of data (measured value, status and set value) sent to the host
computer.
3. Data (6 digits [Expect model code.] )
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
(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.
IMR01K02-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
IMR01K02-E1
5.1.2 Polling procedure example
Normal transmission
#"
#"
#"#"
5. RKC COMMUNICATION PROTOCOL
Host computer send
E
OT01M1EN
Polling
address
Error transmission
#"
#"
#"#"
Host computer send
E
01M1
O
T
Polling
address
Identifier
Identifier
Q
E
N
Q
S
M10 0 1 0.0
T
X
Identifier
S
M10 0 1
T
X
Data
Send data
Controller send
Error data
Host computer sendHost computer send
A
C
K
E
B
T
C
X
C
Host computer sendHost computer send
E
B
0
.
T
C
X
C
S
AA000000
T
X
Next send data
Controller send
N
A
K
S
M1 00 1 0.0
T
X
E
T
X
E
T
X
E
O
T
B
C
C
A
C
K
B
C
C
IMR01K02-E1
Identifier
Data
Send data
Controller send
Re-send data
Controller send
17
5. RKC COMMUNICATION PROTOCOL
p
[
]
A
A
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
E
O
T
(7)
E
O
T
(1)
Address
(2)
Host com
S
T
X
uter send
[ Identifier ]
[ Data ]
(3)
E
[ BCC ]
T
X
Controller send
No response
(6)
C
K
(4)
N
(5)
K
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
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).
(2 digits)
18
IMR01K02-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:
2.1.
IdentifierDataBCCETXSTX
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
Receive data
0.5100.5
0100
• 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
-.5-.058.05-0
Receive data
-0.50-0.050.050.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)
IMR01K02-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) Negative acknowledge NAK
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
IMR01K02-E1
5.2.2 Selecting procedure example
Normal transmission
#"
#"
#"#"
5. RKC COMMUNICATION PROTOCOL
Host computer send
E
O
T
Selecting
address
Error transmission
#"
#"
#"#"
E
OT01
Selecting
address
S
01
S1200.0
T
X
Identifier
Host computer send
S
TXS1210.0ET
Identifier
Send data
Data
Send data
Data
E
B
T
C
X
C
Controller send
Error data
B
C
C
X
Controller send
Host computer sendHost computer send
S
P11.0
T
X
A
C
K
N
A
K
Next send data
Host computer sendHost computer send
S
TXS1200.0ET
Re-send data
E
B
T
C
X
C
Controller send
A
C
K
B
C
C
X
Controller send
E
O
T
A
C
K
S
TXP1
……
IMR01K02-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.
(AttributeRO: Read only, R/W: Read and Write)
NameIden-
Model code
Measured value (PV)
Burnout
Alarm 1 status
Alarm 2 status
Heat-side
manipulated output
value
Cool-side
manipulated output
value
Error code
1
RUN/STOP function
Autotuning
Self-tuning
tifier
ID
M1
B1
AA
AB
O1
O2
ER
SR
G1
G2
DescriptionFactory set
value
Attrib-
ute
Display the model code-----RO
Within input range.-----RO
0: OFF1: ON-----RO
0: OFF1: ON-----RO
0: OFF1: ON-----RO
-5.0 to +105.0 %-----RO
-5.0 to +105.0 %-----RO
0: No error
-----RO
Except 0: Error occurs
0: RUN1: STOP0R/W
0: Autotuning OFF
0R/W
1: Autotuning ON
After autotuning is completed, setting
will automatically change to 0.
0: Self-tuning OFF
0R/W
1: Self-tuning ON
2
Set value (SV)
S1
Within input range.Temperature
input: 0 or 0.0
Voltage/current
inputs: 0.0
1
Any number other than 0 indicates errors (RAM write error, etc.) detected by the controller selfdiagnosis function. Please contact RKC sales office or the agent.
2
If the heat/cool PID control with autotuning (water cooling/air cooling) is selected, or the set value
of any one of the heat/cool proportional band, integral time, derivative time and anti-reset windup is
set to 0, the attribute becomes RO.
Continued on the next page.
22
R/W
IMR01K02-E1
Continued from the previous page.
5. RKC COMMUNICATION PROTOCOL
(AttributeRO: Read only, R/W: Read and Write)
NameIden-
Alarm 1 set value
Alarm 2 set value
Control loop break
alarm
Control loop break
alarm deadband
Heat-side
proportional band
tifier
A1
A2
A5
A6
P1
DescriptionFactory set
Process alarm, SV alarm:
Setting limiter (low limit) to
setting limiter (high limit)
Deviation alarm: -span to +span
However, within -1999 to +9999 °C
[°F] or -199.9 to +999.9 °C [°F]
0.0 to 200.0 minutes
(0.0: OFF)
0 (0.0) to span
However, less than 9999
Temperature input:
0 (0.0) to span or 9999 (999.9) °C [°F]
(0 or 0.0: ON/OFF action)
Voltage/current inputs: 0.1 to span
Cannot be written while the self-tuning
function is on, only Read is available.
value
Temperature
input:
50 or 50.0
Voltage/current
inputs: 5.0
8.0R/W
0R/W
Temperature
input:
30 or 30.0
Voltage/current
inputs: 3.0
Attrib-
ute
R/W
R/W
R/W
1
2
3
3
Integral time
I1
0 to 3600 seconds (0: PD action)
240R/W
Cannot be written while the self-tuning
function is on, only Read is available.
Derivative time
D1
0 to 3600 seconds (0: PI action)
60R/W
Cannot be written while the self-tuning
function is on, only Read is available.
Anti-reset windup
W1
0 to 100 % of heat-side proportional
100R/W
band (0: Integral action OFF)
Cannot be written while the self-tuning
function is on, only Read is available.
Heat-side
T0
1 to 100 secondsNote1R/W
proportioning cycle
time
1
If no alarm for first alarm or control loop break alarm is selected, the attribute becomes RO.
2
If no alarm for second alarm is selected, the attribute becomes RO.
3
If control loop break alarm for first alarm is not selected, the attribute becomes RO.
The data lock function only prevents setting changes being made from the front keys. Setting changes
can still be made through communication transmission.
The non-volatile memory (EEPROM) has limitations on the number of memory rewrite times. If the
EM
0: Mismatch
1: Match
-----RO
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.)
IMR01K02-E1
25
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. 27).
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. 31), 6.7 Data Configuration (P. 34) and
6.8 Communication Data List (P. 36).
Error check
#"
An error checking code (CRC-16: Cyclic Redundancy Check) is used to detect an error in the signal
transmission.
For the calculation method of CRC-16, see 6.5 Calculating CRC-16 (P. 29).
26
IMR01K02-E1
6.2 Function Code
Function code contents
6. MODBUS COMMUNICATION PROTOCOL
Function code
(Hexadecimal)
03HRead holding registersMeasured value (PV), alarm status, etc.
Function codeFunctionQuery messageResponse message
(Hexadecimal)MinMaxMinMax
03HRead holding registers887255
06HPreset single register8888
08HDiagnostics (loopback test)8888
FunctionContents
Set value (SV), alarm set value, PID constants,
PV bias, etc. (For each word)
6.3 Communication Mode
Signal transmission between the master and slaves is conducted in Remote Terminal Unit (RTU)
mode.
RTU mode
ItemsContents
Data bit length8 bit (Binary)
Start mark of messageUnused
End mark of messageUnused
Message lengthSee 6.2 Function Code (P. 27)
Data time interval24 bit’s time or less *
Error checkCRC-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.
IMR01K02-E1
27
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 codeContents
1Function code error (Specifying nonexistent function code)
2When written to read only (RO) data, When any address other than 0000H to
001AH is specified, etc.
3When 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
4Self-diagnostic error response
(3) No 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.
28
IMR01K02-E1
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 hex and return the result to theCRC 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.
IMR01K02-E1
29
6. MODBUS COMMUNICATION PROTOCOL
The flow chart of CRC-16
!"
!"
!"!"
START
FFFFH
CRC Register ⊕ next byte of the message
Shift CRC Register right 1 bit
CRC Register
⊕
CRC Register
→
0 → n
Carry flag is
Yes
A001H
n + 1 → n
→
1
→
CRC Register
No
CRC Register
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.
30
IMR01K02-E1
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 address02H
Function code03H
Starting numberHigh00H
Low00H
QuantityHigh00H
Low03H
CRC-16High05H
LowF8H
First holding register address
The setting must be between 1 and 125
(0001H and 007DH).
Normal response message
Slave address02H
Function code03H
Number of data06H
First holdingHigh00H
register contentsLow00H
Next holdingHigh00H
register contentsLow00H
Next holdingHigh00H
register contentsLow63H
CRC-16High75H
LowACH
Error response message
Slave address02H
80H + Function code83H
Error code03H
CRC-16HighF1H
Low31H
Number of holding registers × 2
IMR01K02-E1
31
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 0006H of slave address 1.
Query message
Slave address01H
Function code06H
Holding registerHigh00H
numberLow10H
Write dataHigh01H
Low02H
CRC-16High08H
Low5EH
Any data within the range
Normal response message
Slave address01H
Function code06H
Holding registerHigh00H
numberLow10H
Write dataHigh01H
Low02H
CRC-16High08H
Low5EH
Error response message
Slave address01H
80H + Function code86H
Error code02H
CRC-16HighCDH
LowC1H
Contents will be the same as query message data.
32
IMR01K02-E1
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 address01H
Function code08H
Test codeHigh00H
Low00H
DataHigh1FH
Low34H
CRC-16HighE9H
LowECH
Test code must be set to 00.
Any pertinent data
Normal response message
Slave address01H
Function code08H
Test codeHigh00H
Low00H
DataHigh1FH
Low34H
CRC-16HighE9H
LowECH
Error response message
Slave address01H
80H + Function code88H
Error code03H
CRC-16High06H
Low01H
Contents will be the same as query message data.
IMR01K02-E1
33
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 one decimal place
#"
#"
#"#"
The Modbus protocol does not recognize data with decimal points during communication.
Control loop break alarm
Example: When the control loop break alarm set value is 8.0 minutes; 8.0 is processed as 80,
80 = 0050H
Control loop breakHigh00H
alarmLow50H
Data without decimal points
!"
!"
!"!"
Alarm 1 statusAnti-reset windup
Alarm 2 statusHeat-side proportioning cycle time
BurnoutCool-side proportional band
AutotuningCool-side proportional cycle time
Self-tuningSet data lock function
Integral timeRUN/STOP function
Derivative time
Example: When integral time is 50 seconds; 50 is processed as 50, 50 = 0032H
34
Integral timeHigh00H
Low32H
IMR01K02-E1
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. 40).
Measured value (PV)Heat-side proportional band
Set value (SV)Control loop break alarm deadband
Alarm 1 set valuePV bias
Alarm 2 set value
Example: When the temperature set value is -20.0 °C; -20.0 is processed as -200,
-200 = 0000H - 00C8H = FF38H
Set value (SV)HighFFH
Low38H
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.
IMR01K02-E1
35
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.
(AttributeRO: Read only, R/W: Read and Write)
AddressNameDescriptionFactory set
value
00H
Measured value
Within input range.-----RO
(PV)
03H
04H
05H
06H
Alarm 1 status0: OFF1: ON-----RO
Alarm 2 status0: OFF1: ON-----RO
Burnout0: OFF1: ON-----RO
Set value (SV)Within input range.Temperature
input: 0 or 0.0
Voltage/current
inputs: 0
07H
08H
Alarm 1 set valueProcess alarm, SV alarm:
Setting limiter (low limit) to
setting limiter (high limit)
Alarm 2 set valueDeviation alarm: -span to +span
However, within -1999 to +9999 °C
Temperature
input:
50 or 50.0
Voltage/current
inputs: 5.0
[°F] or -199.9 to +999.9 °C [°F]
0BH
0CH
Control loop break
alarm
Control loop break
alarm deadband
0.0 to 200.0 minutes
(0.0: OFF)
0 (0.0) to span
However, less than 9999
8.0R/W
0R/W
Attrib-
ute
R/W
R/W
R/W
1
2
3
3
0DH
Autotuning0: Autotuning OFF
0R/W
1: Autotuning ON
After autotuning is completed, setting
will automatically change to 0.
0EH
Self-tuning0: Self-tuning OFF
0R/W
1: Self-tuning ON
1
If no alarm for first alarm or control loop break alarm is selected, the attribute becomes RO.
2
If no alarm for second alarm is selected, the attribute becomes RO.
3
If control loop break alarm for first alarm is not selected, the attribute becomes RO.
4
If the heat/cool PID control with autotuning (water cooling/air cooling) is selected, or the set value
of any one of the heat/cool proportional band, integral time, derivative time and anti-reset windup is
set to 0, the attribute becomes RO.
Continued on the next page.
36
4
IMR01K02-E1
Continued from the previous page.
6. MODBUS COMMUNICATION PROTOCOL
(AttributeRO: Read only, R/W: Read and Write)
AddressNameDescriptionFactory set
value
0FH
Heat-side
proportional band
Temperature input:
0 (0.0) to span or 9999 (999.9) °C [°F]
(0 or 0.0: ON/OFF action)
Voltage/current inputs: 0.1 to span
Cannot be written while the self-tuning
Temperature
input:
30 or 30.0
Voltage/current
inputs: 3.0
function is on, only Read is available.
10H
Integral time0 to 3600 seconds (0: PD action)
240R/W
Cannot be written while the self-tuning
function is on, only Read is available.
11H
Deviation time0 to 3600 seconds (0: PI action)
60R/W
Cannot be written while the self-tuning
function is on, only Read is available.
12H
Anti-reset windup0 to 100 % of heat-side proportional
100R/W
band (0: Integral action OFF)
Cannot be written while the self-tuning
function is on, only Read is available.
Attrib-
ute
R/W
13H
Heat-side
1 to 100 secondsNote1R/W
proportioning cycle
time
14H
15H
Cool-side
proportional band
Overlap/deadband-span to +span
1 to 1000 % of heat-side proportional
band
100R/W *
0 or 0.0R/W *
However, within -1999 to +9999 °C
[°F] or -199.9 to +999.9 °C [°F]
16H
Cool-side
1 to 100 secondsNote1R/W *
proportioning cycle
time
17H
PV bias-span to +span
However, within -1999 to +9999 °C
[°F] or -199.9 to +999.9 °C [°F]
Temperature
input: 0 or 0.0
Voltage/current
R/W
inputs: 0.0
Note1 Relay contact output: 20Voltage pulse output: 2
* If heat/cool PID control with autotuning (water cooling/air cooling) for control type is not selected,
The data lock function only prevents setting changes being made from the front keys. Setting changes
can still be made through communication transmission.
38
Continued on the next page.
IMR01K02-E1
Continued from the previous page.
6. MODBUS COMMUNICATION PROTOCOL
(AttributeRO: Read only, R/W: Read and Write)
AddressNameDescriptionFactory set
Attrib-
value
1BH
EEPROM storage
1
mode
0: Backup mode
(Set values are store to the EEPROM)
0R/W
1: Buffer mode
(No set values are store to the EEPROM)
1CH
1DH
EEPROM storage
2
status
Heat-side
0: Mismatch
1: Match
-5.0 to +105.0 %-----RO
-----RO
manipulated output
value
1EH
Cool-side
-5.0 to +105.0 %-----RO
manipulated output
value
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.
ute
• 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.)
IMR01K02-E1
39
7.INPUT RANGE TABLES
Input Range Table 1
Input typeInput rangeCode
InputRange
Thermocouple
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 1372 °C
-199.9 to +300.0 °C
0.0 to 400.0 °C
0.0 to 800.0 °C
K
J
0 to 100 °C
0 to 300 °C
0 to 450 °C
0 to 500 °C
0.0 to 200.0 °C
0.0 to 600.0 °C
-199.9 to +800.0 °C
0 to 800 °F
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
For the current input specification, a resistor of 250 Ω must be connected between the input
terminals.
IMR01K02-E1
43
8.TROUBLESHOOTING
WARNING
!
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
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
!"!"
ProblemProbable causeSolution
No response Wrong connection, no connection or
disconnection of the communication cable
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
Confirm the connection method or
condition and connect correctly
Confirm the wiring or connector and
repair or replace the wrong one
Confirm the settings and set them
correctly
44
Wrong address setting
Continued on the next page.
IMR01K02-E1
8. TROUBLESHOOTING
Continued from the previous page.
ProblemProbable causeSolution
No response Error in the data formatReexamine the communication program
Transmission line is not set to the receive
state after data send (for RS-485)
EOT return The specified identifier is invalidConfirm the identifier is correct or that
with the correct function is specified.
Otherwise correct it
Error in the data formatReexamine the communication program
NAK return Error occurs on the line (parity bit error,
framing error, etc.
BCC error
The data exceeds the setting rangeConfirm the setting range and transmit
The specified identifier is invalidConfirm the identifier is correct or that
Confirm the cause of error, and solve the
problem appropriately. (Confirm the
transmitting data, and resend data)
correct data
with the correct function is specified.
Otherwise correct it
IMR01K02-E1
45
8. TROUBLESHOOTING
!"
!"
Modbus
!"!"
ProblemProbable causeSolution
No response Wrong connection , no connection or
disconnection of the communication cable
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
A transmission error (overrun error,
framing error, parity error or CRC-16
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
Error code1Function cod error
(Specifying nonexistent function code)
Error code2When written to read only (RO) data,
When any address other than 0000H to
001AH is specified, etc.
Error code3When 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
Error code4Self-diagnostic errorTurn off the power to the instrument. If
Confirm the connection method or
condition and connect correctly
Confirm the wiring or connector and
repair or replace the wrong one
Confirm the settings and set them
correctly
Re-transmit after time-out occurs or
verify communication program
Confirm the function code
Confirm the address of holding register
Confirm the setting data
the same error occurs when the power is
turned back on, please contact RKC
sales office or the agent.
46
IMR01K02-E1
9.ASCII 7-BIT CODE TABLE (REFERENCE)
This table is only for use with RKC communication.
b700001111
b600110011
b501010101
b5 to b7b4b3b2b101234567
00000NULDLE SP0@P‘p
00011SOHDC1 !1AQaq
00102STXDC2 ”2BRbr
00113ETXDC3 #3CScs
01004EOTDC4 $4DTdt
01015ENQNAK %5EUeu
01106ACKSYM &6FVfv
01117BELETB ’7GWgw
10008 BS CAN (8HXhx
10019 HT EM)9IYiy
1010A LF SUB *: JZj z
1011B VT ESC +;K[k{
1100C FF FS,<L¥l|
1101D CR GS-=M]m}
1110E SO RS.>N^n˜
1111F SI US/ ?O_o DEL
IMR01K02-E1
47
MEMO
48
IMR01K02-E1
The first edition: NOV. 2001
The third edition: JUN.2000
RKC INSTRUMENT INC.
HEADQUARTERS: 16-6, KUGAHARA 5-CHOME, OHTA-KU TOKYO 146-8515 JAPAN