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
Loading...
+ 186 hidden pages