Rockwell Automation 900 User Manual

Temperature Controller Communications Functions
USER MANUAL
Bulletin No. 900-TCx
-ii
ATTENTION
!
IMPORTANT
Important User Information
Solid state equipment has operational characteristics differing from those of electromechanical equipment. "Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls” (Publication SGI-1.1 available from your local Rockwell Automation Sales Office or online at http://www.ab.com/ manuals/gi) describes some important differences between solid state equipment and hard-wired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or part, without written permission of Rockwell Automation, Inc. is prohibited.
Throughout this manual we use notes to make you aware of safety considerations:
Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss
Attention statements help you to:
identify a hazard
avoid a hazard
recognize the consequences
Identifies information that is critical for successful application and understanding of the product.
Publication 900-UM004D-EN-E - July 2010
-iii
European Communities (EC) Directive Compliance
If this product has the CE mark it is approved for installation within the European Union and EEA regions. It has been designed and tested to meet the following directives.
EMC Directive
This product is tested to meet the Council Directive 89/336/EC Electromagnetic Compatibility (EMC) by applying the following standards, in whole or in part, documented in a technical construction file:
EN 61326 EMC Requirements — Electrical Equipment for Control, Measurement and Laboratory Use
This product is intended for use in an industrial environment.
Low Voltage Directive
This product is tested to meet Council Directive 73/23/EEC Low Voltage, by applying the safety requirements of EN 61010-1 Safety Requirements for Electrical Equipment for Control, Measurement and Laboratory Use — General Requirements. For specific information, see the appropriate sections in this publication, as well as the Allen-Bradley publication Industrial Automation Wiring and Grounding Guidelines For Noise Immunity, Publication 1770-4.1.
This equipment is classified as open equipment and must be mounted in an enclosure during operation to provide safety protection.
Publication 900-UM004D-EN-E - July 2010
-iv
Notes:
Publication 900-UM004D-EN-E - July 2010

Table of Contents

Table of Contents
Important User Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -ii
European Communities (EC) Directive Compliance. . . . . . . . . . . . . -iii
EMC Directive. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -iii
Low Voltage Directive. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -iii
Preface
About Communications Methods
Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1
Safety Signal Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1
Conventions Used in This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1
Meanings of Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1
How to Read Display Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . P-2
Chapter 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Communications Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Transmission procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
RS-485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
RS-232C (Applies to the 900-TC8 only). . . . . . . . . . . . . . . . . . . . 1-4
Communications parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Communications Parameter Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Communication Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Setting Communications Writing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Chapter 2
Bulletin 900 Communications Procedures 900-TCx (CompoWay/F)
Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Command Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
BCC Calculation Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Response Frame. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Communications Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Example of End Code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Structure of Command Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
PDU (Protocol Data Unit) Structure . . . . . . . . . . . . . . . . . . . . . . 2-5
Area Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Type Code (Variable Type) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Number of Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
List of Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Detailed Description of Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
-ii Table of Contents
Read from Variable Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Write to Variable Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Composite Read from Variable Area . . . . . . . . . . . . . . . . . . . . . 2-12
Composite Write to Variable Area . . . . . . . . . . . . . . . . . . . . . . . 2-13
Read Controller Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Read Controller Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Echoback Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
Chapter 3
Communications Data
Modbus Communications Procedure
Variable Area (setup range) List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Status Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
Chapter 4
Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Command Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Response Frame. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Function List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Variable Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Number of Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Detailed Description of the Services. . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Read Variable Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Write Variable Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Variable Write, Single/Operation Command. . . . . . . . . . . . . . . 4-15
Echoback Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22
Chapter 5
Communications Data for Modbus
Publication 900-UM004D-EN-E - July 2010
Variable Area (Setting Range) List. . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
Appendix A
ASCII Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1

Preface

ATTENTION
!
Safety Precautions
Conventions Used in This Manual
Safety Signal Words
This manual uses the following signal word to mark safety precautions for the Bulletin 900-TCx.
These precautions provide important information for the safe application of the Bulletin 900-TCx Temperature Controller. You must make sure to follow the instructions provided in all safety precautions.
Identifies information about practices or circumstances that can lead to personal injury or death, property damage or economic loss
Meanings of Abbreviations
The following abbreviations are used in parameter names, figures, and in text explanations. These abbreviations mean the following:
Table P.1
Symbol Term
PV Process value SP Set point AT Auto-tuning ST Self-tuning EU Engineering unit
EU stands for Engineering Unit. EU is used as the minimum unit for engineering units such as °C, m, and g. The
size of EU varies according to the input type. For example, when the input temperature setting range is –200…+1300°C, 1 EU is 1°C, and when the input temperature setting range is –20.0…+500.0°C, 1 EU is
0.1°C. In the case of analog input, the size of EU varies according to the decimal point position of the scaling setting, and 1 EU becomes the minimum scaling unit.
P-1 Publication 900-UM004D-EN-E - July 2010
P-2 Preface
ABCDEFG
H
IJKL
M
NO
P
Q
RS T UVWX Y Z
abcdefghijklm
nopqrstuvwxyz
Symbol
Symbol
Alphabet
Alphabet
How to Read Display Symbols
The following table shows the relationship between the symbols exhibited on the controller’s front panel displays to alphabet characters.
Publication 900-UM004D-EN-E - July 2010

About Communications Methods

Chapter
1
Introduction
This chapter briefly describes the supported communications methods and how to wire equipment. First-time users must read this chapter to ensure proper installation of the equipment.
The programs for the communications functions are created on the host device (PLC or computer), and the 900-TCx's parameters are monitored or set from the host PLC or computer. Therefore, the description provided here is from the viewpoint of the host device.
All Bulletin 900 Temperature Controllers offer an ASCII communications protocol format based on CompoWay/F for general serial communications. This format uses a standard frame format. Therefore, it can simplify communications between 900-TCx components and the host device.
The 900-TC8, 900-TC16, and 900-TC32 controllers also have Modbus® communication protocol. Modbus is a standard communications control method that conforms to the Modicon Company’s RTU-mode Modbus protocol (PI-MBUS-300 Revision J). It supports functions equivalent to the CompoWay/F Read Variable Area, Write Variable Area, Operation Command, and Echoback Test functions.
Simplified communications can include:
Reading/writing of parameters
Operation instructions
Selection of setup levels
Communications are subject to the following condition:
Parameters can be written only when the Communications writing
parameter is set to ON (enabled).
Modbus is a registered trademark of Schneider Electric
1-1 Publication 900-UM004D-EN-E - July 2010
1-2 About Communications Methods
Communications Specifications
Table 1.1
Transmission line connection RS-485 : Multiple point, or RS-232C : Point to point Communications method RS-485 (2-wire, half-duplex), or RS-232C Synchronization method Start-stop synchronization Baud rate 1200, 2400, 4800, 9600, 19200, 38400, or 57600 bps Communication code ASCII Data bits 7 or 8 bits Stop bits 1 or 2 bits Error detection Parity (none, even or odd) BCC (block check
character)
BCC with CompoWay/F (900-TC)
CRC-16 (Cyclic Redundancy Check 16) Modbus
communications Flow control None Interface RS-485/RS-232C Retry function None Communications buffer 217 bytes, 40 byte Communications response wait
time
0 to 99 ms, default time: 20 ms
Transmission procedure
Note: Highlighted characters in the table above indicate defaults. Direct RS-232C communication is only available with the 900-TC8. However, the 900-CONVx25(B) RS232/USB
to RS485 converter can be used for 900-TC16 and 900-TC32 controllers.
Communications speed, data bits, stop bits and vertical parity can each be configured independently in the
controller’s Communications Setting function group.
900-TC8, 900-TC16, and 900-TC32 Series B controllers only.The communications data length for Modbus must be 8 bits.
When the host device transmits a command frame, the 900-TCx transmits a response frame that corresponds to the command frame. A single response frame is returned for each command frame. The following diagram shows the operation of the command and response frames.
Command Frame
Host Device
900-TCx Temperature Controller
Response Frame
Command Frame
Allow a wait time of at least 2 ms until the next command is sent after the host device receives a response from the 900-TCx temperature controller.
Publication 900-UM004D-EN-E - July 2010
About Communications Methods 1-3
SG
FG
Abbr
_ +
900-TC32
12118
7
Pin No.
RS-485
RX
TX
Communications Transceiver
6.8V
Terminator
120Ω
(1/2W)
900-TCx end node RS-485
Use a terminator of resistance 120Ω = (1/2W)
Shielded cable
Both ends of the transmission line (including the host device) must be specified (by setting terminator ON) as the end node. The total resistance of
the terminators must be at least 54Ω.
A<B: [1] mark A>B: [0] space
Shielded cable
Host Device RS-485
900-TC8/16
Abbr
A ( – ) B ( + )
900-TC32
12 11
8
7
Pin No.
900-TC8/16
Abbr
A ( – ) B ( + )
Interface
Wiring
Communications with the host device are carried out through a standard RS-485 or RS-232C(900-TC8x) interface. Use a cat. no. 900-CONVxx interface converter for RS232C/USB to RS485 conversion.
RS-485
RS-485 connections can be 1:1 or 1: N. A maximum of 32 Units
(including the host device) can be connected in one-to-N systems.
The total cable length is 500 m max.
2
Use a shielded, twisted-pair cable #24 AWG (0.205 mm
2
(2.081 mm
) for the 900-TC8 and 900-TC16.
Use a shielded, AWG24 to AWG18 (cross-sectional area of 0.205 to
0.823 mm2) twisted-pair cable for the 900-TC32.
)…#14 AWG
Match the communications specifications of the 900-TCx and the host device. If a one-to-N system is being used, be sure that the communications specifications (Refer to Communications Specifications on page 1-2) of all devices in the system (except individual unit numbers) are the same.
This section explains how to set the 900-TCx's communications specifications. For details on the host device, refer to publication 900-UM007*.
Publication 900-UM004D-EN-E - July 2010
1-4 About Communications Methods
Cable Reference Diagram
900-TCxx #24 AWG…#14 AWG Conductor cross-section
0.205 mm to 2.081mm
22
No.
11 12 13
SD RD SG
RS-232C
900-TC8
Host Device RS-232C : 25P
<
>
2 3 4 5 6 7
20
1
SD(TXD) RD(RXD) RS(RTS) CS(CTS) DR(DSR) SG ER(DTR) FG
>
<
<
>
No.
11
12
13
SD
RD
SG
RS-232C
900-TC8
Host Device RS-232C : 9P
<
>
3
2
7
8
6
5
4
SD(TXD)
RD(RXD)
RS(RTS)
CS(CTS)
DR(DSR)
SG
ER(DTR)
>
<
<
>
RS-232C (Applies to the 900-TC8 only)
RS-232C connections are 1:1.
The total cable length is 15m max.
Use a shielded, AWG24 to AWG14 (cross-sectional area of 0.205 to
2.081 mm2) twisted-pair cable for the 900-TC8 and 900-TC16.
Use a shielded, AWG24 to AWG18 (cross-sectional area of 0.205 to
0.823 mm2) twisted-pair cable for the 900-TC32.

Wiring for 25-pin RS-232 connector on host device

Publication 900-UM004D-EN-E - July 2010

Wiring for 9-pin RS-232 connector on host device

About Communications Methods 1-5
Communications parameters
The 900-TCx's communications specifications are set/configured in the Communications Setting function group. These parameters are set on the 900-TCx's front panel.
The table below shows the communications parameters and their ranges.
Table 1.2 Communication Parameters and Ranges
Parameter Displayed
Characters
Communication protocol psel cwf/mod Communications unit
number Baud rate bps 1.2 / 2.4 / 4.8 /
Communications data length
Communications stop bit sbit 1/2 1/2 Communications parity prty None/even/odd none/even /odd Send data wait time sdwt 0…99 0…99 ms, default time:
u-no 0…99 0, 1…99
len 7/8(bit) 7/8 (bit)
Setting Range Set Value
(Blue highlighted characters indicate defaults)
1 .2 / 2.4 / 4.8 /
9.6 /19.2 / 38.4 / 57.6 (kbps)
9.6/19.2/38.4/57.6 (kbps)
20 ms
Note: Highlighted values indicate default settings.
The communications data length for Modbus must be 8 bits.
Publication 900-UM004D-EN-E - July 2010
1-6 About Communications Methods
c
psel
cwf
c
u-no
1
c
bps
9.6
c
len
7
c
56it
2
c
prty
eVen
c
sdwt
20
Protocol selection
Communications unit number
Communications baud rate
Communications data length (See note.)
Communications stop bits (See note.)
Communications parity
Send data wait time
Communications Parameter
Before you carry out communications with the 900-TCx, set up communications unit number, baud rate and other parameters by carrying out
Setup
the following procedure. For details of operations other than communications parameter setup, refer to the applicable 900-TCx User Manual.
Table 1.3 900-TCx User Manuals
Communications Parameter Setup
Temperature Controller Model Number User Manual
900-TC8 900-UM007* 900-TC16 900-UM007* 900-TC32 900-UM007*
1. Hold down the key for at least three seconds to move from the Operation function group to the Initial Setting function group.
2. Press the key for less than one second to move from the Initial Setting V to the Communications Setting function group.
Publication 900-UM004D-EN-E - July 2010
3. Select the parameters as shown below by pressing the
4. Use the
D or U keys to change the parameter set values.
M key.
Note: Displayed only when the Protocol Selection is CWF (900-TC)
About Communications Methods 1-7
Communication Parameters
Note that communications parameters are enabled after they have been changed by resetting the controller.
Protocol Selection (
psel)
The communications protocol can be selected. Set CompoWay/F (900-TC) or Modbus.
Communications unit number (
u-no )
This parameter is for setting a unique unit number for each of the temperature controllers in the system. This unit number is set so that the host device can identify the temperature controller when communications are carried out with the host device. Set a unit number within the range 0 to 99 for each temperature controller connected to the host device on the network. Default is “1”. When two or more temperature controllers are used, do not set them to the same unit number Doing so will prevent normal communications operation.
Baud rate (
bps)
This parameter is for setting the baud rate when communicating with the host device. Set one of "1.2 (1200 bps)", "2.4 (2400 bps)", "4.8 (4800 bps)", "9.6 (9600 bps)", "19.2 (19200 bps)", "38.4 (38400 bps)", or “57.6 (57600 bps)”. All units must be set to the same baud rate.
Communications data length {
len )
This parameter is for setting the communications data length. Set either of "7 bits" or "8 bits". All units must be set to the same communications data length.
Communications stop bit (
sbit )
This parameter is for setting the communications stop bit. Set either of "1" or "2". All units must be set to the same communications stop bit value.
Communications parity (
prty)
This parameter is for setting the communications parity. Set one of "none", "even" or "odd". All units must be set to the same communications parity value.
Send Data Wait Time (
sdwt)
The send data wait time can be set in 1-ms increments between 0 and 99 ms. The default is 20 ms.
Offered with 900-TC8, 900-TC16, and 900-TC32 Series B controllers.
Publication 900-UM004D-EN-E - July 2010
1-8 About Communications Methods
Setting Communications Writing
Set the communications writing parameter to ON to allow the host to write to the 900-TCx controller(s) via communications.

Parameter Setting

1. Press the key for less than one second to move from the operation level tot he adjustment level.
2. Select the parameters as shown below by pressing the
3. Use the
D or U keys to set the communications writing parameter to
ON.
c
l.adj
c
c
cmwt
c
cmwt
Adjustment Level Display Displayed only once when entering adjustment level.
AT Execute/Cancel
at
off
Communications Writing
off
on
M key.
Publication 900-UM004D-EN-E - July 2010
Chapter
STX
Node No.
12 2
Sub-address
0 00
SID
1
BCC Calculation Range
Tex t
Command Text
ETX
BCC
1
1
2

Bulletin 900 Communications Procedures 900-TCx (CompoWay/F)

Data Format
Unless otherwise indicated, numbers in this manual are expressed in hexadecimal (with an H’ before the number: e.g., H’02). Values without the H’, such as 00, are ASCII. The number underneath each delimiter in a frame indicates the number of bytes.
Command Frame
Table 2.1
STX This code (H’02) indicates the beginning of the communications frame
(text). Always set this character in the first byte. When STX is received again during reception, reception is carried out again from the point where STX was received.
Node number • This number specifies the transmission’s destination.
• Specify the 900-TCx’s communication unit number.
• A BCD value between 00 and 99 or an ASCII value of XX can be set.
• Specify XX for a broadcast transmission. No responses will be returned for broadcast transmissions.
• No responses will be returned from node numbers other than the ones in the above range.
Sub-address This is not used on the 900-TCx. Be sure to set the sub-address to 00. SID (service ID) This is not used on the 900-TCx. Be sure to set the Service ID to 00. Command text Command text area. Refer to Structure of Command Text on page 2-5 ETX This code (H’03) indicates the end of the text. BCC Block Check Character The BCC result is found by calculating the
exclusive OR of the bytes from the node number up to ETX.
2-1 Publication 900-UM004D-EN-E - July 2010
BCC Calculation Example
The BCC (Block Check Character) is determined by calculating the exclusive OR of the bytes from the node number up to ETX. The 8-bit result is written to the BCC byte at the end of the frame.
STX Node No. Sub-address SID Command Text ETX BCC
02H 0(30H) 0(30H) 0(30H) 0(30H) 0(30H) 0(30H) 5(35H) 0(30H) 3(33H) 03H 35H
BCC=30H⊕30H⊕30H⊕30H⊕30H⊕30H⊕35H⊕30H⊕33H⊕03H=35H
Calculation result 35H is set to the BCC area. The
symbol indicates exclusive OR operation and the H indicates hexidecimal code.
2-2 Bulletin 900 Communications Procedures 900-TCx (CompoWay/F)
Command Text BCC
ETX
1 1
222
End CodeSub-addressNode No.
STX
1
Response Frame
Table 2.2
End
Name Description Error
Code
00 Normal
The command ended normally without error. None
completion
0F FINS
command error
The specified FINS command could not be executed. The FINS response code should indicate why the command could not be executed.
10 Parity error The sum total of bits whose received data is 1 does
not match the set value of Communications Parity.
11 Framing
Stop bit is 0. 1
error
12 Overrun
error
An attempt was made to transfer new data when the reception data was already full.
13 BCC error The calculated BCC value is different from the
received BCC value.
14 Format error • The command text contains characters other than
0 to 9, and A to F. This error is not applicable to the echoback test. (For details, see Refer to Echoback Test on page 2-17)
• No SID and command text. Or, no command text
• MRC/SRC not included in command text
16 Sub-address
error
• Illegal (unsupported) sub-address
• No sub-address, SID and command text
• Sub-address less than two characters, and no SID and command text
Detection Priority
8
2
3
5
7
6
Publication 900-UM004D-EN-E - July 2010
18 Frame
length error
The received frame exceeds the fixed (supported) number of bytes.
• The end code is returned for each command frame that was addressed to the local node.
• No response will be returned unless the frame contained all elements up to the ETX and BCC.
• “Error Detection Priority” indicates the priority when two or more errors occur simultaneously.
4
Bulletin 900 Communications Procedures 900-TCx (CompoWay/F) 2-3
STX
Node No. Sub-address SID BCC
0 00ETX
BCC
ETX
End Code
410
Sub-address
0
Node No.
STX
Communications Data
Table 2.3 Communications Data
Communications Specifications
CompoWay/F (Bulletin 900-TCx)
Set (Monitor) Value
8 digits (Hex) 2's complement Decimal point is removed and
Minus Value Decimal Point
the result is converted to hexadecimal. Example: 105.0
Æ 1050 Æ H’000041A
Example of End Code
The following examples show an end code when a command did not end normally.

Example 1: Illegal sub-address, and no SID and command text

Command Format:
Node No. Sub-address BCC
STX 0 A ETX
Response Format:
BCC
STX
Node No.
Sub-address
A0
End Code
16
ETX
End code is "16" (sub-address error).
This is because a sub-address was received and the sub-address error has a higher error detection priority than the format error.

Example 2: No command text

Command Format:
Response Format:
End code is 14 (format error).
Publication 900-UM004D-EN-E - July 2010
2-4 Bulletin 900 Communications Procedures 900-TCx (CompoWay/F)
No response
BCC
ErrETXSTX
Node No.
BCC
ETX
End Code
13
Sub-address
00
Node No.
STX

Example 3: No node number provided

Command Format:
The node number is lacking one character.
Response Format:

Example 4: No sub-address, and illegal BCC

Command Format:
BCC
ETXSTX
Response Format:
Sub-address is 00 and end code is 13 (BCC error).
Publication 900-UM004D-EN-E - July 2010
Bulletin 900 Communications Procedures 900-TCx (CompoWay/F) 2-5
MRC SRC MRES SRES Data
MRC SRC MRES SRES
Structure of Command Text
PDU (Protocol Data Unit) Structure
An MRC (Main Request Code) and SRC (Sub-Request Code) followed by the various required data is transferred to the command text.
Service request PDU
MRC SRC Data
The MRES (Main Response Code) and SRES (Sub-Response Code) are transferred to the response frame following the above MRC/SRC. Data is then transferred following the MRES and SRES.
Service response PDU (during normal operation)
If the specified command text could not be executed, the service response PDU will contain only MRC/SRC and MRES/SRES.
Service response PDU (command text not executed)
MRES/SRES provides the response code. MRES/SRES are not output when processing ends in a normal operation.
Area Definitions
Areas comprise only the variable area.
Publication 900-UM004D-EN-E - July 2010
2-6 Bulletin 900 Communications Procedures 900-TCx (CompoWay/F)
MSB LSB
0000
Type Code (Variable Type)
The following defines variable area type codes.
Variable type (1 byte)
Access size Area Read/Write
11: Double-word 0: Setup area 0 0: Read only
10: Word 1 : Setup area 1 1 : Read/write
The following table summarizes setup areas 0 and 1.
Table 2.4
Area Description
Setup area 0
Setup area 1
This area groups together the Protect, Manual Control, Operation and Adjustment function groups.
This area groups together the Initial Setting, Communications Setting, Advanced Function Setting and Calibration function groups.
The variable type is converted to 2-byte ASCII code and loaded to the frame. The following table shows available variable types.
Table 2.5
Variable Type Description
CO/80 R/O (read only) parameter for setup area 0. C1/81 R/W parameter for setup area 0. C3/83 R/W parameter for setup area 1 .
Note: Setup area 1 has no R/O (read only) parameters. Therefore, variable type C2 does not exist.
Addresses
Each of the variable types is appended with an address. Express addresses in 2-byte hexadecimal code, and append for the specified access size.
Publication 900-UM004D-EN-E - July 2010
Bulletin 900 Communications Procedures 900-TCx (CompoWay/F) 2-7
Number of Elements
The number of elements is expressed in 2-byte hexadecimal code. The range that can be specified for the number of elements depends on the command. Refer to Detailed Description of Services on page 2-8.
List of Services
Table 2.6
MRC SRC Name of Service Process
01 01 Read from variable
area 01 02 Write to variable area This service writes to variable areas. 01 04 Composite Read from
Variable Area 01 13 Composite Write to
Variable Area
This service reads from variable areas.
This service reads from the variable area in the order specified by the parameters.
This service writes to the variable area in the order specified by the parameters.
05 03 Read Controller
Attributes 06 01 Read controller status This service reads the run status of the
08 01 Echoback test This service carries out the echoback test. 30 05 Operation instructions This service carries out run/stop,
This service reads the model number and communications buffer size.
controller.
communications writing, write mode, save RAM data, AT (auto-tuning) execution/cancel, multi-SP, move to protect function, move to setup area 1 and software reset.
Note: No commands will be accepted and no responses will be returned when a memory error (RAM error) has occurred or the controller is initializing (until the controller recognizes the process value after the power is turned ON).
Publication 900-UM004D-EN-E - July 2010
2-8 Bulletin 900 Communications Procedures 900-TCx (CompoWay/F)
Read Data
(for number of elements)
Response
Code
4
SRC
2
MRC
2
0101
Service Response PDU:
Service Request PDU:
MRC2SRC
22 2
0101
Variable
Type
Read Start
Address
4
Bit
Position
Number of
Elements
4
00
Number of elements X 8 or 4
Detailed Description of Services
Read from Variable Area
This service reads from variable areas.
• Variable Type and Read Start Address
For details on Variable Types and Read Start Addresses, refer to Chapter 3, Communications Data.
• Bit position
Bit accessing is not supported on the 900-TCx. It is fixed to 00.
• Number of elements
Table 2.7
Number of Elements Process
0000 The read operation is not performed (read data is
not appended to the service response PDU), and
processing ends in normal completion. Double word 0001…0019 (1…25) The read operation is carried out, and processing Word 0001…0032 (1…50)
ends in normal completion.
Publication 900-UM004D-EN-E - July 2010

Response code

ATTENTION
!
Normal Completion
Table 2.8
Bulletin 900 Communications Procedures 900-TCx (CompoWay/F) 2-9
Response Code
0000 Normal completion No errors were found.
Error Occurred
Table 2.9
Response Code
1001 Command too long The command is too long. 1002 Command too short The command is too short. 1101 Area type error The variable type is wrong. 1103 Start address out-of-range error The read start address is out of range. 110B Response too long The number of elements exceeds the
1100 Parameter error The bit position not 00. 2203 Operation error EEPROM error
Name Description
Error Name Cause
maximum/
Alarm function: Even though alarms are not displayed on the controller's display, they function normally in communications.
Publication 900-UM004D-EN-E - July 2010
2-10 Bulletin 900 Communications Procedures 900-TCx (CompoWay/F)
Write to Variable Area
This service writes to the controller’s variable areas.
Service Request PDU:
MRC SRC
002
1
2
Variable
Type
22
Write Start
Address
4
Bit
Position
00
2
Number of
Elements
4
Write Data
(for number of elements)
Number of elements x 8 or 4
Service Response PDU:
MRC SRC Response
0 012
22 4
Code
• Variable Type and Write Start address
For details on variable types and write start addresses, refer to Chapter 3, Communications Data.
• Bit position
Bit accessing is not supported on the 900-TCx controller. Fixed to 00.
• Number of elements
Table 2.10
Number of Elements Process
0000 The write operation is not performed (do not
append write data to the service request PDU)
and processing ends in normal completion. Double word 0001…0018 (1…24) The write operation is performed and processing Word 0001…0030 (1…48)
ends in a normal completion.
Publication 900-UM004D-EN-E - July 2010
Bulletin 900 Communications Procedures 900-TCx (CompoWay/F) 2-11
ATTENTION
!

Response code

Normal Completion
Table 2.11
Response Code Name Description
0000 Normal completion No errors were found.
Error Occurred
Table 2.12
Response Code Error name Cause
1002 Command too short The command is too short. 1101 Area type error Wrong variable type 1103 Start address
out-of-range error
1104 End address
out-of-range error
1003 Number of elements/
data mismatch
Write start address is out of range.
The write end address (write start address + number of elements) exceeds the final address of the variable area.
The number of data does not match the number of elements.
1100 Parameter error • Bit position is other than 00.
• Write data is out of range. 3003 Read-only data Variable type CO was written to. 2203 Operation error • The Communications Writing
parameter is set to OFF (disabled).
• Attempted to write to a parameter in
setup area 1 from setup area 0.
• Attempted to write to a protect
parameter from other than protect group.
• AT (auto-tuning) was in progress. See
note.
• EEPROM error.
Note: For details on AT (auto-tuning), see publication 900-UM007*.
Alarm function: Even though alarms are not displayed on the controller's display, they are all functional in communications.
Publication 900-UM004D-EN-E - July 2010
2-12 Bulletin 900 Communications Procedures 900-TCx (CompoWay/F)
MRC SRC
0104 00
22224
00
224
Variable type
Read address

Bit position

Variable type
Read address
Bit position
Variable type

Response code

Variable type
Read data
22
MRC
SRC
0104
4
Number of elements ×8 or 4
2
2
Read data
Number of elements ×8 or 4
Composite Read from Variable Area
This service reads in order the contents of specified addresses in the variable area.
Service Request PDU
Service Response PDU
Note: The read data is read together with the variable type in the order specified by the command.

Variable Type and Read Start Address

For details on variable types and read start addresses, Refer to Communications Data on page 2-3.
Bit Position
The 900-TCx controllers do not support bit access. Fixed to “00.”

Number of Read Data Items (Variable Type + Read Data)

Table 2.13
Read Data Length Number of Read Data Items
For double word 20 max. For word 25 max.
Response Code
Publication 900-UM004D-EN-E - July 2010
Normal completion
Bulletin 900 Communications Procedures 900-TCx (CompoWay/F) 2-13
Variable type
Write address
Variable type
Write data
22
MRC
SRC
0113
00
224
00
224
Write data
Write address

Bit position

Bit position
Number of elements ×8 or 4
Number of elements ×8 or 4
MRC SRC
0113
22 4
Response code
Table 2.14
Response Code Name Description
0000 Normal Completion No errors were found.
Error occurred
Table 2.15
Response Code Name Description
1002 Command too short The command is too short. 1101 Area type error The variable type is wrong.
110B Response too long
1100 Parameter error Bit position is not “00”. 2203 Operation error EEPROM error.
The number of elements exceeds the maximum.
Composite Write to Variable Area
This service reads in order the contents of specified addresses in the variable area.
Service Request PDU
Service Response PDU

Variable Type and Write Start Address

For details on variable types and read start addresses, Refer to Communications Data on page 2-3.
Bit Position
The 900-TCx controllers do not support bit access. Fixed to “00.”
Publication 900-UM004D-EN-E - July 2010
2-14 Bulletin 900 Communications Procedures 900-TCx (CompoWay/F)

Number of Write Data Items (Variable Type + Write Data)

Table 2.16
Read Data Length Number of Read Data Items
For double word 12 max. For word 17 max.

Response Code

Normal completion
Table 2.17
Response Code Name Description
0000 Normal Completion No errors were found.
Error occurred
Table 2.18
Response Code Name Description
1002 Command too short The command is too short. 1101 Area type error The variable type is wrong.
• Bit position is not “00”.
1100 Parameter error
3003 Read-only error
2203 Operation error
• The write data is out of the setting range.
Variable type “CO” was written to.
• The Communications Writing parameter is set to “OFF” (disabled).
• Attempted to write to a parameter in setup area 1 from setup area 0.
• Attempted to write to a protect parameter from other than the protect group.
• AT (auto-tuning) was in progress. See note.
• EEPROM error
Publication 900-UM004D-EN-E - July 2010
Note: For details on AT (auto-tuning), see publication 900-UM007*.
Loading...
+ 73 hidden pages