Room 1028, Office Building,
Beijing Capital Times Square,
No. 88 West Chang'an Road,
Beijing, 100031 China
Tel: (86)10-8391-3005/Fax: (86)10-8391-3688
K3HB Digital IndicatorsCommunications User's Manual Cat. No. N129-E1-03
Communications User's Manual
P
Procedures
tion, and Wiring
munications
DeviceNet
Communications
Performance
and Maintenance
tion for DeviceNet
Operating
Parts, Installa-
Remote I/O Com-
Explicit Message
Communications
Troubleshooting
Additional Informa-
Authorized Distributor:
Communications
BCD Output
BCD
Note: Specifications subject to change without notice.Cat. No. N129-E1-03
Printed in Japan
0305
Cat. No. N129-E1-03
Page 2
K3HB Digital Indicators
Communications User’s Manual
Revised March 2005
Page 3
iv
Page 4
Preface
OMRON products are manufactured for use according to proper procedures by a qualified operator
and only for the purposes described in this manual.
This manual describes the functions, performance, and application methods needed for optimum use
of the K3HB.
Please observe the following items when using the K3HB.
• This product is designed for use by qualified personnel with a knowledge of electrical systems.
• Read this manual carefully and make sure you understand it well to ensure that you are using the
K3HB correctly.
• Keep this manual in a safe location so that it is available for reference when required.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of
information.
Trademarks
Note Indicates information of particular interest for efficient and convenient opera-
tion of the product.
1,2,3...1. Indicates lists of one sort or another, such as procedures, checklists, etc.
• DeviceNet is a registered trademark of the Open DeviceNet Vendors Association, Inc.
• Other product names and company names that appear in this manual are the trademarks or registered trademarks of the respective companies.
OMRON, 2004
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or
by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of
OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without
notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility
for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in
this publication.
v
Page 5
Read and Understand this Manual
Please read and understand this manual before using the product. Please consult your OMRON
representative if you have any questions or comments.
Warranty and Limitations of Liability
WARRANTY
OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a
period of one year (or other period if specified) from date of sale by OMRON.
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS.
ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED
THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE.
OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.
LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES,
LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS,
WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT
LIABILITY.
In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which
liability is asserted.
IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS
REGARDING THE PRODUCTS UNLESS OMRON'S ANALYSIS CONFIRMS THAT THE PRODUCTS
WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO
CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
Application Considerations
SUITABILITY FOR USE
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the
combination of products in the customer's application or use of the products.
At the customer's request, OMRON will provide applicable third party certification documents identifying
ratings and limitations of use that apply to the products. This information by itself is not sufficient for a
complete determination of the suitability of the products in combination with the end product, machine,
system, or other application or use.
The following are some examples of applications for which particular attention must be given. This is not
intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses
listed may be suitable for the products.
• Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or
uses not described in this manual.
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical
equipment, amusement machines, vehicles, safety equipment, and installations subject to separate
industry or government regulations.
• Systems, machines, and equipment that could present a risk to life or property.
Please know and observe all prohibitions of use applicable to the products.
NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO
ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED
FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user's programming of a programmable product, or any
consequence thereof.
vi
Page 6
Disclaimers
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other
reasons.
It is our practice to change model numbers when published ratings or features are changed, or when
significant construction changes are made. However, some specifications of the products may be changed
without any notice. When in doubt, special model numbers may be assigned to fix or establish key
specifications for your application on your request. Please consult with your OMRON representative at any
time to confirm actual specifications of purchased products.
DIMENSIONS AND WEIGHTS
Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when
tolerances are shown.
PERFORMANCE DATA
Performance data given in this manual is provided as a guide for the user in determining suitability and does
not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must
correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and
Limitations of Liability.
ERRORS AND OMISSIONS
The information in this document has been carefully checked and is believed to be accurate; however, no
responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
vii
Page 7
Safety Precautions
■ Definition of Precautionary Information
The following notation is used in this manual to provide precautions required
to ensure safe usage of the product.
The safety precautions that are provided are extremely important to safety.
Always read and heed the information provided in all safety precautions.
The following notation is used.
Indicates a potentially hazardous situation which, if not
WARNING
CAUTION
■ Symbols
Symbol Meaning
avoided, will result in minor or moderate injury, or may
result in serious injury or death. Additionally there may
be significant property damage.
Indicates a potentially hazardous situation which, if not
avoided, may result in minor or moderate injury or in
property damage.
Caution
Prohibition
Mandatory
Caution
General Caution
Indicates non-specific general cautions, warnings,
and dangers.
Electrical Shock Caution
Indicates possibility of electric shock under specific
conditions.
General Prohibition
Indicates non-specific general prohibitions.
General Caution
Indicates non-specific general cautions, warnings,
and dangers.
viii
Page 8
■ Precautions
WARNING
Do not touch the terminals while power is being supplied. Doing
so may possibly result in electric shock. Make sure that the
terminal cover is installed before using the product.
Always provide protective circuits in the network. Without
protective circuits, malfunctions may possibly result in accidents
that cause serious injury or significant property damage.
Provide double or triple safety measures in external control
circuits, such as emergency stop circuits, interlock circuits, or limit
circuits, to ensure safety in the system if an abnormality occurs
due to malfunction of the product or another external factor
affecting the product's operation.
CAUTION
Do not allow pieces of metal, wire clippings, or fine metallic
shavings or filings from installation to enter the product. Doing so
may occasionally result in electric shock, fire, or malfunction.
Do not use the product in locations where flammable or explosive
gases are present. Doing so may occasionally result in minor or
moderate explosion, causing minor or moderate injury, or property
damage.
Do not attempt to disassemble, repair, or modify the product.
Doing so may occasionally result in minor or moderate injury due
to electric shock.
Do not use the equipment for measurements within Measurement
Categories III and IV for K3HB-X and II, III, and IV for K3HB-S,
K3HB-V, K3HB-H, K3HB-R, K3HB-P, and K3HB-C (according to
IEC61010-1). Doing so may occasionally cause unexpected
operation, resulting in minor or moderate injury, or damage to the
equipment. Use the equipment for measurements only within the
Measurement Category for which the product is designed.
Perform correct setting of the product according to the application.
Failure to do so may occasionally cause unexpected operation,
resulting in minor or moderate injury, or damage to the equipment.
Ensure safety in the event of product failure by taking safety
measures, such as installing a separate monitoring system.
Product failure may occasionally prevent operation of comparative
outputs, resulting in damage to the connected facilities and
equipment.
Tighten the screws on the terminal block and the connector
locking screws securely using a tightening torque within the
following ranges. Loose screws may occasionally cause fire,
resulting in minor or moderate injury, or damage to the equipment.
Terminal block screws: 0.43 to 0.58 N·m
Connector locking screws: 0.18 to 0.22 N·m
ix
Page 9
CAUTION
Make sure that the product will not be adversely affected if the
DeviceNet cycle time is lengthened as a result of changing the
program with online editing. Extending the cycle time may cause
unexpected operation, occasionally resulting in minor or moderate
injury, or damage to the equipment.
Before transferring programs to other nodes or changing I/O
memory of other nodes, check the nodes to confirm safety.
Changing the program or I/O memory of other nodes may
occasionally cause unexpected operation, resulting in minor or
moderate injury, or damage to the equipment.
x
Page 10
Precautions for Safe Use
(1) Do not use the product in the following locations.
• Locations subject to direct radiant heat from heating equipment
• Locations where the product may come into contact with water or oil
• Locations subject to direct sunlight
• Locations where dust or corrosive gases (in particular, sulfuric or ammonia gas)
are present
• Locations subject to extreme temperature changes
• Locations where icing or condensation may occur
• Locations subject to excessive shocks or vibration
(2) Do not use the product in locations subject to temperatures or humidity levels
outside the specified ranges or in locations prone to condensation. If the product
is installed in a panel, ensure that the temperature around the product (not the
temperature around the panel) does not go outside the specified range.
(3) Provide sufficient space around the product for heat dissipation.
(4) Use and store the product within the specified temperature and humidity ranges.
If several products are mounted side-by-side or arranged in a vertical line, the
heat dissipation will cause the internal temperature of the products to rise,
shortening the service life. If necessary, cool the products using a fan or other
cooling method.
(5) The service life of the output relays depends on the switching capacity and
switching conditions. Consider the actual application conditions and use the
product within the rated load and electrical service life. Using the product beyond
its service life may result in contact welding or burning.
(6) Install the product horizontally.
(7) Mount to a panel between 1 and 8-mm thick.
(8) Use the specified size of crimp terminals (M3, width: 5.8 mm max.) for wiring. To
connect bare wires, use AWG22 (cross section: 0.326 mm
section: 2.081 mm2) to wire the power supply terminals and AWG28 (cross
section: 0.081 mm
(Length of exposed wire: 6 to 8 mm)
(9) In order to prevent inductive noise, wire the lines connected to the product
separately from power lines carrying high voltages or currents. Do not wire in
parallel with or in the same cable as power lines. Other measures for reducing
noise include running lines along separate ducts and using shield lines.
(10) Ensure that the rated voltage is achieved no longer than 2 s after turning the
power ON.
(11) Allow the product to operate without load for at least 15 minutes after the power is
turned ON.
(12) Do not install the product near devices generating strong high-frequency waves
or surges. When using a noise filter, check the voltage and current and install it
as close to the product as possible.
2
) to AWG16 (cross section: 1.309 mm2) for other terminals.
2
) to AWG14 (cross
(13) Do not use thinner to clean the product. Use commercially available alcohol.
(14) Be sure to confirm the name and polarity for each terminal before wiring the
xi
Page 11
terminal block and connectors.
(15) Use the product within the noted supply voltage and rated load.
(16) Do not connect anything to unused terminals.
(17) Output turns OFF when the mode is changed or settings are initialized. Take this
into consideration when setting up the control system.
(18) Install an external switch or circuit breaker that complies with applicable
IEC60947-1 and IEC60947-3 requirements and label them clearly so that the
operator can quickly turn OFF the power.
(19) Use the specified cables for the communications lines and stay within the
specified DeviceNet communications distances. Refer to the User’s Manual (Cat.
No. N129) for information on communications distances and cables.
(20) Do not pull the DeviceNet communications cables with excessive force or bend
them past their natural bending radius.
(21) Do not connect or remove connectors while the DeviceNet power is being
supplied. Doing so will cause product failure or malfunction.
(22) Use cables with a heat resistance specification of 70ºC min.
xii
Page 12
EC Directives
•EMC Directives
Concepts
EMC Directives
OMRON devices that comply with EC Directives also conform to the related
EMC standards so that they can be more easily built into other devices or the
overall machine. The actual products have been checked for conformity to
EMC standards. Whether the products conform to the standards in the system
used by the customer, however, must be checked by the customer.
EMC-related performance of the OMRON devices that comply with EC Directives will vary depending on the configuration, wiring, and other conditions of
the equipment or control panel on which the OMRON devices are installed.
The customer must, therefore, perform the final check to confirm that devices
and the overall machine conform to EMC standards.
Conformance to EC Directives
The K3HB Digital Indicators comply with EC Directives. To ensure that the
machine or device in which the Unit is used complies with EC Directives, the
Unit must be installed as follows:
1,2,3...1. You must use reinforced insulation or double insulation for the DC power
supplies used for the communications power supply, internal power supply,
and I/O power supplies.
2. Units complying with EC Directives also conform to the Common Emission
Standard (EN61326). Radiated emission characteristics (10-m regulations) may vary depending on the configuration of the control panel used,
other devices connected to the control panel, wiring, and other conditions.
You must therefore confirm that the overall machine or equipment complies
with EC Directives.
The following example shows one means of reducing noise.
1,2,3...1. Noise from the communications cable can be reduced by installing a ferrite
core on the communications cable within 10 cm of the DeviceNet Master
Unit.
Ferrite Core (Data Line Filter): 0443-164151 (manufactured by Fair-Rite
Products Co., Ltd.)
Impedance specifications
25 MHz105 Ω
100 MHz190 Ω
2. Wire the control panel with as thick and short electric lines as possible and
ground to 100
Ω min.
3. Keep DeviceNet communications cables as short as possible and ground
to 100
Ω min.
xiii
Page 13
Complying with Safety Standards
For the DeviceNet power supply, always use a power supply with reinforced or
double insulation, that complies with EN/IEC standards.
Conformance to the standards is for indoor applications only.
xiv
Page 14
Related Manuals
The following manuals are also related to the K3HB Digital Indicator. Refer to these manuals when
using the K3HB.
K3HB Digital Indicators
Communications User's Manual
Describes the models, communications functions, specifications, and application methods of K3HB Digital Indicators with communications.
(This manual)
K3HB-S/-X/-V/-H Digital Indicators
User's Manual
Describes the models, functions, specifications, and application methods of K3HB-S/-X/-V/-H Digital Indicators.
Refer to this manual for information on specifications and functions other than DeviceNet.
K3HB-R/-P/-C Digital Indicators
User's Manual
Describes the models, functions, specifications, and application methods of K3HB-R/-P/-C Digital Indicators.
Refer to this manual for information on specifications and functions other than DeviceNet.
DeviceNet Operation Manual(W267)
Describes the configuration and connection forms for a DeviceNet network. Also describes connection methods
and specifications for devices used to connect to the network, such as cables and connectors, as well as methods for supplying communications power. When using DeviceNet, obtain this manual in advance and be sure you
understand its contents.
CVM1-DRM21-V1/C200HW-DRM21-V1
DeviceNet Master Units Operation Manual
Describes the specifications, functions, and application methods for the DeviceNet Master Units for CVM1/CVseries, C200HS, and C200HX/HG/HE PLCs.
SYSMAC CS/CJ Series
DeviceNet Units Operation Manual
Describes the specifications, functions, and application methods for the DeviceNet Units for CS/CJ-series PLCs.
(A CS/CJ-series DeviceNet Unit can function simultaneously as both a DeviceNet master and slave.)
(N128)
(N136)
(W379)
(W380)
DeviceNet Configurator Version 2
Operation Manual
Describes the application methods of the DeviceNet Configurator. The DeviceNet Configurator is used to build,
set, and manage DeviceNet networks on graphic displays. Refer to this manual as required.
This manual describes communications for the K3HB Digital Indicators and includes the sections
described below divided into two parts according to the type of communications.
Please read this manual carefully and be sure you understand the information provided before
attempting to setup or operate communications for a K3HB Digital Indicator.
Part 1: CompoWay/F
Section 1 describes CompoWay/F communications.
Section 2 provides a list of K3HB settings.
Part 2: DeviceNet
Section 1 introduces the features and specifications of K3HB-DRT Digital Indicators.
Section 2 outlines the basic operating procedures for the K3HB-DRT Digital Indicators.
Section 3 describes the methods used to install and wire K3HB-DRT Digital Indicators.
Section 4 describes the input (IN) areas and output (OUT) areas that K3HB-DRT Digital Indicators
can use for remote I/O communications. The methods to allocate data for master communications are
also described using sample programming.
Section 5 describes how to send explicit messages to the K3HB-DRT Digital Indicator, including how
to send CompoWay/F commands using explicit messages.
Section 6 provides information on the time required for a complete communications cycle, for an output response to be made to an input, to start the system, and to send messages.
Section 7 describes error processing, periodic maintenance operations, and troubleshooting procedures needed to keep the DeviceNet Network operating properly. Details on resetting replaced Digital
Indicators are also provided. Read through the error processing procedures in both this manual and
the operation manual for the DeviceNet master being used before operation so that operating errors
can be identified and corrected more quickly.
Section 8 provides DeviceNet specifications, tables of mounted objects, and tables of DeviceNet connection hardware.
Part 3: BCD Output
Section 1 describes BCD communications using K3HB Digital Indicators.
!WARNING Failure to read and understand the information provided in this manual may result in per-
sonal injury or death, damage to the product, or product failure. Please read each section
in its entirety and be sure you understand the information provided in the section and
related sections before attempting any of the procedures or operations given.
nications. Featuring a unified frame format and commands that are compliant
with FINS, which has a record of successful use with OMRON programmable
controllers, CompoWay/F makes communications easy between multiple
components and a computer.
FINS (Factory Interface Network Service)
This is a protocol for message communications between controllers on an
OMRON factory automation network.
SupplementThe communications function is used by creating a program on the host com-
puter. As such, the explanations in this chapter are from the perspective of the
host computer.
For example, “Read/Write” refers to the host computer reading or writing to
the K3HB.
1-1-2Communications Specifications
Transfer connection:Multi-point
Communications method: RS-485 or RS-232C (half duplex)
Synchronization method: Start-stop
Baud rate:9.6k, 19.2k, 38.4k bit/s
Send code:ASCII
Data length:7 or 8 bits
Stop bit length:1 or 2 bits
Error detection:Vertical parity (none, even, or odd)
BCC (Block Check Character)
Start-stop synchronized data configuration
Flow control:None
Interface:RS-485 or RS-232C
Retry function:None
CompoWay/F is OMRON's unified protocol for general purpose serial commu-
The host computer sends a command frame, and the K3HB sends a response
frame based on the content of the command frame. One response frame is
sent in response to one command frame.
Host computer
1-2
K3HB
Command
frame
frame
Response
Command
frame
frame
Response
Page 24
Communications MethodSection 1-1
The exchange between the command frame and response frame is explained
below.
After a receiving a response from the Digital Indicator, have the host computer
wait at least 50 ms before sending the next command.
When writing multiple sets of setting data in a row, such as when writing to the
variable area or performing a compound write, controllability may be affected.
Pay attention to the following points:
1-1-4Cable Connections
RS-485
Command
Maximum of 3 sets of
setting data can be written
Response
Command
50 ms or higher
B
Communications
CompoWay/F
ABCDE
11
2
3
RS-485
RS-485
4
5
6
• Use terminals B1 through B4 to communicate with the host. The terminal
layout is designed for cross-over wiring and thus the B1-B3 and B2-B4
terminals are connected internally.
• Wiring is configured either 1:1 or 1:N. A maximum of 32 Units, including
the host computer can be connected with a 1:N configuration.
• The maximum total cable length is 500 m.
• Use shielded, twisted-pair wires of at least AWG28 to AWG16 for all
cables.
Cable Diagram (Reference)
B (+)
2
3
4
A (−)
B (+)
A (−)
RS-
485
5
6
At least AWG28
Conductor cross-sectional area:
0.081 mm
2
min.
• Attach a terminator to each end of the transmission path, including the
host computer. Use a 100- to 125-
Ω (1/2 W) resistor for the terminator.
• Use an RS-232C/RS-485 Converter to connect RS-232C devices, such
as personal computers.
1-3
Page 25
Communications MethodSection 1-1
Converter Example: RS-232C/RS-485 Converter
K32-23209
Adapter
CompoWay/F
Communications
RS-232C
D-sub, 9-pin
(Straight)
K3SC-10
RS-232C/RS485
Converter
+
-
100- to 125-Ω
Terminator
(1/2 W)
RS-232C
B1 or B3
B2 or B4
(B)
(A)
K3HB
(No. 0)
B1 or B3
B2 or B4
(B)
(A)
K3HB
(No. 1)
B1 or B3
B2 or B4
(B)
(A)
K3-HB
(No. 31)
ABCDE
11
22
33
44
55
RS-232C
B
SD
RDRS-232C
SG
66
• Use terminals B1 through B3 to communicate with the host.
• Wiring is configured 1:1.
• The maximum cable length is 15 m. Use OMRON’s Z3RN RS-232C Optical Interface to extend the wiring path.
• Use shielded, twisted-pair wires of at least AWG28 to AWG16 for all
cables. (Same wire used for RS-485 cable.)
100- to 125-Ω
Terminator
(1/2 W)
1-4
Host computer
RS-232C
9-pin
25-pin
---FG
1
3SD
2
2RD
3
7RS
4
8CS
5
6DR
6
4ER
20
5SG
7
K3HB
RS-232C
No.
1SD
2RD
3SG
Shield
Page 26
Frames (CompoWay/F Communications)Section 1-2
1-2Frames (CompoWay/F Communications)
Based on CompoWay/F protocol, commands from the host computer and
responses from the K3HB take the form of frames.
The data comprising command frames and response frames are explained
below.
In the following explanation, an “H” following a numeric value (for example
02H) indicates that the value is a hexadecimal number. A number or letters
enclosed in quotation marks (for example “00”) is an ASCII character.
1-2-1Command Frame
Sub-
Node
address
No.
02H"00""0"
1
BCC calculation range
STXCode that indicates the beginning of the communications
Node No.This number specifies the destination.
Sub-addressNot used on the K3HB. Be sure to set to “00”.
SID (Service ID)Not used on the K3HB. Be sure to set to “0”.
FINS-mini
Command text
ETXCode that indicates the end of the text (03H).
BCCBlock Check Character.
FINS-mini
SIDSTX
command text
ETX1BCC
03H
1 byte221
frame (02H).
Be sure to set this code in the leading byte.
Specify the Unit No. of the K3HB.
When broadcasting to all units, specify “XX”. Responses are
not sent to a broadcast.
The text of the command.
This stores the result of the BCC calculation from Node No. to
EXT.
SupplementA response is not sent to command frames that do not end with ETX.BCC
characters.
STXCode that indicates the beginning of the communications
Node No.The number that was specified in the command frame is
Sub-addressNot used on the K3HB. Set to “00”.
FINS-mini
response text
ETX1BCC
03H
1 byte222
frame (02H).
Be sure to set this code in the leading byte.
repeated here.
This is the Unit No. of the responding K3HB.
1-5
Page 27
FINS-mini TextSection 1-3
End codeReturns the result of the command executed as instructed by
the command frame.
FINS-mini
Text of the response
Response text
CompoWay/F
Communications
ETXCode that indicates the end of the text (03H)
BCCBlock Check Character
Stores the result of the BCC calculation from Node No. to
EXT.
End Codes (CompoWay/F Communications)
End codeNameDescriptionError detection
order of
priority
“0F”FINS command errorCould not execute the specified FINS command8
“10”Parity errorSum of bits that are “1” in received data does not agree with
the set communications parity value.
“11”Framing errorStop bit of command frame characters is “0”.1
“12”Overrun errorAttempted to transfer new data because received data buffer
is already full.
“13”BCC errorCalculated BCC different from received BCC.5
“14”Format errorCharacters other than “0” to “9” or “A” to “F” in FINS-mini com-
mand text. In the case of an echo-back test, when data other
than the test data is sent.
No SID and FINS-mini command text, or no FINS-mini com-
mand text.
“MRC/SRC” not correct in FINS-mini command text.
“16”Sub-address errorNo sub-address, SID, or FINS-mini command text; or sub-
address less than 2 characters and no SID and FINS-mini
command text.
“18”Frame length errorThe received frame exceeds the required number of bytes.4
“00”Normal endCommand was executed normally without error.None
2
3
7
6
1-3FINS-mini Text
The FINS-mini command text and FINS-mini response text form the body of
command/response communications.
FINS-mini command text and FINS-mini response text are configured as follows.
Command TextFINS-mini command text consists of an MRC (main request code) and an
SRC (sub request code), followed by the required data.
Node
Sub-
No.
address
02H"00" "0"03H
SRC
MRC
2 bytes
2
SIDSTX
command text
FINS-mini
Data
ETX BCC
1-6
Page 28
FINS-mini TextSection 1-3
Response textFINS-mini response text consists of the MRC and SRC, followed by an MRES
(main response code) and SRES (sub response code), and then the required
data.
Node
Sub-
No.
STX
02H"00"03H
MRC2SRC2MRES
address
2
SRES
2 bytes
FINS-mini
Response textEnd code
ETX BCC
Data
If the specified FINS-mini command was not successfully executed, the
response will only contain the MRC, SRC, MRES and SRES.
List of FINS-mini Service Commands (CompoWay/F Communications)
MRCSRCService nameDescription
“01”“01”Monitor value/setting data readReads monitor values/setting
data.
“01”“02”Monitor value/setting data writeWrites monitor values/setting
“01”“04”Monitor value/setting data com-
pound read
“01”“13”Monitor value/setting data com-
pound write
“01”“10”Monitor value/setting data com-
pound stored read
“01”“11”Monitor value/setting data com-
pound read store (write)
“01”“12”Monitor value/setting data com-
pound read store check (read)
“05”“03”Machine attribute readReads the model and other
“06”“01”Controller status readReads the operation status.
“08”“01”Echo-back testPerforms an echo-back test.
“30”“05”Operation commandCommands such as Run/Stop,
data.
Performs multiple reads of moni-
tor values/setting data.
Performs multiple writes of mon-
itor values/setting data.
Sequentially reads contents of
addresses specified in “monitor
value/setting data compound
read store.”
Specifies addresses to be read
using “monitor value/setting data
compound stored read.”
Reads the contents stored using
“variable area compound read
store.”
attributes.
AT Execute/Cancel, and “Move
to setting area 1".
Communications
CompoWay/F
1-7
Page 29
Variable AreasSection 1-4
1-4Variable Areas
The area used for data exchange when communicating with the K3HB is
called the “variable area.” The PV is read and various setting data are read
CompoWay/F
Communications
Variable TypesVariable types in variable areas are as follows:
and written using the variable area of the K3HB.
Operation commands and reading of machine attributes do not use the vari-
able area.
K3HB
Operation
commands, etc.
Read/write
Microprocessor
Variable area
A variable area is accessed by specifying the position of a variable within the
variable area using the variable type and address.
Variable typeDescriptionArea
C0Read-only parametersSetting area 0
C1Protect level
C2RUN level
C4Initial setting levelSetting area 1
C5Input adjustment level
C6Display adjustment level
C7Scaling level
C8Comparative set value level
C9Linear output level
CACommunications setting level
CBAdvanced function setting level
(during operation)
(during stop)
Addresses (CompoWay/F
Communications)
Each variable type has an address. Addresses are 2 bytes long and written in
hexadecimal. Addresses are assigned according to units of access size.
Address (2 bytes)
000000##0A6A5A4A3A2A1A
0
For more information on addresses, refer to List of Settings on page 2-1.
Number of ElementsThe number of elements is expressed as a 2-byte hexadecimal number. The
specification range for the number of elements varies depending on the command. See 1-9 Commands and Responses (CompoWay/F Communications)
(page 1-13) for more information.
For example, if the number of elements is 0010, the first 16 elements of data
(H'10) from the address are specified.
Set ValuesValues read and written to the variable area are expressed in hexadecimal
and disregard the decimal point position (negative values are expressed as a
two's complement).
Example: D'105.0
→ H'0000041A
The variable is an 8-digit number in hexadecimal. Negative values are expressed as a two's complement. The decimal is disregarded.
1-8
Page 30
Reading the Variable AreaSection 1-5
For example, if the PV of the K3HB is 105.0, it will be read as H'0000041A
(105.0
→ 1050 → H'0000041A).
1-5Reading the Variable Area
The data area is read by setting the required data in the following FINS-mini
command text format.
CommandFINS-mini Command Text
MRCSRC
"01""01""00"
Variable
type
Data nameExplanation
MRC/SRCSpecifies the FINS-mini monitor value/setting data read
Variable typeSpecify a variable type.
First address of readSpecify the address for the beginning of the read.
Bit positionNot used on the K3HB. Specify “00”.
Number of elementsSpecifies the number of variables to read (max. of 25
ResponseFINS-mini Response Text
Response code
SRC
MRC
"01""01"
224Number of elements × 8 bytes
(MRES/SRES)
Read start
address
command.
(H'19)). Not needed for a compound read.
Bit
position
Number of elements
"0001" to "0019"
24222
Data to be read
(for compound read, number of elements × 10 bytes)
4
Communications
CompoWay/F
Data nameExplanation
MRC/SRCThe FINS-mini command text appears here.
Response codeResult of execution of the command.
Read dataValues for variables that were read.
Response Codes
Response
code
“1001”Command length too
“1002”Command length too
“1101”Area type errorIncorrect variable type.
“110B”Response length too long Number of elements > 25 (H'0019).
“1100”Parameter errorSpecified bit position is other than “00”.
“2203”Operation errorUnit error, unit change, display unit error,
“0000”Normal end
Error nameExplanation
The command is too long.
long
The command is too short.
short
internal non-volatile memory error
1-9
Page 31
Writing to the Variable AreaSection 1-6
1-6Writing to the Variable Area
Write to the data area by setting the required data in the following FINS-mini
command text format.
CompoWay/F
Communications
CommandFINS-mini Command Text
Variable
SRCMRC
type
"01""02""00"
Starting
address
of write
Bit
position
24222
Number of
elements
"0001" to "0018"
4
Write data
Data nameExplanation
MRC/SRCSpecifies the FINS-mini monitor value/setting data write
command.
Variable typeSpecify a variable type.
First address of writeSpecify the address for the beginning of the write.
Bit positionNot used on the K3HB. Specify “00”.
Number of elementsSpecifies the number of variables to be written (max. of
24 (H'18)). Not needed for a compound write.
Write dataEnter data to be written.
ResponseFINS-mini Response Text
Response code
SRCMRC
(MRES/SRES)
"01""02"
224
Data nameExplanation
MRC/SRCFINS-mini command text appears here.
Response codeResult of execution of the command.
Response Codes
Response
code
“1002”Command length too
“1101”Area type errorIncorrect variable type.
“1003”Number of elements/Data
“1100”Parameter errorBit position specification other than “00”.
“2203”Operation errorWrite via communications is disabled.
“0000”Normal end
Error nameExplanation
The command is too short.
short
The specified number of elements does not
number do not agree
agree with the actual number of data elements.
Written data was outside of setting range.
Write to setting area 1 was attempted from
setting area 0.
Write to setting data of protect level was
attempted from other than protect level.
Calibration level in progress.
Unit error, unit change, display unit error,
Operation commands are sent using the following FINS-mini command text
format.
CommandFINS-mini Command Text
Instruction
SRCMRC
code
"30""05"
2222
Data nameExplanation
MRC/SRCSpecify the FINS-mini operation command.
Operation codeSpecify an operation code.
Related informationSpecify information related to the command.
Operation commands for the K3HB are shown in the following table.
Operation codeDescriptionRelated information
00Write via communications00: OFF (Disabled)
01Reset00
02Bank selection00 to 07: Bank 0 to 7
03Zero execute/cancel00: Zero cancel
06
07Move to setting area 100
08Move to protect level00
0BInitialize settings00
Related
information
Software reset
01: ON (Enabled)
01: Zero execute
00
Communications
CompoWay/F
NoteA software reset will not respond (no service PDU response).
ResponseFINS-mini Response Text
Response code
SRCMRC
(MRES/SRES)
"30""05"
224
Data nameExplanation
MRC/SRCFINS-mini command text appears here.
Response codeResult of execution of the command.
Response Codes
Response
code
“1001”Command length too
“1002”Command length too
“1100”Parameter errorOperation code or related information is not
Error nameExplanation
long
short
The command is too long.
The command is too short.
correct.
1-11
Page 33
Setting AreasSection 1-8
Response
code
“2203”Operation errorUnable to execute because write via com-
CompoWay/F
Communications
“0000”Normal end
Error nameExplanation
munications is disabled.
Unable to execute operation command. For
more information, see corresponding operation command explanation in 1-9 Com-
mands and Responses (CompoWay/F
Communications).
Unit error, unit change, display unit error,
internal non-volatile memory error
1-8Setting Areas
The K3HB has two setting areas for communications: Setting area 0 and setting area 1.
In setting area 0, control continues.
As such, setting area 0 makes it possible to perform operations that require
control to be in progress, such as reading the PV, writing an SP, and run/stop,
as well as operations that do not interfere with control. On the other hand,
operations that may change control such as writing initial setting data cannot
be performed. (Note that setting data that cannot be written can still be read.)
In setting area 1, control is stopped.
This makes it possible to perform operations such as writing initial setting data
which are not possible in setting area 0.
When the power is turned on, setting area 0 is selected. To access setting
area 1, use the “Move to setting area 1” operation command. To return to setting area 0 from setting area 1, turn off the power or use the “Software reset”
operation command.
Power on
Setting area 0
Control in progress
Variable typeDescriptionArea
C0Read-only parametersSetting area 0 (during control)
C1Protect level
C2RUN level
C4Initial setting levelSetting area 1 (during stop)
C5Input adjustment level
C6Display adjustment level
C7Scaling level
C8Comparative set value level
C9Linear output level
CACommunications setting level
CBAdvanced function setting
level
"Software reset" command
"Move to setting
area 1" command
Setting area 1
Control stop
1-12
Page 34
Commands and Responses (CompoWay/F Communications)Section 1-9
1-9Commands and Responses (CompoWay/F
Communications)
The K3HB provides a set of applied commands that make use of variable area
read/write commands, operation commands, and other services provided by
the CompoWay/F communications protocol.
K3HB applied commands are explained below.
1-9-1Monitor Value Read (CompoWay/F Communications)
Command
MRCSRC
"01""01""0001""00"
Variable
type
Address
Variable typeAddressMonitor value (data name)
“C0”“0000”Version
“0001”Status
“0002”Measurement value
“0003”Maximum value
“0004”Minimum value
This command is used to read the PV, status, and other monitor values. The
number of elements can be set from 0002 to 0019 to allow reading of monitor
values in contiguous addresses.
Bit
position
Number of
elements
Communications
CompoWay/F
Response
MRCSRC Response code
"01""01""0000"Monitor value
Data
Response codes: The above indicates a normal end. For the response codes,
see 1-5 Reading the Variable Area (page 1-9).
1-9-2Setting Data Read (CompoWay/F Communications)
Command
MRCSRC
"01""01""00"
Variable
type
Address
Variable typeAddressSetting data (explanation)
“C1”
“0000” to “0004”Setting data of setting area 0
“C2”
“0000” to “0027”Setting data of setting area 1
“C4”
“C5”
“C6”
“C7”
“C8”
“C9”
“CA”
“CB”
This command is used to read setting data. The number of elements can be
set from 0002 to 0019 to allow successive reading of 2 to 25 items of setting
data in contiguous addresses.
1-13
Page 35
Commands and Responses (CompoWay/F Communications)Section 1-9
To specify the variable type or address, see SECTION 2 List of Settings
(page 2-1). The upper limit of an address will vary depending on the variable
type.
This command can be used in both setting area 0 and setting area 1.
CompoWay/F
Communications
Response
MRCSRC
"01""01"
Response code
"0000"
Data
Setting data
Response codes: The above indicates a normal end. For the response codes,
see 1-5 Reading the Variable Area (page 1-9).
1-9-3Monitor Value/Setting Data Compound Read (CompoWay/F
Communications)
Command
MRCSRC
"01""04""00"
Variable
type
Bit positionAddress
Variable typeAddressSetting data (explanation)
“C0”“0000” to “0004”Monitor values
“C1” to “C2”“0000” to “0004”Setting data of setting area 0
“C4” to “CB”“0000” to “0027”Setting data of setting area 1
Multiple monitor values or setting data can be read by sending a single command. Up to 20 items can be read even if the addresses are not contiguous.
To specify the variable type or address, see SECTION 2 List of Settings
(page 2-1). The upper limit of an address will vary depending on the variable
type.
This command can be used in both setting area 0 and setting area 1.
If an area type error or a setting data error occurs in any of the data being
read, no data will be read.
Variable
type
Address
AddressVariable type
Bit position
"00"
Bit position
"00"
Response
1-14
Variable
MRCSRC Response codeData
"01""04""0000"
type
Type
Monitor value / Setting data
Variable typeData
TypeMonitor value / Setting data
Response codes: The above indicates a normal end. For the response codes,
see 1-5 Reading the Variable Area (page 1-9).
Page 36
Commands and Responses (CompoWay/F Communications)Section 1-9
Commands and Responses (CompoWay/F Communications)Section 1-9
Response
SRCMRC
Response code
"01""02""0000"
Response codes: The above indicates a normal end. For the response codes,
CompoWay/F
Communications
see 1-6 Writing to the Variable Area (page 1-10).
1-9-6Setting Data Compound Write (CompoWay/F Communications)
Command
Variable
type
"01""13""00"
AddressMRCSRC
Bit position
Data
Setting data
AddressVariable type
Bit position
"00"
Data
Setting data
Variable typeAddressSetting data (explanation)
“C1” to “C2”“0000” to “0004”Setting data of setting area 0
“C4” to “CB”“0000” to “0027”Setting data of setting area 1
Multiple setting data items can be written by sending a single command. Up to
12 items can be written even if the addresses are not contiguous.
To specify the variable type or address, see SECTION 2 List of Settings
(page 2-1).
Setting data of setting area 1 is written in setting area 1. An error will result if
written in setting area 0.
To use this command, “Write via communications” must be enabled using the
“Write via communications” operation command.
Response
SRCMRC
Response code
"01""13""0000"
Response codes: The above indicates a normal end. For the response codes,
see 1-6 Writing to the Variable Area (page 1-10).
1-9-7Monitor Value/Setting Data Compound Read Store (Write)
Command
1-16
Variable
"01""11""00"
type
Read address
Bit position
Variable
type
Variable
type
Read addressMRCSRC
Read address
Bit position
"00"
Bit position
"00"
Variable typeAddressSetting data (explanation)
“C0”“0000” to “0004”Monitor values
“C1” to “C2”“0000” to “0004”Setting data of setting area 0
“C4” to “CB”“0000” to “0027”Setting data of setting area 1
This command is used to store the addresses of multiple monitor values or
setting data that you wish to read.
The stored monitor values or setting data can be read by sending a single
“Monitor value/setting data compound store read” command. Up to 20 items
can be stored, even if the addresses are not continuous.
Page 38
Commands and Responses (CompoWay/F Communications)Section 1-9
To specify the variable type or address, see SECTION 2 List of Settings
(page 2-1). The upper limit of an address will vary depending on the variable
type.
This command can be used in both setting area 0 and setting area 1.
Response
SRCMRC
Response code
"01""11""0000"
Response codes: The above indicates a normal end. For the response codes,
see 1-5 Reading the Variable Area (page 1-9).
1-9-8Monitor Value/Setting Data Compound Read Store Check (Read)
Command
SRCMRC
"01""12"
This is used to check the contents that were stored using “Monitor value/setting data compound read store.”
Response
Variable
Response code
"01""12""0000"
type
Type
Variable
type
Type
Read addressMRCSRC
Read address
Bit position
"00"
Communications
CompoWay/F
Response codes: The above indicates a normal end. For the response codes,
see 1-5 Reading the Variable Area (page 1-9).
1-9-9Monitor Value/Setting Data Compound Store Read
Command
SRCMRC
"01""10"
This is used to read by a single command the multiple monitor values or setting data items that were stored using “Monitor value/setting data compound
read store (write).”
This command can be used in both setting area 0 and setting area 1.
If an area type error or a setting data error occurs in any of the data being
read, no data will be read.
Response
Variable
MRCSRC
"01""10""0000"
Response code
Response codes: The above indicates a normal end. For the response codes,
see 1-5 Reading the Variable Area (page 1-9).
type
Type
Variable type
Type
Data
Monitor value / Setting data
Data
Monitor value / Setting data
1-17
Page 39
Commands and Responses (CompoWay/F Communications)Section 1-9
1-9-10 Write via Communications
Command
Command
SRC
MRC
CompoWay/F
Communications
"30""05"
Related informationDescription
“00”Write via communications disabled
“01”Write via communications enabled
This command is used to enable or disable “Write via communications.” When
sent, it changes the set value of “Write via communications.”
When write via communications is disabled, communications cannot be used
to write setting data or send operation commands.
The initial setting is “disabled.”
This command can be used in both setting area 0 and setting area 1.
Response
SRCMRC
"30""05""0000"
Response codes: The above indicates a normal end. For the response codes,
see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11).
Related
information
code
"00"
Response code
1-9-11 Reset
Command
Response
1-9-12 Bank Selection
Command
code
"01"
Related
information
SRC
MRC
"30""05"
Command
Related informationDescription
“00”Reset
This command resets the system to no-measurement status. It can only be
used in setting area 0.
SRCMRC
Response code
"30""05""0000"
Response codes: The above indicates a normal end. For the response codes,
see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11).
Command
SRC
MRC
"30""05"
Related informationBank No. selected
“00” to “07”0 to 7
code
"02"
Related
information
1-18
This command can be used only when “Bank Selection” is set to “Key.”
This command is used to change between comparative set values preset in
banks. There are 8 banks numbered 0 to 7.
This command can be used in both setting area 0 and setting area 1.
Page 40
Commands and Responses (CompoWay/F Communications)Section 1-9
Response
"30""05""0000"
Response codes: The above indicates a normal end. For the response codes,
see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11).
1-9-13 Zero Execute/Cancel
Command
MRC
"30""05"
Related informationDescription
“00”Zero cancel
“01”Zero execute
This command is used to execute/cancel the forced zero and tare zero functions. The results of the command will depend on the status of the tare zero
setting, as shown below.
Tare
zero
OFFForced zero ONForced zero ONForced zero OFF Forced zero OFF
ONForced zero ONTare zero ONTare zero OFFForced zero OFF
SRCMRC
Response code
SRC
Command
code
"03"
Related
information
Commands executed in order left to right.
Zero executeZero executeZero cancelZero cancel
Communications
CompoWay/F
Response
1-9-14 Software Reset
Command
This command can be used only in setting area 0. An operation error will
occur in the following situations.
• When there is no-measurement status, there is an input error, or a measurement is outside the display range (but zero cancel is possible.)
• When a RESET or HOLD input is ON
• When the command is used in setting area 1
SRCMRC
Response code
"30""05""0000"
Response codes: The above indicates a normal end. For the response codes,
see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11).
SRC
MRC
"30""05"
Command
code
information
"06""00"
Related
A software reset causes the same operation as turning the power off and on.
This command can be used in both setting area 0 and setting area 1.
To use this command, “Write via communications” must be enabled using the
“Write via communications” operation command.
Response(No response)
A response is not returned to this operation command.
1-19
Page 41
Commands and Responses (CompoWay/F Communications)Section 1-9
1-9-15 Move to Setting Area 1
Command
Command
SRC
MRC
CompoWay/F
Communications
"30""05"
code
information
"07""00"
Related
Use this command to move to setting area 1.
The command is used in setting area 0. Nothing happens if the command is
used in setting area 1.
If the command is used when “Initial setting protect” is set to 2 (Disable move
to input initial setting level), an operation error will result.
To use this command, “Write via communications” must be enabled using the
“Write via communications” operation command.
Response
SRCMRC
Response code
"30""05""0000"
Response codes: The above indicates a normal end. For the response codes,
see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11).
1-9-16 Move to Protect Level
Command
MRC
"30""05"
Use this command to move to protect level.
This command is used in setting area 0. If used in setting area 1, an operation
error will result.
To use this command, “Write via communications” must be enabled using the
“Write via communications” operation command.
Response
"30""05""0000"
Response codes: The above indicates a normal end. For the response codes,
see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11).
1-9-17 Initialize Settings
Command
MRC
"30""05"
This returns all settings to the initial settings.
This command is used in setting area 1. If used in setting area 0, an operation
error will result.
To use this command, “Write via communications” must be enabled using the
“Write via communications” operation command.
SRC
SRCMRC
SRC
Command
code
information
"08""00"
Response code
Command
code
information
"0B""00"
Related
Related
1-20
Page 42
Commands and Responses (CompoWay/F Communications)Section 1-9
Response
SRCMRC
"30""05""0000"
Response codes: The above indicates a normal end. For the response codes,
see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11).
1-9-18 Read Machine Attributes
Command
SRCMRC
"05""03"
This command reads the K3HB model and communications buffer size.
The command can be used in any state of the K3HB.
Response
"05""03""0000""00D9"
Response codes: The above indicates a normal end. For the response codes,
see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11).
1-9-19 Controller Status Read (CompoWay/F Communications)
Command
SRCMRC
"06""01"
This command reads the operation state of the K3HB.
The command can be used in any state of the K3HB.
Response
MRCSRC Response code
"06""01""0000"
Operation
state
Related information
1-21
Page 43
Commands and Responses (CompoWay/F Communications)Section 1-9
Response codes: The above indicates a normal end. For the response codes,
see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11).
Operation State
Operation stateDescription
CompoWay/F
Communications
NoteMeasurements outside the display range and no-measurement status do not
00Operating (no errors in setting area 0, see note)
01Stopped (all other situations)
generate errors and thus may be possible even for an operation state of 00.
Related Information
Bit positionStatus
7Not used
6Not used
5Not used
4Not used
3Input error BPresent value
2Input error A
1Measurement outside the dis-
play range
0No-measurement status
Note(1) The bit will be ON (1) or when an error occurs and otherwise will be OFF
1-9-20 Echo Back Test
Command
This command is used to perform an echo back test.
The command can be used in any state of the K3HB.
Keep the test data within the following ranges depending on the communica-
tions data length.
Response
Response codes: The above indicates a normal end. For the response codes,
see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11).
(0).
(2) Information is in the same order as status information.
SRC
MRC
"08""01"0 to 200 bytes
Communications data
7 bitsASCII code H'20 to H'7E
8 bitsASCII code H'20 to H'7E or H'A1 to H'FE
MRC
"08""01""0000"0 to 200 bytes
length
SRC
Test data
Description
Test dataResponse code
1-22
Page 44
Program ExampleSection 1-10
1-10Program Example
N88BasicThis program displays the response from the K3HB on the screen when com-
mand data is entered from the keyboard.
Command data from the unit number to the number of elements must be
Note The output status turns ON and OFF whether or not an Output Unit is mounted. The output status is
undefined if there is no output terminal when Unit 3 outputs a two-relay comparative output pattern. If
the output is a two-relay plus one-relay comparative output pattern, LL turns ON when PASS turns ON
(output and display colors are not changed in communications status). A 5-output judgement is performed internally regardless of the number of output points. The LL output is always ON in the above
configuration so the PASS output does not turn ON. To avoid this situation, the HH/LL status is ignored
when Unit 3 uses a two-relay output pattern. The PASS judgement is performed with just H and L for
operations like that described.
2-2
Page 48
List of SettingsSection 2
Communications Monitoring Settings
Var iabl e
C00000Version------------------
Note The values beginning with H’ in the Monitor/Setting range column are used when setting or monitoring
Note (1) The values beginning with H’ in the Monitor/Setting range column are used when setting or monitoring
data via communications.
(2) If the event connector is provided as a standard feature or an event connector is added, use EV for
the “bank selection” setting.
2-10
Page 56
List of SettingsSection 2
K3HB-R/P
Communications Monitoring Settings
Var iab le
type
C00000
NoteThe values beginning with H' in the Monitor/Setting range column are used when setting or monitor-
Protect Level
Var iab le
type
C10000RUN/adjustment
AddressParameter
0001
0002
0003
0004
name
Version------------------
Status------------------
Measurement
value
Max. value---Same as above------------
Min. value---Same as above------------
Charac-
ter
---H’FFFFB1E1 to H’0001869F: −19999 to 99999
(Time limit is OFF. Lower limit of P is 0.)
H’00000000 to H’0001869F: 0 to 99999 (Time unit is
min.)
H’00000000 to H’000176D7: 0.00.00 to 9.59.59
(Time unit is hr:min:s.)
H’00000000 to H’0001850F: 00.00.0 to 99.59.9
(Time unit is min:s:ms.)
Monitor/Setting rangeCharacterDefault
setting
------------
Decimal pointUnit
ing data via communications.
AddressParameter
0001Setting level
0002Setting change
0003Max/Min protectmmptH’00000000 to H’00000002: (0 to 2)0 to 20------
name
protect
protect
protect
Charac-
ter
run.ptH’00000000 to H’00000002: (0 to 2)0 to 20------
set.ptH’00000000 to H’00000002: (0 to 2)0 to 21------
wt.ptH’00000000: OFF (0)
H’00000001: ON (1)
Monitor/Setting rangeCharacterDefault
off, onoff------
setting
Decimal pointUnit
Settings
List of
NoteThe values beginning with H' in the Monitor/Setting range column are used when setting or monitor-
ing data via communications.
RUN Level
Var iab le
type
C20000
AddressParameter
0001Measurement
0002Measurement
0003Measurement
name
Measurement
value/comparative
set value HH
value/comparative set value H
value/comparative set value L
value/comparative set value LL
Charac-
ter
---H’FFFFB1E1 to H’0001869F: −19999 to 99999
---Same as aboveSame as above99999Sa me as above---
---Same as aboveSame as aboveR: :9999
---Same as aboveSame as aboveR: :9999
(Time limit is OFF. Lower limit of P is 0.)
H’00000000 to H’0001869F: 0 to 99999 (Time unit is
min.)
H’00000000 to H’000176D7: 0.00.00 to 9.59.59
(Time unit is hr:min:s.)
H’00000000 to H’0001850F: 00.00.0 to 99.59.9
(Time unit is min:s:ms.)
Monitor/Setting rangeCharacterDefault
:9999 to 99999
0.00.00 to 99999
0.00.00 to
9.59.59
0.00.00 to
99.59.9
setting
99999According to the
P: 0
P: 0
Decimal pointUnit
decimal po sition
setting. The time
unit, however, is
indicated as
*.**.** for
hr:min:s and
as **.**.* for
min:s:ms.
Same as above---
Same as above---
---
NoteThe values beginning with H' in the Monitor/Setting range column are used when setting or monitor-
ing data via communications.
2-11
Page 57
List of
List of SettingsSection 2
Initial Setting Level
Var iab le
type
C40010FunctionfuncH’00000000 to H’00000005: (F1 to 6)f1 to 6f1------
Settings
NoteThe values beginning with H' in the Monitor/Setting range column are used when setting or monitor-
AddressParameter
0001Input type Ain-taH’00000000: No-contact (NO)
0007Input type Bin-tbH’00000000: No-contact (NO)
0011Prescale AXps.axH’00000000 to H’0001869F: (0.0000 to 9.9999)0.0000 to 9. 9999 1.00004---
0012Prescale AYps.
0013Prescale BXps.
0014Prescale BYps.byH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
(Time limit is OFF. Lower limit of P is 0.)
H’00000000 to H’0001869F: 0 to 99999 (Time unit is
min.)
H’00000000 to H’000176D7: 0.00.00 to 9.59.59
(Time unit is hr:min:s.)
H’00000000 to H’0001850F: 00.00.0 to 99.59.9
(Time unit is min:s:ms.)
setting
off, 0.5, 1, 2, 4off---s
grn-r, grn,
red-g, red
p?, max, minp?------
off, inc, inc-r,
dev, dev-r
:9999 to 99999
0.00.00 to 99999
00.00 to
0.
9.
59.59
0.00.00 to
59.9
99.
grn-r------
inc------
99999According to the
P: 0
Decimal pointUnit
decimal po sition
setting. The time
unit, however, is
indicated as
*.**.** for
hr:min:s and
as **.**.* for
min:s:ms.
Same as above---
---
Settings
List of
2-13
Page 59
List of
List of SettingsSection 2
Prescale Level
Settings
Var iab le
type
C70000Prescale 0AXps0.axH’00000000 to H’0001869F: (0.0000 to 9.9999)0.0000 to 9.9999 1.00004---
AddressParameter
0001Prescale 0AYps0.ayH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0002Prescale 0BXps0.bxH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
0003Prescale 0BYps0.byH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0004Decimal point
0005Prescale 1AXps1.axH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
0006Prescale 1AYps1.ayH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0007Prescale 1BXps1.bxH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
0008Prescale 1BYps1.byH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0009Decimal point
000APrescale 2AXps2.axH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
000BPrescale 2AYps2.ayH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
000CPrescale 2BXps2.bxH’00000000 to H’0001869F: (0.0000 to 9.9999)0.0000 to 9.9999 1.00004---
000DPrescale 2BYps2.byH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
000EDecimal point
000FPrescale 3AXps3.
0010Prescale 3AYps3.ayH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0011Prescale 3BXps3.bxH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
0012Prescale 3BYps3.byH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0013Decimal point
0014Prescale 4AXps4.axH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
0015Prescale 4AYps4.ayH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0016Prescale 4BXps4.bxH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
0017Prescale 4BYps4.byH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0018Decimal point
0019Prescale 5AXps5.axH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
001APrescale 5AYps5.ayH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
001BPrescale 5BXps5.bxH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
001CPrescale 5BYps5.byH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
001DDecimal point
001EPrescale 6AXps6.axH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
001FPrescale 6AYps6.ayH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0---- --
0020Prescale 6BXps6.bxH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
0021Prescale 6BYps6.byH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0022Decimal point
0023Prescale 7AXps7.axH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
0024Prescale 7AYps7.ayH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0025Prescale 7BXps7.bxH’00000000 to H’0001869F: (0.0000 to 9.9999)0. 0000 to 9.9999 1.00004---
0026Prescale 7BYps7.byH’FFFFFFF7 to H’00000009: (−9 to 9)10 -9 to 10 910 0------
0027Decimal point
name
position 0
position 1
position 2
position 3
position 4
position 5
position 6
position 7
Charac-
ter
dp0H’00000000 to H’00000004: (0 to 4)\\\\\, \\\\.\,
dp1H’00000000 to H’00000004: (0 to 4)\\\\\, \\\\.\,
dp2H’00000000 to H’00000004: (0 to 4)\\\\\, \\\\.\,
axH’00000000 to H’0001869F: (0.0000 to 9.9999)0.0000 to 9. 9999 1.00004---
dp3H’00000000 to H’00000004: (0 to 4)\\\\\, \\\\.\,
dp4H’00000000 to H’00000004: (0 to 4)\\\\\, \\\\.\,
dp5H’00000000 to H’00000004: (0 to 4)\\\\\, \\\\.\,
dp6H’00000000 to H’00000004: (0 to 4)\\\\\, \\\\.\,
dp7H’00000000 to H’00000004: (0 to 4)\\\\\, \\\\.\,
Monitor/Setting rangeCharacterDefault
\\\.\\, \\.\\\,
\.\\\\
\\\.\\, \\.\\\,
\.\\\\
\\\.\\, \\.\\\,
\\\\
\.
\\\.\\, \\.\\\,
\.\\\\
\\\.\\, \\.\\\,
\.\\\\
\\\.\\, \\.\\\,
\\\\
\.
\\\.
\\, \\.\\\,
\.\\\\
\\\.\\, \\.\\\,
\.\\\\
setting
\\\\\------
\\\\\------
\\\\\------
\\\\\------
\\\\\------
\\\\\------
\\\\\------
\\\\\------
Decimal pointUnit
NoteThe values beginning with H' in the Monitor/Setting range column are used when setting or monitor-
ing data via communications.
2-14
Page 60
List of SettingsSection 2
Comparative Set Value Level
Var iab le
type
C80000Comparative set
AddressParameter
0001
0002
0003
0004Comparative set
0005
0006
0007
0008Comparative set
0009
000A
000B
000CComparative set
000D
000E
000F
0010Comparative set
0011
0012
0013
0014Comparative set
0015
0016
0017
0018Comparative set
0019
001A
001B
001CComparative set
001D
001E
001F
name
value 0HH
Comparative set
value 0H
Comparative set
value 0L
Comparative set
value 0LL
value 1HH
Comparative set
value 1H
Comparative set
value 1L
Comparative set
value 1LL
value 2HH
Comparative set
value 2H
Comparative set
value 2L
Comparative set
value 2LL
value 3HH
Comparative set
value 3H
Comparative set
value 3L
Comparative set
value 3LL
value 4HH
Comparative set
value 4H
Comparative set
value 4L
Comparative set
value 4LL
value 5HH
Comparative set
value 5H
Comparative set
value 5L
Comparative set
value 5LL
value 6HH
Comparative set
value 6H
Comparative set
value 6L
Comparative set
value 6LL
value 7HH
Comparative set
value 7H
Comparative set
value 7L
Comparative set
value 7LL
Charac-
ter
s?0.hhH’FFFFB1E1 to H’0001869F: −19999 to 99999
s?0.hSame as aboveSame as above99999Same as above---
s?0.lSame as aboveSame as aboveR: :9999
s?0.llSame as aboveSame as aboveR: :9999
s?1.hhSame as aboveSame as above99999Same as above---
s?1.hSame as aboveSame as above99999Same as above---
s?1.lSame as aboveSame as aboveR: :9999
s?1.llSame as aboveSame as aboveR: :9999
s?2.hhSame as aboveSame as above99999Same as above---
s?2.hSame as aboveSame as above99999Same as above---
s?2.lSame as aboveSame as aboveR: :9999
s?2.llSame as aboveSame as aboveR: :9999
s?3.hhSame as aboveSame as above99999Same as above---
s?3.hSame as aboveSame as above99999Same as above---
s?3.lSame as aboveSame as aboveR: :9999
s?3.llSame as aboveSame as aboveR: :9999
s?4.hhSame as aboveSame as above99999Same as above---
s?4.hSame as aboveSame as above99999Same as above---
s?4.lSame as aboveSame as aboveR: :9999
s?4.llSame as aboveSame as aboveR: :9999
s?5.hhSame as aboveSame as above99999Same as above---
s?5.hSame as aboveSame as above99999Same as above---
s?5.lSame as aboveSame as aboveR: :9999
s?5.llSame as aboveSame as aboveR: :9999
s?6.hhSame as aboveSame as above99999Same as above---
s?6.hSame as aboveSame as above99999Same as above---
s?6.lSame as aboveSame as aboveR: :9999
s?6.llSame as aboveSame as aboveR: :9999
s?7.hhSame as aboveSame as above99999Same as above---
s?7.hSame as aboveSame as above99999Same as above---
s?7.lSame as aboveSame as aboveR: :9999
s?7.llSame as aboveSame as aboveR: :9999
(Time limit is OFF. Lower limit of P is 0.)
H’00000000 to H’0001869F: 0 to 99999
(Time unit is min.)
H’00000000 to H’000176D7: 0.00.00 to 9.59.59
(Time unit is hr:min:s.)
H’00000000 to H’0001850F: 00.00.0 to 99.59.9
(Time unit is min:s:ms.)
Monitor/Setting rangeCharacterDefault
:9999 to 99999
0.00.00 to 99999
0.00.00 to
9.59.59
0.00.00 to
99.59.9
setting
99999According to the
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
P: 0
Decimal pointUnit
decimal po sition
setting. The time
unit, however, is
indicated as
*.**.** for
hr:min:s and
as **.**.* for
min:s:ms.
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
Same as above---
---
Settings
List of
2-15
Page 61
List of
List of SettingsSection 2
Linear Output Level
Var iab le
type
C90000Linear current
Settings
NoteThe values beginning with H' in the Monitor/Setting range column are used when setting or monitor-
Communications Setting Level
Var iab le
type
CA0000Communications
NoteThe values beginning with H' in the Monitor/Setting range column are used when setting or monitor-
AddressParameter
0001Linear voltage
0002Linear output
0003Linear output
name
type
type
upper limit
lower limit
Charac-
ter
lset.cH’00000000: 0-20 mA (0), H’00000001: 4-20 mA (1) 0-20, 4-204-20------
lset.vH’00000000: 0-5 V (0), H’00000001: 1-5 V (1),
lset.hH’FFFFB1E1 to H’0001869F: −19999 to 99999
lset.lSame as aboveSame as aboveR: :9999
H’00000002: 0-10 V (2)
(Time limit is OFF. Lower limit of P is 0.)
H’00000000 to H’0001869F: 0 to 99999
(Time unit is min.)
H’00000000 to H’000176D7: 0.00.00 to 9.59.59
(Time unit is hr:min:s.)
H’00000000 to H’0001850F: 00.00.0 to 99.59.9
(Time unit is min:s:ms.)
Monitor/Setting rangeCharacterDefault
0-5, 1-5, 0-101-5------
:9999 to 99999
0.00.00 to 99999
0.00.00 to
9.59.59
0.00.00 to
99.59.9
setting
99999According to the
P: 0
Decimal pointUnit
decimal po sition
setting. The time
unit, however, is
indicated as
*.**.** for
hr:min:s and as
**.**.* for
min:s:ms.
0001HysteresishysH’00000000 to H’0000270F: 0 to 9999 (Time limit is
0002Output OFF delay off-dH’00000000 to H’000007CF: (0 to 1999)0 to 19990---R:
0003Shot outputshotH’00000000 to H’000007CF: (0 to 1999)0 to 19990---R:
0004Output logicout-nH’00000000: Close in alarm (0),
0005Output refresh
0009Bank selectionbnk-cH’00000000: OFF (0), H’00000001: KEY (1),
000AStartup
000CStandby
name
change
stop
compensation
timer
sequence
Charac-
ter
passH’00000000: LL (0), H’00000001: L (1),
o-stpH’00000000: OFF (0), H’00000001: OUT (1),
s-tmrH’00000000 to H’0000270F: (0.0 to 99.9)0.
stdbyH’00000000: OFF (0), H’00000001: ON (1)off, onoff------
H’00000002: PASS (2), H’00000003: H (3),
H’00000004: HH (4)
OFF. Lower limit of P is 0.)
H’00000000 to H’00001747: 0.00.00 to 0.59.59
(Time unit is hr:min:s.)
H’00000000 to H’0000257F: 00.00.0 to 09.59.9
(Time unit is min:s:ms.)
H’00000001: Open in alarm (1)
H’00000002: ALL (2)
H’00000002: EV (2)
Monitor/Setting rangeCharacterDefault
ll, l, pass, h,hhpass------
0 to 9999
00.00 to
0.
0.
59.59
00.0 to
00.
09.59.9
n-o, n-cn-o------
off, out, alloff------
off, key, evoff (See
0 to 99.90.01s
setting
1According to the
note 1.)
Decimal pointUnit
decimal po sition
setting. The time
unit, however, is
indicated as
*.**.** for
hr:min:s and as
**.**.* for
min:s:ms.
------
---
100 ms
P: ms
100 ms
P: ms
Note(1) If the event connector is provided as a standard feature or an event connector is added, use EV
for the “bank selection” set.
(2) The values beginning with H' in the Monitor/Setting range column are used when setting or moni-
toring data via communications.
2-16
Page 62
List of SettingsSection 2
K3HB-C
Communications Monitoring Settings
Var iab le
type
C0
NoteThe values beginning with H' in the Monitor/Setting range column are used when setting or monitor-
Protect Level
Var iab le
type
C10000RUN/adjustment
NoteThe values beginning with H' in the Monitor/Setting range column are used when setting or monitor-
AddressParameter
0000
0001Status ------------------
0002Measurement
0003Max. value---H’FFFFB1E1 to H’0001869F: (−19999 to 99999)------------
0004Min. value---H’FFFFB1E1 to H’0001869F: (−19999 to 99999)------------
name
Version------------------
value
Charac-
ter
---H’FFFFB1E1 to H’0001869F: (−19999 to 99999)------------
Monitor/Setting rangeCharacterDefault
setting
Decimal pointUnit
ing data via communications.
AddressParameter
0001Setting level
0002Setting change
0003Max/Min protectmm.
name
protect
protect
protect
Charac-
ter
run.ptH’00000000 to H’00000002: (0 to 2)0 to 20------
set.ptH’00000000 to H’00000002: (0 to 2)0 to 21------
ptH’00000000: OFF (0)
wt.
H’00000001: ON (1)
ptH’00000000 to H’00000002: (0 to 2)0 to 20------
Monitor/Setting rangeCharacterDefault
off, onoff------
setting
Decimal pointUnit
ing data via communications.
Settings
List of
RUN Level
Var iab le
type
C20000Measurement
AddressParameter
0001Measurement
0004Measurement
0002Measurement
0003Measurement
name
value/comparative
set value 5
value/comparativ
e set value 4
value/comparativ
e set value 3
value/comparativ
e set value 2
value/comparativ
e set value 1
Charac-
ter
---H’FFFFB1E1 to H’0001869F: (−19999 to 99999):9999 to 99999 99999According to the
---H’FFFFB1E1 to H’0001869F: (−19999 to 99999):9999 to 99999 99999According to the
---H’FFFFB1E1 to H’0001869F: (−19999 to 99999):9999 to 99999 99999According to the
---H’FFFFB1E1 to H’0001869F: (−19999 to 99999):9999 to 99999 99999According to the
---H’FFFFB1E1 to H’0001869F: (−19999 to 99999):9999 to 99999 99999According to the
Monitor/Setting rangeCharacterDefault
setting
Decimal pointUnit
decimal po sition
setting.
decimal po sition
setting.
decimal po sition
setting.
decimal po sition
setting.
decimal po sition
setting.
---
---
---
---
---
NoteThe values beginning with H' in the Monitor/Setting range column are used when setting or monitor-
In this manual, the DeviceNet-compatible K3HB Digital Indicator is abbreviated as K3HB-DRT.
1-1-1Outline
The K3HB-DRT Digital Indicators are slaves that connect to the DeviceNet
open field network. DeviceNet communications enable controlling operation,
collecting measurement data, and writing settings from a host computer or
PLC. The K3HB-DRT support both remote I/O communications and explicit
message communications.
Remote I/O communications allow the master and the K3HB-DRT to automatically share data via high-speed I/O without any special programming of the
master. Remote I/O communications are particularly suited to operation con-
Overview
1-1-2Communications Connection Example
trol, error warnings, and monitoring applications.
Explicit messages use a communications protocol for sending commands and
receiving responses. The main application for explicit message communications is for changing K3HB-DRT settings data.
Host computer
Explicit messages
Configurator
Host link
PLC
Remote I/O
Explicit messages
CPU UnitDeviceNet Unit
DeviceNet
3-2
K3HB-DRT
K3HB-DRTK3HB-DRT
Page 72
FeaturesSection 1-1
1-1-3Using DeviceNet
Remote I/O
Communications
The master and K3HB-DRT Digital Indicators can share I/O by using remote I/
O communications. Data in the K3HB-DRT Digital Indicators, such as measurement values and comparative set values, can be allocated for communications with the master to enable sending and receiving the allocated data via
remote I/O communications without requiring special programming.
• User-set Data Allocations with a Configurator
The specific data required for communications with the master can be
allocated by using I/O allocations from the DeviceNet Configurator.
Explicit Message
Communications
By sending commands from a PLC, various operations can be performed,
including reading/writing specific monitor values and parameters, such as
reading measurement values or writing comparative set values, and performing operations using operation commands. CompoWay/F communications
commands can also be executed using explicit message communications.
Automatically Detects
Baud Rate
Previously, the baud rate had to be set for each slave, but the K3HB-DRT Digital Indicators automatically detect and match the baud rate of the master, so
this setting is not required. (If the master’s baud rate is changed, turn OFF the
communications power supply to the Digital Indicator and then turn it ON
again.)
1-1-4Default Communications Settings
The default settings required for communications when K3HB-DRT are used
as DeviceNet slaves are listed in the following diagram.
Overview
Refer to the DeviceNet Operation Manual (Cat. No. W267) for information
such as the order for turning ON power to the master and slaves and master I/
O tables.
1-1-5Data Allocation
K3HB-DRT communications data must be allocated for the Read and Write
Areas for communications with the master. Up to 30 items can be allocated for
the Read Area and up to 15 items can be allocated for the Write Area. The
data for each word is allocated using the parameters write data 1 to 15 and
read data 1 to 15.
Unused words can be specified to reserve space according to data types or to
otherwise reduce the number of words.
Refer to 4-2 I/O Allocation on page 6-2 for details on allocation methods.
Communications Settings:
Node address
Communications Data Allocations:
Monitor value settings, parameters
Operation commands
Status
Be sure that the same node address is not
used for another Unit on the same network.
3-3
Page 73
FeaturesSection 1-1
1-1-6Remote I/O Communications
Read/write table data is automatically read and written when communications
start. The Communications Write setting must be set to ON to write data from
the master to the K3HB-DRT. Data will not be written to the Digital Indicator if
the Communications Write setting is OFF. The following diagram shows communications with the default data allocation parameters.
NoteThe Communications Write setting is ON by default.
Master
Write Area
Output (OUT) Area
Write data
Output Enable Bit
Overview
Input (IN) Area
Operation command
Read Area
Read data
Measurement value
3-4
Page 74
SpecificationsSection 1-2
1-2Specifications
1-2-1DeviceNet Communications Specifications
ItemSpecifications
Communications protocolConforms to DeviceNet
Communica-
tions functions
Connection formatCombination of multidrop and T-branch connections (for trunk and drop lines)
Baud rateDeviceNet: 500, 250, or 125 kbps, or automatic detection of master baud rate
Communications mediaSpecial 5-wire cable (2 signal lines, 2 power lines, and 1 shield line)
Communications distanceBaud rateNetwork lengthDrop line lengthTotal drop line length
Communications power supply11 to 25 VDC
Maximum number of nodes that
can be connected
Maximum number of slaves that
can be connected
Error controlCRC error detection
Power supplyPower supplied from DeviceNet communications connector
Remote I/O
communications
I/O allocations• Can allocate any I/O data from the Configurator.
Message communications
• Master-slave connections (polling, bit-strobe, COS, or cyclic)
• Conform to DeviceNet specifications.
• Can allocate any data, such parameters specific to the DeviceNet and the Digital
Indicator variable area.
• Up to 2 blocks for the IN Area, up to a total of 60 words (See note 1.)
• One block for the OUT Area, up to 29 words (The first word is always allocated to
Output Enable Bits.) (See note 2.)
• Explicit message communications
• CompoWay/F communications commands can be sent (commands are sent in
explicit message format).
500 kbps100 m max. (100 m max.) 6 m max.39 m max.
250 kbps100 m max. (250 m max.) 6 m max.78 m max.
125 kbps100 m max. (500 m max.) 6 m max.156 m max.
The values in parentheses apply when Thick Cables are used.
64 (includes Configurator when used)
63
Overview
Note(1) The IN Area can be divided into two blocks only when a CS/CJ-series De-
viceNet Unit is used as the master. (The connection type can also be selected.) If a CVM1, CV, or C200HX/HG/HE DeviceNet Master Unit is used
as the master, the IN Area must be in 1 block with a maximum 100 words
(200 bytes). (Polling connection only.)
(2) If a CVM1, CV, or C200HX/HG/HE DeviceNet Master Unit used, only up
to 32 words can be allocated per node.
3-5
Page 75
SpecificationsSection 1-2
1-2-2DeviceNet General Specifications
ItemSpecifications
Supply voltageDeviceNet power supply: 24 VDC (internal circuit)
Allowable voltage rangeDeviceNet power supply: 11 to 25 VDC
Current consumptionDeviceNet power supply: 50 mA max. (24 VDC)
Vibration resistanceVibration: 10 to 55 Hz
Acceleration: 50 m/s
Shock resistance
Dielectric strength2,300 VAC for 1 min. between all the external terminals and case
Insulation resistance20 MΩ min. (at 500 VDC)
Ambient temperature
Use the procedures in the following sections to prepare the K3HB-DRT Digital
Indicators for use. Refer to the following reference pages/sections provided for
detailed information on each step.
2-1-1Setup Procedure
StepItemDetailsReference
1Mount the Digital Indicator.Mount the Digital Indicator to the panel.page 5-2
2Wire the Digital Indicator.Wire the temperature inputs and comparative outputs to the
3Turn ON the power to the Digital Indi-
cator.
4Set the DeviceNet node address.Set the DeviceNet node address (0 to 63) for the Digital Indi-
5Turn OFF the power to the Digital
Procedures
Indicator.
2-1-2Startup Procedure
Digital Indicator terminals.
Note Do not turn ON the power supply to the peripheral
devices at this time.
Turn ON the power connected to the Digital Indicator.
Note The Digital Indicator will start.
cator on the front panel. Set a unique node address for each
slave connected to the same master.
Turn OFF the power connected to the Digital Indicator.---
---
---
page 4-3
Prepare the master, DeviceNet communications power supply, and Configurator that will be used in the system. Use the Configurator to allocate Digital
Indicator data in the IN and OUT Areas. Refer to the DeviceNet OperationManual (W267) for information on related connection devices.
NoteUp to 30 items can be allocated in the IN Area and up to 15 items can be allo-
cated in the OUT Area for remote I/O communications. To read and write
larger amounts of data, use explicit messages. Use explicit messages also for
reading and writing data only when required.
StepItemDetailsReference
6Connect the DeviceNet com-
munications connector.
7Turn ON the power to the Digi-
tal Indicator.
8Turn ON the DeviceNet com-
munications power (V+, V
9Check the MS/NS indicatorsCheck that the status of the MS and NS indicators is as fol-
Connect the DeviceNet communications connector.
Note Do not turn ON the communications power supply at
this time. This power supply is also used as the internal circuit power supply for DeviceNet communica-
tions.
Turn ON the power connected to the Digital Indicator.
Note The Digital Indicator will start.
Turn ON the communications power supply to DeviceNet.
−).
Note The DeviceNet communications will start.
lows:
MS: Operating normally when lit green.
NS: Operating normally when lit green.
(DeviceNet online or communications connected.)
page 5-4
---
---
page 5-3
4-2
Page 78
IntroductionSection 2-1
(
)
StepItemDetailsReference
10Operate from the Configurator. Set from the Configurator when changing data allocated in
11Start remote I/O communica-
tions.
12Use explicit message commu-
nications.
the IN and OUT Areas from the default values.
To split the IN Area used by the K3HB-DRT into two areas,
select K3HB-DRT in the master’s Edit Device Parameters
Window and set the connection in the detailed settings.
When the IN Area is split into two areas, for example, operating parameters, such as measurement values and comparative set values, can be allocated in IN Area 1, and
status values can be allocated in IN Area 2. For example, IN
Area 1 can be allocated in the DM Area and IN Area 2 can
be allocated in the CIO Area.
Enable the master’s scan list and change the PLC to RUN
Mode.
Remote I/O communications will start, and the contents of
the IN and OUT Areas in the master and K3HB-DRT Digital
Indicator will be synchronized.
Send explicit messages from the master.
Explicit messages can be used to perform control and mon-
itoring that cannot be achieved using the IN and OUT Areas
alone, by sending explicit messages to the K3HB-DRT Digital Indicator.
Note(1) When changing the baud rate of the master after starting the K3HB-DRT
Digital Indicator, turn ON the communications power supply of the Digital
Indicator again, and restart the Digital Indicator.
When setting the Configurator only, without a master, the baud rate of the
Configurator will be automatically detected.
(2) The following points are important when editing device parameters using
the Configurator.
• It is recommended that device default values are uploaded before the
parameters are edited because the EDS parameter defaults and the
device defaults are different.
• The setting for some parameters are different for the list of settings
provided in the CompoWay/F SECTION 2 List of Settings. For exam-
ple, the parameter setting for input type A is different for each model.
• Set the unit number in the Communications Setting Level parameter
group to change the node address.
SECTION 4
Remote I/O Communications
---
SECTION 5
Explicit Message
Communications
Procedures
Operating
2-1-3Setting Node Addresses
DeviceNet node addresses are set in the communications setting level. Set
the node addresses on the front panel of the K3HB-DRT.
u-no
L
6
U-NO
0
L
L0 is displayed.
NoteThe node address will be 0 if an address between 64 and 99 is set.
At least 3 s
Unit No.
u-no
Setting Parameters
A. Press the LEVEL Key for at least 3 s to move to the input initial setting level.
• The initial setting level is indicated by L0 being displayed in the level/bank
ParameterSetting valueMeaning
0 to 990 to 99 (See note.)
display.
4-3
Page 79
Functions Supported Only by the K3HB-DRTSection 2-2
Operating
u-no
L
61
L6 is displayed.
u-no
L
6
u-no
L
6
Procedures
2-2Functions Supported Only by the K3HB-DRT
1
0
B. Press the LEVEL Key several times to move to the communications setting level.
• The communications setting level is indicated by L6 being displayed in the
level/bank display.
C. Press the SHIFT Key so that the SV display flashes.
• The SV will flash to indicate that it can be changed.
D. Press the UP and SHIFT Keys to change the Unit No. (DeviceNet node address)
setting.
The number of words allocated will depend on the K3HB-DRT communications data allocations. The following points are important when setting node
addresses or allocating I/O memory.
• Do not allocate the same words to other slaves.
• Make sure the I/O area does not exceed the valid range.
A Configurator is used to make settings for the network power monitor function and Unit conduction time monitor function.
2-2-1Network Power Monitor Function
The K3HB-DRT has a network power monitor function that turns ON the Communications Power Voltage Monitor Error Flag in the General Status when the
communications power voltage drops below the set monitor value. The monitor value for the network power voltage is set using the Configurator and is
found in the General Setting parameter group.
2-2-2Unit Conduction Time Monitor Function
The K3HB-DRT has a Unit conduction time monitor function that records
internally the total time communications power is supplied to the Digital Indicator. The Unit Maintenance Flag in the General Status will turn ON if the Unit
conduction time exceeds a set monitor value.
The Detection Time (Unit conduction time monitor value) is set using a Configurator and is found in the General Setting parameter group.
The Unit conduction time monitor can be used as a guide for replacing the
K3HB-DRT Digital Indicator.
Measurement unit: 0.1 h
Measurement range: 0 to 429496729.5 h (Stored data: 00000000 to
FFFFFFFF hex).
Note(1) The conduction time is held even when the power is turned OFF.
(2) The conduction time will not be measured if communications power is not
supplied to the K3HB-DRT.
(3) The K3HB-DRT Digital Indicator checks the ON status of the target chan-
nel approximately every 0.1 h (6 min).
4-4
Page 80
Parts, Installation, and Wiring
This section describes the methods used to install and wire K3HB-DRT Digital Indicators.
The DeviceNet communications connector is used to connect the communications cable to the DeviceNet network. The DeviceNet communications power
is also supplied through this connector. The connector provided with the Digital Indicator is a HR31-5.08P-5SC(01) (Hirose Electric). The provided connector crimp terminals are HR31-SC-121 (Hirose Electric) and are for Thin
DeviceNet Communications Cables. The K3HB-DRT cannot be used with any
other connector than the DeviceNet one provided.
3-1-2External Dimensions
Parts, Installa-
tion, and Wiring
101.2
91
100
(112)
5-2
96
48
12
1.3
(Unit: mm)
97
95
2
44.8
Page 82
Part Names and FunctionsSection 3-1
3-1-3MS and NS Indicators
The indicators show the status of the Digital Indicator and the DeviceNet Network.
IndicatorNameColorStatusMeaning (main errors)
MSModule statusGreenThe Digital Indicator is normal.
MS
RedFatal error
OFFNo power is being supplied.
NSNetwork statusGreenOnline/communications established (normal network
RedFatal communications error (The Digital Indicator has
• DeviceNet communications power is not being supplied.
• Power is not being supplied to the Digital Indicator.
• The Digital Indicator is being reset.
• Waiting for initialization to start.
status)
Online/communications established (waiting for communications to be established with the master)
detected an error that does not allow communications
with the network.)
• Node address duplication error
• Bus Off error detected
Non-fatal communications error
• Communications timeout
tion, and Wiring
Parts, Installa-
OFFOffline or power supply is OFF
LitFlashing
NS
• Waiting for completion of the master’s node address
duplication check.
• DeviceNet communications power is not being supplied.
Not lit
Normal Indicator DisplayThe MS and NS indicators are both lit green when the status of the Digital
Indicator and the Network are normal.
5-3
Page 83
DeviceNet Communications Cables WiringSection 3-2
3-2DeviceNet Communications Cables Wiring
The methods used for preparing DeviceNet communications cables to be connected for DeviceNet communications are explained here.
For details on the DeviceNet Network, such as supplying the DeviceNet communications power and grounding the DeviceNet Network, refer to the
DeviceNet Operation Manual (W267).
3-2-1Preparing DeviceNet Communications Cables
Use the following procedure to prepare and connect the communications
cables to the connectors.
1,2,3...1. Remove approximately 30 to 80 mm of the cable covering, being careful
not to damage the shield mesh underneath. Do not remove too much covering or a short circuit may result.
Approx. 30 to 80 mm
(Remove as little as possible.)
2. Carefully peel back the shield mesh to reveal the signal lines, power lines,
and the shield wire. The shield wire is slightly harder to the touch than the
mesh.
Parts, Installa-
tion, and Wiring
3. Remove the exposed mesh and the aluminum tape from the signal and
power lines. Strip the covering from the signal and power lines to the proper length for the crimp terminals. Twist together the wires of each of the signal and power lines.
Strip to match the
crimp terminals.
4. Attach crimp terminals to the lines and then cover any exposed areas with
vinyl tape or heat-shrink tubing.
Making sure that the connector hole numbers are correct, insert each of
the signal lines, power supply lines, and the shield wire into the corre-
Shield wire
5-4
Page 84
DeviceNet Communications Cables WiringSection 3-2
sponding connector holes, as shown in the following diagram.
5
4
3
2
1
1: V− (Power line: black)
2: CAN low (Communications line: blue)
3: Shield
4: CAN high (Communications line: white)
5: V+ (Power line: red)
Make sure that the connector is oriented correctly before inserting the
crimp terminal into the connector, as shown in the following diagram.
Crimp terminal
Power line
tion, and Wiring
Parts, Installa-
Extraction tool
1,2,3...1. Press down the molded transformer using the extraction tool, as shown in
Molded transformer
Fig. 1Fig. 2
The crimp terminals can be crimped using a crimp tool that conforms to JIS
C9711. The following crimp tool is also available:
HR31-TC-01 (Hirose Electric)
If wiring is not correct, use an extraction tool to extract the wires using the following procedure.
Fig. 1.
2. While keeping the molded transformer pressed down, tilt the extraction tool
to release the crimp terminal lock.
3. Remove the extraction tool.
4. Pull the cable and pull out the crimp terminal.
Molded transformer
Power linePower line
Extraction tool
The following extraction tool is available:
HR31-SC-TP (Hirose Electric)
5-5
Page 85
DeviceNet Communications Cables WiringSection 3-2
3-2-2Attaching the DeviceNet Communications Unit Connector
Align the DeviceNet Communications Unit connector (marked with a C) with
the cable connector, and insert the cable connector fully into the DeviceNet
Communications Unit connector.
Tighten the set screws to a torque between 0.18 and 0.22 N·m to secure the
connector.
N
S
Align the connector with
the black wire at the top.
M
S
Use the following crimp terminals if using Thick DeviceNet Communications
Cables.
HR31-SC-111 (Hirose Electric)
Parts, Installa-
tion, and Wiring
5-6
Page 86
SECTION 4
Remote I/O Communications
This section describes the input (IN) areas and output (OUT) areas that K3HB-DRT Digital Indicators can use for remote
I/O communications. The methods to allocate data for master communications are also described using sample
programming.
I/O memory in the master can be allocated to data from the K3HB-DRT Digital
Indicator, such as data from the Digital Indicator’s variable area, merely by
specifying what Digital Indicator data is to be transferred to where.
Data is automatically exchanged between the master and Digital Indicator,
allowing the Digital Indicator to be controlled and monitored from the master
without requiring special communications programming.
DeviceNet
Allocated data
OUT Area
Operation
commands, etc.
DeviceNet Master
IN Area
Measurement
values, etc.
CPU Unit
K3HB-DRT
Digital Indicator
Master CPU Unit I/O memory
IN Area
OUT Area
munications
4-2I/O Allocation
Remote I/O Com-
DeviceNet Configurator
The Configurator can be used to select any data from the list of allocation
parameters for the Digital Indicator and then allocate the data in a user-set
destination.
DeviceNet Master
CPU Unit
DeviceNet
K3HB-DRT
Digital Indicator
Allocated data
IN Area
OUT Area
Master CPU Unit I/O memory
IN Area
OUT Area
6-2
Page 88
I/O AllocationSection 4-2
4-2-1Allocation Area Sizes (IN Data Size and OUT Data Size)
The size of allocated data in each of the IN and OUT Areas is shown in the following table.
I/O memoryWordsBytesSetting
Allocated data
size: 2 bytes
IN Area0 to 600 to 1203030
OUT Area0 to 290 to 581515
Note(1) When the master is a CS/CJ-series DeviceNet Unit, the IN Area can be
divided into two areas (IN Area 1 and IN Area 2). Any allocation data from
the list of parameters can be allocated in each area.
(2) The actual size of the allocated area depends on the size of allocation
data selected.
(3) The default allocation data size is two bytes.
When the allocation data size is two bytes, the monitor and setting data will be
displayed in the range FFFF hex to 0000 hex. Data will be fixed at 7FFF hex
or 8000 hex if the data exceeds the range that can be displayed. For example,
NoteRefer to 4-2-5 Input Data on page 6-5 for details on General Status. Refer to
4-2-6 Output Data on page 6-5 for details on Output Enable Bits and opera-
tion commands.
Allocated data
size: 4 bytes
Remote I/O Com-
munications
4-2-2Allocation Parameters
The parameters that can be allocated are shown below. These parameters
can be broadly classified as K3HB-DRT status bits/operation commands, and
K3HB-DRT operation data and setting data.
1. K3HB-DRT Status Bits/Operation Commands
The status bits and operation commands for the K3HB-DRT Digital Indicator are shown in the following table.
For status details, refer to the CompoWay/F SECTION 2 List of Settings.
ReadWriteItem
YesNoGeneral status
NoYesOperation commands
Note(1) When items that are write-only are allocated in the IN Area, they are al-
ways set to 0.
(2) When items that are read-only are allocated in the OUT Area, they are
allocated words in memory but operate the same as if they had not been
allocated.
6-3
Page 89
I/O AllocationSection 4-2
2. K3HB-DRT Operation Data and Setting Data
Monitor values and setting data with communications addresses that be-
long to the following variable types can be allocated. Duplicate settings are
possible and are processed in ascending order.
Var i able type
C0Operation monitor data
C2RUN level
Note If items are allocated in the read-only area of the OUT Area, words
are allocated in memory but operate as if they had not been allocated.
3. Output Enable Bits
Output Enable Bits are allocated in the first word of the OUT Area.
When Output Enable Bits are allocated in the IN Area, they are always set
to 0 (OFF).
NoteIf data allocated to the IN or OUT Area is changed, use a software reset or
cycle the power to enable the new settings.
4-2-3Allocation Default Values
The default values for I/O allocations are listed in the following table.
AreaItem
IN AreaMeasurement value
OUT AreaOutput Enable Bits
Operation commands
4-2-4Allocation Settings
munications
Remote I/O Com-
Allocated
to IN
Area
NoYes−1OUT Enabled Bits2 bytes, fixed
NoYesOperation commandOperation commandDefault value: 2 bytes
NoNoGeneric statusGeneric statusDefault value: 2 bytes
YesNoStatusStatus4 bytes, fixed
YesNoMeasurement valueMeasurement valueDefault value: 2 bytes
YesNoMaximum valueMAX valueDefault value: 2 bytes
YesNoMinimum valueMIN valueDefault value: 2 bytes
YesYesComparative set value HH (OUT5)Comparative set value HH (OUT5)Default value: 2 bytes
YesYesComparative set value H (OUT4)Comparative set value H (OUT4)Default value: 2 bytes
YesYesComparative set value L (OUT2)Comparative set value L (OUT2)Default value: 2 bytes
YesYesComparative set value LL (OUT1)Comparative set value LL (OUT1)Default value: 2 bytes
YesYesComparative set value PASS (OUT3) Comparative set value PASS (OUT3) Default value: 2 bytes
Allocated
to OUT
Area
The I/O allocation settings are listed in the following table.
Configurator displaySetting data nameAllocation data size
6-4
Page 90
I/O AllocationSection 4-2
4-2-5Input Data
The input data specific to Digital Indicators with DeviceNet communications
that is not allocated in the variable area of the K3HB-DRT is described here.
General Status
Bit 76543210
01000
K3HB-DRT Unit Maintenance Flag
0: Within range (less than monitor value)
1: Outside range (monitor value or higher)
Communications Power Voltage
Monitor Error Flag
0: Normal (higher than monitor value)
1: Error (monitor value or lower)
Not used.
• The Communications Power Voltage Monitor Error Flag indicates the status of the power being supplied through the DeviceNet communications
cable.
• The Unit Maintenance Flag is set to 1 when the Unit conduction time of
the K3HB-DRT Digital Indicator exceeds the monitor value.
4-2-6Output Data
Output data specific to DeviceNet that is not allocated to the K3HB-DRT variable area is described here.
Output Enable BitsOutput Enable Bits are used when settings are written to the OUT Area, e.g.,
when comparative set values are set or RUN/STOP is executed using operation commands. The area for Output Enable Bits is always allocated in the first
word of the OUT Area.
When Output Enable Bits are set to 0 (OFF), the settings and bits set in the
OUT Area are not transmitted and, therefore, nothing is executed. The settings can be executed by setting the Output Enable Bits to 1 (ON). Writing is
not executed if the Output Enable Bits are not set to 1.
Setting Output Enable Bits prevents unintentional setting changes and
enables various settings in the OUT Area to be enabled simultaneously. For
example, a new value may written to a word for which a SP has already been
set. If the Output Enable Bits are set to 1 and then set to 0, no SP will be written even if one is accidentally allocated. (However, care must be taken
because writing is enabled if Output Enable Bits are set to 1.)
Furthermore, if set values are written for all the words and the Output Enable
Bits are set to 1, the set values will all be enabled at once.
NoteWhen Output Enable Bits are set to 1, data allocated to the OUT Area is writ-
ten whenever it changes.
Remote I/O Com-
munications
6-5
Page 91
I/O AllocationSection 4-2
4-2-7Operation Commands
Operation commands are used to for software resetting, to move to setting
area 1, and other similar operations. As shown in the following table, operation commands are executed using a combination of command codes, related
information, and strobes.
Operation commands for the K3HB-DRT are shown in the following table.
Command
code
00Communications write 00: OFF (Read only)
01Reset00
02Bank selection00 to 07: Bank 0 to
03Zero execute/cancel00: Zero cancel
06Software reset00
07Move to Setting Area 1 00
08Move to protect level00
0BInitialize setting00
DetailsRelated information
01: ON (Read/write)
bank 7
01: Zero execute
NoteA software reset will not respond (no service PDU response).
Operation commands are created as shown in the following diagram.
15
Strobe
munications
Remote I/O Com-
Operation
command
Strobe
Command code
78
Upper byte
Lower byte
Related information
0
Bit No.
Bit 15 is strobe 2 and bit 14 is strobe 1. A logical OR is taken between the two
leftmost bits of the command code and bits 15 and 14, and the result is
attached as the strobe to the operation command. The command code for
K3HB-DRT operation commands is 0@ hex, so when the logical OR is 8@
hex, the strobe is ON.
Resetting with an operation command is used for the following example.
Bit
15
078
1000000100000000
Strobe
Strobe
6-6
Operation
command
Command code
01 Hex
81F1
Upper byte
F Hex1 Hex
Related information
Hex
Lower byte
Page 92
Ladder Programming ExamplesSection 4-3
With the CS1W-DRM21 and CJ1W-DRM21 DeviceNet Units, operation commands are made ready for execution by writing to the allocated words
(CIO 3202 when the default I/O allocation (fixed allocation area 1) is set.)
Operation commands are executed only when the Output Enable Bit is set to
1 (ON) and the strobe is ON. The strobe is ON when the following two conditions are met:
1. Strobe 2 = 1 and strobe 1 = 0
2. The strobe was cleared after the previous operation command was executed.
Strobe 1
Strobe 2
Operation
command
Operation command executed.
NoteSoftware resets are executed again even if the strobe has not been cleared.
Therefore the Output Enable Bit or the strobe must be cleared after the software reset command has been sent.
0
1
4-3Ladder Programming Examples
4-3-1Zero Execute/Cancel Sample Programming
The zero execute/cancel ladder programming example here is executed under
the following conditions.
• Using default I/O allocations to allocate data in fixed allocation area 1 of a
CS/CJ-series DeviceNet Unit (OUT Area = CIO 3200 to CIO 3263, IN
Area = CIO 3300 to CIO 3363).
OutlineThis ladder programming example executes zero execute and zero cancel for
the K3HB-DRT. Zero execute and zero cancel are executed using operation
commands.
Output Enable Bit (CIO 320100) and strobe are used to execute the operation
command.
Remote I/O Com-
munications
Operation• First, the Output Enable Bit is turned ON. The hexadecimal values are set
to D1000 and D1001 at the start of the ladder program. These values prepare the zero cancel operation command 0300 hex and the zero execute
operation command 0301 hex.
• Zero cancel is executed when CIO 000000 turns ON.
• The contents of D1000 (= 0300 hex) is copied to CIO 3202, where the
operation command is allocated.
• The strobe is turned ON (strobe 1 = 0 and strobe 2 = 1) and the operation
command is executed.
• A timer is used and the strobe is disabled to 1 after 0.1 s (see note).
• Zero execute is executed in the same way as for zero cancel when
CIO 000100 turns ON.
6-7
Page 93
Ladder Programming ExamplesSection 4-3
NoteWhen using this type of ladder programming, do not use the timer method
used in this example. Instead, allocate the status and confirm that the value
has changed and then disable the strobe, specifically:
a. Allocate status in the IN Area using the Configurator.
b. Execute operation commands and use the status to confirm that the
status has been cleared to zero and then disable the strobe.
munications
Remote I/O Com-
6-8
Page 94
Ladder Programming ExamplesSection 4-3
■ Programming Example
000000
(000000)
000001
(000004)
000002
(000007)
000003
(000010)
000004
(000013)
000005
(000015)
000006
(000018)
000007
(000021)
000008
(000024)
000009
(000027)
000010
(000030)
000011
(000032)
000012
(000035)
000013
(000038)
A200.11
First scan
Flag ON
0.00
Execution
condition
0.01
0.02
T0000
0.03
0.04
1.00
Execution
condition
1.01
1.02
T0001
1.03
1.04
MOV (021)
#0300
D1000
MOV (021)
#0301
D1001
SET
3201.00
MOV (021)
D1000
3202
ASL (025)
0
RSET
3202.14
ASL (025)
0
SET
3202.15
TIM
0000
#1
ASL (025)
0
SET
3202.14
ASL (025)
0
RSET
3202.15
ASL (025)
0
MOV (021)
D1001
3202
ASL (025)
1
RSET
3202.14
ASL (025)
1
SET
3202.15
TIM
0001
#1
ASL (025)
1
SET
3202.14
ASL (025)
1
RSET
3202.15
ASL (025)
1
END (001)
Moves #0300 to D1000.
Moves #0301 to D1001.
Turns ON Output Enable Bit.
Copies the contents of D1000
to CIO 3202.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 1 = 0.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 2 = 1.
Times 0.1 s.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 1 = 1.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 2 = 0.
Shifts the contents of CIO 0000
one bit to the left.
Copies the contents of D1001
to CIO 3202.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 1 = 0.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 2 = 1.
Times 0.1 s.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 1 = 1.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 2 = 0.
Shifts the contents of CIO 0000
one bit to the left.
Remote I/O Com-
munications
6-9
Page 95
Ladder Programming ExamplesSection 4-3
munications
Remote I/O Com-
6-10
Page 96
SECTION 5
Explicit Message Communications
This section describes how to send explicit messages to the K3HB-DRT Digital Indicator, including how to send
CompoWay/F commands using explicit messages.
5-3-3Setting and Monitoring the Digital Indicator Words . . . . . . . . . . . . . . . . . . . . .7-7
Communications
Explicit Message
7-1
Page 97
Overview of Explicit Message CommunicationsSection 5-1
5-1Overview of Explicit Message Communications
5-1-1Explicit Message Communications
Explicit message communications is a communications protocol for sending
commands from the master as explicit messages, and receiving explicit messages as responses from the nodes that receive the commands.
Explicit messages can be sent from the master to the Digital Indicator to read
and write the K3HB-DRT Digital Indicator variable area, send operation commands, and read and write various other DeviceNet functions supported by
the Digital Indicator.
Explicit message communications can be used to send and receive data that
is not allocated in the IN and OUT Areas due to word size restrictions, and
data that does not require the frequent refreshing used by the IN Area and
OUT Area.
Use either of the following two methods depending on the application.
Reading/Writing K3HB-DRT Variable Area Data and Sending Operation Commands
Send CompoWay/F communications commands to K3HB-DRT Digital Indicators by embedding them in explicit messages.
Reading/Writing K3HB-DRT Maintenance Information
Send explicit messages specific to the DeviceNet-compatible Digital Indicator.
DeviceNet Master
CPU Unit
IOWR or
CMND
instruction
CompoWay/F communications
command sent to K3HB
Digital Indicator (embedded in
explicit message)
Explicit Message
Communications
Explicit message sent to
DeviceNet-compatible
Digital Indicator
K3HB-DRT Digital Indicator
5-1-2Explicit Message Types
The explicit messages sent to the Digital Indicator can be divided into two
types: messages in which CompoWay/F commands are embedded and messages specific to DeviceNet-compatible Digital Indicators.
Sending CompoWay/F Commands to the K3HB-DRT (Embedded in Explicit Messages)
The master can send CompoWay/F communications commands to the K3HBDRT Digital Indicator by sending them as explicit message data.
When DeviceNet-compatible Digital Indicators are used, the explicit messages are automatically converted to CompoWay/F communications commands and sent to the K3HB-DRT Digital Indicator. The responses from the
Digital Indicator are converted into explicit messages and returned to the
master. CompoWay/F commands are used to read from and write to the
K3HB-DRT variable area and to execute operation commands.
CompoWay/F commands consist of binary commands and ASCII commands.
7-2
Page 98
Overview of Explicit Message CommunicationsSection 5-1
■ CompoWay/F Binary Commands
CompoWay/F binary commands are CompoWay/F communications commands expressed in hexadecimal, and are easy to execute from ladder programs. CompoWay/F communications commands that include ASCII data,
however, cannot be sent or received. Therefore, Read Controller Attribute (05
03) and broadcasting (unit number = XX) cannot be used.
■ CompoWay/F ASCII Commands
CompoWay/F ASCII commands are CompoWay/F communications commands expressed in ASCII, so numerical values must be converted to ASCII
when executing these commands from a ladder program. CompoWay/F
binary commands cannot be used. Broadcasting (unit number = XX) cannot
be used, but all other CompoWay/F communications commands can be sent
and received, including Read Controller Attribute (05 03), which cannot be
used with CompoWay/F binary commands.
Sending Explicit Messages Specific to DeviceNet-compatible Digital Indicators
The master can send explicit messages to a DeviceNet-compatible Digital
Indicator to control various operations supported only by DeviceNet-compatible Digital Indicators and to read DeviceNet-specific settings and status information.
These explicit messages are used to read and write maintenance information
specific to DeviceNet-compatible Digital Indicators.
5-1-3Explicit Messages Basic Format
The basic formats of explicit message commands and responses are
described here.
Command Block
Destination
node
address
Destination Node Address
This parameter specifies the node address of the Controller to which the
explicit messages (commands) will be sent in single-byte (2-digit) hexadecimal.
Service Code, Class ID, Instance ID, Attribute ID
These parameters specify the command type, processing target, and processing details.
The Attribute ID does not need to be specified for some commands.
Data
Specifies the details of the commands, set values, etc. The data section is not
required for read commands.
Response BlockThe following format is used when a normal response is returned for the sent
explicit message.
No. of bytes
received
Service
code
Source node
address
Class IDInstance IDAttribute IDData
Service codeData
Communications
Explicit Message
7-3
Page 99
Sending CompoWay/F Commands to the Digital IndicatorSection 5-2
The following format is used when an error response is returned for the sent
explicit message.
No. of bytes
received
0004 hex, fixed
Number of Bytes Received
The number of data bytes received from the source node address is returned
as a hexadecimal. When an error response is returned for the explicit message, the contents is always 0004 hex.
Source Node Address
The node address of the master that sent the explicit message is returned as
a hexadecimal.
Service Code
For normal responses, the service code specified in the command turns with
the most significant bit (bit 07) turned ON is returned. (For example, when the
service code of the command is 0E hex, the service code of the response will
be 8E hex.) When an error response is returned for the explicit message, the
service code is always 94 hex.
Data
Read data is included in the response only when a read command is executed. There is no data for commands that do not read data.
Error Code
The following table shows the error codes for explicit messages.
Error
code
08FFService not supported The service code is incorrect.
09FFInvalid Attribute valueThe Attribute Value is not supported.
16FFObject does not existThe Instance ID is not supported.
15FFToo much dataThe data string is too long.
13FFNot enough dataThe data string is too short.
14FFAttribute not supported The Attribute ID is not supported.
Explicit Message
Communications
0CFFObject state conflictThe command cannot be executed.
0EFFAttribute not settableA write service code was sent for a read-only
20**Invalid ParameterThere is an error in the specified parameter.
Source node
address
Error nameCause
Service code
Attribute ID.
Error code
(2 bytes, fixed)
5-2Sending CompoWay/F Commands to the Digital Indicator
The master can send CompoWay/F command frames to the K3HB-DRT Digital Indicator by embedding them in explicit message commands, and receive
CompoWay/F response frames that are embedded in explicit messages
responses.
The following services, however, cannot be used.
• Monitor value/set data composite registration read
• Monitor value/set data composite read registration (write)
• Monitor value/set data composite read registration confirmation (read)
7-4
Page 100
Sending CompoWay/F Commands to the Digital IndicatorSection 5-2
5-2-1CompoWay/F Binary Commands
CompoWay/F binary commands use hexadecimal values for the CompoWay/
F frames, and not ASCII. Therefore, the data volume is about half of CompoWay/F ASCII commands. The following restrictions apply.
• Read Controller Attribute (05 03), which includes ASCII in the CompoWay/F frame, cannot be used.
The following command and response formats are used when executing
CompoWay/F binary commands from an OMRON Master.
Command Block
Destination node
address
Service
Code
36 hex
fixed
Class IDInstance IDData (CompoWay/F command frame data)
0086 hex fixed0001 hex fixed
2 bytes1 byte
Specified in binary2 bytes1 byte
Unit No.
(See
note.)
Subaddress
00 hex
fixed
SIDFINS-mini command text
00 hex
fixed
NoteSpecify the same value as the destination node address. Broadcasting cannot
be specified.
Response BlockNormal Response
Source
Unit
No.
node
address
Subaddress
00 hex
fixed
No. of
received bytes
2 bytes1 byte1 byteResponds in binary (hexadecimal)
5-2-2CompoWay/F ASCII Commands
When CompoWay/F ASCII commands are used, the CompoWay/F frames
are expressed in ASCII (each digit in a specified numerical value is also converted to ASCII, so 52 is specified as ASCII 3532).
The following command and response formats are used when the commands
are executed from an OMRON Master Unit.
Service
Code
B6 hex
fixed
End
code
00 hex
fixed
Data (CompoWay/F response frame data)
FINS-mini response text
Communications
Explicit Message
7-5
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.