RKC SRX Instruction Manual

r
RKC INSTRUMENT INC.
®
SRX
Communication
Instruction Manual
IMS01N01-E5
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 2002, RKC INSTRUMENT INC.
t
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
!
An external protection device must be installed if failure of this instrument
could result in damage to the instrument, equipment or injury to personnel.
: 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 no
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
!
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.
IMS01N01-E5
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.
i-2
IMS01N01-E5
CONTENTS
1. OUTLINE .............................................................................. 1
2. COMMUNICATION SPECIFICATIONS ................................ 2
3. SETTING PROCEDURE TO OPERATION .......................... 4
4. WIRING ................................................................................ 7
4.1 Wiring Configuration ........................................................................................7
Page
4.2 Wiring Details ..................................................................................................9
4.3 Installation of Termination Resistor for Host Communication ........................11
5. COMMUNICATION SETTING ............................................ 15
5.1 Module Address Setting ................................................................................15
5.2 Protocol Selections and Communication Speed Setting................................16
5.3 Internal Data Bus Termination Resistor Setting.............................................17
5.4 Communication Time Setting.........................................................................18
5.5 Communication Requirements ......................................................................20
6. DIGITAL INPUT/OUTPUT .................................................. 22
6.1 Outline of Digital Input/Output Assignment.................................................... 22
6.2 Digital Input....................................................................................................23
6.2.1 Program operation mode selection .................................................................... 23
6.2.2 Program pattern selection .................................................................................. 24
6.2.3 Autotuning (AT)/PID control transfer .................................................................. 25
6.2.4 Caution in the digital input.................................................................................. 26
6.2.5 Example of digital input assignment................................................................... 27
6.3 Digital Output.................................................................................................30
6.3.1 Contents of digital output signal .........................................................................30
6.3.2 Example of digital output assignment ................................................................31
7. RKC COMMUNICATION PROTOCOL ............................... 35
7.1 Polling............................................................................................................ 35
IMS01N01-E5 i-3
3
Page
7.1.1 Polling procedures .............................................................................................36
7.1.2 Polling procedure example (When the host computer requests data) ............... 39
7.2 Selecting........................................................................................................ 40
7.2.1 Selecting procedures .........................................................................................40
7.2.2 Selecting procedure example (When the host computer sends data) ...............42
7.3 Communication Data Structure......................................................................43
7.4 Examples of Polling and Selecting Check Programs.....................................45
7.4.1 Example of temperature set values polling check program ...............................45
7.4.2 Example of temperature set values selecting checking program....................... 47
7.5 Communication Identifier List of TIO Module................................................. 49
7.5.1 Data items for normal setting mode ................................................................... 49
7.5.2 Data items for initial setting mode ...................................................................... 55
7.6 Communication Identifier List of DI Module ...................................................58
7.6.1 Data items for normal setting mode ................................................................... 58
7.6.2 Data items for initial setting mode ...................................................................... 60
7.7 Communication Identifier List of DO Module .................................................61
7.7.1 Data items for normal setting mode ................................................................... 61
7.7.2 Data items for initial setting mode ...................................................................... 63
8. MODBUS COMMUNICATION PROTOCOL....................... 64
8.1 Message Format............................................................................................64
8.2 Function Code ...............................................................................................65
8.3 Communication Mode....................................................................................65
8.4 Slave Responses........................................................................................... 66
8.5 Calculating CRC-16.......................................................................................67
8.6 Message Format............................................................................................70
8.6.1 Read holding registers [03H].............................................................................. 70
8.6.2 Preset single register [06H]................................................................................ 71
8.6.3 Diagnostics (Loopback test) [08H] ..................................................................... 72
8.6.4 Preset multiple registers [10H] ........................................................................... 73
i-4
8.7 Data Configuration.........................................................................................74
8.7.1 Data processing with decimal points.................................................................. 74
8.7.2 Data processing precautions.............................................................................. 77
8.8 Data Map of TIO Module ...............................................................................78
8.8.1 Normal setting data items ..................................................................................78
8.8.2 Level PID data items .......................................................................................... 83
8.8.3 Program control data items ................................................................................ 84
8.8.4 Initial setting data items...................................................................................... 87
IMS01N01-E5
8.9 Data Map of DI Module.................................................................................. 90
8.9.1 Normal setting data items ..................................................................................90
8.9.2 Initial setting data items...................................................................................... 92
8.10 Data Map of DO Module.............................................................................. 93
8.10.1 Normal setting data items ................................................................................93
8.10.2 Initial setting data items.................................................................................... 96
9. COMMUNICATION DATA DESCRIPTION ........................ 97
9.1 Communication Data of TIO Module .............................................................98
9.1.1 Normal setting data items ..................................................................................98
9.1.2 Level PID data items ........................................................................................ 129
9.1.3 Program control data items .............................................................................. 132
9.1.4 Initial setting data items.................................................................................... 151
Page
9.2 Communication Data of DI Module..............................................................164
9.2.1 Normal setting data items ................................................................................164
9.2.2 Initial setting data items.................................................................................... 169
9.3 Communication Data of DO Module ............................................................170
9.3.1 Normal setting data items ................................................................................170
9.3.2 Initial setting data items.................................................................................... 178
10. TROUBLESHOOTING .................................................... 179
11. APPENDIX ...................................................................... 183
11.1 ASCII 7-bit Code Table.............................................................................. 183
11.2 Terminal Configuration ..............................................................................184
11.2.1 TIO module ....................................................................................................184
11.2.2 DI module....................................................................................................... 185
11.2.3 DO module ..................................................................................................... 186
11.3 Product Specifications ............................................................................... 187
11.3.1 TIO module ....................................................................................................187
11.3.2 DI module....................................................................................................... 197
11.3.3 DO module ..................................................................................................... 199
INDEX OF DATA ITEMS ...................................................... 201
IMS01N01-E5
i-5
MEMO
i-6
IMS01N01-E5

1. OUTLINE

Module type controller SRX interfaces with the host computer via Modbus or RKC communication protocols. The SRX sets all of the data items via communication. Therefore before operation, it is necessary to set value of each data item via communication.
A user can select RKC communication or Modbus.
The temperature control (TIO) module [basic type] (hereafter called TIO module [basic type]) can
communicate independently with the host computer. In addition, as the temperature control (TIO) module [extension type] (hereafter called TIO module [extension type]), the digital input (DI) module (hereafter called DI module) and the digital output (DO) module (hereafter called DO module) are not provide with power supply and host communication terminals, communication with the host computer is always made with this module connected to the TIO module [basic type].
As the communication line passes on the internal bus when the TIO module [extension type] or the other modules are connected to the TIO module [basic type], no communication wiring for each module is required, thereby being able to achieve wire saving.
It uses RS-485 as a communication interface and also can connect up to 31 modules.
For reference purposes, the Modbus protocol identifies the host computer as master, each module of SRX as slave.
Host computer
RS-485
TIO module [basic type]
When connected TIO module [basic type] alone
Host computer
RS-485
Internal communication line
TIO module [basic type]
When connected one or more module to TIO module [basic type]
IMS01N01-E5 1
TIO module [extension type]
DI module DO module

2. COMMUNICATION SPECIFICATIONS

RKC communication
Interface: Based on RS-485, EIA standard
Connection method: 2-wire system, half-duplex multi-drop connection
Synchronous method: Start/stop synchronous type
Communication speed: 2400 bps, 9600 bps, 19200 bps, 38400 bps
Data bit configuration: Start bit: 1
Data bit: 7 or 8 Parity bit: Without, Odd or Even Stop bit: 1
Protocol: ANSI X3.28 subcategory 2.5, A4
Polling/selecting type
Error control: Vertical parity (With parity bit selected)
Horizontal parity (BCC check)
Communication code: ASCII 7-bit code
Termination resistor: Externally terminal connected: TIO module [basic type]
Select with the internal switch: TIO module [extension type] DI module DO module
Maximum connections: 32 instruments maximum including a host computer
Signal logic: RS-485
Signal voltage Logic
V (A) V (B) 2 V 0 (SPACE)
V (A) V (B) ≤ −2 V 1 (MARK)
Voltage between V (A) and V (B) is the voltage of (A) terminal for the (B) terminal.
Modbus
Interface: Based on RS-485, EIA standard
Connection method: 2-wire system, half-duplex multi-drop connection
Synchronous method: Start/stop synchronous type
Communication speed: 2400 bps, 9600 bps, 19200 bps, 38400 bps
Data bit configuration: Start bit: 1
Data bit: 8 Parity bit: Without, Odd or Even Stop bit: 1
Protocol: Modbus
2 IMS01N01-E5
2. COMMUNICATION SPECIFICATION
Signal transmission mode: Remote Terminal Unit (RTU) mode
Function code: 03H (Read holding registers)
06H (Preset single register) 08H (Diagnostics: loopback test) 10H (Preset multiple registers)
Error check method: CRC-16
Error code: 1: Function code error
(An unsupported function code was specified) 2: When the mismatched address is specified. 3: When the data written exceeds the setting range.
When the specified number of data items in the query message exceeds the maximum number (1 to 125) of data items available
Termination resistor: Externally terminal connected: TIO module [basic type]
Select with the internal switch: TIO module [extension type] DI module DO module
Maximum connections: 32 instruments maximum including a host computer
Signal logic: RS-485
Signal voltage Logic
V (A) V (B) 2 V 0 (SPACE)
V (A) V (B) ≤ −2 V 1 (MARK)
Voltage between V (A) and V (B) is the voltage of (A) terminal for the (B) terminal.
IMS01N01-E5
3
A

3. SETTING PROCEDURE TO OPERATION

Conduct necessary setting before operation according to the procedure described below.
Processing of the host computer side
Processing of the SRX side
Preparation of communication program
Execute it after turning on a power supply of the host computer.
Communication port setting
Set the host computer and SRX in always the same value.
Setting of communication relation
Communication speed setting
Data bit configuration
Communication protocol selection
Internal bus termination resistor
setting
See 5.2 Protocol Selections
and Communication Speed Setting (P. 16).
Communication line
connection
Module address setting
See 5.1 Module Address Setting (P. 15).
Execute it after turning off a power supply of the host computer.
See 4. WIRING (P. 7). And, for the SRX wiring, see 11.2 Terminal Configuration (P. 184).
Power-ON
Turn on the power of the host computer and SRX.
Communication program start
Test communication execution
Was communication
finished normally?
NO
review of transmission
transfer time setting
Continued on the next page.
YES
Set transmission transfer time with hardware.
For details, see 5.4 Communication Time Setting
(P. 18).
4 IMS01N01-E5
g
Continued from the previous page.
Initial setting data setting
Set the Input scale high/low limit, Input range decimal point position, Control type, Event type etc.
Power ON again
The initial setting data items thus set are registered by turning on the SRX power
supply again.
Do use DI/DO
modules?
YES
DI/DO assignment
The contents of digital input are assigned to the TIO module. In addition, the contents of digital output are assigned to the DO module.
[Contents of digital input assignment]
Program operation mode selection RESET, RUN, FIX, MAN, HOLD, STEP
Program pattern selection PSET, SEL1, SEL2, SEL3, SEL4
Autotuning (AT)/PID control transfer AT/PID
Continued on the next page.
3. SETTING PROCEDURE TO OPERATION
Before settin
satisfy the specification used.
For initial setting data items, see following pages.
RKC communication
TIO module: 7.5.2 Data items for initial setting mode (P. 55)
DI module: 7.6.2 Data items for initial setting mode (P. 60)
DO module: 7.7.2 Data items for initial setting mode (P. 63)
Modbus
TIO module: 8.8.4 Initial setting data items (P. 87)
DI module: 8.9.2 Initial setting data items (P. 92)
DO module: 8.10.2 Initial setting data items (P. 96)
NO
For details, see 6. DIGITAL INPUT/OUTPUT (P. 22).
operation data items, always set initial setting data items so as to
[Contents of digital output assignment]
Burnout output
Event 1 output
Event 2 output
Heater break alarm (HBA) output
Control loop break alarm (LBA) output
Program end state output
Pattern end output
Wait state output
Time signal 1 to 16 output
Input state of DI module CH1 to 28
IMS01N01-E5
5
3. SETTING PROCEDURE TO OPERATION
g
g
g
g
g
g
Continued from the previous page.
What is a control type
Program control
Fixed set point control (Heat control)
Operation mode setting
Set the Auto/Manual transfer to the
“AUTO,” or set the program operation
mode to the “FIX.”
Operation data setting
Set data to be related to fixed set point
control (heat control).
For data items, see following pages.
[RKC communication]
TIO module:
7.5.1 Data items for normal settin (P. 49)
DI module:
7.6.1 Data items for normal settin (P. 58)
DO module:
7.7.1 Data items for normal settin (P. 61)
[Modbus]
TIO module:
8.8.1 Normal setting data items (P. 78)
DI module:
8.9.1 Normal setting data items (P. 90)
DO module:
8.10.1 Normal setting data items (P. 93)
Control RUN
Set the control RUN/STOP transfer to the “RUN.”
Operation start
mode
mode
mode
Operation mode setting
Set the program operation mode to the “RESET.”
Operation data setting
Set data to be related to program control.
For data items, see following pages.
[RKC communication]
TIO module:
7.5.1 Data items for normal settin (P. 49)
DI module:
7.6.1 Data items for normal settin (P. 58)
DO module:
7.7.1 Data items for normal settin (P. 61)
[Modbus]
TIO module:
8.8.1 Normal setting data items (P. 78)
8.8.2 Level PID data items (P. 83)
8.8.3 Program control data items (P. 84)
DI module:
8.9.1 Normal setting data items (P. 90)
DO module:
8.10.1 Normal setting data items (P. 93)
Control RUN
Set the control RUN/STOP transfer to the “RUN.”
Program operation start
Set the program operation mode to the “RUN.”
mode
mode
mode
6
IMS01N01-E5

4. WIRING

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

4.1 Wiring Configuration

When connected TIO module [basic type] alone
Module type controller SRX
Host
computer
(master)
RS-485
TIO module [basic type]
(slave)
When two or more other modules are connected to one TIO module
[basic type]
Host
computer
(master)
Module address
(Slave address)
TIO module [basic type]
(slave)
RS-485
The TIO module of SRX can connect up to 31 modules.
Module type controller SRX
Internal communication line
(RS-485)
0
1 2
TIO module [extension type]
DI module DO module
(slave)
30
IMS01N01-E5 7
4. WIRING
(
(
)
(
)
When two or more SRX units are connected
computer
Host
RS-485
master)
Module address
TIO module [basic type]
Junction
terminal
Module address
Slave address
TIO module [basic type]
One SRX unit consists of one TIO module [basic type] and several other modules.
RS-485
Slave address
(slave)
RS-485
(slave)
Module type controller SRX
Internal communication line
(RS-485)
0
1 2 3 4 5
TIO module [extension type]
DI module DO module
(slave)
Module type controller SRX
Internal communication line
(RS-485)
6
7 8 30
TIO module [extension type]
DI module DO module
(slave)
8
The TIO module of SRX can connect up to 31 modules regardless of the number of units.
IMS01N01-E5

4.2 Wiring Details

Terminal number and signal details
Terminal No. Signal name Symbol
15 Send data/Receive data T/R (B)
16 Send data/Receive data T/R (A)
17 Signal ground SG
Wiring figure
Connection to the RS-485 port of the host computer (master)
4. WIRING
Module type controller SRX
TIO module [basic type]
  
R2
TIO module [extension type]
(slave)
The cable is provided by the customer.
(slave)
T/R (B)
T/R (A)
SG
15
16
17
Up to 31 modules
Host computer (master)
Paired wire
RS-485
T/R (B)
T/R (A)
R1
SG
Shielded twisted
pair wire
Connecting with the internal communication line
R1: Termination resistor for external connection
(Example: 120 1/2 W)
R2: Internal termination resistor (120 1/2 W)
IMS01N01-E5
The above figure shows an example of connecting the basic and extension type of TIO module. However, this figure is also used even when the DI or DO module is connected instead of the TIO module [extension type].
For installation method of termination resistor of the SRX side, see 4.3 Installation of Termination Resistor for Host Communication (P. 11).
9
4. WIRING
Connection to the RS-232C port of the host computer (master)
A RS-232C/RS-485 converter is required.
Host computer (master)
Module type controller SRX
TIO module [basic type]
(slave)
T/R (B)
T/R (A)
  
R2
TIO module [extension type]
(slave)
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.
SG
15
16
17
Up to 31 modules
RS-485
Paired wire
R1
RS-232C/RS-485
Shielded twisted
pair wire
Connecting with the internal communication line
R1: Termination resistor for external
connection (Example: 120 Ω 1/2 W)
R2: Internal termination resistor
(120 1/2 W)
RS-232C
T/R (B)
T/R (A)
SG
converter
10
The cable is provided by the customer.
The above figure shows an example of connecting the basic and extension type of TIO module. However, this figure is also used even when the DI or DO module is connected instead of the TIO module [extension type].
For installation method of termination resistor of the SRX side, see 4.3 Installation of Termination Resistor for Host Communication (P. 11).
IMS01N01-E5
4. WIRING
(

4.3 Installation of Termination Resistor for Host Communication

When a termination resistor is connected to both ends of the RS-485 communication line, a procedure for connecting the termination resistor on the SRX side is described.
For the termination resistor on the host computer side, connect it so as to satisfy the host computer used.
When connected basic module alone
Install termination resistor in terminal directly.
To host computer
T/R(A) T/R(B)
SG
Termination resistor (Example: 120 1/2 W)
Recommended tightening torque:
0.4 Nm (4 kgf・cm)
TIO module [basic type] Upper terminal
When two or more other modules are connected to one TIO module
[basic type]
When the other module is connected to the TIO module [basic type], it is necessary to connect a termination resistor to the termination of the communication line in the module at the extreme end. As no termination resistor is externally connected to the TIO module [extension type], DI module or DO module, the termination resistor built in the module is connected by switch selection.
Host
RS-485
computer
(master)
TIO module [basic type]
slave)
Module type controller SRX
Internal communication line (RS-485)
TIO module [extension type]
DI module DO module
(slave)
Turn on the termination resistor transfer switch of this extension module.
IMS01N01-E5 11
4. WIRING
Transfer procedure of internal termination resistor
The following description is made by referring to the TIO module [extension type] as an example. This description also applies even when the DI or DO module is connected.
1. Turn off the power supply of the module.
Do not separate the module mainframe from the terminal base with the power turned on. If so, instrument failure may result.
2. Pull out the module mainframe itself toward you while pushing the locks at its top and bottom, and then separate it from the terminal base.
Upper-side lock
Top view
Lower-side lock
Bottom view
Terminal base
Removing the module mainframe
3. Turn on the termination resistor transfer switch in the terminal base.
Termination resistor transfer switch
Module mainframe
(1) Push
(2) Pull out
(1) Push
Termination resistor ON (120
Termination resistor OFF
Factory set value: OFF
A terminal base of the state which removed module mainframe
1/2 W)
12 IMS01N01-E5
4. Push the module mainframe thus separated in the terminal base until firmly locked.
4. WIRING
Terminal base
Push the module mainframe until firmly locked
Module mainframe
Mounting the module mainframe
5. Connect the module whose termination resistor transfer switch is turned to the ON position to the right end. Connect each module using joint connector while sliding the module. And, lift each of the joint tabs located at the top and bottom of the module and then insert it in the slot of the adjacent module to fix these two modules.
Joint connector
Joint tab insertion slot
When viewed form top
Joint tab
There is one joint tab at each of the top and bottom of on module. Therefore, fix two adjacent modules with these two joint tabs.
IMS01N01-E5 13
4. WIRING
When two or more SRX units are connected
When two or more SRX units are connected, it is necessary to connect a termination resistor to the termination of the communication line in the module located most distantly from the host computer (master). A termination resistor is built in the TIO module [extension type], DI module and DO module, and it can be connected to the circuit by selecting the switch.
Host
computer
(master)
RS-485
Junction terminal
TIO module [basic type]
For the termination resistor installation, see When two or more other modules are connected to one TIO module [basic type] (P. 11).
TIO module
[basic type]
(slave)
RS-485
(slave)
RS-485
Module type controller SRX
Internal communication line (RS-485)
TIO module [extension type]
DI module DO module
(slave)
Turn on the termination resistor transfer switch of this module.
Module type controller SRX
Internal communication line (RS-485)
TIO module [extension type]
DI module DO module
(slave)
14 IMS01N01-E5
y

5. COMMUNICATION SETTING

To prevent electric shock or instrument failure, always turn off the power
before setting the switch.
To prevent electric shock or instrument failure, never touch any section other
than those instructed in this manual.
WARNING
!
CAUTION
Do not separate the module mainframe from the terminal base with the power turned on. If so, instrument failure may result.
Set the following communication setting before operation.

5.1 Module Address Setting

When using two or more modules, set the desired address to each module. Set the module address by address setting switches of front of module. For this setting, use a small blade screwdriver.
Address setting switch
FAIL/RUN
RX/TX
EVENT1 EVENT2
EVENT3 EVTNT4
3
2
4
1
5
5 5
0
6
9
7
8
3
2
4
1
5
0
6
9
7
8
Setting range: 0 to 99 (Factory set value: 00)
Set the module address such that it is different to the other addresses on the same line.
Otherwise, problems or malfunction may result.
3
2
4
1
0
9
2
1
0
9
High-order digit setting
5
5 5
6
(set value × 10)
7
8
3
4
Low-order digit setting
5
6
(set value × 1)
7
8
For Modbus, the value obtained b adding “1” to the set address corresponds to the address used for the actual program.
When two or more other modules are connected to one TIO module [basic type], set the smallest address number to that TIO module [basic type].
The above figure is TIO module [basic type]. The figure of TIO module [expansion type], DI module and DO module are the same as a TIO module [basic type].
IMS01N01-E5 15
5. COMMUNICATION SETTING

5.2 Protocol Selections and Communication Speed Setting

With the DIP switch which there is on the right side of module, select communication speed, data bit configuration, protocol and termination resistor setting of internal data bus.
When two or more modules are connected on the same line for their use, set DIP switches corresponding to the switches, 1 to 6 on all of the modules to the same positions. Otherwise the module may fail or malfunction.
DIP switch
ON
ON
ON
1234 5678
1234 5678
Right side view
1 2 Communication speed
OFF OFF
ON OFF
OFF ON
ON ON
Factory set value: 9600 bps
2400 bps
9600 bps 19200 bps 38400 bps
3 4 5 Data bit configuration
OFF OFF OFF OFF OFF ON OFF ON ON
ON OFF OFF ON OFF ON ON ON ON
* When the Modbus communication protocol selected, this setting becomes invalid.
Data 7-bit, without parity * Data 7-bit, Even parity * Data 7-bit, Odd parity * Data 8-bit, without parity Data 8-bit, Even parity Data 8-bit, Odd parity
(Stop 1-bit: fixed)
Factory set value: Data 8-bit, without parity
6 Protocol selection
OFF
ON
Factory set value: RKC communication
RKC communication
Modbus
8 Internal data bus termination resistor setting
OFF
ON
Factory set value: Termination resistor ON: X-TIO-A Termination resistor OFF: X-TIO-B, X-DI-A/B, X-DO-A/B
Termination resistor OFF Termination resistor ON
Switch No. 7: OFF fixed (Do not change this one)
Switch No. 8 sets it only in the DI module or the DO module use. For details, see 5.3 Internal Data Bus Termination Resistor Setting (P. 17).
OFF
Setting range of RKC communication
Setting range of Modbus
16
IMS01N01-E5
5. COMMUNICATION SETTING

5.3 Internal Data Bus Termination Resistor Setting

In addition to the host communication termination resistor, it is necessary to set the internal data bus termination resistor to the SRX unit. It is set by DIP switch No. 8 located at the right side of the module.
When the SRX unit is one
Turn on the internal data bus termination resistor in module of both ends.
Unit of module type controller SRX
Internal data bus
Turn on the internal data bus termination resistor of this module.
TIO module [basic type]
TIO module [extension type]
DI module DO module
When two or more SRX units are connected
Turn on the internal data bus termination resistor in module of both ends for each unit.
Host
computer
RS-485
Junction
terminal
RS-485
TIO module [basic type]
RS-485
Unit of module type
controller SRX
Internal data bus
TIO module [extension type]
DI module DO module
Unit of module type
controller SRX
Turn on the internal data bus termination resistor of this module
IMS01N01-E5
TIO module [basic type]
Internal data bus
TIO module [extension type]
DI module DO module
17
5. COMMUNICATION SETTING

5.4 Communication Time Setting

The DIP switch on the right side of the module enables the setting of “transmission transfer time” and “data interval extension time (during Modbus communication)” by hardware.
Transmission transfer time: The sending and receiving of RS-485 communication is conducted
through two wires; consequently, the transmission and reception of data requires precise timing. Then, set the desired transmission transfer time to secure the time until the transmission line is changed to data receiving after the host computer ends its sending. (Factory set value: 6 ms)
See 5.5 Communication Requirements (P. 20).
Data interval extension time: For Modbus, a data time interval is set to less than 24 bits’ time.
However, it may become more than 24 bits’ time depending on the type of master. In that case, extend the data time interval in the range of 0 to 99 ms. (Factory set value: 0 ms)
Setting procedure of communication time
1. Set the module to the communication time setting mode by turning No. 4 switch in the DIP switch at the right side to the ON position and No. 5 switch in the same DIP switch to the OFF position with the power supply turned off. At this time the module is set to the transmission transfer time setting mode with No. 6 switch turned to the OFF position or to the data interval extension time setting mode with No. 6 switch turned to the ON position. Switch Nos. other than Nos. 4, 5 and 6 may be turned to any of ON/OFF positions.
DIP switch
ON
ON
1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8
ON
OFF
Right side view
4 5 6 Communication Time Setting
ON
OFF
18
OFF
Transmission transfer time
ON OFF
ON
Data interval extension time
IMS01N01-E5
5. COMMUNICATION SETTING
2. Set “Transmission transfer time” or “Data interval extension time” by the rotary switches (address setting switches) at the front. Set the tens digit by the upper rotary switch, while units digit, by the lower rotary switch.
Rotary switch
Address setting switch)
(
FAIL/RUN
RX/TX EVENT1 EVENT2
EVENT3 EVTNT4
3
2
4
1
5
5
0
6
9
7
8
3
2
4
1
5
5
0
6
9
7
8
3
2
4
1
5
5 5
0
6
9
7
8
3
2
4
1
5
0
6
9
7
8
Setting range
High-order digit setting (set value × 10)
Low-order digit setting (set value × 1)
: 0 to 99 ms
3. Under the above condition, turn on the SRX power supply. The FAIL/RUN lamp lights in green to make the time thus set valid.
4. Turn the power supply off, and then return the DIP and rotary switches to their original positions to end the setting.
IMS01N01-E5
19
5. COMMUNICATION SETTING

5.5 Communication Requirements

Processing times during data send/receive
The SRX 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 SRX to send data:
-Response wait time after SRX sends BCC in polling procedure
-Response wait time after SRX sends ACK or NAK in selecting procedure
RKC communication (Polling procedure)
Procedure details Time
Response send time after SRX receives ENQ 5 ms max.
Response send time after SRX receives ACK 5 ms max.
Response send time after SRX receives NAK 5 ms max.
Response wait time after SRX sends BCC 1 ms max.
RKC communication (Selecting procedure)
Procedure details Time
Response send time after SRX receives BCC 5 ms max. *
Response wait time after SRX sends ACK 1 ms max.
Response wait time after SRX sends NAK 1 ms max.
Modbus
Procedure details Time
Read holding registers [03H] Response send time after the slave receives the query message
5 ms max.
Preset single register [06H] Response send time after the slave receives the query message
5 ms max. *
Diagnostics (loopback test) [08H] Response send time after the slave receives the query message
5 ms max.
20
Preset multiple register [10H] Response send time after the slave receives the query message
5 ms max. *
* When the following data items are set, the maximum response sending time becomes 200 ms.
Input rang number, Input scale high limit, Input scale low limit, Input range decimal point position, Temperature unit selection, Event 1 type selection, Event 2 type selection
Only 1 port uses communication port, and response send time is time at having set transmission transfer time in 0 ms.
IMS01N01-E5
5. COMMUNICATION SETTING
A
A
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.
Polling procedure
Host computer
SRX
Send data
(Possible/Impossible)
Sending status
Send data
(Possible/Impossible)
Sending status
Possible
Impossible
Possible
Impossible
E
- - - - -
O
T
E N Q
b ca
S
- - - - -
T X
B C C
C K
a: Response send time after SRX receives ENQ + Transmission transfer time b: Response wait time after SRX sends BCC c: Response send time after SRX receives ACK + Transmission transfer time or Response send time after SRX receives NAK + Transmission transfer time
Selecting procedure
Host computer
SRX
Send data
(Possible/Impossible)
Sending status
Send data
(Possible/Impossible)
Sending status
Possible
Impossible
Possible
Impossible
S T X
- - - - -
B C C
ba
N
or
C
A
K
K
a: Response send time after SRX receives BCC + Transmission transfer time b: Response wait time after SRX sends ACK or Response wait time after SRX 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 SRX to send data:
-Response wait time after SRX sends BCC in polling procedure
-Response wait time after SRX sends ACK or NAK in selecting procedure
Fail-safe
N
or
A K
A transmission error may occur with the transmission line disconnected, shorted or set to the high-impedance state. In order to prevent the above error, it is recommended that the fail-safe function be provided on the receiver side of the host computer. The fail-safe function can prevent a framing error from its occurrence by making the receiver output stable to the MARK (1) when the transmission line is in the high-impedance state.
IMS01N01-E5
21
t

6. DIGITAL INPUT/OUTPUT

6.1 Outline of Digital Input/Output Assignment

For digital input, the TIO module receives and processes contact status data items from the DI module. For digital output, the DO module receives event and time signal data items from the TIO or DI module and then outputs them to the outside. The assignment of these digital input and digital output is made in the module receiving the respective data items.
The assignment of digital input is made in the TIO module receiving the respective data items. Digital input is assigned by setting the address and channel number of the respective DI module to each digital input item of the TIO module.
[Example]
Digital inpu
DI module
[Address: 2]
DI 12
Data
TIO
module
CH 1
[Address: 0]
AT/PID
The digital input (DI 12) is assigned to the AT/PID transfer on the TIO module side.
The assignment of digital output is made in the DO module receiving the respective data items. Digital output is assigned by setting the address and data type to be output of the respective TIO or DI module to each channel of the DO module.
[Example 1]
TIO
module
CH 1
[Address: 0]
HBA output
Data
DO module
[Address: 3]
DO 4
The HBA output is assigned to digital output (DO 4) on the DO module side.
Digital output
[Example 2]
DI module
CH 5
[Address: 2]
Input state
Data
DO module
[Address: 3]
DO 8
The input state of DI module CH5 is assigned to digital output (DO 8) on the DO module side.
Digital output
22 IMS01N01-E5
6. DIGITAL INPUT/OUTPUT

6.2 Digital Input

The following signals become selectable as digital input when the DI module is used.
Program operation mode selection (6 points): RESET, RUN, FIX, MAN, HOLD, STEP
Program pattern selection (5 points): PSET, SEL1, SEL2, SEL3, SEL4
Autotuning (AT)/PID control transfer (1 point): AT/PID

6.2.1 Program operation mode selection

Transfer the program operation mode and an action in program control.
Signal contents
DI channels can be freely assigned to each mode of the TIO module shown in the following. (Settable for each temperature control channel.)
RESET: Reset mode RUN: Program control mode FIX: Fixed set point control mode MAN: Manual control mode HOLD: Hold action (This action is enabled in program control) STEP: Step action (This action is enabled in program control)
Transfer timing
The RESET, RUN, FIX or MAN mode is changed when the contact is closed from the open condition (rising edge).
Priority order when each contact of RESET, RUN, FIX and MAN is closed simultaneously. MAN > FIX > RUN > RESET
The HOLD state is kept while the contact is being closed. At this time, no HOLD state can be released via communication (the contact status has priority over others). In addition, the HOLD state is released when the contact is opened from the closed condition (falling edge).
Contact closed
Rising edge Mode change
Contact open
Contact closed
Contact open
Hold state
Falling edge Hold release
The STEP action is taken when the contact is closed from the open condition (rising edge).
IMS01N01-E5
Contact closed
Rising edge → Step action execution
Contact open
23
6. DIGITAL INPUT/OUTPUT

6.2.2 Program pattern selection

Transfer the run program pattern. This function is enabled only in Reset mode.
Signal contents
Select pattern at four contacts of SEL1, SEL2, SEL3, and SEL4, and change pattern with PSET.
A DI channel to select the program pattern is specified to the TIO module.
As the five contacts, PSET, SEL1, SEL2, SEL3 and SEL4 are handled as one set and the contents corresponding to five channels are automatically assigned in order of PSET, SEL1, SEL2, SEL3 and SEL4 with the preset DI channel number at the head. (Settable for each temperature control channel.)
When assigning contacts for program pattern selection to the X-DI-A module with up to 12 input channels, the contacts corresponding to five channels are required for program pattern selection. Therefore, they are assigned to DI channels 1 to 8. (For the X-DI-B module with up to 28 input channels, they are assigned to DI channels 1 to 24.)
[For X-DI-A module]
Digital input (DI)
module assignment channel No.
1 2 3 4 5
These channels can set program pattern selection.
6 7 8
9 10 11
No setting available
12
Contact state and pattern number
Contact
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Program pattern selection
PSET
SEL1
SEL2
SEL3
SEL4
If the contacts for program pattern selection are assigned to DI channel 8, the following results.
DI channel
Pattern number
In this order, the contacts corresponding to five channels are automatically assigned.
Program pattern selection
8 PSET
9 SEL1 10 SEL2 11 SEL3 12 SEL4
24
SEL1
SEL2
SEL3
SEL4
×
×
× ×
×
×
× ×
× × × ×
×
×
× ×
×
×
× ×
× × × ×
× × × × × × × ×
: Contact open ×: Contact closed
IMS01N01-E5
6. DIGITAL INPUT/OUTPUT
Transfer timing
After selecting the pattern number by four contacts SEL1, SEL2, SEL3 and SEL4, the pattern number is changed when contact PSET is closed from the open condition (rising edge).
[Example] When change it to pattern No. 6
After the contacts SEL1 and SEL3 are closed and contacts SEL2 and SEL4 are opened, the present pattern number is changed to Pattern No. 6 if contact PSET is closed from the condition where opened (rising edge).
SEL1: Contact closed
SEL2: Contact open
SEL3: Contact closed
SEL4: Contact open
PSET
Contact closed
Rising edge Pattern change
Contact open

6.2.3 Autotuning (AT)/PID control transfer

Switch start/stop of an autotuning (AT) function. Become PID control during autotuning (AT) suspension
Signal contents
A DI channel to select START/STOP of autotuning (AT) function is specified to the temperature control (TIO) module. (Settable for each temperature control channel.)
Transfer timing
The autotuning (AT) function starts activating when the contact is closed from the open condition (rising edge) during PID control. In addition, the autotuning (AT) function stops activating (canceled) when the contact is closed from the open condition (rising edge).
Rising edge AT start
Contact closed
Contact open
If the contact is closed from the open condition after the autotuning (AT) function ends its activation. The autotuning (AT) function is re-activated.
Rising edge AT start
Contact closed
Contact open
Autotuning
Rising edge AT stop
Autotuning
Rising edge AT start
AT end
PID controlPID control
PID control PID control
Autotuning
IMS01N01-E5
25
6. DIGITAL INPUT/OUTPUT
A

6.2.4 Caution in the digital input

The maximum delay time is 30 ms from the time when the contact in the DI module is going to be closed or opened until activated in the TIO module.
In order to make contact activation valid, it is necessary to maintain the same contact state for more than 10 ms. Otherwise, that contact state is ignored.
[Example] When the STEP action is taken in succession by digital input, as it is taken by the rising edge the contact needs to be activated in order of “OPEN CLOSED OPEN CLOSED” in order to advance two segments. In order to make contact activation valid, it is necessary to hold the present contact state for more than 10 ms. Therefore in this case, a time of more than 30 ms becomes necessary.
[When the STEP action is valid twice]
Contact closed
Contact open
[When the STEP action is valid only once]
When the 1st STEP action valid
10 ms or more
Contact open
valid
10 ms or more 10 ms or more
When the 2nd STEP action valid
If the contact open time is less than 10 ms after the STEP action becomes valid with the contact closed, it is not recognized that the contact is in the open state. Therefore, no STEP action is taken even if the contact is closed one more.
Contact closed
When the 1st STEP action valid
Contact open
invalid
s it is recognized that the closed contact state continues, the 2nd STEP action is invalid.
Contact open
10 ms or more
Less than
10 ms
10 ms
or more
As each contact (RESET, RUN, FIX or MAN) which selects the program operation mode is different, it is not necessary to take a time of more than 10 ms when selected to the respective mode. However, as the same mode once more it is necessary to take a time of more than 20 ms (for more than10 ms required for contact open from close and for more than 10 ms required for contact close from open).
RESET
RUN
Contact closed
Contact open
Contact closed
Contact open
No problem arises even for a time of less than10 ms.
26
IMS01N01-E5
6. DIGITAL INPUT/OUTPUT
g

6.2.5 Example of digital input assignment

This is when channel numbers of the DI module are assigned as follows to RESET, RUN, FIX, MAN, HOLD, STEP, PSET, SEL1, SEL2, SEL3, SEL4, and each digital input item of AT/PID in CH1 of the TIO module with each module in the SRX configured as shown in the following.
DI module terminal configuration
Digital input CH1 to 6
TIO module (basic type)
X-TIO-A
[Address: 0]
TIO module
(extension type)
X-TIO-B
[Address: 1]
Contents of assignment example
DO module
[Address: 3]
DI module
[Address: 2]
TIO module (Address 00)
Digital input items
X-DO-A
X-DI-A
DI 3
3
COM (
)
7 4
7 6 5 4
11 10 9 8
11
COM (
)
14
Di
ital input CH7 to 12
DI 2
2 1
DI 6
6 5
3 2 1
14 13 12
10
13
DI 11 DI 12
DI module
assignment
channel No.
DI 5
9
DI 1
DI 4
Upper-side terminals
Lower-side terminals
8
DI 7DI 8 DI 9
12
DI 10
Program operation mode selection
RESET (Reset mode) 1 RUN (Program control mode) 2 FIX (Fixed set point control mode) 3 MAN (Manual control mode) 4
HOLD (Hold action) 5 Action at program operation Program pattern selection
STEP (Step action) 6
PSET 7
SEL1 8
SEL2 9
SEL3 10
SEL4 11 Autotuning (AT)/PID
AT/PID 12 control transfer
IMS01N01-E5
27
6. DIGITAL INPUT/OUTPUT
RKC communication
The address and channel number of the DI module are specified to communication identifiers E1 to E8 for the TIO module.
Setting object: TIO module [basic type] X-TIO-A: CH 1
Identifier Name Set value Setting contents
E1 RESET (Reset mode) 0201 E2 RUN (Program control mode) 0202 E3 FIX (Fixed set point control mode) 0203 E4 MAN (Manual control mode) 0204 E5 HOLD (Hold action) 0205 E6 STEP (Step action) 0206 E7 Program pattern selection * 0207 E8 Autotuning (AT)/PID control
0212
transfer
* For program pattern selection, five contacts PSET, SEL1, SEL2, SEL3 and SEL4 are used as
one set and the contacts corresponding to five channels are automatically assigned in order of PSET, SEL1, SEL2, SEL3 and SEL4 with the preset DI channel number at the head.
Upper two digits
(Thousands and hundreds digits):
Address of DI module
Lower two digits (Tens and units digits):
Channel number of DI module
Communication example (selecting)
E O T
0 0 S
Address
E 1 0 T X
Identifier
1
Channel
No.
Space
Channel number of TIO module: 01
Address of TIO module: 00
Identifier of digital input item: E1 (RESET)
0 2 0 1E
Data
Assignment point of RSET: Address and channel number of DI module:
B
T
C
X
C
28
IMS01N01-E5
6. DIGITAL INPUT/OUTPUT
N
Modbus
The address and channel number of the DI module are specified to each register address for setting digital input on the data map for the TIO module.
Setting object: TIO module [basic type] X-TIO-A CH 1
TIO module CH 1
register address
Name
HEX DEC
003D 61 RESET (Reset mode) 0201
003E 62 RUN (Program control mode) 0202 003F 63 FIX (Fixed set point control mode) 0203 0040 64 MAN (Manual control mode) 0204 0041 65 HOLD (Hold action) 0205 0042 66 STEP (Step action) 0206 0043 67 Program pattern selection * 0207 0044 68 Autotuning (AT)/PID control
transfer
* For program pattern selection, five contacts PSET, SEL1, SEL2, SEL3 and SEL4 are used as
one set and the contacts corresponding to five channels are automatically assigned in order of PSET, SEL1, SEL2, SEL3 and SEL4 with the preset DI channel number at the head.
Set
value
0212
Setting contents
Upper two digits
(Thousands and hundreds digits):
Address of DI module
Lower two digits (Tens and units digits):
Channel number of DI module
Communication example (Preset multiple registers [10H] )
Data is written into the two holding registers from 003DH to 003EH of TIO module (slave address 1).
Query message
Slave address 01H
Function code 10H
Starting number High 00H
Address of TIO module: For Modbus, the slave address is obtained by adding “1” to the value set by the address setting switch.
Low 3DH
Quantity High 00H
First holding register address
Low 02H
Number of data 04H
umber of holding registers × 2
Data to first High 00H
register Low C9H
Data of next High 00H
Address and channel number of DI module (hexadecimal) [Decimal: 0201]
Assignment point of RSET:
register Low CAH
CRC-16 High 61H
Low 4BH
Assignment point of RUN: Address and channel number of DI module (hexadecimal) [Decimal: 0202]
IMS01N01-E5
29
6. DIGITAL INPUT/OUTPUT

6.3 Digital Output

6.3.1 Contents of digital output signal

If the DO module is used, each state of the TIO or DI module can be freely assigned to each DO channel as an output signal.
The maximum delay time from a digital output event occurrence until actually output is 30 ms.
TIO module
The address and function number of the output signal of the TIO module are specified to the respective DO channel by the function selection of DO1 to DO12 (terminal) and that of DO13 to DO28 (connector) in the DO module.
Type of output signals
The output signal of the following can be selected to every channel of TIO module.
Burnout output Event 1 output Event 2 output Heater break alarm (HBA) output Control loop break alarm (LBA) output Program end state output Pattern end output Wait state output Time signal 1 to 16 output
DI module
The address and function number of the output signal of the DI module are specified to the respective DO channel by the function selection of DO1 to DO12 (terminal) and that of DO13 to DO28 (connector) in the DO module.
Type of output signals
Input state of DI module CH1 to 28
Function selection of DO 13 to 28 (connector) is valid only when DO module type is X-DO-B.
30
IMS01N01-E5
6. DIGITAL INPUT/OUTPUT

6.3.2 Example of digital output assignment

This is when the address and function number of the output signal of the TIO module are assigned as follows to the respective DO channel by the function selection of DO1 to DO12 (terminal) and that of DO13 to DO28 (connector) in the DO module with each module in the SRX configured as follows.
TIO module (basic type)
X-TIO-A
[Address: 0]
DO module terminal configuration
Digital output CH1 to 6
24 V DC
L
DO 3
3
COM
7
L
6
DO 6
L
DO 2
2
L
DO 5
5
L
DO 1
1
L
DO 4
4
TIO module
(extension type)
X-TIO-B
[Address: 1]
DI module
X-DI-A
[Address: 2]
DO module
X-DO-B
[Address: 3]
1
10
Digital output
CH13 to 28
24 V DC
11
COM
14
L
Digital output
11
20
10
3 2 1
7 6 5 4
11 10 9 8
14 13 12
10
DO 9
L
DO 12
COM
1
DO 13
2
DO 14
3
DO 15
4
DO 16
5
COM
6
DO 17
7
DO 18
8
DO 19
9
DO 20
L
24 V DC
L
L
L
L
24 V DC
L
L
L
L
DO 11
CH7 to 12
Upper-side terminals
Lower-side terminals
9
DO 8
L
12 13
11
12
13
14
15
16
17
18
19
20
Continued on the next page.
DO 10
L
COM
DO 21
DO 22
DO 23
DO 24
COM
DO 25
DO 26
DO 27
DO 28
8
DO 7
L
24 V DC
24 V DC
L
L
L
L
L
L
L
L
IMS01N01-E5
31
6. DIGITAL INPUT/OUTPUT
Continued from the previous page.
Contents of assignment example
DO module
function selection of output signals
channel No.
Contents Function No.
DO 1 CH 1 Burnout output 01 DO 2 CH 1 Event 1 output 02 DO 3 CH 1 Event 2 output 03 DO 4 CH 2 Burnout output 17 DO 5 CH 2 Event 1 output 18 DO 6 CH 2 Event 2 output 19 DO 7 CH 1 Program end state output 09 DO 8 CH 1 Pattern end output 10 DO 9 CH 1 Wait state output 11
DO 10
TIO module
DO 11 Unused
DO 12 DO 13 CH 1 Time signal 1 output 33 DO 14 CH 1 Time signal 2 output 34 DO 15 CH 1 Time signal 3 output 35 DO 16 CH 1 Time signal 4 output 36 DO 17 DO 18 DO 19 DO 20 DO 21 DO 22 Unused
DO 23 DO 24 DO 25 DO 26 DO 27 DO 28
For function number, see TIO module Function Number Table (P. 174).
32
IMS01N01-E5
6. DIGITAL INPUT/OUTPUT
RKC communication
The address and function number of output signal of the TIO module are specified to communication identifiers QA and QB for the DO module.
Setting object: Digital output module X-DO-B
Identifier Name
DO module
channel No.
QA Function selection of
DO 1 to 12 (terminal)
QB Function selection of
DO 13 to 28 (connector)
DO 13 to 28 is used as DO 1 to 16 on communication.
Communication example (selecting)
E
0 3 S O T
Q A 0 T X
1
Set
value
1 0001 2 0002 3 0003 4 0017 5 0018 6 0019 7 0009 8 0010 9 0011
10 to 12
1 0033 2 0034 3 0035 4 0036
5 to 16
0 0 0 1E
T
X
B C C
Setting contents
Upper two digits (Thousands and hundreds digits):
Address of TIO module
Lower two digits (Tens and units digits):
Function number of output signal 00: No function
For function number, see
TIO module Function Number Table (P. 174).
Address
IMS01N01-E5
Identifier
Channel
No.
Space
Identifier of output signal function selection: QA
Address of DO module: 03
Data
Assignment of output signal function: Address and function number of output signal of TIO module: 0001
Channel number of DO module: 01
33
6. DIGITAL INPUT/OUTPUT
N
Modbus
The address and function number of output signal of the TIO module are specified to each register address for setting digital input on the data map for the DO module.
Setting object: Digital output module X-DO-B
Name
DO module
channel No.
DO module
register address
Set
value
Setting contents
HEX DEC
Function selection of DO 1 to 12 (terminal)
Function selection of DO 13 to 28 (connector)
1 2440 9280 0001 2 2441 9281 0002 3 2442 9282 0003 4 2443 9283 0017 5 2444 9284 0018 6 2445 9285 0019 7 2446 9286 0009 8 2447 9287 0010 9 2448 9288 0011
10 to 12 2449 to
244B
9289 to
9291
13 2450 9296 0033 14 2451 9297 0034 15 2452 9298 0035 16 2453 9299 0036
17 to 28 2454 to
245F
9300 to
9311
Upper two digits (Thousands and hundreds digits):
Address of TIO module
Lower two digits (Tens and units digits):
Function number of output signal 00: No function
For function number, see
TIO module Function Number Table (P. 174).
Communication example (Preset multiple registers [10H] )
Data is written into the two holding registers from 2440H to 2441H of DO module (slave address 4).
Query message
Slave address 04H Function code 10H Starting number
Quantity
High
Low
High
Low
Number of data 04H Data of first
High
register Low
Data of next
High
register Low
CRC-16
High
Low
34
24H 40H 00H 02H
00H 01H 00H 02H
9DH
53H
Address of DO module: For Modbus, the slave address is obtained by adding “1” to the value set by the address setting switch.
First holding register address
umber of holding registers × 2
Assignment of DO 1: Address and function number of output signal of TIO module (hexadecimal) [Decimal: 0001]
Assignment of DO 2: Address and function number of output signal of TIO module (hexadecimal) [Decimal: 0002]
IMS01N01-E5
p
[
]
[
]
[
]
[
[
p
A

7. RKC COMMUNICATION PROTOCOL

RKC communication 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 SRX).
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. Transmission control characters used in SRX: EOT (04H), ENQ (05H), ACK (06H), NAK (15H), STX (02H), ETX (03H) ( ): Hexadecimal

7.1 Polling

Polling is the action where the host computer requests one of the connected SRX 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
SRX send
E N Q
No res
E
O
T
S
T
X
(4)
ID
onse
(5)
Data
(3)
E T X
BCC
computer send
(8)
No response
SRX send
Time out
(9)
Indefinite
(6)
C
N
K
A K
(7)
Host computer send
E O T
(10)
E
O
T
IMS01N01-E5 35
7. RKC COMMUNICATION PROTOCOL

7.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:
3. 2. 1.
ENQ
Address
Identifier
1. Address (2 digits)
This data is a module address of the SRX for polled and must be the same as the module address set value in item 5.1 Module Address Setting (P. 15).
2. Identifier (2 digits)
The identifier specifies the type of data that is requested from the SRX. Always attach the ENQ code to the end of the identifier.
See 7.5 Communication Identifier List of TIO Module (P. 49), 7.6 Communication
Identifier List of DI Module (P. 58), and 7.7 Communication Identifier List of DO Module (P. 61).
3. ENQ
The ENQ is the transmission control character that indicates the end of the polling sequence. The host computer then must wait for a response from the SRX.
(3) Data sent from the SRX
Example:
2
1
M0
ENQ
If the polling sequence is received correctly, the SRX sends data in the following format:
3.2. 5.4.1.
Identifier Data BCCETXSTX
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.
See 7.5 Communication Identifier List of TIO Module (P. 49), 7.6 Communication
Identifier List of DI Module (P. 58), and 7.7 Communication Identifier List of DO Module (P. 61).
Continued on the next page.
36
IMS01N01-E5
7. RKC COMMUNICATION PROTOCOL
3. Data
Data which is indicated by an identifier of this instrument, consisting of channel numbers, data, etc. Each channel number and data are delimited by a space (20H). The data and the next channel number are delimited by a comma.
Channel number: 2-digit ASCII code, not zero-suppressed. Channels without channel numbers may exist depending on the type of identifier.
Data: ASCII code, zero-suppressed with spaces (20H). The number of digits varies depending on the type of identifier.
See 7.3 Communication Data Structure (P. 43)
4. ETX Transmission control character indicating the end of the text.
5. BCC BCC (Block Check Character) detects error by using horizontal parity (even number).
Calculation method of BCC: Exclusive OR all data and characters from STX through ETB or ETX, not including STX.
Example:
STX M 1 0 1 1 5 0 . 0 , 0 2
4DH 31H 30H 31H 20H 20H 20H 31H 35H 30H 2EH 30H 2CH 30H 32H
1
1 2 0 . 0 ETX BCC
20H 20H 20H 31H 32H 30H 2EH 30H 03H
Hexadecimal numbers
BCC = 4DH 31H 30H 31H 20H 20H 20H 31H 35H 30H 2EH 30H
2CH 30H 32H 20H 20H 20H 31H 32H 30H 2EH 30H 03H
= 57H ( : Exclusive OR) Value of BCC becomes 57H
Continue to 1
IMS01N01-E5
37
7. RKC COMMUNICATION PROTOCOL
(4) EOT send (Ending data transmission from the SRX)
In the following cases, the SRX sends EOT to terminate the data link:
When the specified identifier is invalid
When there is an error in the data format
When all the data has been sent
(5) No response from the SRX
The SRX 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 SRX receives ACK from the host computer, the SRX will send any remaining data of the next identifier without additional action from the host computer.
When ACK was sent in succession for TIO module, identifier data item down to “No.62 Step action” in the communication identifier list are sent. However, no level PID data items are included.
When ACK was sent in succession for digital input (DI) module, identifier data item down to “No.7 Initial setting mode” in the communication identifier list are sent.
When ACK was sent in succession for digital output (DO) module, identifier data item down to “No.9 Initial setting mode” in the communication identifier list are sent.
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 SRX, it sends a negative acknowledgment NAK to the SRX. The SRX 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 SRX sends data, the SRX sends EOT to terminate the data link (time-out time: about 3 seconds).
(9) Indefinite response from host computer
The SRX 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 SRX or to terminate the data link due lack of response from the SRX.
38
IMS01N01-E5
7. RKC COMMUNICATION PROTOCOL
A
A
7.1.2 Polling procedure example
(When the host computer requests data)
Normal transmission
Host computer send
E
0 1 S 1 E
O
T
04H 30H 31H 53H 31H 05H 06H
S
ddress
02H 53H 31H 30H 31H 20H 20H 20H 34H 30H 30H 2EH 30H 03H 67H
Identifier
N Q
*1
E
04H
S
02H 50H 31H 30H 31H 20H 03H 48H
P 1 0 1 … E T X
A
S 1 0 T X
SRX send
1 400 . 0 …ET
Channel No.Identifier
Host computer send
B
T
C
X
C
SRX send
O
T
Data
Error transmission
Host computer send
E
0 1 S 1 E
O
T
04H 30H 31H 53H 31H 05H 15H
S
Identifier
ddress
02H 53H 31H 30H 31H 20H 20H 34H 30H 30H 2EH 30H 03H 68H
N Q
*1
E
04H
S
02H 53H 31H 30H 31H 20H 03H 67H
S 1 0 1 … E T X
N
Error data
S 1 0 T X
Identifier
SRX resend
1 400 . 0 …ET
Channel No.
Host computer send
B
T
C
X
C
SRX send
O
T
Data
Host computer send
B C
X
C
Host computer send
B C
X
C
C K
Continue to *1
A K
Continue to *1
IMS01N01-E5
39
7. RKC COMMUNICATION PROTOCOL
A

7.2 Selecting

Selecting is the action where the host computer requests one of the connected SRX 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 computer send
S T X
[ID]
[Data]
(3)
E T
X
[BCC]
SRX send
No response
(6)
C K
(4)
N A K
(5)
ID: Identifier

7.2.1 Selecting procedures

(1) Data link initialization
Host computer sends EOT to the SRX to initiate data link before selecting sequence.
(2) Sending selecting address from the host computer
Host computer sends selecting address for the selecting sequence.
Address (2 digits): This data is a unit address of the SRX to be selected and must be the same as the unit address set value in item 5.1 Module Address Setting (P. 15).
40
IMS01N01-E5
7. RKC COMMUNICATION PROTOCOL
(3) Data sent from the host computer
The host computer sends data for the selecting sequence with the following format:
3.2. 5.4.1.
Identifier Data BCCETXSTX
Details for 1 to 5, see 7.1 Polling (P. 35).
(4) ACK (Acknowledgment)
An acknowledgment ACK is sent by the SRX when data received is correct. When the host computer receives ACK from the SRX, the host computer will send any remaining data. If there is no more data to be sent to SRX, the host computer sends EOT to terminate the data link.
(5) NAK (Negative acknowledge)
If the SRX 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 SRX 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 SRX
The SRX does not respond when it cannot 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 SRX.
IMS01N01-E5
41
7. RKC COMMUNICATION PROTOCOL
A
A

7.2.2 Selecting procedure example (When the host computer sends data)

Normal transmission
E
0 1 S
O
T
04H 30H 31H 02H 53H 31H 30H 31H 20H 20H 20H 34H 30H 30H 2EH 30H 03H 57H
A
ddress
06H
S 1 0 1 T X
Identifier
*1
S
02H 50H 31H 30H 31H 20H 03H 49H 04H
A
06H
T
P 1 0 1 …ET
X
Error transmission
E
0 1 S
O
T
04H 30H 31H 02H 53H 31H 30H 31H 20H 20H 20H 34H 30H 30H 2EH 30H 03H 56H
N
ddress
15H
S 1 0 1 T X
Identifier
*1
S
T X
02H 53H 31H 30H 31H 20H 03H 57H 04H
A
06H
Host computer resend
S 1 0 1 …ET
Host computer send
Channel No.
Host computer send
Host computer send
400 . 0 …ET
Data
Host computer send
B C
X
C
SRX send
400 . 0 …ET
Data Channel No.
B C
X
C
SRX send
E
O
T
C
K
Host computer send
C
K
E
O
T
B
C
X
C
SRX send
Error data
B
C
X
C
SRX send
C K
Continue to *1
A K
Continue to *1
42
IMS01N01-E5

7.3 Communication Data Structure

Data description (Transmission/receive data structure)
S
E
........................................................................................................
T X
Part of the data above is shown below.
Data for each channel
Data length 7 digits
0
1 0 0 . 0 , 0
1
Identifie
Channel
No.
Space
Data
Data length 1 digit
0
Identifier
Channel
, 0
1
No.
Space
Data
Comma
2
Channel
No.
Space
Data for each module address (Without channel)
Data length 7 digits
Identifier
Data length 1 digit
Identifier
Data
Data
Data
Data
Comma
2
Channel
No.
Space
7. RKC COMMUNICATION PROTOCOL
B
T
C
X
C
...
Data
Continued on the next page.
IMS01N01-E5
43
7. RKC COMMUNICATION PROTOCOL
Data for level PID
Data length 7 digits
K
Level No.
0
Identifier
Channel
1 0 0 . 0 , 0
1
No.
Space
Data length 1 digit
0
K
Level No.
Identifier
Channel
No.
, 0
1
Data
Space
Comma
Data for program control
Data
2
Channel
No.
Space
Data
Comma
2
Channel
No.
Space
...
Data
Pattern group
Data length 7 digits
0
P
N
Pattern No.
Identifier
Segment group
Data length 7 digits
P
N
Pattern No.
S
N
Segment No.
Time signal group
Data length 7 digits
P
N
T
N
Pattern No. Time signal
No.
1 0 0 . 0 , 0
1
Channel
No.
Space
0
Identifier
Channel
0
Identifier
Channel
2
Data
Comma
Channel
No.
Space
1 0 0 . 0 , 0
1
Data
No.
Space
1 0 0 . 0 , 0
1
No.
Space
Data
...
Data
Channel
No.
Comma
Channel
No.
Comma
2
2
Space
...
Data
...
Data
44
IMS01N01-E5
7. RKC COMMUNICATION PROTOCOL

7.4 Examples of Polling and Selecting Check Programs

The following is the sample program for NEC PC-9800 series computers in BASIC language for carrying out polling and selecting checking by RS-232C specification. There will be some differences in the computer languages according to the type of computer. Before executing the program, confirm that there is no mistake in the wiring of the communications cable and check that the instrument data bit configuration is set to 8 for data bit and Without for parity bit. In addition, the communications speed setting should be set to match the host computer speed setting.
When this program example is used for RS-485, the automatic sending/receiving selection type of RS-232C/RS-485 is required. (Recommended: CD485, CD485/V manufactured by Data Link, Inc. or equivalent.)

7.4.1 Example of temperature set values polling check program

1000 '-------------------- Identifier setting ---------------------- 1010 ID$="S1" 1020 ' 1030 '------------------- Communications initial setting -------------------- 1040 CM$="N81NN" 1050 INPUT " Module address=";ADD$ 1060 STX$=CHR$(&H2) : EOT$=CHR$(&H4) : ENQ$=CHR$(&H5) 1070 ACK$=CHR$(&H6) : NAK$=CHR$(&H15): ETX$=CHR$(&H3) 1080 OPEN "COM1:"+CM$ AS #1 1090 CONSOLE ,,,1 1100 COLOR 7:CLS 3 1110 ' 1120 '------------------ Program main routine --------------------- 1130 *POL 1140 PRINT " (Polling check) " 1150 PRINT "*********** Receiving the set values ************" 1160 PRINT " " 1170 DT$=EOT$+ADD$+ID$+ENQ$ 1180 GOSUB *TEXT 1190 GOSUB *RXDT 1200 ' 1210 *J10 1220 J=0 1230 ' 1240 *IF1 1250 IF LOC(1)=0 THEN J=J+1:IF J<500 THEN *IF1 ELSE PRINT " TIME OUT ":END 1260 ' 1270 K$=INPUT$(1,#1) 1280 IF K$=ETX$ GOTO *ETXRX 1290 IF K$=NAK$ THEN PRINT " NAK":END 1300 IF K$=EOT$ THEN PRINT " EOT":END 1310 IF K$=ACK$ THEN PRINT " ACK":END
1
Setting of the receiving waiting time:
If time out occurs in using high speed computer (Except no response), the numeral value of 500 in the program should be changed to an appropriately-sized numeral value.
Identifier setting
Communications data configuration setting Control unit address input Communications character setting
Open RS-232C circuit
Data configuration setting
Setting of the receiving waiting time (Timeout processing)
Communications condition checking
Continued on the next page.
1
IMS01N01-E5
45
7. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
1320 ' 1330 DT$=DT$+K$ 1340 GOTO *J10 1350 ' 1360 *ETXRX 1370 DT$=DT$+K$ 1380 BCCRX$=INPUT$(1,#1) 1390 BCCRX=ASC(BCCRX$) 1400 GOSUB *BCCCH 1410 IF BCC<>BCCRX THEN GOSUB *NAKTX 1420 IF BCC<>BCCRX THEN GOSUB *RXDT: GOTO *J10 1430 ' 1440 PRINT "Data has been correctly received" 1450 PRINT "Received data=";DT$ : END 1460 ' 1470 '--------------------- Sub-routine ---------------------- 1480 ' 1490 *NAKTX 1500 PRINT "BCC error" 1510 DT$=NAK$ 1520 GOSUB *TEXT 1530 RETURN 1540 ' 1550 *RXDT 1560 DT$="" 1570 RETURN 1580 ' 1590 *TEXT 1600 PRINT #1,DT$; 1610 RETURN 1620 ' 1630 *BCCCH 1640 FOR II=1 TO LEN(DT$) 1650 BCCA$=MID$(DT$,II,1) 1660 IF BCCA$=STX$ THEN BCC=0 : GOTO *IINEXT 1670 BCC=BCC XOR ASC(BCCA$) 1680 *IINEXT 1690 NEXT II 1700 RETURN
BCC checking
Display of received data and closing of RS-232C circuit
Processing on occurrence of a BCC error
Clearing of circuit buffer
Transfer of polling identifier
BCC calculation
46
IMS01N01-E5
7. RKC COMMUNICATION PROTOCOL

7.4.2 Example of temperature set values selecting checking program

1000 '-------------------- Identifier setting ---------------------- 1010 ID$="S1" 1020 ' 1030 '------------------- Communications initial setting ------------------­1040 CM$="N81NN" 1050 STX$=CHR$(&H2) : EOT$=CHR$(&H4) : ENQ$=CHR$(&H5) 1060 ACK$=CHR$(&H6) : NAK$=CHR$(&H15): ETX$=CHR$(&H3) 1070 OPEN "COM1:"+CM$ AS #1 1080 CONSOLE ,,,1 1090 COLOR 7:CLS 3 1100 ' 1110 '------------------ Program main routine --------------------- 1120 *SEL 1130 PRINT " (Selection check) " 1140 PRINT "************ Transmission of set values ************" 1150 PRINT " 1160 INPUT "Module No.=";ADD$:INPUT "Channel No.=";C$ :INPUT "Set value=";S$ 1170 DT$=EOT$+ADD$+STX$+Z$+C$+" "+S$+ETX$ 1180 PRINT "Transmitting data=";DT$ 1190 GOSUB *BCCCH 1200 DT$=DT$+CHR$(BCC) 1210 GOSUB *TEXT 1220 GOSUB *RXDT 1230 ' 1240 *J20 1250 J=0 1260 ' 1270 *IF2 1280 IF LOC(1)=0 THEN J=J+1:IF J<500 THEN *IF2 ELSE PRINT " TIME
OUT ":END 1290 ' 1300 K$=INPUT$(1,#1) 1310 IF K$=NAK$ THEN PRINT " NAK":END 1320 IF K$=ACK$ THEN PRINT "Control unit has received the data" :END 1330 ' 1340 ' 1350 '
1
Setting of the receiving waiting time:
If time out occurs in using high speed computer (Except no response), the numeral value of 500 in the program should be changed to an appropriately-sized numeral value.
Identifier setting
Communications data configuration setting Communications character setting
Opening of RS-232C circuit
Input of the unit and channel number, and the temperature set value Data configuration setting 1 Display of transmitting data
Data configuration setting 2
Setting of the receiving waiting time (Timeout processing)
Communications condition check, Display of communication result, and closing of RS-232C circuit
Continued on the next page.
1
IMS01N01-E5
47
7. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
1360 '--------------------- Sub-routine ---------------------- 1370 ' 1380 *RXDT' 1390 DT$="" 1400 RETURN 1410 ' 1420 *TEXT 1430 PRINT #1,DT$; 1440 RETURN 1450 ' 1460 *BCCCH 1470 FOR II=1 TO LEN(DT$) 1480 BCCA$=MID$(DT$,II,1) 1490 IF BCCA$=STX$ THEN BCC=0 : GOTO *IINEXT 1500 BCC=BCC XOR ASC(BCCA$) 1510 *IINEXT 1520 NEXT II 1530 RETURN
Clearing of circuit buffer
Transfer of selection data
BCC calculation
48
IMS01N01-E5
7. RKC COMMUNICATION PROTOCOL

7.5 Communication Identifier List of TIO Module

7.5.1 Data items for normal setting mode

No. Name
1 Measured value (PV)
2 Comprehensive event
state
3 Burnout state
4 Event 1 state
5 Event 2 state
6 Heater break alarm
(HBA) state
7 Control loop break alarm
(LBA) state
8 Manipulated output value
9 Current transformer input
measured value
10 Set value monitor
11 Error code
(Data of each module)
12 Set value (SV)
Iden-
tifier
M1
AJ
B1
AA
AB
AC
AP
O1
M3
MS
ER
S1
RO: Read only R/W: Read and Write
Attri-
bute
Data range
RO Input scale low limit to
Input scale high limit
RO 0 to 31 (Bit data)
b0: Burnout b1: Event 1 state b2: Event 2 state b3: Heater break alarm state b4: Control loop break alarm (LBA) state
RO 0: OFF
1: ON
RO 0: OFF
1: ON
RO 0: OFF
1: ON
RO 0: OFF
1: Heater break 2: Relay welding
RO 0: OFF
1: ON
RO
5.0 to +105.0 %
RO 0.0 to 30.0 A or
0.0 to 100.0 A
RO Input scale low limit to
Input scale high limit
RO 0 to 255 (Bit data)
b0: Memory backup error b1: Unused b2: Internal communication error b3: Adjustment data error b4: Input A/D error b5: Current transformer input A/D error b6: Temperature compensation A/D error b7: Unused
R/W Input scale low limit to
Input scale high limit
Factory
set
value
Refer-
ence page
P. 98
P. 98
P. 99
P. 99
P. 99
P. 100
P. 100
P. 100
P. 101
P. 101
P. 102
0 P. 102
Continued on the next page.
IMS01N01-E5
49
7. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
No. Name
13 Proportional band
Iden-
tifier
P1
14 Integral time
I1
15 Derivative time
D1
16 Control response
CA
parameters
17 PV bias
PB
18 Event 1 set value
A1
19 Event 2 set value
A2
20 Operation mode
EI
21 Level PID high limit set
PW
value
22 PID/AT transfer
G1
23 Auto/Manual transfer
J1
24 Manual output value
ON
25 Output limiter (high)
OH
26 Output limiter (low)
OL
Attri-
bute
Data range
R/W TC/RTD input:
0 (0.0) to Input span Voltage (V)/Current (I) input:
0.0 to 1000.0 % of input span 0: ON/OFF action
Factory
set
value
TC/ RTD:
10.0 °C (10.0 °F)
V/I:
Refer-
ence page
P. 103 P. 130
10.0 %
R/W 0.1 to 3600.0 seconds
0.01 to 360.00 seconds
R/W 0.0 to 3600.0 seconds
0.00 to 360.00 seconds
40.00 P. 103 P. 130
10.00 P. 104 P. 131
0.0 (0.00): Derivative action OFF (PI action)
R/W 0: Slow
1: Medium
0 P. 104
P.131
2: Fast
R/W
Input span to +Input span
R/W Deviation high/Deviation low:
0 P. 105
0 P. 105
Input span to +Input span Deviation high/low, Band: 0 to Input span
R/W Process high/Process low:
0 P. 105 Input scale low limit to Input scale high limit
R/W 0: Unused
3 P. 106
1: Monitor 1 2: Monitor 2 3: Control
R/W Input scale low limit to
Input scale high limit
Input scale
P. 131
high limit
R/W 0: PID control operation
0 P. 107
1: AT (Autotuning) operation
R/W 0: Auto mode
0 P. 108
1: Manual mode
R/W
5.0 to +105.0 %
0.0 P. 108
R/W Output limiter (low) to 105.0 % 100.0 P. 109
R/W
5.0 % to Output limiter (high)
0.0 P. 109
Continued on the next page.
50
IMS01N01-E5
Continued from the previous page.
No. Name
27 Proportional cycle time
28 Digital filter
29 Heater break alarm
(HBA) set value
30 Number of heater break
alarm (HBA) delay times
31 Hot/cold start selection
32 Start determination point
33 Control RUN/STOP
transfer (Data of each module)
34 Input error determination
point (high)
35 Input error determination
point (low)
36 Action at input error
(high)
37 Action at input error
(low)
38 Manipulated output value
at input error
39 AT differential gap time
40 AT bias
41 Remote/Local transfer
(Data of each module)
Iden-
tifier
T0
F1
A3
DH
XN
SX
SR
AV
AW
WH
WL
OE
GH
GB
C1
7. RKC COMMUNICATION PROTOCOL
Attri-
bute
Data range
R/W 0.2 to 50.0 seconds
Factory
set
value
Relay
Refer-
ence page
P. 109 contact output:
20.0 Voltage
pulse output:
2.0
R/W 0.00 to 10.00 seconds
0.00 P. 109
0.00: OFF (Not provided)
R/W 0.0 to 30.0 A or
0.0 P. 110
0.0 to 100.0 A
R/W 1 to 255 times 5 P. 111
R/W 0: Hot start 1
0 P. 112 1: Hot start 2 2: Cold start 1 3: Cold start 2
R/W 0 to input span 0.0 P. 113
R/W 0: Control STOP
0 P. 113 1: Control RUN
R/W Input scale low limit to
Input scale high limit
Input
scale
P. 114
high limit
R/W Input scale low limit to
Input scale high limit
Input
scale
P. 114
low limit
R/W 0: Normal control
0 P. 115 1: Manipulated output value at
input error
R/W 0: Normal control
0 P. 115 1: Manipulated output value at
input error
R/W
5.0 to +105.0 %
0.0 P. 116
R/W 0.00 to 50.00 seconds 0.10 P. 117
R/W
Input span to +Input span
R/W 0: Local mode
0 P. 118
0 P. 118 1: Remote mode
Continued on the next page.
IMS01N01-E5
51
7. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
No. Name
42 Event LED mode setting
Iden-
tifier
XH
(Data of each module)
43 Digital input setting 1
E1
(RESET)
44 Digital input setting 2
E2
(RUN)
45 Digital input setting 3
E3
(FIX)
46 Digital input setting 4
E4
(MAN)
47 Digital input setting 5
E5
(HOLD)
48 Digital input setting 6
E6
(STEP)
49 Digital input setting 7
E7
(Program pattern selection)
50 Digital input setting 8
E8
(AT/PID)
51 Program operation mode
XM
selection
52 Execution pattern
PS
53 Execution segment
SN
54 Segment remaining time
TR
55 Number of program
RT
execution times
56 Time signal output state 1
T8
Attri-
bute
Data range
R/W 1: Mode 1 11: Mode 11
2: Mode 2 12: Mode 12
Factory
set
value
0
(Unused)
Refer-
ence page
P. 119
3: Mode 3 13: Mode 13 10: Mode 10 Except the above: Unused
R/W 0000 to 9999 0000 P. 120
R/W Upper two digits
0000 P. 120
(Thousands and hundreds digits):
R/W Address of DI module
0000 P. 120
Lower two digits
R/W (Tens and units digits):
0000 P. 120
Channel number of DI module
R/W 00: No function 0000 P. 121
R/W 0000 P. 122
R/W 0000 P. 123
R/W 0000 P. 124
R/W 0: RESET
2 P. 135 1: RUN (Program control) 2: FIX (Fixed set point control) 3: MAN (Manual control)
R/W 1 to 16 1 P. 136
RO 1 to 16
RO
0.00 to 300.00 seconds
P. 136
P. 137
0.0 to 3000.0 seconds 0 to 30000 seconds 0 to 30000 minutes
RO 0 to 9999 times
RO 0 to 255 (Bit data)
P. 137
P. 138 b0: Time signal 1 output state b1: Time signal 2 output state b2: Time signal 3 output state b3: Time signal 4 output state b4: Time signal 5 output state b5: Time signal 6 output state b6: Time signal 7 output state b7: Time signal 8 output state
Continued on the next page.
52
IMS01N01-E5
Continued from the previous page.
No. Name
57 Time signal output state 2
58 Pattern end output state
59 End state
60 Wait state
61 Hold state
62 Step action
63 Setting of the number of
program execution times (Pattern group)
End segment
64
(Pattern group)
65 Link pattern
(Pattern group)
66 Pattern end output time
(Pattern group)
67 Wait zone
(Pattern group)
68 Segment level
(Segment group)
69 Segment time
(Segment group)
70 Time signal output
number (Time signal group)
Iden-
tifier
T9
EO
EN
WT
HO
SK
RR
PE
LP
ET
ZW
LE
TM
RE
7. RKC COMMUNICATION PROTOCOL
Attri-
bute
Data range
RO 0 to 255 (Bit data)
Factory
set
value
Refer-
ence page
P. 138
b0: Time signal 9 output state b1: Time signal 10 output state b2: Time signal 11 output state b3: Time signal 12 output state b4: Time signal 13 output state b5: Time signal 14 output state b6: Time signal 15 output state b7: Time signal 16 output state
RO 0: Pattern end output OFF
P. 139
1: Pattern end output ON
RO 0: End state OFF
P. 139
1: End state ON
RO 0: Wait state OFF
P. 139
1: Wait state ON
R/W 0: Hold state OFF
0 P. 140
1: Hold state ON
R/W 0: Not step action
0 P. 141
1: Step action execution
R/W 1 to 1000 times
1 P. 142
1000: Number of infinite times
R/W 1 to 16 16 P. 142
R/W 0 to 16
0 P. 143
0: No link pattern
R/W 0.00 to 300.00 seconds
0.00 P. 144
0.0 to 3000.0 seconds 0 to 30000 seconds 0 to 30000 minutes
R/W 0 to Input span 0.0 P. 145
R/W
Input scale low limit to
0
P. 146
Input scale high limit
R/W 0.00 to 300.00 seconds
0.00 P. 146
0.0 to 3000.0 seconds 0 to 30000 seconds 0 to 30000 minutes
R/W 0 to 16
0 P. 147
0: No time signal output
Continued on the next page.
IMS01N01-E5
53
7. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
No. Name
71 Time signal ON segment
Iden-
tifier
SO
(Time signal group)
72 Time signal ON time
TO
(Time signal group)
73 Time signal OFF segment
SF
(Time signal group)
74 Time signal OFF time
TF
(Time signal group)
75 Program operation start
SS
mode
76 Control loop break alarm
HP
(LBA) use selection
77 Control loop break alarm
C6
(LBA) time
78 Control loop break alarm
V2
(LBA) deadband
79 Integral/derivative time
PK
decimal point position
80 Initial setting mode
IN
(Data of each module)
Attri-
bute
Data range
Factory
set
value
Refer-
ence page
R/W 1 to 16 1 P. 148
R/W
0.00 to 300.00 seconds
0.00 P. 148
0.0 to 3000.0 seconds 0 to 30000 seconds 0 to 30000 minutes
R/W 1 to 16 1 P. 149
R/W
0.00 to 300.00 seconds
0.00 P. 149
0.0 to 3000.0 seconds 0 to 30000 seconds 0 to 30000 minutes
R/W 0: Zero start
0 P. 150 1: PV start 1 2: PV start 2
R/W 0: Unused
0 P. 125 1: Used
R/W 1 to 7200 seconds 80 P. 126
R/W 0 to Input span 0 P. 127
R/W 0: Two decimal places
0 P. 128 1: One decimal places
R/W 0: Normal setting mode
0 P. 128 1: Initial setting mode
54
IMS01N01-E5
7. RKC COMMUNICATION PROTOCOL

7.5.2 Data items for initial setting mode

The Initial setting data should be set according to the application before setting any parameter related to operation. Once the Initial setting data is set correctly, those data is not necessary to be changed for the same application under normal conditions. If they are changed unnecessarily, it may result in malfunction or failure of the instrument. RKC will not bear any responsibility for malfunction or failure as a result of improper changes in the Initial setting.
Transfer to initial setting mode
WARNING
!
Transfer to initial setting mode sets in “1” with identifier IN (normally setting mode).
The instrument cannot be changed to the initial setting mode state at control start (during control). If it needs to be changed to the above state, first stop the control by “Control RUN/STOP transfer.”
No control can be started during initial setting mode. If the control needs to be re-started,
No. Name
1 Input range number
first change the instrument the normal setting mode state (set identifier “IN” by 0).
Iden­tifier
XI
Attri-
bute
R/W TC input:
0: K 200 to +1372 °C or
328 to +2501 °F 1: J 200 to +1200 °C or
328 to +2192 °F 2: R 50 to +1768 °C or
58 to +3000 °F 3: S 50 to +1768 °C or
58 to +3000 °F 4: B 0 to 1800 °C or 32 to 3000 °F 5: E 200 to +1000 °C or
328 to +1832 °F 6: N 0 to 1300 °C or 32 to 2372 °F 7: T 200 to +400 °C or
328 to +752 °F 8: W5Re/W26Re 0 to 2300 °C or 32 to 3000 °F 9: PLII 0 to 1390 °C or 32 to 2534 °F
Data range
Factory
set
value
Specify when ordering
Refer-
ence page
P. 152
IMS01N01-E5
Continued on the next page.
55
7. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
No. Name
1 Input range number
Iden­tifier
XI
2 Input scale high limit
XV
3 Input scale low limit
XW
4 Input range decimal
XU
point position
5 Temperature unit
PU
selection
6 Control type selection
XE
7 ON/OFF control
IV
differential gap (upper)
8 ON/OFF control
IW
differential gap (lower)
Attri-
bute
Data range
R/W RTD input:
12: Pt100 200 to +850 °C or
328 to +1562 °F 13: JPt100 −200 to +600 °C or
328 to +1112 °F
Voltage/Current input:
14: 0 to 20 mA DC 15: 4 to 20 mA DC 16: 0 to 10 V DC 17: 0 to 5 V DC 18: 1 to 5 V DC 19: 0 to 1 V DC 20: 0 to 100mV DC 21: 0 to 10 mV DC
R/W Input scale low limit to 20000
R/W
20000 to Input scale high limit
R/W TC/RTD input: 0 to 1
Voltage/Current input: 0 to 4 0: No decimal place
1: One decimal place 2: Two decimal places 3: Three decimal places 4: Four decimal places
R/W
0: °C 1: °F
R/W 0: Direct action
1: Reverse action
R/W 0 to Input span
R/W
Factory
set
value
Specify when ordering
Depend on input range
Depend on input range
1 P. 153
0 P. 154
1 P. 154
TC/ RTD:
1.0 °C (1.0 °F) V/I:
0.1 % of input span
Refer-
ence page
P. 152
P. 153
P. 153
P. 155
P. 155
56
Continued on the next page.
IMS01N01-E5
Continued from the previous page.
No. Name
9 Event 1 differential gap
10 Event 2 differential gap
11 Event 1 type selection
12 Event 2 type selection
13 Event 1 hold action
14 Event 2 hold action
15 Number of event delay
times
16 Transmission transfer
time setting (Data of each module)
17 Segment time unit setting
18 Operation mode holding
setting (Data of module unit)
19 Output change rate limiter
(up)
20 Output change rate limiter
(down)
Iden-
tifier
HA
HB
XA
XB
WA
WB
DF
ZX
XP
X2
PH
PL
7. RKC COMMUNICATION PROTOCOL
Attri-
bute
Data range
R/W 0 to Input span
Factory
set
value
TC/
Refer-
ence page
P. 156
RTD:
2.0 °C (2.0 °F)
R/W
V/I:
P. 156
0.2 % of input span
R/W 0: Not provided
0 P. 157
1: Process high 2: Process low 3: Deviation high
R/W 4: Deviation low
0 P. 157
5: Deviation high/low 6: Band
R/W 0: Not provided
3 P. 159
1: Hold action
R/W (2: Unused)
3 P. 159
3: Re-hold action
R/W 0 to 255 times 0 P. 160
R/W 0 to 100 ms 6 P. 161
R/W 0: 0.01 second
0 P. 161
1: 0.1 second 2: 1 second 3: 1 minute
R/W 0: Not hold
1 P. 161
1: Hold
R/W 0.0 to 100.0 %/second
0.0 P. 162
0.0: Limiter OFF
R/W 0.0 to 100.0 %/second
0.0 P. 162
0.0: Limiter OFF
IMS01N01-E5
57
7. RKC COMMUNICATION PROTOCOL

7.6 Communication Identifier List of DI Module

7.6.1 Data items for normal setting mode

No. Name
1 Input state of digital input
(terminal) (Data of module unit)
2 Input state of digital input
(connector) 1 (Data of module unit)
3 Input state of digital input
(connector) 2 (Data of module unit)
Iden-
tifier
L1
L2
L3
RO: Read only R/W: Read and Write
Attri-
bute
Data range
RO 0 to 4095 (Bit data)
b0: DI channel 1 b1: DI channel 2 b2: DI channel 3 b3: DI channel 4 b4: DI channel 5 b5: DI channel 6 b6: DI channel 7 b7: DI channel 8 b8: DI channel 9 b9: DI channel 10 b10: DI channel 11 b11: DI channel 12 b12 to b15: Unused
RO 0 to 255 (Bit data)
b0: DI channel 13 b1: DI channel 14 b2: DI channel 15 b3: DI channel 16 b4: DI channel 17 b5: DI channel 18 b6: DI channel 19 b7: DI channel 20 b8 to b15: Unused
RO 0 to 255 (Bit data)
b0: DI channel 21 b1: DI channel 22 b2: DI channel 23 b3: DI channel 24 b4: DI channel 25 b5: DI channel 26 b6: DI channel 27 b7: DI channel 28 b8 to b15: Unused
Factory
set
value
Refer-
ence page
P. 164
P. 165
P. 165
Continued on the next page.
58
IMS01N01-E5
Continued from the previous page.
No. Name
4 Event LED selection:
terminal input (DI channel 1 to 12)
5 Event LED selection:
connector input (DI channel 13to 28)
DO channel 13 to 28 is used as DO channel 1 to 16 on communication.
6 Error code
(Data of module unit)
7 Initial setting mode
(Data of each module)
Iden-
tifier
QI
QJ
ER
IN
7. RKC COMMUNICATION PROTOCOL
Attri-
bute
Data range
R/W 0: Unused
1: EVENT1 lamp 2: EVENT2 lamp
R/W 3: EVENT3 lamp
4: EVENT4 lamp
RO 0 to 1 (Bit data)
b0: Backup error b1 to b15: Unused
R/W 0: Normal setting mode
1: Initial setting mode
Factory
set
value
0 P. 166
0 P. 167
0 P. 162
Refer-
ence page
P. 162
IMS01N01-E5
59
7. RKC COMMUNICATION PROTOCOL

7.6.2 Data items for initial setting mode

The Initial setting data should be set according to the application before setting any parameter related to operation. Once the Initial setting data is set correctly, those data is not necessary to be changed for the same application under normal conditions. If they are changed unnecessarily, it may result in malfunction or failure of the instrument. RKC will not bear any responsibility for malfunction or failure as a result of improper changes in the Initial setting.
Transfer to initial setting mode
WARNING
!
Transfer to initial setting mode sets in “1” with identifier IN (normally setting mode).
Data of initial setting mode
No. Name
1 Transmission transfer
time setting (Data of each module)
Iden-
tifier
ZX
Attri-
bute
R/W 0 to 100 ms 6 P. 169
Data range
Factory
set
value
Refer-
ence page
60
IMS01N01-E5
7. RKC COMMUNICATION PROTOCOL

7.7 Communication Identifier List of DO Module

7.7.1 Data items for normal setting mode

No. Name
1 Output state of digital
output (terminal) (Data of module unit)
2 Output state of digital
output (connector) 1 (Data of module unit)
3 Output state of digital
output (connector) 2 (Data of module unit)
4 Function selection of
DO channel 1 to 12 (terminal)
Iden-
tifier
Q1
Q2
Q3
QA
RO: Read only R/W: Read and Write
Attri-
bute
Data range
RO 0 to 4095 (Bit data)
b0: DO channel 1 b1: DO channel 2 b2: DO channel 3 b3: DO channel 4 b4: DO channel 5 b5: DO channel 6 b6: DO channel 7 b7: DO channel 8 b8: DO channel 9 b9: DO channel 10 b10: DO channel 11 b11: DO channel 12 b12 to b15: Unused
RO 0 to 255 (Bit data)
b0: DO channel 13 b1: DO channel 14 b2: DO channel 15 b3: DO channel 16 b4: DO channel 17 b5: DO channel 18 b6: DO channel 19 b7: DO channel 20 b8 to b15: Unused
RO 0 to 255 (Bit data)
b0: DO channel 21 b1: DO channel 22 b2: DO channel 23 b3: DO channel 24 b4: DO channel 25 b5: DO channel 26 b6: DO channel 27 b7: DO channel 28 b8 to b15: Unused
R/W 0000 to 9999
Upper two digits (Thousands and hundreds digits):
Address of TIO module or DI
module Lower two digits (Tens and units digits):
Function number of output signal 00: No function
Factory
set
value
Refer-
ence page
P. 170
P. 171
P. 171
0 P. 172
Continued on the next page.
IMS01N01-E5
61
7. RKC COMMUNICATION PROTOCOL
Continued from the previous page.
No. Name
5 Function selection of
Iden-
tifier
QB
DO channel 13 to 28 (connector)
DO channel 13 to 28 is used as DO channel 1 to 16 on communication.
6 Event LED selection:
QI
terminal input (DI channel 1 to 12)
7 Event LED selection:
QJ
connector input (DI channel 13 to 28)
DO channel 13 to 28 is used as DO channel 1 to 16 on communication.
8 Error code
ER
(Data of module unit)
9 Initial setting mode
IN
(Data of each module)
Attri-
bute
Data range
R/W 0000 to 9999
Upper two digits (Thousands and hundreds digits):
Address of TIO module or DI
module Lower two digits (Tens and units digits):
Function number of output signal 00: No function
R/W 0: Unused
1: EVENT1 lamp 2: EVENT2 lamp
R/W 3: EVENT3 lamp
4: EVENT4 lamp
RO 0 to 1 (Bit data)
b0: Backup error b1 to b15: Unused
R/W 0: Normal setting mode
1: Initial setting mode
Factory
set
value
0 P. 173
0 P. 175
0 P. 176
0 P. 177
Refer-
ence page
P. 177
62
IMS01N01-E5
7. RKC COMMUNICATION PROTOCOL

7.7.2 Data items for initial setting mode

The Initial setting data should be set according to the application before setting any parameter related to operation. Once the Initial setting data is set correctly, those data is not necessary to be changed for the same application under normal conditions. If they are changed unnecessarily, it may result in malfunction or failure of the instrument. RKC will not bear any responsibility for malfunction or failure as a result of improper changes in the Initial setting.
Transfer to initial setting mode
WARNING
!
Transfer to initial setting mode sets in “1” with identifier IN (normally setting mode).
The instrument cannot be changed to the initial setting mode state at control start
(during control). If it needs to be changed to the above state, first stop the control by
“Control RUN/STOP transfer.”
No control can be started during initial setting mode. If the control needs to be re-started,
first change the instrument the normal setting mode state (set identifier “IN” by 0).
No. Name
1 Transmission transfer
time setting (Data of each module)
Iden-
tifier
ZX
Attri-
bute
R/W 0 to 100 ms 6 P. 178
Data range
Factory
set
value
Refer-
ence page
IMS01N01-E5
63

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

8.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
The slave address is a number from 0 to 99 manually set at the module address setting switch located at the front of the SRX module. Although all connected slave units receive the query message sent from the master, only the slave with the slave address coinciding with the query message will accept the message.
Slave address Function code
Data
Error check CRC-16
Message format
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 8.2 Function Code (P. 65).
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 8.6 Message Format (P. 70), 8.7 Data Configuration (P. 74), 8.8 Data Map
of TIO Module (P. 78), 8.9 Data Map of DI Module (P. 90), 8.10 Data Map of DO Module (P. 93) and 9. COMMUNICATION DATA DESCRIPTION (P. 97).
Error check
An error checking code (CRC-16: Cyclic Redundancy Check) is used to detect an error in the signal transmission.
For details, see 8.5 Calculating CRC-16 (P. 67).
64 IMS01N01-E5

8.2 Function Code

Function code contents
Function code (Hexadecimal)
03H
Read holding registers
8. MODBUS COMMUNICATION PROTOCOL
Function Contents
Measured value, control output value, current transformer input measured value, Event status, etc.
06H
08H
10H
Preset single register Set value, PID constants, event set value, etc.
Diagnostics (loopback test) Loopback test
Preset multiple registers Set value, PID constants, event set value, etc.
Message length of each function (Unit: byte)
Function code Function (Hexadecimal)
03H
06H
08H
10H
Read holding registers
Preset single register
Diagnostics (loopback test)
Preset multiple registers
Min Max Min Max
Query message Response message
8 8 7 255
8 8 8 8
8 8 8 8
11 255 8 8

8.3 Communication Mode

Signal transmission between the master and slaves is conducted in Remote Terminal Unit (RTU) mode.
RTU mode
Items Contents
Data bit length 8-bit (Binary)
Start mark of message Unused
End mark of message Unused
Message length See 8.2 Function Code
Data time interval Less than 24 bits’ time *
Error check CRC-16 (Cyclic Redundancy Check)
* When sending a command message from the master, set intervals of data configuring one
message to time shorter than the 24 bits’ time or the 24 bits’ time plus a few time intervals become time longer than the 24 bits’ time or the 24 bits’ time plus a few
milliseconds, the relevant slave assumes that message sending from the master is terminated
to deform the message format. As a result, the slave does not make a response.
milliseconds. If
A data time interval may become more than 24 bits depending on the type of master used. In that case, the data time interval can be extended in the range of 1 to 99 ms. For setting procedure, see 5.4 Communication Time Setting (P. 18).
IMS01N01-E5 65
8. MODBUS COMMUNICATION PROTOCOL

8.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 Register and Diagnostics (Loopback test), the slave returns the same message as the query message.
In the response message of the Preset Multiple Registers, 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.
If the self-diagnostic function of the slave detects an error, the slave
Slave address Function code
Error code
Error check CRC-16
will return an error response message to all query messages.
The function code of each error response message is obtained by
Error response message
adding 80H to the function code of the query message.
Error code Contents
1 Function code error (An unsupported function code was specified)
2 When the mismatched address is specified.
3 When the data written exceeds the setting range
When the specified number of data items in the query message exceeds the maximum number (1 to 125) of data items available
(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 transmission parameter 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.
There is length of query message exceeds set range.
The number of data points is not twice the specified number of data points at the time of data write
.
If data time interval in the query message from the master is following 24 bits’ time or more 24 bits’ time plus a few
milliseconds or more
66
IMS01N01-E5
8. MODBUS COMMUNICATION PROTOCOL

8.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-bit) 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-bit) 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.
IMS01N01-E5
67
8. MODBUS COMMUNICATION PROTOCOL
The flow chart of CRC-16
START
FFFFH → CRC Register
CRC Register ⊕ next byte of the message
0 → n
Shift CRC Register right 1 bit
1
CRC Register
CRC Register
Carry flag is
Yes
A001H
n + 1 → n
No
CRC Register
No
Yes
No
Reverse with high-order byte and low-order byte of CRC register
Is message complete ?
Yes
n > 7
END
The symbol indicates an exclusive OR operation. The symbol for the number of data bits is n.
68
IMS01N01-E5
8. MODBUS COMMUNICATION PROTOCOL
Example of a CRC calculation in the ‘C’ language
This routine assumes that the data types ‘uint16’ and ‘uint8’ exists. Theses are unsigned 16-bit integer (usually an ‘unsigned short int’ for most compiler types) and unsigned 8-bit integer (unsigned char). ‘z_p’ is a pointer to a Modbus message, and z_messaage_length is its length, excluding the CRC. Note that the Modbus message will probably contain NULL characters and so normal C string handling techniques will not work.
uint16 calculate_crcbyte *z_p, unit16 z_message_length
/* CRC runs cyclic Redundancy Check Algorithm on input z_p */ /* Returns value of 16 bit CRC after completion and */ /* always adds 2 crc bytes to message */ /* returns 0 if incoming message has correct CRC */
{
uint16 CRC= 0xffff; uint16 next; uint16 carry; uint16 n; uint8 crch, crcl;
while (z_messaage_length--) {
next = (uint16) *z_p; CRC ^= next; for (n = 0; n < 8; n++) {
carry = CRC & 1; CRC >>= 1; if (carry) {
CRC ^= 0xA001;
} } z_p++;
} crch = CRC / 256; crcl = CRC % 256 z_p [z_messaage_length++] = crcl; z_p [z_messaage_length] = crch; return CRC;
}
IMS01N01-E5
69
8. MODBUS COMMUNICATION PROTOCOL
N

8.6 Message Format

8.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-bit and the low-order 8-bit, arranged in the order of the register numbers.
Example: The contents of the three holding registers from 0000H to 0002H are the read out from
slave address 2.
Query message
Slave address 02H Function code 03H Starting No. High 00H
Low 00H
Quantity High 00H
Low 03H
CRC-16 High 05H Low F8H
First holding register address
The setting must be between 1 (0001H) and 125 (007DH).
Normal response message
Slave address 02H Function code 03H Number of data 06H
umber of holding registers × 2
First holding High 00H register contents Low 78H Next holding High 00H register contents Low 00H Next holding High 00H register contents Low 14H CRC-16 High 95H Low 80H
Error response message
Slave address 02H
80H + Function code 83H
Error code 03H
CRC-16 High F1H
Low 31H
70
IMS01N01-E5
8. MODBUS COMMUNICATION PROTOCOL

8.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-bit first and low-order 8-bit next. Only R/W holding registers can be specified.
Example: Data is written into the holding register 0010H of slave address 1.
Query message
Slave address 01H Function code 06H Holding register High 00H
number
Write data High 00H
CRC-16 High 89H Low E4H
Low 10H
Any data within the range
Low 64H
Normal response message
Slave address 01H Function code 06H Holding register High 00H number Low 10H
Contents will be the same as query message data
Write data High 00H
Low 64H CRC-16 High 89H Low E4H
Error response message
Slave address 01H 80H + Function code 86H Error code 03H CRC-16 High 02H Low 61H
IMS01N01-E5
71
8. MODBUS COMMUNICATION PROTOCOL

8.6.3 Diagnostics (Loopback test) [08H]

The master’s query message will be returned as the response message from the slave. This function checks the communication system between the master and slave.
Example: Loopback test for slave address 1
Query message
Slave address 01H Function code 08H Test code High 00H
Low 00H Data High 1FH Low 34H CRC-16 High E9H Low ECH
Test code must be set to 00
Any pertinent data
Normal response message
Slave address 01H Function code 08H Test code High 00H Low 00H
Contents will be the same as query message data
Data High 1FH Low 34H CRC-16 High E9H Low ECH
Error response message
Slave address 01H 80H + Function code 88H Error code 03H CRC-16 High 06H Low 01H
72
IMS01N01-E5
8. MODBUS COMMUNICATION PROTOCOL
N

8.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-bit first and low-order 8-bit next. Only R/W holding registers can be specified.
Example: Data is written into the two holding registers from 0010H to 0011H of slave address 1.
Query message
Slave address 01H Function code 10H Starting number High 00H
Low 10H Quantity High 00H
Low 02H Number of data 04H Data to first High 00H
register
Low 64H Data to next High 00H
register
Low 1EH CRC-16 High 33H Low 74H
First holding register address
The setting must be between 1 (0001H) and 123 (007BH).
umber of holding registers × 2
Normal response message
Slave address 01H Function code 10H Starting number High 00H Low 10H Quantity High 00H Low 02H CRC-16 High 40H Low 0DH
Error response message
Slave address 01H 80H + Function code 90H Error code 02H CRC-16 High CDH Low C1H
IMS01N01-E5
73
8. MODBUS COMMUNICATION PROTOCOL

8.7 Data Configuration

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.

8.7.1 Data processing with decimal points

Data without decimal points
Data of TIO module
Comprehensive event state Time signal output state 1 Error code Time signal output state 2 Burnout state Pattern end output state Event 1 state End state Event 2 state Wait state Heater break alarm state Hold state Control loop break alarm (LBA) state Step action Control response parameters Setting of the number of program execution times Operation mode End segment PID/AT transfer Link pattern Auto/Manual transfer Time signal output number Number of heater break alarm delay times Time signal ON segment Hot/cold start selection Time signal OFF segment Control RUN/STOP transfer Program operation start mode Input error determination point (high) Control loop break alarm (LBA) use selection Input error determination point (low) Control loop break alarm (LBA) time Remote/Local transfer Integral/derivative time decimal point position Digital input setting 1 (RESET) Initial setting mode Digital input setting 2 (RUN) Input rang number Digital input setting 3 (FIX) Input range decimal point position Digital input setting 4 (MAN) Temperature unit selection Digital input setting 5 (HOLD) Control type selection Digital input setting 6 (STEP) Event 1 type selection Digital input setting 7 (Program pattern selection) Event 2 type selection Digital input setting 8 (AT/PID) Event 1 hold action Event LED mode setting Event 2 hold action Program operation mode selection Number of event delay times Execution pattern Transmission transfer time setting Execution segment Segment time unit setting Number of program execution times Operation mode holding setting
74
IMS01N01-E5
8. MODBUS COMMUNICATION PROTOCOL
Data of DI module
Input state of digital input (terminal) Event LED selection (connector input) Input state of digital input (connector) 1 Error code Input state of digital input (connector) 2 Initial setting mode Event LED selection (terminal input) Transmission transfer time setting
Data of DO module
Output state of digital output (terminal) Event LED selection (terminal output) Output state of digital output (connector) 1 Event LED selection (connector output) Output state of digital output (connector) 2 Error code Function selection of DO channel 1 to 12 (terminal) Initial setting mode Function selection of DO channel 13 to 28 (connector) Transmission transfer time setting
Example: When input range number is 18, 18 = 12H
Input range number High 00H
Low 12H
Data with decimal points
The Modbus protocol does not recognize data with decimal points during communication.
Data with one decimal place
Manual output value Manipulated output value at input error Current transformer input measured value Output change rate limiter (up) Heater break alarm set value Output change rate limiter (down) Manual output value Output limiter (high)
Proportional cycle time Output limiter (low)
Example: When heater break alarm set value 1 is 20.0 A, 20.0 is processed as 200,
Data with two decimal places
Digital filter AT differential gap time
200 = C8H
Heater break alarm High 00H
set value Low C8H
IMS01N01-E5
75
8. 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.
Type of decimal points position: Temperature input: No decimal place, one decimal place
Voltage/current input: No decimal place, one decimal place, two decimal places, three decimal places,
Input measured value (PV) AT bias Set value (SV) Segment level Set value monitor Wait zone Proportional band Control loop break alarm (LBA) deadband PV bias Input scale high limit Event 1 set value Input scale low limit Event 2 set value ON/OFF control differential gap (upper) Level PID high limit set value ON/OFF control differential gap (lower) Start determination point Event 1 differential gap Input error determination point (high) Event 2 differential gap Input error determination point (low)
Example: When the set value is −20.0 °C, −20.00 is processed as 200,
200 = 0000H 00C8H = FF38H
four decimal places
Set value High FFH
Low 38H
Data whose decimal point’s presence and/or position depends on segment
time unit setting
The position of the decimal point changes depending on the segment time unit setting because the Modbus protocol does not recognize data with decimal points during communication.
Type of decimal points position: No decimal place, one decimal place, two decimal places
Segment remaining time Time signal ON time Pattern end output time Time signal OFF time Segment time
Data whose decimal point’s position depends on Integral/ derivative time
decimal point position
The position of the decimal point changes depending on the integral/derivative time decimal point position because the Modbus protocol does not recognize data with decimal points during communication.
Type of decimal points position: One decimal place, two decimal places
Integral time Derivative time
76
IMS01N01-E5
8. MODBUS COMMUNICATION PROTOCOL

8.7.2 Data processing precautions

With Modbus protocol, the maximum number of channels per slave address is 2.
Do not write data to any address which is not described in a list of data maps.
If data range or address error occurs during data writing, the data written before error is in effect.
Some communication data may become invalid depending on the module selection or the
configuration of the SRX. If any one of the conditions listed below occurs and data items written are within the setting range, read data becomes 0. Under these conditions, no error response message will occur.
When ON/OFF control, proportional band, integral time and derivative time are invalid.
When current/voltage output, proportioning cycle time are invalid.
When only the heater break alarm function is provided, current transformer input measured value,
heater break alarm status, heater break alarm set value and number of heater break alarm delay times are valid.
When only the control loop break alarm (LBA) function is provided, control loop break alarm (LBA) status, use selection, time and deadband are valid.
Send the next command message at time intervals of 30 bits after the master receives the response
message.
IMS01N01-E5
77
8. MODBUS COMMUNICATION PROTOCOL

8.8 Data Map of TIO Module

8.8.1 Normal setting data items

Name
Register address
Hexadecimal Decimal
Attri-
bute
RO: Read only R/W: Read and Write
Data range
CH1 CH2 CH1 CH2
Measured value (PV) 0000 1000 0 4096 RO Input scale low limit to
Input scale high limit
Comprehensive event state
0001 1001 1 4097 RO 0 to 31 (Bit data)
b0: Burnout b1: Event 1 state b2: Event 2 state b3: Heater break alarm state b4: Control loop break alarm (LBA) state
Manipulated output
0002 1002 2 4098 RO
5.0 to +105.0 %
value Set value monitor 0003 1003 3 4099 RO Input scale low limit to
Input scale high limit
Error code (Data of each module)
0004 4 RO 0 to 255 (Bit data)
b0: Memory backup error b1: Unused b2: Internal communication error b3: Adjustment data error b4: Input error b5: Current transformer input error b6: Temperature compensation error b7: Unused
Unused 0005 1005 5 4101
Factory
set
value
Refer-
ence page
P. 98
P. 98
P. 100
P. 101
P. 102
Current transformer input measured value
Unused 0007 1007 7 4103
0006 1006 6 4102 RO 0.0 to 30.0 A or
0.0 to 100.0 A
Burnout state 0008 1008 8 4104 RO 0: OFF
1: ON
Event 1 state 0009 1009 9 4105 RO 0: OFF
1: ON
Event 2 state 000A 100A 10 4106 RO 0: OFF
1: ON
78
P. 101
P. 99
P. 99
P. 99
Continued on the next page.
IMS01N01-E5
Continued from the previous page.
Register address
Name
Hexadecimal Decimal
CH1 CH2 CH1 CH2
Heater break alarm
000B 100B 11 4107 RO 0: OFF
(HBA) state
Control loop break alarm
000C 100C 12 4108 RO 0: OFF (LBA) state Unused 000D 100D 13 4109
8. MODBUS COMMUNICATION PROTOCOL
Attri-
bute
Data range
Factory
set
value
Refer-
P. 100 1: Heater break 2: Relay welding
P. 100 1: ON
ence
page
Unused 000E 100E 14 4110
Operation mode 000F 100F 15 4111 R/W 0: Unused
1: Monitor 1 2: Monitor 2 3: Control
Set value (SV) 0010 1010 16 4112 R/W Input scale low limit to
Input scale high limit
Proportional band 0011 1011 17 4113 R/W TC/RTD input:
0 (0.0) to Input span Voltage (V)/Current (I) input:
0.0 to 1000.0 % of input span
0: ON/OFF action
Integral time 0012 1012 18 4114 R/W 0.1 to 3600.0 seconds or
0.01 to 360.00 seconds
Derivative time 0013 1013 19 4115 R/W 0.0 to 3600.0 seconds or
0.00 to 360.00 seconds
0.0 (0.00):
Derivative action OFF
(PI action) Control response parameters
0014 1014 20 4116 R/W 0: Slow
1: Medium 2: Fast
PV bias
0015 1015 21 4117 R/W
Input span to +Input span
Event 1 set value 0016 1016 22 4118 R/W Deviation high/Deviation
low: Input span to +Input span Deviation high/low, Band: 0 to Input span
Event 2 set value 0017 1017 23 4119 R/W Process high/Process low:
Input scale low limit to Input scale high limit
Continued on the next page.
3 P. 106
0 P. 102
TC/
P. 103
RTD:
10.0 °C (10.0 °F)
V/I:
10.0 %
40.00 P. 103
10.00 P. 104
0 P. 104
0 P. 105
0 P. 105
0 P. 105
IMS01N01-E5
79
8. MODBUS COMMUNICATION PROTOCOL
Continued from the previous page.
Name
Register address
Hexadecimal Decimal
Attri-
bute
CH1 CH2 CH1 CH2
Unused 0018
001F
·
·
·
1018
·
·
·
101F
24
·
·
·
31
4120
·
·
·
4127
PID/AT transfer 0020 1020 32 4128 R/W
Data range
0: PID control operation
Factory
set
value
0 P. 107
Refer-
ence page
1: AT (Autotuning) operation
Auto/Manual transfer 0021 1021 33 4129 R/W 0: Auto mode
0 P. 108
1: Manual mode
Manual output value
0022 1022 34 4130 R/W
5.0 to +105.0 %
0.0 P. 108
Output limiter (high) 0023 1023 35 4131 R/W Output limiter (low) to
100.0 P. 109
105.0 %
Output limiter (low) 0024 1024 36 4132 R/W
5.0 % to
0.0 P. 109
Output limiter (high)
Proportional cycle time 0025 1025 37 4133 R/W 0.2 to 50.0 seconds
Relay
P. 109 contact output:
20.0 Voltage
pulse output:
2.0
Unused 0026 1026 38 4134
Digital filter
0027 1027 39 4135 R/W 0.00 to 10.00 seconds 0.00 P. 109
Heater break alarm (HBA) set value Number of heater break
0028 1028 40 4136 R/W 0.0 to 30.0 A or
0.0 P. 110
0.0 to 100.0 A
0029 1029 41 4137 R/W 1 to 255 times 5 P. 111
alarm (HBA) delay times
Hot/cold start selection 002A 102A 42 4138 R/W 0: Hot start 1
0 P. 112 1: Hot start 2 2: Cold start 1 3: Cold start 2
Start determination point 002B 102B 43 4139 R/W 0 to Input span 0.0 P. 113
Unused
Control RUN/STOP transfer (Data of each module) Input error determination point (high)
80
002C
002F
·
·
·
102C
·
·
·
102F
44
·
·
·
47
4140
·
·
·
4143
0030 48 R/W 0: Control STOP
1: Control RUN
0031 1031 49 4145 R/W Input scale low limit to
Input scale high limit
Continued on the next page.
0 P. 113
Input
P. 114
scale
high
limit
IMS01N01-E5
8. MODBUS COMMUNICATION PROTOCOL
Continued from the previous page.
Name
Input error determination point (low)
Register address
Hexadecimal Decimal
Attri-
bute
Data range
CH1 CH2 CH1 CH2
0032 1032 50 4146 R/W Input scale low limit to
Input scale high limit
Factory
set
value
Input scale
low
Refer-
ence page
P. 114
limit Action at input error (high)
0033 1033 51 4147 R/W
0: Normal control 1: Manipulated output
0 P. 115
value at input error
Action at input error (low)
0034 1034 52 4148 R/W
0: Normal control 1: Manipulated output
0 P. 115
value at input error
Manipulated output value
0035 1035 53 4149 R/W
5.0 to +105.0 %
0.0 P. 116
at input error
AT differential gap time 0036 1036 54 4150 R/W 0.00 to 50.00 seconds 0.10 P. 117
Unused 0037 1037 55 4151
AT bias
0038 1038 56 4152 R/W
Unused 0039 1039 57 4153
Unused 003A 103A 58 4154
Remote/Local transfer
003B 59 R/W 0: Local mode (Data of each module) Event LED mode setting
003C 60 R/W (Data of each module)
Digital input setting 1
003D 103D 61 4157 R/W 0000 to 9999 0000 P. 120 (RESET) Digital input setting 2
003E 103E 62 4158 R/W Upper two digits (RUN) Digital input setting 3
003F 103F 63 4159 R/W digits): (FIX) Digital input setting 4
0040 1040 64 4160 R/W Lower two digits (MAN) Digital input setting 5
0041 1041 65 4161 R/W Channel number of (HOLD) Digital input setting 6
0042 1042 66 4162 R/W 00: No function 0000 P. 122 (STEP) Digital input setting 7
0043 1043 67 4163 R/W 0000 P. 123 (Program pattern selection) Digital input setting 8
0044 1044 68 4164 R/W 0000 P. 124 (AT/PID)
Input span to +Input span
0 P. 117
0 P. 118 1: Remote mode 1: Mode 1 2: Mode 2
0
(Unused)
P. 119
3: Mode 3 10: Mode 10 11: Mode 11 12: Mode 12 13: Mode 13 Except the above: Unused
0000 P. 120
(Thousands and hundreds
0000 P. 120
Address of DI module
0000 P. 120
(Tens and units digits):
0000 P. 121
DI module
Continued on the next page.
IMS01N01-E5
81
8. MODBUS COMMUNICATION PROTOCOL
Continued from the previous page.
Register address
Name
Hexadecimal Decimal
CH1 CH2 CH1 CH2
Unused 0045
·
·
·
0057
Level PID data
For details, see 8.8.2 Level PID data (P. 83) Program control data
For details, see 8.8.3 Program control data
0058
·
·
·
00CF 00D0
·
·
·
0858
(P. 84)
Control loop break alarm
0859 1859 2137 6233 R/W 0: Unused (LBA) use selection Control loop break alarm
085A 185A 2138 6234 R/W 1 to 7200 seconds 80 P. 126 (LBA) time Control loop break alarm
085B 185B 2139 6235 R/W 0 to Input span 0 P. 127 (LBA) deadband Integral/derivative time
085C 185C 2140 6236 R/W 0: Two decimal places decimal point position
Unused 085D
·
·
·
086F
1045
·
·
·
1057 1058
·
·
·
10CF 10D0
·
·
·
1858
185D
·
·
·
186F
69
·
·
·
87 88
·
·
·
207 208
·
·
·
2136
2141
·
·
·
2159
4165
·
·
·
4183 4184
·
·
·
4303 4304
·
·
·
6232
6237
·
·
·
6255
Attri-
bute
Data range
Factory
set
value
Refer-
0 P. 125
1: Used
0 P. 128
1: One decimal place
ence page
P. 83
P. 84
82
IMS01N01-E5

8.8.2 Level PID data items

8. MODBUS COMMUNICATION PROTOCOL
Register address
Name
Hexadecimal Decimal
CH1 CH2 CH1 CH2
Proportional band 0058
·
·
·
005F
Integral time 0060
·
·
·
0067
Derivative time 0068
·
·
·
006F
Control response parameters
0070
·
·
·
0077
Unused 0078
·
·
·
00AF Level PID high limit set value
00B0
·
·
·
00B7
Unused 00B8
·
·
·
00CF
1058
·
·
·
105F
1060
·
·
·
1067 1068
·
·
·
106F
1070
·
·
·
1077 1078
·
·
·
10AF
10B0
·
·
·
10B7
10B8
·
·
·
10CF
88
·
·
·
95
96
·
·
·
103 104
·
·
·
111
112
·
·
·
119 120
·
·
·
175 176
·
·
·
183
184
·
·
·
207
4184
·
·
·
4191
4192
·
·
·
4199 4200
·
·
·
4207
4208
·
·
·
4215 4216
·
·
·
4271 4272
·
·
·
4279
4280
·
·
·
4303
Attri-
bute
Data range
R/W TC/RTD input:
0 (0.0) to Input span Voltage (V)/Current (I) input:
0.0 to 1000.0 % of input span
0: ON/OFF action
R/W 0.1 to 3600.0 seconds or
Factory
set
value
TC/ RTD:
10.0 °C (10.0 °F)
V/I:
10.0 %
40.00 P. 130
Refer-
P. 130
0.01 to 360.00 seconds
R/W 0.0 to 3600.0 seconds or
10.00 P. 131
0.00 to 360.00 seconds
0.0 (0.00): Derivative action OFF (PI action)
R/W 0: Slow
0 P. 131 1: Medium 2: Fast
R/W Input scale low limit to
Input scale high limit
Input
scale
P. 131
high
limit
ence page
IMS01N01-E5
83
8. MODBUS COMMUNICATION PROTOCOL

8.8.3 Program control data items

Name
Program operation mode selection
Register address
Hexadecimal Decimal
Attri-
bute
Data range
CH1 CH2 CH1 CH2
00D0 10D0 208 4304 R/W 0: RESET
1: RUN (Program control)
Factory
set
value
2 P. 135
Refer-
ence page
2: FIX (Fixed set point control) 3: MAN (Manual control)
Execution pattern 00D1 10D1 209 4305 R/W 1 to 16 1 P. 136
Execution segment 00D2 10D2 210 4306 RO 1 to 16
Segment remaining time 00D3 10D3 211 4307 RO 0.00 to 300.00 seconds
P. 136
P. 137
0.0 to 3000.0 seconds 0 to 30000 seconds 0 to 30000 minutes
Number of program
00D4 10D4 212 4308 RO 0 to 9999 times
P. 137 execution times Time signal output state 1
00D5 10D5 213 4309 RO
0 to 255 (Bit data)
b0: Time signal 1 output
P. 138
state b1: Time signal 2 output state b2: Time signal 3 output state b3: Time signal 4 output state b4: Time signal 5 output state b5: Time signal 6 output state b6: Time signal 7 output state b7: Time signal 8 output state
Time signal output state 2
00D5 10D5 213 4309 RO
0 to 255 (Bit data)
b8: Time signal 9 output
P. 138
state b9: Time signal 10 output state b10: Time signal 11 output state b11: Time signal 12 output state b12: Time signal 13 output state b13: Time signal 14 output state b14: Time signal 15 output state b15: Time signal 16 output state
Continued on the next page.
84
IMS01N01-E5
Continued from the previous page.
8. MODBUS COMMUNICATION PROTOCOL
Name
Register address
Hexadecimal Decimal
Attri-
bute
Data range
CH1 CH2 CH1 CH2
Pattern end output state 00D6 10D6 214 4310 RO 0: Pattern end output OFF
1: Pattern end output ON
End state 00D7 10D7 215 4311 RO 0: End state OFF
1: End state ON
Wait state 00D8 10D8 216 4312 RO 0: Wait state OFF
1: Wait state ON
Hold state 00D9 10D9 217 4313 R/W 0: Hold state OFF
1: Hold state ON
Step action 00DA 10DA 218 4314 R/W 0: Not step action
1: Step action execution
Unused 00DB
00EF Setting of the number of program execution times
End segment 0100
Link pattern 0110
Pattern end output time 0120
·
·
·
00F0
·
·
·
00FF
·
·
·
010F
·
·
·
011F
·
·
·
012F
10DB
·
·
·
10EF
10F0
·
·
·
10FF
1100
·
·
·
110F 1110
·
·
·
111F 1120
·
·
·
112F
219
·
·
·
239 240
·
·
·
255 256
·
·
·
271 272
·
·
·
287 288
·
·
·
303
4315
·
·
·
4335 4336
·
·
·
4351 4352
·
·
·
4367 4368
·
·
·
4383 4384
·
·
·
4399
R/W 1 to 1000 times
1000: Number of infinite times
R/W 1 to 16 16 P. 142
R/W 0 to 16
0: Not link pattern
R/W 0.00 to 300.00 seconds
0.0 to 3000.0 seconds 0 to 30000 seconds 0 to 30000 minutes
Wait zone 0130
·
·
·
013F
Segment level 0140
·
·
·
023F
Segment time 0240
·
·
·
033F
1130
·
·
·
113F 1140
·
·
·
123F 1240
·
·
·
133F
304
·
·
·
319 320
·
·
·
575 576
·
·
·
831
4400
·
·
·
4415 4416
·
·
·
4671 4672
·
·
·
4927
0 to Input span
R/W
R/W Input scale low limit to
Input scale high limit
R/W 0.00 to 300.00 seconds
0.0 to 3000.0 seconds 0 to 30000 seconds
0 to 30000 minutes Time signal output number
0340
·
·
·
043F
1340
·
·
·
143F
832
·
·
·
1087
4928
·
·
·
5183
R/W 0 to 16
0: Not time signal output
Continued on the next page.
Factory
set
value
Refer-
P. 139
P. 139
P. 139
0 P. 140
0 P. 141
1 P. 142
0 P. 143
0.00 P. 144
0.0 P. 145
0 P. 146
0.00 P. 146
0 P. 147
ence page
IMS01N01-E5
85
8. MODBUS COMMUNICATION PROTOCOL
Continued from the previous page.
Register address
Name
Hexadecimal Decimal
CH1 CH2 CH1 CH2
Time signal ON segment 0440
·
·
·
053F
Time signal ON time 0540
·
·
·
063F
Time signal OFF segment 0640
·
·
·
073F
Time signal OFF time 0740
·
·
·
083F
Unused 0840
·
·
·
0857
Program operation start
0858 1858 2136 6232 R/W 0: Zero start
mode
1440
·
·
·
153F 1540
·
·
·
163F
1640
·
·
·
173F 1740
·
·
·
183F
1840
·
·
·
1857
1088
·
·
·
1343 1344
·
·
·
1599
1600
·
·
·
1855 1856
·
·
·
2111
2112
·
·
·
2135
5184
·
·
·
5439 5440
·
·
·
5695
5696
·
·
·
5951 5952
·
·
·
6207
6208
·
·
·
6231
Attri-
bute
Data range
Factory
set
value
Refer-
ence page
R/W 1 to 16 1 P. 148
R/W 0.00 to 300.00 seconds
0.00 P. 148
0.0 to 3000.0 seconds
0 to 30000 seconds
0 to 30000 minutes
R/W 1 to 16 1 P. 149
R/W 0.00 to 300.00 seconds
0.00 P. 149
0.0 to 3000.0 seconds
0 to 30000 seconds
0 to 30000 minutes
0 P. 150 1: PV start 1 2: PV start 2
86
IMS01N01-E5
8. MODBUS COMMUNICATION PROTOCOL

8.8.4 Initial setting data items

The Initial setting data should be set according to the application before setting any parameter related to operation. Once the Initial setting data is set correctly, those data is not necessary to be changed for the same application under normal conditions. If they are changed unnecessarily, it may result in malfunction or failure of the instrument. RKC will not bear any responsibility for malfunction or failure as a result of improper changes in the Initial setting.
When setting initial setting data items, stop control by normal setting data “Control
RUN/STOP transfer.”
WARNING
!
Even if control is stopped by “Control RUN/STOP transfer” while program control is
being performed (RUN state), the program continues running. If it is necessary to stop
running the program, set “Program operation mode selection” to RESET.
Register address
Name
Input range number 0870 1870 2160 6256 R/W TC input:
Hexadecimal Decimal
CH1 CH2 CH1 CH2
Attri-
bute
0: K −200 to +1372 °C
−328 to +2501 °F 1: J 200 to +1200 °C
−328 to +2192 °F 2: R 50 to +1768 °C
58 to +3000 °F 3: S 50 to +1768 °C
58 to +3000 °F 4: B 0 to 1800 °C 32 to 3000 °F 5: E −200 to +1000 °C
−328 to +1832 °F 6: N 0 to 1300 °C 32 to 2372 °F 7: T −200 to +400 °C
−328 to +752 °F 8: W5Re/W26Re 0 to 2300 °C 32 to 3000 °F 9: PLII 0 to 1390 °C 32 to 2534 °F
Data range
Continued on the next page.
Factory
set
value
Specify when ordering
Refer-
ence
page
P. 152
IMS01N01-E5
87
8. MODBUS COMMUNICATION PROTOCOL
Continued from the previous page.
Name
Register address
Hexadecimal Decimal
Attri-
bute
Data range
CH1 CH2 CH1 CH2
Input range number 0870 1870 2160 6256 R/W RTD input:
12: Pt100
−200 to +850 °C
−328 to +1562 °F 13: JPt100
−200 to +600 °C
−328 to +1112 °F
Voltage/Current input:
14: 0 to 20 mA DC 15: 4 to 20 mA DC 16: 0 to 10 V DC 17: 0 to 5 V DC 18: 1 to 5 V DC 19: 0 to 1 V DC 20: 0 to 100 mV DC 21: 0 to 10 mV DC
Input scale high limit 0871 1871 2161 6257 R/W Input scale low limit to
20000
Input scale low limit 0872 1872 2162 6258 R/W
20000 to Input scale high limit
Input range decimal point position
0873 1873 2163 6259 R/W TC/RTD input: 0 to 1
Voltage/Current input: 0 to 4 0: No decimal place 1: One decimal place 2: Two decimal places 3: Three decimal places 4: Four decimal places
Temperature unit selection
0874 1874 2164 6260 R/W
0: °C 1: °F
Control type selection 0875 1875 2165 6261 R/W 0: Direct action
1: Reverse action
ON/OFF control
0876 1876 2166 6262 R/W 0 to Input span
differential gap (upper)
ON/OFF control
0877 1877 2167 6263 R/W
differential gap (lower)
Factory
set
value
Specify when ordering
Depend on input range
Depend on input range
1 P. 153
0 P. 154
1 P. 154
TC/ RTD:
1.0 °C (1.0 °F) V/I:
0.1 % of input span
Refer-
ence
page
P. 152
P. 153
P. 153
P. 155
P. 155
88
Continued on the next page.
IMS01N01-E5
Continued from the previous page.
8. MODBUS COMMUNICATION PROTOCOL
Name
Register address
Hexadecimal Decimal
Attri-
bute
Data range
CH1 CH2 CH1 CH2
Event 1 differential gap 0878 1878 2168 6264 R/W 0 to Input span
Event 2 differential gap 0879 1879 2169 6265 R/W
Event 1 type selection 087A 187A 2170 6266 R/W
0: Not provided 1: Process high 2: Process low 3: Deviation high
Event 2 type selection 087B 187B 2171 6267 R/W
4: Deviation low 5: Deviation high/low 6: Band
Event 1 hold action 087C 187C 2172 6268 R/W 0: Not provided
1: Hold action
Event 2 hold action 087D 187D 2173 6269 R/W (2: Unused)
3: Re-hold action
Number of event delay
087E 187E 2174 6270 R/W 0 to 255 times 0 P. 160 times Transmission transfer
087F 2175 R/W 0 to 100 ms 6 P. 161 time setting (Data of each module) Segment time unit setting 0880 1880 2176 6272 R/W 0: 0.01 second
1: 0.1 second 2: 1 second
3: 1 minute Operation mode holding setting
0881 2177 R/W 0: Not hold
1: Hold (Data of each module) Output change rate limiter (up)
Output change rate limiter (down)
0882 1882 2178 6274 R/W 0.0 to 100.0 %/second
0.0: Limiter OFF
0883 1883 2179 6275 R/W 0.0 to 100.0 %/second
0.0: Limiter OFF
Factory
set
value
TC/ RTD:
2.0 °C (2.0 °F) V/I:
0.2 % of input span
0 P. 157
0 P. 157
3 P. 159
3 P. 159
0 P. 161
1 P. 161
0.0 P. 162
0.0 P. 162
Refer-
ence page
P. 156
P. 156
IMS01N01-E5
89
8. MODBUS COMMUNICATION PROTOCOL

8.9 Data Map of DI Module

8.9.1 Normal setting data items

Register address
Name
Hexadecimal Decimal
Input state of digital
2000 8192 RO 0 to 4095 (Bit data) input (terminal) (Data of module unit)
Input state of digital
2001 8193 RO 0 to 255 (Bit data) input (connector) 1 (Data of module unit)
Input state of digital
2002 8194 RO 0 to 255 (Bit data) input (connector) 2 (Data of module unit)
Unused 2003
·
·
·
25FF
Error code
2600 9728 RO 0 to 1 (Bit data) (Data of module unit)
8195
·
·
·
9727
RO: Read only R/W: Read and Write
Attri-
bute
Data range
Factory
set
value
Refer-
P. 164 b0: DI channel 1 b1: DI channel 2 b2: DI channel 3 b3: DI channel 4 b4: DI channel 5 b5: DI channel 6 b6: DI channel 7 b7: DI channel 8 b8: DI channel 9 b9: DI channel 10 b10: DI channel 11 b11: DI channel 12 b12 to b15: Unused
P. 165
b0: DI channel 13 b1: DI channel 14 b2: DI channel 15 b3: DI channel 16 b4: DI channel 17 b5: DI channel 18 b6: DI channel 19 b7: DI channel 20 b8 to b15: Unused
P. 165
b0: DI channel 21 b1: DI channel 22 b2: DI channel 23 b3: DI channel 24 b4: DI channel 25 b5: DI channel 26 b6: DI channel 27 b7: DI channel 28 b8 to b15: Unused
P. 168
b0: Backup error b1 to b15: Unused
Continued on the next page.
ence page
90
IMS01N01-E5
Continued from the previous page.
8. MODBUS COMMUNICATION PROTOCOL
Name
Register address
Hexadecimal Decimal
Unused 2601
·
·
·
261F Event LED selection: terminal input (DI channel 1 to 12)
CH1: 2620 CH2: 2621 CH3: 2622 CH4: 2623 CH5: 2624 CH6: 2625 CH7: 2626 CH8: 2627 CH9: 2628 CH10: 2629 CH11: 262A CH12: 262B
Unused 262C
·
·
·
262F Event LED selection: connector input (DI channel 13 to 28)
CH13: 2630 CH14: 2631 CH15: 2632 CH16: 2633 CH17: 2634 CH18: 2635 CH19: 2636 CH20: 2637 CH21: 2638 CH22: 2639 CH23: 263A CH24: 263B CH25: 263C CH26: 263D CH27: 263E CH28: 263F
Unused 2640
·
·
·
287E
9729
·
·
·
9759 CH1: 9760 CH2: 9761 CH3: 9762 CH4: 9763 CH5: 9764 CH6: 9765 CH7: 9766 CH8: 9767 CH9: 9768 CH10: 9769 CH11: 9770 CH12: 9771
9772
·
·
·
9775 CH13: 9776 CH14: 9777 CH15: 9778 CH16: 9779 CH17: 9780 CH18: 9781 CH19: 9782 CH20: 9783 CH21: 9784 CH22: 9785 CH23: 9786 CH24: 9787 CH25: 9788 CH26: 9789 CH27: 9790 CH28: 9791
9792
·
·
·
10366
Attri-
bute
Data range
Factory
set
value
Refer-
R/W 0: Unused
0 P. 166 1: EVENT1 lamp 2: EVENT2 lamp 3: EVENT3 lamp 4: EVENT4 lamp
R/W 0: Unused
0 P. 167 1: EVENT1 lamp 2: EVENT2 lamp 3: EVENT3 lamp 4: EVENT4 lamp
ence page
IMS01N01-E5
91
8. MODBUS COMMUNICATION PROTOCOL

8.9.2 Initial setting data items

The Initial setting data should be set according to the application before setting any parameter related to operation. Once the Initial setting data is set correctly, those data is not necessary to be changed for the same application under normal conditions. If they are changed unnecessarily, it may result in malfunction or failure of the instrument. RKC will not bear any responsibility for malfunction or failure as a result of improper changes in the Initial setting.
Register address
Name
Hexadecimal Decimal
WARNING
!
Attri-
bute
Data range
Factory
set
value
Refer-
ence page
Transmission transfer time setting
(Data of each module)
287F 10367 R/W 0 to 100 ms 6 P. 169
92
IMS01N01-E5
Loading...