!"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 this 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.
IMR01H02-E3
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.
9. ASCII 7- BIT CODE TABLE ................................................82
i-4
IMR01H02-E3
1.OUTLINE
Multi-point Digital Controller MA900/MA901 interfaces with the host computer via Modbus or RKC
communication protocols.
In RKC communication, there are the data format (multi-point mode) in which the MA900/MA901 is
used as a multi-point controller (for the MA900: 4 channels and for the MA901: 8 channels) and
that (single mode) used as multidrop-connected with a single controller.
In addition, the three types of communication interfaces are available: RS-422A, RS-485 and
RS-232C.
For reference purposes, the Modbus protocol identifies the host computer as master, the
MA900/MA901 as slave.
RS-422A or RS-485
!"
Host computer
RS-422A or RS-485
RS-232C
!"
MA900
or
MA901
Host computer
MA900
or
MA901
MA900
or
MA901
RS-232C
MA900
or
MA901
MA900
or
MA901
・・・・・・・・・
MA900
or
MA901
IMR01H02-E3
1
2.SPECIFICATIONS
RKC communication
!"
!"
!"!"
Interface:Based on RS-422A, EIA standard
Based on RS-485, EIA standard
Based on RS-232C, EIA standard
(Specify when ordering)
Maximum connections:RS-422A, RS-485: 32 instruments maximum including a master
RS-232C:1 instrument
Signal logic:RS-422A, RS-485
Signal voltageLogic
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.
RS-232C
Signal voltageLogic
+3 V or more0 (SPACE)
-3 V or less1 (MARK)
4
IMR01H02-E3
3.WIRING
WARNING
!
To prevent electric shock or instrument failure, do not turn on the power until all
the wiring is completed.
Connection to the RS-422A port of the host computer (master)
!"
Communication terminal number and signal details
#"
Terminal No.Signal nameSymbol
44Signal groundSG
45Send dataT (A)
46Send dataT (B)
47Receive dataR (A)
48Receive dataR (B)
Wiring method
#"
MA900/MA901
(Slave)
T (A)
T (B)
R (A)
R (B)
Communication terminals
$
$
$
MA900/MA901
(Slave)
T (A)
T (B)
SG
SG
Paired wire
RS-422A
44
45
46
47
48
Host computer (Master)
SG
T (A)
T (B)
R (A)
R (B)
Shielded twisted
pair wire
44
45
46
Communication terminals
IMR01H02-E3
R (A)
47
48
R (B)
Maximum connections: Multi-point mode: 31 instruments (MA900/MA901)
Single mode: 25 instruments (MA900)
12 instruments (MA901)
The cable is provided by the customer.
5
3. WIRING
Connection to the RS-485 port of the host computer (master)
!"
!"
!"!"
Communication terminal number and signal details
#"
#"
#"#"
Terminal No.Signal nameSymbol
44Signal groundSG
45Send data/Receive dataT/R (A)
46Send data/Receive dataT/R (B)
Wiring method
#"
#"
#"#"
MA900/MA901
(Slave)
SG
RS-485
44
Paired wire
Host computer (Master)
SG
T/R (A)
45
T/R (B)
Communication terminals
46
$
$
$
MA900/MA901
(Slave)
44
SG
T/R (A)
T/R (B)
Communication terminals
45
46
The cable is provided by the customer.
T/R (A)
T/R (B)
*R
Shielded twisted
pair wire
*R
Maximum connections: Multi-point mode: 31 instruments (MA900/MA901)
Single mode: 25 instruments (MA900)
Single mode: 12 instruments (MA901)
*R: Termination resistors
(Example: 120 Ω 1/2 W )
6
IMR01H02-E3
Connection to the RS-232C port of the host computer (master)
!"
!"
!"!"
Communication terminal number and signal details
#"
#"
#"#"
Terminal No.Signal nameSymbol
44Signal groundSG (GND)
45Send dataSD (TXD)
46Receive dataRD (RXD)
Wiring method
#"
#"
#"#"
3. WIRING
MA900/MA901
(Slave)
SG (GND)
SD (TXD)
RD (RXD)
Communication terminals
Number of connection: 1 instrument
44
45
46
RS-232C
Shielded wire
Host computer (Master)
SG (GND)
SD (TXD)
RD (RXD)
*
RS (RTS)
CS (CTS)
Short RS and CS within connector.
*
The cable is provided by the customer.
Connection example (For the MA900/MA901 multi-point mode)
!"
!"
!"!"
Connection with up to 31 MA900/MA901 (slaves) and one host computer (master)
Host computer (Master)
Device address
(Slave address)
IMR01H02-E3
12
MA900/MA901
RS-422A
or
RS-485
Junction terminals
34293031
MA900/MA901
(Slave)
(Slave)
7
4.SETTING
To establish communication parameters between host computer (master) and MA900/MA901 (slave),
it is necessary to set the device address (slave address), communication speed, data bit configuration
and interval time on each MA900/MA901 (slave) in the setup setting mode.
Power ON
Input Type/Input Range Display
(Display for approx. 4 seconds)
Display changes automatically
PV/SV Monitor 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.
Setup Setting Mode
(Setting the communication
parameters)
Power is turned on again
(Registration of set value)
4.1 Transfer to Setup Setting Mode
To go the setup setting mode, you must be in PV/SV monitor mode. The first parameter to be
displayed will be the autotuning, ATU. Press the SET key several times to change to the device
address “Add.”
PV
SV
SET
R/S
PV/SV monitor mode
PV
SV
SET
R/S
AREA
CH
CH
MA900
Setup setting mode
Autotuning (AT) setting
PV
SV
SET
R/S
AREA
CH
CH
MA900
Device address setting
(Slave address)
AREA
CH
CH
MA900
When let setup 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 monitor mode.
MA900 is used in the above figures for explanation, but the same setting procedures also
apply to MA901.
8
IMR01H02-E3
4. SETTING
4.2 Setting the Communication Parameters
To select parameters in setup 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 or DOWN key, and choose one among the displayed set value.
For MA900: Proportioning cycle time setting (heat control) or
Cool-side proportioning cycle time setting (heat/cool control)
For MA901: Proportioning cycle time setting
Press the SET key.
PVCH
SVAREA
Device address [Add]
(Slave address)
PVCH
SVAREA
Interval time [InT]
Press the SET key.
Press the SET key.
Press the SET key.
PVCH
SVAREA
Communication speed
PVCH
SVAREA
Data bit configuration
[bPS]
Press the SET key.
[bIT]
Scan interval time
Registration of set value
!"
After completing all communication parameter settings, turn on the power again, and register the set
value which changed.
After the power is turned on again, communication is mode using the set value changed.
Not by turning the power on again, the set value can also be registered by changing to RUN
from STOP.
IMR01H02-E3
9
4. SETTING
Description of each parameters
!"
!"
!"!"
SymbolNameSetting rangeDescriptionFactory
Device address
(Slave address)
(Add)
0 to 99
(See P.16, 17)
Set it not to duplication in multidrop 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 MA900/MA901
(slave) and the host computer
(master).
Set the same data bit configuration
for both the MA900/MA901
(slave) and the host computer
* The interval time for the MA900/MA901 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 MA900/MA901 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 MA900’s or MA901’s interval time must match the
specifications of the host computer.
10
No setting can be changed when “1: Lock” is selected by the lock level 1.
For the lock level 1, see the Instruction Manual (IMR01H01-E
####
).
IMR01H02-E3
Setting procedure example
!"
!"
!"!"
MA900 is used in the below figures for explanation, but the same setting procedures also
apply to MA901.
Go to the setup setting mode so that device address (slave address), Add, is displayed.
1.
Present set value is displayed, and the least significant digit light brightly.
4. SETTING
PV
SV
SET
R/S
AREA
CH
CH
MA900
Device address setting
(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
AREA
CH
CH
MA900
3. Press the <R/S key to brightly light the tens digit.
CH
AREA
CH
MA900
IMR01H02-E3
SET
SET
R/S
PV
SV
R/S
11
4. SETTING
4. Press the UP key to enter 1 at the tens digit.
PV
SV
SET
R/S
AREA
CH
CH
MA900
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 monitor mode and the value set here returns to that before the setting is changed.
PV
SV
SET
R/S
AREA
CH
CH
MA900
Communication speed setting
6. After completing all communication parameter settings, turn on the power again, and register the
set value which changed. After the power is turned on again, communication is made using the
set value 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.
In addition, it the communication parameter is changed at RUN, communication is made
using the set value changed if returned to RUN once set to STOP.
For the RUN/STOP transfer, see the Instruction Manual (IMR01H01-E
$$$$
).
12
IMR01H02-E3
4. SETTING
4.3 Communication Requirements
Processing times during data send/receive
!"
!"
!"!"
The MA900/MA901 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 MA900/MA901 to send data:
-Response wait time after MA900/MA901 sends BCC in polling procedure
-Response wait time after MA900/MA901 sends ACK or NAK in selecting procedure
RKC communication (Polling procedure)
Procedure detailsTime (ms)
MINTYPMAX
Response send time after MA900/MA901 receives ENQ124
Response send time after MA900/MA901 receives ACK1
Response send time after MA900/MA901 receives NAK1
Response send time after MA900/MA901 sends BCC
−
−
−−
4
4
1
RKC communication (Selecting procedure)
Procedure detailsTime (ms)
MINTYPMAX
Response send time after MA900/MA901 receives BCC123
Response wait time after MA900/MA901 sends ACK
Response wait time after MA900/MA901 sends NAK
Modbus
Procedure detailsTime
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
Preset multiple registers [10H]
Response transmission time after the slave receives the query
message
−−
−−
20 ms max.
3 ms max.
3 ms max.
20 ms max.
1
1
IMR01H02-E3
Response send time is time at having set interval time in 0 ms.
13
4. SETTING
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 MA900/MA901 are described below:
Polling procedure
%"
%"
%"%"
Send data
(Possible/Impossible)
Host computer
Sending status
Send data
Controller
a
: Response send time after MA900/MA901 receives [ENQ] + Interval time
b
: Response send time after MA900/MA901 sends BCC
c
: Response send time after MA900/MA901 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 MA900/MA901 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 MA900/MA901 receives BCC + Interval time
b:
Response wait time after MA900/MA901 sends ACK or Response wait time after MA900/MA901
(Possible/Impossible)
Sending status
Possible
Impossible
Possible
Impossible
S
- - - - -
T
X
B
C
C
ba
N
A
or
A
C
K
K
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 MA900/MA901 to send data:
-Response wait time after MA900/MA901 sends BCC in polling procedure
-Response wait time after MA900/MA901 sends ACK or NAK in selecting procedure
RS-422A/RS-485 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.
14
IMR01H02-E3
5.RKC COMMUNICATION PROTOCOL
p
[
]
[
]
[
]
p
The MA900/MA901 (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.
In RKC communication, both multi-point and single modes are available. If the single mode
is required, contact our sales office or agent.
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] [ ] [ ID ]
O
T
(1)
(2)
Memory area
number
uter send
Host
Controller send
E
N
Q
No res
E
O
(4)
T
S
ID
T
X
onse
(5)
Data
E
T
X
BCC
(3)
computer
send
(8)
No
response
Controller
send
Time
out
(9)
Indefinite
(6)
A
C
N
K
A
K
(7)
Host
computer
send
E
O
T
(10)
E
O
T
ID: Identifier
IMR01H02-E3
15
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
The host computer sends the polling sequence in the following two types of formats:
• Format in which no memory area number is specified, and
• Format in which the memory area number is specified.
When no memory area number is specified
#"
To be sent in this format for any identifier not corresponding to the memory area.
3.1.
IdentifierAddress
When the memory area number is specified
#"
4.
Example:
1
1M0
To be sent in this format for any identifier corresponding to the memory area.
2.1.
Memory
area
number
4.3.
IdentifierAddress
Example:
1
1. Address (2 digits)
• Multi-point mode
ENQENQ
S11KK0
ENQENQ
16
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. 9).
IMR01H02-E3
5. RKC COMMUNICATION PROTOCOL
• Single mode
This data represents the device address and channel number of the controller to be polled. When
polling any identifier without the corresponding channel number, the channel number is ignored.
Each address is calculated as follows.
Calculation method of address:
Address = Device address of controller + Controller channel number - 1
Example: When 3 controllers (MA900: 4 channels) are multidrop-connected
Set the device address number of the succeeding controller to four or more than four plus the same
number of the previous controller. Otherwise (for example, if set to 00, 01 and 02 between Controllers
1, 2 and 3), the address used for polling is duplicated and as a result no normal communication can be
made.
For example, if Address 10 is
selected CH3 corresponding to
Controller 3 is urged to send
data.
In case of the MA901:
Set the device address number of the succeeding controller to eight or more than eight plus the
same number of the previous controller.
This is the identifier to specify the memory area number. It is expressed by affixing “K” to the
head of each memory area number (from 1 to 8). In addition, if the memory area number is
assigned with “K0,” this represents that control area is specified.
The memory area now used for control is called “Control area.”
If the memory area number is not specified when polling the identifier corresponding to
the memory area, this represents that the control area is specified.
If any identifier not corresponding to the memory area is assigned with a memory area
number, this memory area number is ignored.
IMR01H02-E3
17
5. RKC COMMUNICATION PROTOCOL
3. 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. 34).
4. 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.
STX
IdentifierDataBCC
ETX
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. 34).
3. Data
Data which is indicated by an identifier of this controller, consisting of channel numbers, data,
etc. It is expressed in decimal ASCII code including a minus sign (-) and a decimal point.
Channel number: 2 digit ASCII code, not zero-suppressed.
(Channel number: MA900: from 01 to 04, MA901: from 01 to 08)
Channels without channel numbers may exist depending on the type identifier.
In addition, in case of single mode, do not use the channel number.
Data:ASCII code. The number of digits varies depending on the type of identifier.
Multi-point mode: Zero-suppressed with spaces (20H).
Single mode:Not zero-suppressed.
18
Data structure of identifier with channel number (Only for multi-point mode)
A data is divided from that of the next channel with a comma.
number
Space
DataChannel
Comma
Channel
number
Space
Data
For the identifier without the corresponding channel number, the same data is sent to the
host computer regardless of the channel number.
,,
Comma
IMR01H02-E3
5. RKC COMMUNICATION PROTOCOL
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 data is not sent from the host computer even if the data link is initialized
• 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.
(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 #### Communication identifier list (P. 35).
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.
IMR01H02-E3
19
5. RKC COMMUNICATION PROTOCOL
(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. (Time out: 3 seconds)
(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.
20
IMR01H02-E3
5. RKC COMMUNICATION PROTOCOL
5.1.2 Polling procedure example (Multi-point mode)
Four channels specification of MA900 is used in the procedure example for explanation, but
the same setting procedures also apply to MA901. However, the 8-channel specification
applies to the MA901. Therefore, refer to procedure examples by replacing the 4-channel
specification for the MA900 with the 8-channel specification for the MA901.
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:
Controller send
No response
(6)
A
C
K
(4)
N
A
K
(5)
E
O
T
(1)
Address
(2)
Host computer send
T
[ ] [ ] [Data]
X
Identifier
Memory area
number
(3)
E
T
X
[BCC]
5.2.1 Selecting procedures
(1) Data link initialization
Host computer sends EOT to the controllers to initiate data link before selecting sequence.
Host computer
send
E
O
T
(7)
(2) Sending selecting address from the host computer
Host computer sends selecting address for the selecting sequence.
Address
!"
• Multi-point mode
The device address specifies the controller to be selected and each controller must have its own
unique device address.
• Single mode
This data is for representing the device address and channel number of the controller to be
selected. When selecting any identifier without a channel number, that channel number is
ignored. Each address is calculated as follows.
Calculation method of address:
Address = Device address of controller + Controller channel number - 1
(2 digits)
For details, see 4.2 Setting the Communication Parameters (P. 9).
Continued on the next page.
IMR01H02-E3
25
5. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
Example: When 3 controllers (MA900: 4 channels) are multidrop-connected
Set the device address number of the succeeding controller to four or more than four plus the same
number of the previous controller. Otherwise (for example, if set to 00, 01 and 02 between Controllers
1, 2 and 3), the address used for polling is duplicated and as a result no normal communication can be
made.
For example, if Address 10 is
selected CH3 corresponding to
Controller 3 is urged to receive
data.
In case of the MA901:
Set the device address number of the succeeding controller to eight or more than eight plus the
same number of the previous controller.
As long as the data link is not initialized by sending or receiving EOT, the selecting address
once sent becomes valid.
(3) Data sent from the host computer
The host computer sends data for the selecting sequence with the following format:
When no memory area number is specified
!"
3.2.
BCCETXIdentifierSTXData
When the memory area number is specified
!"
3.2.1.
STXData
For the STX, ETX and BCC, see 5.1 Polling (P. 15).
Memory area
number
BCCETXIdentifier
26
IMR01H02-E3
5. RKC COMMUNICATION PROTOCOL
1. Memory area number (2 digits)
This is the identifier to specify the memory area number. It is expressed by affixing “K” to the
head of each memory area number (from 1 to 8). In addition, if the memory area number is
assigned with “K0,” this represents that control area is specified.
The memory area now used for control is called “Control area.”
If the memory area number is not specified when selecting the identifier corresponding to
the memory area, selecting is made to the memory area.
If any identifier not corresponding to the memory area is assigned with a memory area
number, this memory area number is ignored.
2. 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. 34).
3. Data
Data which is indicated by an identifier of this controller, consisting of channel numbers, data,
etc. It is expressed in decimal ASCII code including a minus sign (-) and a decimal point.
Channel number: 2 digit ASCII code
The channel number can be zero-suppressed.
(Channel number: MA900: from 01 to 04, MA901: from 01 to 08)
Channels without channel numbers may exist depending on the type identifier.
In addition, in case of single mode, do not use the channel number.
Data:ASCII code (The data can be zero-suppressed.)
The number of digits varies depending on the type of identifier.
Data structure of identifier with channel number (Only for multi-point mode)
A data is divided from that of the next channel with a comma.
,,
number
Space
DataChannel
Comma
Channel
number
Space
Data
Comma
IMR01H02-E3
27
5. RKC COMMUNICATION PROTOCOL
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.
(Number of digits: Within 6 digits)
<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
Receive data
-.5-.058.05-0
-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)
(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.
28
IMR01H02-E3
5. RKC COMMUNICATION PROTOCOL
(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.
IMR01H02-E3
29
5. RKC COMMUNICATION PROTOCOL
5.2.2 Selecting procedure example (Multi-point mode)
Four channels specification of MA900 is used in the procedure example for explanation, but
the same setting procedures also apply to MA901. However, the 8-channel specification
applies to the MA901. Therefore, refer to procedure examples by replacing the 4-channel
specification for the MA900 with the 8-channel specification for the MA901.
Set value (SV) #S16Within input range.0 or 0.0R/W×
(1) Name:A name of identifier is written.
(2) Identifier:The code to identify the data is written.
(3) No. of digits:The number of maximum digits is written.
(4) Data range:The range of reading or writing data is written.
(5) Factory set value: The factory set value of data is written.
(6) Attribute:The data accessing direction is written.
(7) CH:×:Identifier with channel
M16Within input range.-----RO×
M26CTL6P: 0.0 to 30.0 A
No. of
digits
CTL12: 0.0 to 100.0 A
The identifier whose name is marked with # indicates that corresponding to
the memory area.
Each time the host computer sends ACK (acknowledgement), the controller sends data corresponding
to the respective identifier in the order specified in a list of communication identifiers.
Communication is not possible when an identifier is specified that the controller can not
recognize.
To be send in this order.
34
NameIden-
tifier
Model codeID32Display the model code
Measured value
(PV)
Current
transformer 1
M16Within input range.
M26CTL6P: 0.0 to 30.0 A
No. of
digits
Data range
CTL12: 0.0 to 100.0 A
IMR01H02-E3
Communication identifier list
!"
!"
!"!"
5. RKC COMMUNICATION PROTOCOL
NameIden-
Model code
Measured value
(PV)
Current
transformer 1
input value
Current
transformer 2
input value
(This item does not
use in the MA901)
Set value monitor
Burnout
Alarm 1 status
Alarm 2 status
Alarm 3 status
tifier
ID
M1
M2
M3
MS
B1
AA
AB
AC
No. of
digits
Data rangeFactory set
value
32Display the model code-----RO
6Within input range.-----RO
6CTL6P: 0.0 to 30.0 A
-----RO
CTL12: 0.0 to 100.0 A
6Within input range.-----RO
10: OFF 1: ON-----RO
10: OFF 1: ON-----RO
Attri-
bute
CH
−
×
×
×
×
×
IMR01H02-E3
Continued on the next page.
35
5. RKC COMMUNICATION PROTOCOL
Continued form the previous page.
NameIden-
Output status *
tifier
AJ
No. of
digits
Data rangeFactory set
value
60 to 2047-----RO
Attri-
bute
* The status of each output assigned to the controller is converted to the corresponding decimal data
and then is sent to the host computer. Convert the decimal data sent from the controller to the
corresponding binary data (bit image) to confirm the status.
Bit numberAssignment terminalOutput typeTerminal status
b0OUT1
b1OUT2
b2OUT3Control output
b3OUT4or
b4OUT5Alarm output
b5OUT60: Open 1: Close
b6OUT7
b7OUT8
b8ALM1
b9ALM2Alarm output
b10ALM3
In case of current output (0 to 20 mA DC, 4 to 20 mA DC), these data becomes invalid.
CH
−
Example:
Bit images(Decimal number)(Binary number)
Open/Close status1792 =11100000000
Bit numberb10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
If any defect (welding, etc.) is found in the relay located inside the instrument, the output
status may differ from the relay contact status.
36
Continued on the next page.
IMR01H02-E3
Continued form the previous page.
5. RKC COMMUNICATION PROTOCOL
NameIden-
Manipulated
output value
1
Cool-side
tifier
O16-5.0 to +105.0 %-----RO×
O2
No. of
digits
Data rangeFactory set
value
Attri-
bute
CH
manipulated
output value
(This item does not
use in the MA901)
Error code
DI status
2
3
Memory area
number selection
ER10 to 5-----RO−
L160 to 31-----RO−
ZA11 to 81R/W−
4
Set value (SV) !S16Within input range.0 or 0.0R/W×
1
For heat/cool control: Heat-side manipulated output value
2
Display the number of the error that occurred.
Example: When the adjusted data error and the A/D conversion error occur simultaneously,
the data is 2.
In addition, error contents identify error code displayed on the SV display of MA900/MA901.
Error contents: Adjusted data error, EEPROM error, A/D conversion error, Board configuration
error, Watchdog timer error
For the error contents, see the Instruction Manual (IMR01H01-E").
3
The RUN/STOP terminal and memory area transfer contact input (DI) terminal statuses are
converted to the corresponding decimal data, respectively and then are sent to the host computer.
Convert the decimal data sent from the controller to the corresponding binary data (bit image) to
confirm the status.
Bit numberInput typeTerminal status
b0RUN/STOP terminal status
b1DI1 terminal status
b2DI2 terminal status0: Open 1: Close
b3DI4 terminal status
b4DI SET terminal status
Example:
Bit images(Decimal number)(Binary number)
Open/Close status18 =10010
Bit numberb4b3b2b1b0
4
For selecting the memory area, a maximum time of 100 ms is required after selecting is made. If
polling is made within 100 ms after selecting is made, the data before selecting is made may be sent
to the host side depending on the timing.
Continued on the next page.
IMR01H02-E3
37
5. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
NameIden-
Alarm 1!
Control loop break
alarm deadband
(LBD)!
tifier
A1
N1
No. of
Data rangeFactory set
digits
6Process alarm, SV alarm 1:
Same as input range
1
Deviation alarm
:
-span to +span
(Within -1999 to +9999 digits)
Control loop break alarm (
0.0 to 200.0 minutes
(0.0: LBA OFF)
60 to span
However, 9999 digits or less
(0: LBD OFF)
LBA
Temperature
50 or 50.0
Voltage input:
):
Control loop
break alarm:
Temperature
input: 0 or 0.0
Voltage input:
value
input:
5.0
8.0
Attri-
bute
R/W
R/W
0.0
Alarm 2
4
A2
!
6Process alarm, SV alarm
Same as input range
1
Deviation alarm
:
-span to +span
(Within -1999 to +9999 digits)
1
:
Temperature
R/W
input:
50 or 50.0
Voltage input:
5.0
Heater break alarm 1 (HBA1):
0.0 to 100.0 A
(0.0: HBA1 OFF)
Heater break
N2
alarm 2 (HBA2)
(This item does not
use in the MA901)
1
Process alarm =Process high alarm, Process low alarm, Process high alarm (with hold action),
60.0 to 100.0 A
(0.0: HBA2 OFF)
Heater break
alarm 1: 0.0
0.0R/W
Process high alarm (with hold action)
SV alarm =SV high alarm, SV low alarm
Deviation alarm = Deviation high alarm, Deviation low alarm, Deviation high/low alarm, Band
alarm, Deviation high alarm (with hold action), Deviation low alarm (with hold
action), Deviation high/low alarm (with hold action)
2
When the alarm 1 is FAIL alarm, attributes become RO (read only).
3
When the alarm 1 is other than the control loop break alarm (LBA), attributes become RO (read
only).
4
When the alarm 2 corresponds to heater break alarm 1 (HBA1), becomes communication data not
corresponding to the memory area.
5
When there is not alarm 2, attribute becomes RO (read only).
When the alarm 2 is FAIL alarm, attributes become RO (read only).
6
When the alarm 2 is other than heater break alarm 1 (HBA1), attributes become RO (read only).
CH
2
×
3
×
5
×
6
×
38
Continued on the next page.
IMR01H02-E3
Continued from the previous page.
5. RKC COMMUNICATION PROTOCOL
NameIden-
Alarm 3!
Proportional
3
band
!
Cool-side
proportional
band!
(This item does not
use in the MA901)
Integral time!
tifier
A3
P1
P2
I1
No. of
Data rangeFactory set
digits
6Process alarm, SV alarm 1:
Same as input range
1
Deviation alarm
:
-span to + span
(Within -1999 to +9999 digits)
60 (0.0) to span
However, 9999 digits or less
(0 or 0.0: ON/OFF action)
61 to 1000 % of heat-side
proportional band
60 to 3600 seconds
(0: PD action)
value
Temperature
input:
50 or 50.0
Voltage input:
5.0
Temperature
input:
30 or 30.0
Voltage input:
3.0
100R/W
240R/W
Attri-
bute
R/W
R/W
CH
2
×
×
4
×
×
Derivative time !
Anti-reset windup
!
D1
W1
60 to 3600 seconds (0: PI action)60R/W
60 to 100 % of heat-side
100R/W
proportional band
(0: Integral action OFF)
Overlap/
V1
deadband!
(This item does not
use in the MA901)
1
Process alarm =Process high alarm, Process low alarm, Process high alarm (with hold action),
6-span to +span
(Within -1999 to +9999 digits)
5
Temperature
input: 0 or 0.0
Voltage input:
0.0
R/W
Process high alarm (with hold action)
SV alarm =SV high alarm, SV low alarm
Deviation alarm = Deviation high alarm, Deviation low alarm, Deviation high/low alarm, Band
alarm, Deviation high alarm (with hold action), Deviation low alarm (with hold
action), Deviation high/low alarm (with hold action)
2
When there is not alarm 3, attribute becomes RO (read only).
When the alarm 3 is FAIL alarm, attributes become RO (read only).
3
For heat/cool control: Heat-side proportional band
4
In case of heat control, become RO (read only).
5
Minus (-) setting results in overlap.
×
×
4
×
IMR01H02-E3
Continued on the next page.
39
5. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
NameIden-
Setting change
rate limiter!
tifier
HH60 (0.0) to span/min.
No. of
digits
Data rangeFactory set
(0 or 0.0: Setting change rate
Attri-
value
bute
0R/W×
CH
limiter OFF)
Used/unused of
channels
RUN/STOP
transfer
1
!
EI10: Unused
1: Used for only alarm
2: Used for control and alarm
SR10: STOP
1: RUN
PID/AT selectionG110: PID control
2R/W×
1R/W−
0R/W×
1: Autotuning (AT)
PV biasPB6-span to +span
(Within -1999 to +9999 digits)
Temperature
input: 0 or 0.0
R/W×
Voltage input:
0
Digital filterF160 to 100 seconds
0R/W×
(0: Digital filter OFF)
Proportioning
cycle time
2, 3
T061 to 100 secondsRelay contact
output: 20
R/W×
Voltage pulse/
triac output: 2
4
Cool-side
proportioning
cycle time
(This item does not
use in the MA901)
3
T161 to 100 secondsRelay contact
output: 20
Voltage pulse/
triac output: 2
R/W
Scan interval timeTL61 to 10 seconds2R/W−
1
For changing the RUN/STOP, a maximum time of 100 ms is required after selecting is made. If
polling is made within 100 ms after selecting is made, the data before selecting is made may be sent
to the host side depending on the timing.
×
Relation with RUN/STOP transfer by DI
The instrument cannot be changed to the RUN by communication, if the instrument is the STOP
state by the contact input. (The “STOP” has priority.)
DI stateRUN/STOP transfer by communicationInstrument state
RUNRUNRUN
RUN/STOP
state
2
For heat/cool control: Heat-side proportioning cycle time
3
In case of current output (0 to 20 mA DC, 4 to 20 mA DC), these data becomes invalid.
4
In case of heat control, become RO (read only).
RUNSTOPSTOP
STOPRUNSTOP
STOPSTOPSTOP
Continued on the next page.
40
IMR01H02-E3
Continued from the previous page.
5. RKC COMMUNICATION PROTOCOL
NameIden-
Device address
Communication
1
speed
tifier
1
IP
IR
No. of
digits
Data rangeFactory set
value
60 to 990R/W
60: 2400 bps
2R/W
1: 4800 bps
Attri-
bute
2: 9600 bps
3: 19200 bps
Data bit
configuration
Interval time
1
The value changed becomes effective when the power is turned on again or when changed from
1
1
IQ
IT
6See
60 to 250 ms10R/W
data bit configuration
2
table
0R/W
STOP to RUN.
2
Data bit configuration table
Set valueData bitParity bitStop bit
08Without1
18Without2
28Even1
Setting range of
Modbus
3 *8Even2
48Odd1
5 *8Odd2
6 *7Without1
Setting range of
RKC communication
7 *7Without2
8 *7Even1
9 *7Even2
10 *7Odd1
11 *7Odd2
* When the Modbus communication protocol selected, this setting becomes invalid.
CH
−
−
−
−
IMR01H02-E3
Continued on the next page.
41
5. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
NameIden-
EEPROM storage
1
mode
tifier
EB
No. of
digits
10: Backup mode
(Set values are store to
Data rangeFactory set
value
0R/W
Attri-
bute
the EEPROM)
1: Buffer mode
(No set values are store to
the EEPROM)
EEPROM storage
2
status
EM
10: The content of the EEPROM
does not coincide with that of
-----RO
the memory.
1: The content of the EEPROM
coincides with that of the
memory.
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.
CH
−
−
• 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.)
Continued on the next page.
42
IMR01H02-E3
Continued from the previous page.
5. RKC COMMUNICATION PROTOCOL
NameIden-
tifier
Lock level 1
Lock level 2
1
Selection contents of lock level 1
LK
LL
0: Unlock1: Lock
0000
Least significant digit: Items other than set value (SV) and
Tens digits:Alarms (alarm 1 to alarm 3)
Hundreds digits:SV
Most significant digit: 0 fixed
2
Selection contents of lock level 2
0: Unlock1: Lock
0000
Least significant digit: RUN/STOP transfer
Tens digits:Memory area transfer
Hundreds digits:0 fixed
Most significant digit: 0 fixed
No. of
digits
60000 to 1111
60000 to 1111
Data rangeFactory set
value
1
2
0000R/W
0000R/W
alarms (alarm 1 to alarm 3)
Attri-
bute
CH
−
−
IMR01H02-E3
43
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. 9).
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, see6.2 Function Code (P. 45).
#$
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. 49), 6.7 Data Configuration (P. 53) and
6.8 Communication Data List (P. 55).
#$
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. 47).
44
IMR01H02-E3
6.2 Function Code
Function code contents
Function code
(Hexadecimal)
03HRead holding registersMeasured value (PV), alarm status, etc.
06HPreset single registerSet value (SV), alarm set value, PID constants,
10HPreset multiple registersSet value (SV), alarm set value, PID constants,
6. MODBUS COMMUNICATION PROTOCOL
FunctionContents
PV bias, etc. (For each word)
PV bias, etc.
Message length of each function (Unit: byte)
Function codeFunctionQuery messageResponse message
(Hexadecimal)MinMaxMinMax
03HRead holding registers887255
06HPreset single register8888
08HDiagnostics (loopback test)8888
10HPreset multiple registers1125588
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
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.
IMR01H02-E3
45
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.
• In the response message of the Preset Multiple Resister, the slave returns the slave address, the
function code, starting number and number of holding registers in the multi-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 any address other than 0000H to 02EEH and 1388H to 14A0H are
specified.
(However, no error returns for any address from 03E8H to 0563H. Therefore,
do not access any of the above addresses.)
46
3When the specified number of data items in the query message exceeds the
maximum number of data items available
4Self-diagnostic error response
IMR01H02-E3
6. MODBUS COMMUNICATION PROTOCOL
(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.
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.
IMR01H02-E3
47
6. MODBUS COMMUNICATION PROTOCOL
The flow chart of CRC-16
!"
!"
!"!"
FFFFH
CRC Register ⊕ next byte of the message
Shift CRC Register right 1 bit
CRC Register
START
Carry flag is
Yes
A001H
⊕
n
CRC Register
→
0 →
n
→
+ 1 →
n
→
1
CRC Register
CRC Register
No
No
No
> 7
n
Yes
Is message
complete ?
Yes
END
The ⊕ symbol indicates an exclusive OR operation. The symbol for the number of data bits is n.
48
IMR01H02-E3
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 (0001H) and
125 (007DH).
Normal response message
Slave address02H
Function code03H
Number of data06H
First holdingHigh00H
register contentsLow00H
Next holdingHigh00H
register contentsLow01H
Next holdingHigh00H
register contentsLow02H
CRC-16HighE5H
Low84H
Error response message
Slave address02H
80H + Function code83H
Error code03H
CRC-16HighF1H
Low31H
Number of holding registers × 2
IMR01H02-E3
49
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 00C8H of slave address 1.
Query message
Slave address01H
Function code06H
Holding registerHigh00H
numberLowC8H
Write dataHigh00H
Low64H
CRC-16High09H
LowDFH
Any data within the range
Normal response message
Slave address01H
Function code06H
Holding registerHigh00H
numberLowC8H
Write dataHigh00H
Low64H
CRC-16High09H
LowDFH
Error response message
Slave address01H
80H + Function code86H
Error code02H
CRC-16HighC3H
LowA1H
Contents will be the same as query message data.
50
IMR01H02-E3
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.
IMR01H02-E3
51
6. MODBUS COMMUNICATION PROTOCOL
6.6.4 Preset multiple registers [10H]
The query message specifies the starting register address and quantity of registers to be written.
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 two holding registers from 00C8H to 00C9H of slave address 1.
Query message
Slave address01H
Function code10H
Starting numberHigh00H
LowC8H
QuantityHigh00H
Low02H
Number of data04H
Data to firstHigh00H
registerLow64H
Data to nextHigh00H
registerLow64H
CRC-16HighBEH
Low6DH
First holding register address
The setting must be between 1 (0001H) and
100 (0064H).
Number of holding registers × 2
Any data within the range
Normal response message
Slave address01H
Function code10H
Starting numberHigh00H
LowC8H
QuantityHigh00H
Low02H
CRC-16HighC0H
Low36H
Error response message
Slave address01H
80H + Function code90H
Error code02H
CRC-16HighCDH
LowC1H
52
IMR01H02-E3
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.
Current transformer 1 input valueCool-side manipulated output value *
Current transformer 2 input value *Control loop break alarm (LBA)
Manipulated output value orHeater break alarm 1 (HBA1)
heat-side manipulated output valueHeater break alarm 2 (HBA2) *
* This item does not use in the MA901.
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
!"
!"
!"!"
BurnoutUsed/unused of channels
Alarm 1 statusRUN/STOP transfer
Alarm 2 statusPID/AT selection
Alarm 3 statusDigital filter
Output statusProportioning cycle time or
DI statusheat-side proportioning cycle time
Memory area number selectionCool-side proportional cycle time *
Cool-side proportional band *Scan interval time
Integral timeEEPROM storage mode
Derivative timeEEPROM storage status
Anti-reset windupLock level 1
Setting change rate limiterLock level 2
* This item does not use in the MA901.
Example: When integral time is 50 seconds; 50 is processed as 50, 50 = 0032H
Integral timeHigh00H
Low32H
IMR01H02-E3
53
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. 75).
Measured value (PV)
Set value monitor
Set value (SV)
Alarm 1 (Except the control loop break alarm)
Control loop break alarm (LBA)
Alarm 2 (Except the heater break alarm 1)
Alarm 3
Proportional band or heat-side proportional band
Overlap/deadband *
PV bias
* This item does not use in the MA901.
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
• Addresses in which data (holding register) is accessible are from 0000H to 02EEH and from 1388H
to 14A0H. If any address other than 0000H to 02EEH and 1388H to 14A0H is accessed, an error
response message returns. However, no error returns for any address from 03E8H to 0563H.
Therefore, do not access any of the above addresses.
• Read data of unused channel 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.
• Communication data includes data which becomes RO (read only) depending on the specification.
No error occurs even if data is written when set to RO. However in this case, no data is written.
For details, see 6.8 Communication Data List (P. 55).
• Send the next command message at time intervals of 30 bits after the master receives the response
message.
54
IMR01H02-E3
6. MODBUS COMMUNICATION PROTOCOL
6.8 Communication Data List
The communication data list summarizes names, descriptions, factory set values and attributes.
Attribute (RO: Read only, R/W: Read and Write)
The communication data whose name is marked with ! indicates that corresponding to the
memory area.
In case of Modbus communication, data are treated as binary data in communication.
NameData rangeFactory set valueAttri-
bute
Measured value (PV)Within input range.-----RO
Manipulated output
1
value
-5.0 to +105.0 %-----RO
Cool-side manipulated
output value
(This item does not use in
the MA901.)
Current transformer 1
input value
CTL6P: 0.0 to 30.0 A
CTL12: 0.0 to 100.0 A
-----RO
Current transformer 2
input value
(This item does not use in
the MA901.)
STATUS
1
For heat/cool PID control: Heat-side manipulated output value
2
The alarms and burnout statuses are converted to the corresponding decimal data, respectively and
2
0 to 135-----RO
then are sent to the host computer. Convert the decimal data sent from the controller to the
corresponding binary data (bit image) to confirm the status.
Bit numberDetailsAlarm status
b0Alarm 1 status
b1Alarm 2 status
b2Burnout status0: OFF 1: ON
b3 to b6Unused
b7Alarm 3 status
b8 to b15Unused
Example:
Bit images(Decimal number)(Binary number)
OFF/ON status
Bit number
135 =0000000010000111
b15b14b13b12b11b10b9 b8 b7 b6 b5b4 b3 b2 b1 b0
If any defect (welding, etc.) is found in the relay located inside the instrument, the output
status may differ from the relay contact status.
IMR01H02-E3
Continued on the next page.
55
6. MODBUS COMMUNICATION PROTOCOL
Continued form the previous page.
NameData rangeFactory set
value
Output status
DI status
1
The status of each output assigned to the controller is converted to the corresponding decimal data
1
2
0 to 2047-----RO
0 to 31-----RO
Attri-
bute
and then is sent to the host computer. Convert the decimal data sent from the controller to the
corresponding binary data (bit image) to confirm the status.
Bit numberAssignment terminalOutput typeTerminal status
b0OUT1
b1OUT2
b2OUT3Control output
b3OUT4or
b4OUT5Alarm output
b5OUT60: Open 1: Close
b6OUT7
b7OUT8
b8ALM1
b9ALM2Alarm output
b10ALM3
In case of current output (0 to 20 mA DC, 4 to 20 mA DC), these data becomes invalid.
Example:
Bit images(Decimal number)(Binary number)
Open/Close status1792 =11100000000
Bit numberb10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
If any defect (welding, etc.) is found in the relay located inside the instrument, the output
status may differ from the relay contact status.
2
The RUN/STOP terminal and memory area transfer contact input (DI) terminal statuses are
converted to the corresponding decimal data, respectively and then are sent to the host computer.
Convert the decimal data sent from the controller to the corresponding binary data (bit image) to
confirm the status.
Bit numberInput typeTerminal status
b0RUN/STOP terminal status
b1DI1 terminal status
b2DI2 terminal status0: Open 1: Close
b3DI4 terminal status
b4DI SET terminal status
Example:
Bit images(Decimal number)(Binary number)
Open/Close status18 =10010
Bit numberb4b3b2b1b0
Continued on the next page.
56
IMR01H02-E3
Continued form the previous page.
NameData rangeFactory set
6. MODBUS COMMUNICATION PROTOCOL
Attri-
value
bute
EEPROM storage
1
status
0: The content of the EEPROM does not
coincide with that of the memory.
-----RO
1: The content of the EEPROM coincides
with that of the memory.
Set value monitorWithin input range.-----RO
Set value (SV)!Within input range.0 or 0.0R/W
PID/AT selection0: PID control 1: Autotuning (AT)0R/W
Proportional band
Cool-side
2
0 (0.0) to span
However, 9999 digits or less
!
(0 or 0.0: ON/OFF action)
Temperature input:
30 or 30.0
Voltage input: 3.0
R/W
1 to 1000 % of heat-side proportional band100R/W
proportional band !
(This item does not use
in the MA901.)
Integral time!0 to 3600 seconds (0: PD action)240R/W
Derivative time!0 to 3600 seconds (0: PI action)60R/W
Overlap/deadband !
(This item does not use
in the MA901.)
-span to +span
4
(Within -1999 to +9999 digits)
Temperature input:
0 or 0.0
Voltage input: 0.0
R/W
3
3
Anti-reset windup !0 to 100 % of heat-side proportional band
100R/W
(0: Integral action OFF)
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
For heat/cool control: Heat-side proportional band
3
In case of heat control, become RO (read only).
4
Minus (-) setting results in overlap.
Continued on the next page.
IMR01H02-E3
57
6. MODBUS COMMUNICATION PROTOCOL
Continued form the previous page.
NameData rangeFactory set
Alarm 1!Process alarm, SV alarm 1:
Same as input range
1
Deviation alarm
: -span to +span
(Within -1999 to +9999 digits)
Control loop break alarm (LBA):
0.0 to 200.0 minutes (0.0: LBA OFF)
Alarm 2
3
Process alarm, SV alarm 1:
Same as input range
1
Deviation alarm
: -span to +span
(Within -1999 to +9999 digits)
Heater break alarm 1 (HBA1):
0.0 to 100.0 A (0.0: HBA1 OFF)
Alarm 3!Process alarm, SV alarm 1:
Same as input range
1
Deviation alarm
: -span to +span
(Within -1999 to +9999 digits)
Heater break alarm 2
(HBA2)
(This item does not use
in the MA901.)
0.0 to 100.0 A
(0.0: HBA2 OFF)
value
Temperature input:
50 or 50.0
Voltage input: 5.0
Control loop break
alarm: 8.0
Temperature input:
50 or 50.0
Voltage input: 5.0
Heater break alarm 1:
0.0
Temperature input:
50 or 50.0
Voltage input: 5.0
0.0R/W
Attri-
bute
R/W
R/W
R/W
2
4
5
6
Used/unused of
channels!
0: Unused
1: Used for only alarm
2R/W
2: Used for control and alarm
1
Process alarm =Process high alarm, Process low alarm, Process high alarm (with hold action),
Process high alarm (with hold action)
SV alarm =SV high alarm, SV low alarm
Deviation alarm = Deviation high alarm, Deviation low alarm, Deviation high/low alarm, Band
alarm, Deviation high alarm (with hold action), Deviation low alarm (with hold
action), Deviation high/low alarm (with hold action)
2
When the alarm 1 is FAIL alarm, attributes become RO (read only).
3
When the alarm 2 corresponds to heater break alarm 1 (HBA1), becomes communication data not
corresponding to the memory area.
4
When there is not alarm 2, attributes becomes RO (read only).
When the alarm 2 is FAIL alarm, attributes become RO (read only).
5
When there is not alarm 3, attribute becomes RO (read only).
When the alarm 3 is FAIL alarm, attributes become RO (read only).
6
When the alarm 2 is other than heater break alarm 1 (HBA1), attributes become RO (read only).
Continued on the next page.
58
IMR01H02-E3
Continued form the previous page.
6. MODBUS COMMUNICATION PROTOCOL
NameData rangeFactory set
Proportioning cycle
1, 2
time
value
1 to 100 secondsRelay contact output:
20
Attri-
bute
R/W
Voltage pulse/
triac output: 2
Cool-side
proportioning cycle
2
time
(This item does not use
in the MA901.)
Control loop break
alarm deadband (LBD)
PV bias-span to +span
1 to 100 secondsRelay contact output:
Voltage pulse/
triac output: 2
0 to span
However, 9999 digits or less
(0: LBD OFF)
!
Temperature input:
0 or 0.0
Voltage input: 0.0
Temperature input:
(Within -1999 to +9999 digits)
0 or 0.0
R/W
20
R/W
R/W
Voltage input: 0
Digital filter0 to 100 seconds (0: Digital filter OFF)0R/W
Setting change rate
limiter!
RUN/STOP transfer
Memory area number
0 (0.0) to span/min.
0R/W
(0 or 0.0: Setting change rate limiter OFF)
5
0: STOP 1: RUN1R/W
1 to 81R/W
selection
Scan interval time1 to 10 seconds2R/W
Device address
6
0 to 990R/W
(Slave address)
Communication speed 60: 2400 bps2: 9600 bps
2R/W
1: 4800 bps3: 19200 bps
1
For heat/cool control: Heat-side proportioning cycle time
2
In case of current output (0 to 20 mA DC, 4 to 20 mA DC), these data becomes invalid.
3
In case of heat control, become RO (read only).
4
Become RO (read only) when the alarm 1 is other than control loop break alarm (LBA).
5
Relation with RUN/STOP transfer by DI
The instrument cannot be changed to the “RUN” by communication, if the instrument is the STOP
state by the contact input. (The “STOP” has priority.)
DI stateRUN/STOP transfer by communicationInstrument state
RUNRUNRUN
RUN/STOP
state
6
The value changed becomes effective when the power is turned on again or when changed from
RUNSTOPSTOP
STOPRUNSTOP
STOPSTOPSTOP
STOP to RUN.
Continued on the next page.
3
4
IMR01H02-E3
59
6. MODBUS COMMUNICATION PROTOCOL
Continued from the previous page.
NameData rangeFactory set
Data bit configuration 1See
Interval time
EEPROM storage
3
mode
1
0 to 250 ms10R/W
0: Backup mode
data bit configuration table
2
(Set values are store to the EEPROM)
value
0R/W
0R/W
Attri-
bute
1: Buffer mode
(No set values are store to the EEPROM)
1
The value changed becomes effective when the power is turned on again or when changed from
STOP to RUN.
2
Data bit configuration table
Set valueData bitParity bitStop bit
08Without1
18Without2
28Even1
Setting range of
Modbus
3 *8Even2
48Odd1
5 *8Odd2
6 *7Without1
Setting range of
RKC communication
7 *7Without2
8 *7Even1
9 *7Even2
10 *7Odd1
11 *7Odd2
* When the Modbus communication protocol selected, this setting becomes invalid.
3
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.
60
IMR01H02-E3
Continued from the previous page.
6. MODBUS COMMUNICATION PROTOCOL
NameData rangeFactory set
Lock level 10000 to 1111
Lock level 20000 to 1111
1
Selection contents of lock level 1
0: Unlock1: Lock
0000
Least significant digit: Items other than set value (SV) and
Tens digits:Alarms (alarm 1 to alarm 3)
Hundreds digits:SV
Most significant digit: 0 fixed
2
Selection contents of lock level 2
0: Unlock1: Lock
0000
Least significant digit: RUN/STOP transfer
Tens digits:Memory area transfer
Hundreds digits:0 fixed
Most significant digit: 0 fixed
Attri-
value
1
2
0000R/W
0000R/W
bute
alarms (alarm 1 to alarm 3)
IMR01H02-E3
61
6. MODBUS COMMUNICATION PROTOCOL
6.9 Data Map
6.9.1 Reference to data map
This data map summarizes the data addresses, channels and names that can be used with Modbus
protocol. For details on each data range, see 6.8 Communication Data List(P. 55).
The accessible data (holding register) address range is from 0000H to 02EEH and 1388H to
14A0H. Addresses in which data (holding register) is accessible are from 0000H to 02EEH
and from 1388H to 14A0H. If any address other than 0000H to 02EEH and 1388H to
14A0H is accessed, an error response message (error code: 2) returns.
However, no error returns for any address from 03E8H to 0563H. Therefore, do not access
any of the above addresses.
The accessible data (holding register) address range is from 0000H to 02EEH and 1388H to
14A0H. Addresses in which data (holding register) is accessible are from 0000H to 02EEH
and from 1388H to 14A0H. If any address other than 0000H to 02EEH and 1388H to
14A0H is accessed, an error response message (error code: 2) returns.
However, no error returns for any address from 03E8H to 0563H. Therefore, do not access
any of the above addresses.
IMR01H02-E3
7.INPUT RANGE TABLES
Input Range Table 1
Input typeInput rangeCode
InputRange
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
Thermocouple
J
* Accuracy is not guaranteed between -199.9 to -100.0 °C (-199.9 to -148.0 °F)
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
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
IMR01H02-E3
Wrong address setting
Continued on the next page.
79
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
80
IMR01H02-E3
!"
!"
Modbus
!"!"
ProblemProbable causeSolution
8. TROUBLESHOOTING
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 any address other than 0000H to
02EEH and 1388H to 14A0H are specified
(However, no error returns for any address
from 03E8H to 0563H. Therefore, do not
access any of the above addresses.)
Error code3When 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.
IMR01H02-E3
81
9.
ASCII 7-BIT CODE TABLE
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
82
IMR01H02-E3
The first edition: MAY 2001
The third edition: MAR. 2002 [IMQ00]
RKC INSTRUMENT INC.
HEADQUARTERS: 16-6, KUGAHARA 5-CHOME, OHTA-KU TOKYO 146-8515 JAPAN