Protocol Studio Man KT
Protocol Studio Man KT
KV-H1RWE
User's Manual
Please read this Manual before use.
Keep this Manual in a safe place for later reference.
Store this manual in a safe place so that you can retrieve it whenever necessary.
Please handover this manual to the end-users who are going to use the KV-1000 Series.
■ Symbols
This document contains notices which you should observe to ensure your own personal safety, as well
as to protect the product and connected equipment.
Danger
Indicates that death or severe personal injury will result if proper precautions
are not taken.
Warning Indicates that death or severe personal injury can result if proper precautions
are not taken.
Caution
Indicates that damage to property can result if proper precautions are not
taken.
Import
Indicates that an undesirable result or status can occur if the relevant notice is
ignored.
Note
Describes cautions for easily mistaken operations.
TIP Indicates useful information or information that aids understanding of text descriptions.
Indicates a reference item or page to be referred to in this manual and other manuals.
1
■ General Precautions
• Verify that the KV-700/1000 CPU unit and multi-communication unit KV-L20R function correctly when
using the PROTOCOL STUDIO.
• Verify that this device functions correctly at startup and during operation.
• Provide a safety circuit that by passes PLC to enable failsafe operation of the entire system in the
event that the PLC fails.
• Internal circuit malfunctions sometimes prevent control from being performed normally. Be sure to
provide a safety circuit in control systems where circuit malfunction may lead to fire or other serious
accidents.
• Proceed with care when modifying the KV-L20R, or when using it in a manner that falls outside of the
ranges indicated in its specifications, since KEYENCE is unable to guarantee device functionality or
performance in such situations.
• Use this product in combination with other devices only after careful consideration, since the product
may fail to satisfy its functionality and performance capabilities as a result of the conditions and
environment in which it is used.
• Do not use the product with the purpose of protecting human beings.
■ Caution
When using this device under the following conditions or operating environments, please consult with
your KEYENCE agents in addition to implementing safety measures such as product operation that
allows redundancy with respect to ratings and functions and use of failsafe provisions.
• Use of the product under conditions not described in this manual.
• Use of the product in nuclear power generation control, railroad facilities, aviation facilities, vehicles,
combustion devices, medical equipment, entertainment machinery, safety equipment, etc.
• Use in applications where a major influence to human life and property is anticipated, and where
safety in particular is required
2
Software License Agreement
Before you use this software, be sure to read the terms of this agreement.
Once you have started to use these softwares, it is assumed that you have consented to these terms,
and an agreement is established between KEYENCE CORPORATION and the user.
Terms
1. Rights of Use
KEYENCE CORPORATION shall permit the user the non-exclusive rights to use this software in
accordance with the terms of this agreement.
2. Copyright
Copyright relating to this software and manual shall belong to KEYENCE CORPORATION, and the
user shall not have rights other than the rights of use.
3. Forbidden Items
The user shall not be able to copy this software, nor be able to sell or distribute it to a third party. The
user, however, shall be able to copy this software for the purpose of making backups for the user's
own use.
5. Cancellation of Agreement
Should the user have violated any terms of this agreement, KEYENCE CORPORATION shall
immediately be able to cancel this agreement, and the user shall destroy or return this software and
copies to KEYENCE CORPORATION.
• Microsoft, Windows, Windows NT, Windows XP are registered trademarks or trademarks of Microsoft
Corporation in the United States or other respective countries.
• IBM is a registered trademark of IBM Corporation in the United States.
• Other company names, product names, and model names used in this manual are trademarks or
registered trademarks of their respective companies.
3
MEMO
4
Configuration of This Manual
1Chapter Before Using This chapter describes how to check the content of the package and how 1
to install the software.
2
PROTOCOL This chapter describes the features and overview of PROTOCOL
2Chapter STUDIO Overview STUDIO. 3
DETAILED
4
This chapter describes the features and overview of PROTOCOL
3Chapter FUNCTION
DESCRIPTION
STUDIO. 5
6
Making the Ladder This chapter describes how to make the ladder program for controlling the
4Chapter Program receive/send timing when using PROTOCOL STUDIO. Appe
USING PRINT This chapter describes how to print communication macro setting file and
6Chapter FUNCTION print preview.
These appendices present a list of error messages, device No. items and
Appendix
index.
5
Contents
Preface
Safety Precautions •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 1
Software License Agreement ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3
How This Manual Is Organized ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5
Contents •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6
Conventions Used In This Manual •••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 9
Page Configuration and Symbols•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 9
Terminology •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 9
Chapter 1 PREPARATIONS
1-1 Checking the Contents of the Package••••••••••••••••••••••••••••••••••••••••••••••••••••1-2
1-2 Operating Environment ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••1-3
Operating Environment of the PROTOCOL STUDIO••••••••••••••••••••••••••••••••••••••••••••••1-3
1-3 Installing the Software •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••1-4
Preparing for Installation ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••1-4
Precautions in Windows 2000/XP •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••1-4
Installing PROTOCOL STUDIO ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••1-5
Uninstalling Software•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••1-7
1-4 Precautions Upon Using ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••1-8
7
Chapter 4 MAKING LADDER PROGRAM
4-1 Setting Example for Reference Ladder Diagram••••••••••••••••••••••••••••••••••••••••4-2
4-2 Precautions when Making Ladder Program••••••••••••••••••••••••••••••••••••••••••••••4-3
4-3 Send + Receive type ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••4-4
4-4 Send + Continous receive type ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••4-7
4-5 Only Send type ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4-14
4-6 Only Receive type ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4-17
4-7 Verifying and Clearing Error•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4-20
Chapter 5 TRACING/MONITORING
5-1 Tracing Function Overview •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5-2
5-2 Names and Functions of Tracing Screen •••••••••••••••••••••••••••••••••••••••••••••••••5-4
5-3 Tracing/Monitoring ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5-6
Switch to Tracing Screen••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5-6
Switch to Edit Screen ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5-8
Start tracing ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5-8
Close tracing•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5-8
Run PLC ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5-9
Stop PLC •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5-9
Start monitoring •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5-9
End monitoring •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5-10
Setting the Tracing Condition••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5-10
Save the log data as a CSV file •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5-11
Chapter 6 PRINTING
6-1 Setting Printer ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6-2
6-2 Display Print Preview•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6-3
6-3 Opening Communication Macro Setting File ••••••••••••••••••••••••••••••••••••••••••••6-4
APPENDICES
1 Error Message List ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A-2
Error Messages Displayed When Programming Communication Macros •••••••••••••••••••• A-2
Error Messages Displayed When Tracing and Monitoring the Operations ••••••••••••••••••• A-7
Error Messages Displayed When the PROTOCOL STUDIO Starts ••••••••••••••••••••••••••• A-8
Error Messages Related to PLC Communication ••••••••••••••••••••••••••••••••••••••••••••••••• A-9
2 List of the device No. •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••A-10
Relay List ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A-10
DM List•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A-13
3 Index ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••A-15
8
How to Use This Manual
The following shows how pages are configured, and the symbols and terminology used in this Manual.
Headline.
3-3 Operation When Creating Macros
Chapter title.
This section describes the operations for creating macro setting file and the procedures to follow to use The firm product name.
PROTOCOL STUDIO. Indicated by "()".
1
Chapter title.
Select [Tool(T)] [PROTOCOL STUDIO(P)] from KV BUILDER/
KV STUDIO edit screen.
Operational
Other procedure
• Click button.
procedure. • Press + key. Operational screen.
Other operational
procedure.
Describe the methods
to achieve the same Ƶ Open existing communication macro setting file. Sub-heading.
results using othe 1 Click
procedures. "Open(O)" button on "Select external devices"
dialog box.
"Open File" dialog box appears.
Tip
Reference page/manual Indicates the detailed
The page or manual TIP For communication ports, see description of related
containing the related KV BUILDER User's Manual, ì7-4 Communication with PLCî and items and reference
KV STUDIO User's Manual, ì9-1 About Functions of Monitor/Simulatorî
information. .
information
Provides additional
Note
The command or response can only be copied/pasted line by line. information on proper
operation.Be sure to read.
Precautions.
Failure to observe the CAUTION
Data can not be written into the occupied DM other than used by
caution described here communication macros set in PROTOCOL STUDIO.
may result in product When changing the data in system reserved area, the macro data will be
trouble. damaged, KV-L20R error occurs and receiving/sending data can not be
performed.
3-6
* This page was made for the purpose of explaining page components, and differs from an actual page.
Terminology
9
MEMO
10
1
BEFORE USING
BEFORE USING
This chapter describes how to check the content of the package and how to
install the software.
1-1
1-1 Checking the Contents of the Package
1 The package contains the following items. Before using, make sure that the package contains
everything that it is supposed to contain.
PREPARATIONS
Note
We recommend backing up the CD-ROM in case it is damaged.
User's Manual, 1X
The required cables shall be available additionally when connecting KV-700/1000 with PC.
Prepare the required cables to match the PC you are using.
KV BUILDER User's Manual, "1-3 Preparations".
KV STUDIO User's Manual, "1-3 Preparations".
1-2
1-2 Operating Environment
This section describes the operating environment of the PROTOCOL STUDIO.
Be sure to read this section before using.
1
PREPARATIONS
Operating Environment of the PROTOCOL STUDIO
Compatible PC
A PC, installed with Windows98/98SE/Me/2000/Windows NT4.0
(SP5 or later) or Windows XP, equipped with a RS-232C or USB
port. (For the PC with an USB port, only pre-installed with
Windows Windows98SE/Me/2000/WindowsXP.)
• IBM PC and compatible PC (DOS/V)
CD-ROM drive
Operation System
• Windows98SE • WindowsMe
• Windows2000 • WindowsNT4.0(SP5 or later) • WindowsXP
To enable use of monitor functions or transfer of programs on the KV-700/1000 CPU Unit, the PC must first
be connected to the respective unit (e.g. KV-700/1000 CPU Unit).
KV BUILDER User's Manual, "1-3 Preparations".
KV STUDIO User's Manual, "1-3 Preparations".
1-3
1-3 Installing the Software
This section briefly describes how to install PROTOCOL STUDIO on the PC's hard disk.
1
BEFORE USING
Note
We recommend backing up the master disk in case it is damaged.
■ User Rights
Set access rights as follows when PROTOCOL STUDIO is installed on the standard folder (C:\Program
files\Keyence\PROTOCOL STUDIO\).
• Assign "Power User" rights or higher to users using PROTOCOL STUDIO.
1-4
1-3 Installing the Software
BEFORE USING
We will take following drive configuration as an example to describe how to install software on a PC.
If the driver letters in your current PC differ from the following, specify the drive to install the software
according to the actual PC configuration.
C : Hard drive
E : CD-ROM drive
Note
When installing KV STUDIO on Windows 2000/XP, only the user with "Power User"
rights or higher can log in.
2 Insert the PROTOCOL STUDIO master disk into the CD-ROM drive on the PC.
The autorun function on the PC will start up the installer program.
If failed to start up the installer program, please select "specified file name" from Start menu, and type
"E:\setup" in "Specified file name" dialog box, then click "OK".
1-5
1-3 Installing the Software
1-6
1-3 Installing the Software
Uninstalling Software 1
BEFORE USING
PROTOCOL STUDIO can be unistalled when PROTOCOL STUDIO is not used.
Uninstall the software as follows.
Note
When uninstalling the software on Windows 2000/XP, only the user with
"Administrator" rights can log in.
4 Select the application (PROTOCOL STUDIO), and click the "Add/Remove(R)" button or "Change/
Remove(C)" button (in the case of Windows
2000/XP).
The Confirm Window is displayed.
Windows 98SE Windows 2000 Windows XP
1-7
1-4 Safety Precautions
This section describes the precautions to follow when using PROTOCOL STUDIO. Be sure to read
1 carefully.
BEFORE USING
Confirmation of PC settings
Before you start using a PC, first make sure that USB or RS-232C port has been set.
If these ports are not set, a communications error will occur during Monitor operation, and the Monitor
cannot be operated correctly.
For details on how to set, refer to the manual for the PC you are using.
Display resolution
After installing PROTOCOL STUDIO, please set display solution to a setting higher than 800 x 600 pixels,
256 colors or more, small fonts.
Also, it will be comfortable to operate if setting a higher display solution. (1280 x 1024 pixels or more
recommended)
1-8
2
2−1
2-1 Features of PROTOCOL STUDIO
PROTOCOL STUDIO is a communication macro support software for multi-communication unit KV-
L20R or external device communication.
When using PROTOCOL STUDIO, the following programs are not required compared with when you
2 use the non-procedural mode to define communications protocols (procedures) in ladder programs:
• Program for processing ASCII text strings
PROTOCOL STUDIO OVERVIEW
When using PROTOCOL STUDIO, the ladder program can communicate with external devices merely
by controlling (turning relays ON/OFF) the timing of transmission/reception.
2-2
2-1 Features of PROTOCOL STUDIO
2-3
2-1 Features of PROTOCOL STUDIO
Note
About compatibility between PROTOCOL BUILDER and PROTOCOL STUDIO data
• Compatibility between communications macro setting files
2 Communications macro setting files made in PROTOCOL BUILDER and PROTOCOL
STUDIO are not compatible.
PROTOCOL STUDIO OVERVIEW
PROTOCOL BUILDER file (*.pbs) can not be opened by PROTOCOL STUDIO, vice
versa.
• Ladder program compatibility
Ladder programs created for the KV-L20 (PROTOCOL BUILDER mode)
cannot be used for the KV-L20R (PROTOCOL STUDIO mode).
Ladder programs created for the KV-L20 (PROTOCOL STUDIO mode) cannot be used
for the KV-L20R (PROTOCOL BUILDER mode).
TIP KV-L20 can be available only after connecting to KV-700 CPU unit, not be connected to KV-
1000 CPU unit.
KV-L20R can be connected to KV-700/1000 CPU unit.
2-4
2-2 PROTOCOL STUDIO Configuration
This section describes the procedures for performing communications between the KV-L20R
(PROTOCOL STUDIO mode) and external devices using PROTOCOL STUDIO.
2
Procedures for Using PROTOCOL STUDIO
2-5
2-2 PROTOCOL STUDIO Configuration
2 The "communications macro setting file" that is created on PROTOCOL STUDIO defines the following:
send (command) data/response data to send/receive between the KV-L20R and external devices, the
PROTOCOL STUDIO OVERVIEW
relays that control this transmission/reception, data memories that store the variables contained in the
send (command) data/response data, and the various associations between all this information.
Individual relays and data memories are automatically assigned in macro No. order for each macro.
The KV-L20R can communicate with external devices merely by turning relays ON/OFF by the ladder
program to control the communication macros.
2-6
2-2 PROTOCOL STUDIO Configuration
Communication macros created on PROTOCOL STUDIO are compatible with the following four 2
communication modes:
■ Send type
With this type, a single item of send data (command) is only sent from the KV-L20R, and no response
data is returned from the external device.
■ Receive type
With this type, no send data (command) is sent from the KV-L20R, and data to be sent from the
external device is only received.
2-7
2-2 PROTOCOL STUDIO Configuration
MEMO
2-8
3
3-1
3-1 Setup Flow
3-2
3-1 Setup Flow
3-3
3-2 Setting Items on Unit Editor
The section describes the setting items on Unit Editor of KV BUILDER/KV STUDIO before starting
PROTOCOL STUDIO.
3-4
3-2 Setting Items on Unit Editor
3 Click "Unit setup (3)" tab, verify that the used port mode is
"PROTOCOL STUDIO" mode.
3-5
3-3 Operations When Creating Macros
This section describes the operations for creating macro setting file and the procedures to follow to use
PROTOCOL STUDIO.
3-6
3-3 Operations When Creating Macros
3-7
3-3 Operations When Creating Macros
After selecting, click "OK” and return to "Select unit setting information" dialog box.
3-8
3-3 Operations When Creating Macros
3 When sending data to external devices, select "Send from KV-L20R to external devices".
The items in "Select items of send frame to be configured" become selectable.
3-9
3-3 Operations When Creating Macros
3-10
3-3 Operations When Creating Macros
The following describes names and functions of communication macro setup area.
3-11
3-3 Operations When Creating Macros
• Press + key.
4 When sending data to external devices, select "Send from KV-L20R to external devices".
The items in "Select items of send frame to be configured" become selectable.
3-12
3-3 Operations When Creating Macros
3-13
3-3 Operations When Creating Macros
• Press + key.
"Open File" dialog box appears.
Add communication macros in the imported communication macro setting file to the currently created
communication macro file.
3-14
3-3 Operations When Creating Macros
3-15
3-3 Operations When Creating Macros
Display and set up the attributes information of communication macro setting file.
2 Click the items to be set in "User information", "Port information" or "Connected device" tab.
3-16
3-3 Operations When Creating Macros
3-17
3-3 Operations When Creating Macros
Add macros.
TIP Up to 32 macros can be newed.
3 1 Select [Macro(M)] [Add macro(A)] from the menu.
Other
DETAILED FUNCTION DESCRIPTION
• Click button.
• Press + key.
3-18
3-3 Operations When Creating Macros
Communication
Send + Continuous Receive Set up communication mode. For detail, please refer to 3
Only Send "Communication Modes Possible on PROTOCOL
The receive buffer can clear the data that is read into receive buffer at the down edge of receive read end
relay to prevent the receive buffer overflowing.
Note
When no header in response data format and using receive buffer, after enabling
macros, verify when receiving the first delimiter and clear the receive buffer when
receiving the next delimiter (verifying is not performed) in order to ensure the data
reliability. So, verifying is performed only once for two data receiving operations.
The header should be set when using receive buffer.
3-19
3-3 Operations When Creating Macros
3-20
3-3 Operations When Creating Macros
Adding Response
Add response.
TIP A response will be created after adding a macro.
Up to 16 responses can be set per one macro. Up to 48 responses can be set in one communication 3
macro file.
3-21
3-3 Operations When Creating Macros
Deleting Response
3-22
3-3 Operations When Creating Macros
3-23
3-3 Operations When Creating Macros
3-24
3-3 Operations When Creating Macros
3-25
3-3 Operations When Creating Macros
"Receive type"
First, monitor the time between the macro start relay ON and receiving response data,
then the time between response data receive completion and receiving the next
response data.
External equipment Response data Response data Response data
KV-L20R
t: Receive wait end timeout time
3-27
3-3 Operations When Creating Macros
Undo
• Press + key.
Redo
3-28
3-3 Operations When Creating Macros
Note
The command or response can only be copied/pasted line by line.
3-29
3-3 Operations When Creating Macros
3-30
3-3 Operations When Creating Macros
For the system device, see "2 List of the device No."(page A-12).
3-31
3-3 Operations When Creating Macros
For the macro device, see "2 List of the device No."(page A-12).
3-32
3-3 Operations When Creating Macros
Setting Options
The macro device (relay/DM) is auto-numbered continuously when newing a communication macro.
When adding, deleting or moving a macro or response, the assignment of macro devices will be
changed. 3
You can set whether or not the warning screen is displayed * Warning screen displayed when performing a
3-33
3-3 Operations When Creating Macros
After the read operation is finished, the read communication macros are displayed in macro setup area.
3-34
3-3 Operations When Creating Macros
"Inconsistent macro data" dialog box appears when their contents are
not consistent.
3-35
3-3 Operations When Creating Macros
Other procedure
• Click button.
Displaying Help
3-36
3-3 Operations When Creating Macros
3-37
3-4 Setting up Send and Receive Frames
To set up transmission format for the communication with external devices according to the
communication protocol of external devices.
The configuration of send and receive frames is as follows.
TIP The configuration sequences of send and receive frames can be changed freely.
Please follow the communications specifications of connected external devices.
But the restrictions on frame configuration should be considered. Refer to
"3-5 Restrictions When Creating Macros"(page 3-64).
3-38
3-4 Setting up Send and Receive Frames
Setting up Configuration
To set up transmission format configuration for the communication with external devices.
The above checkbox is selected when sending and receiving data to or from external devices.
3
Note
• Items of the frame to be configurated should be selected when sending and
receiving data to or from external devices.
• Data block must be set when "Data" is selected in items of the frame to be
configurated.
3-39
3-4 Setting up Send and Receive Frames
Setting up Header
It is set when the special code is used in the start part of newed communication protocol.
3
DETAILED FUNCTION DESCRIPTION
Setting Example The settings are as follows when the header is set to ASCII codes "STX", "@"
or "AB".
Type STX @ AB
Control code selectable unselectable unselectable
ASCII code unsettable @ AB
BIN code 02H 40H 4142H
3-40
3-4 Setting up Send and Receive Frames
It is set when two or more external devices are connected in a multi-drop mode or the created
communication protocol uses station No.s.
3
Setting Example The settings are as follows when the station No. is set to ASCII codes "2",
"02", "10" or "A".
• In the case of constants
Type 2 02 10 A
ASCII 2 02 10 A
BIN code 32H 3032H 3130H 41H
3-41
3-4 Setting up Send and Receive Frames
The data length can be calculated and added to send data according to the calculation formula set in
KV-L20R when sending the frame setting.
3 The data of above calculated data length acts as the data to be received when receiving the frame
setting.
DETAILED FUNCTION DESCRIPTION
Note
The bytes of set size from lower bit are valid and others ignored when the digits of
calculated data length is larger than the size setting (1 to 4 bytes).
Example When the calculated data length is "123" and the size is set to 2 bytes
1 2ޓ3
3-42
3-4 Setting up Send and Receive Frames
Setting Example The setting is as follows when header, data length, data, check code and
delimiter are selected in calculation items.
Size
1 byte 2 bytes 3 bytes 4 bytes
Type
00B 000C
ASCII (HEX) 9 (39H) 0A (30 41H)
(30 30 42H) (30 30 30 43H)
011 0012
ASCII (DEC) 9 (39H) 10 (31 30H)
(30 31 31H) (30 30 31 32H)
BIN code 09H 000AH 00000BH 0000000CH
Click "Add" and "Type of data block" dialog box will appear.
Select the type of data block to be added from the pull-down list.
The following items can be selected:
• ASCII variable
• ASCII constants
• Binary variable
• Binary constants
Click "OK" after selecting.
Display dialog boxes of every item.
3-43
3-4 Setting up Send and Receive Frames
3
DETAILED FUNCTION DESCRIPTION
3-45
3-4 Setting up Send and Receive Frames
3
DETAILED FUNCTION DESCRIPTION
Setting Example When sending character string data (variable) stored in variable DM
When data storage unit is byte unit
Character string to be sent
Item
A AB ABC ABCD ABCDE
Length of sent data 1 byte 2 bytes 3 bytes 4 bytes 5 bytes
Send leading DM 4100H 4142H 4142H 4142H 4142H
Data stored in
Send leading DM+1 - - 4300H 4344H 4344H
variable DM
Send leading DM+2 - - - - 4500H
*Variable DM with "-" not used.
3-46
3-4 Setting up Send and Receive Frames
Select the type of data block to be added from the pull-down list.
The following items can be selected:
• ASCII variable
• ASCII variables (variable number of data)
• ASCII constants
• Binary variable
• Binary constants
Click "OK" after selecting.
Display dialog boxes of every item.
3-47
3-4 Setting up Send and Receive Frames
Note
• The following restrictions should be accepted
when the receive ASCII variable with variable
digits is used. Otherwise, the response data can
not be received correctly.
• The delimiter or separator should be set.
Setting Item
DEC/HEX setting DEC
Data 1
DEC
Data 2
DEC
Data 3
DEC
Data 4 3
Number of occupied DMs 1 word 2 words 2 words 2 words
Setting Example Storing examples for receiving data with the decimal place
Receive data
Item
12.34 123.45 01.234 001.23
Receive leading DM X #12345 X #123
* "X" indicates inconsistent verification and data not stored.
Receive data
Item
12 123.45 1.2345 0012.3
Receive leading DM #12 #12345 #12345 #123
Receive leading DM+1 #1 #100 #10000 #10
*The decimal place is stored in the leading receive DM+1.
3-49
3-4 Setting up Send and Receive Frames
Decimal place -
Separator no separator
Receive data
Item
1234567 1.234567 001.23456 000012.3
Receive leading DM(low)
Receive leading DM 1 #1234567 #1234567 #123456 #123
(high)
Receive leading DM+2
(low)
#1 #1000000 #100000 #10
Receive leading DM 3
(high)
*The decimal place is stored in the receive leading DM +2(low) and DM+3 (high).
3-50
3-4 Setting up Send and Receive Frames
Note
• The following restrictions should be accepted when the receive ASCII variable with
variable number of data. Otherwise, the response data can not be received
correctly.
• Data block can not be added after receive ASCII variable (variable number of data).
• The delimiter must be set.
• Other elements can not be set between data block and the delimiter.
Data block
Data block Data block Receiving ASCII variables Delimiter
(variable number of
Data
• One receive ASCII variable (variable number of data) is available for one response data.
• When the number of received data does not reach max. number, "0" is stored in
variable DMs after the received data.
3-51
3-4 Setting up Send and Receive Frames
half-width comma (,) The half-width comma (,) is set as data separator.
Separator
half-width space The half-width space is set as data separator.
Display example - Display examples for receiving data.
*1 BIN value can not be stored in variable DM in order to verify the data inconsistency when the number of
received data exceeds max. number of data.
*2 The data with sign and decimal place can not be sent for HEX number.
*3 Digits does not symbols and decimal places.
*4 The decimal place needs to be stored when the variable digits is set. So, 2 words of variable DMs are
occupied when "Number of occupied DMs" is 1 word and 4 words when "Number of occupied DMs" is 2
words.
Setting Example Examples for storing the received data of receive ASCII variable (variable number
of data)
Examples for storing data in variable DM when max. number of data is set to 3
3-52
3-4 Setting up Send and Receive Frames
3-53
3-4 Setting up Send and Receive Frames
Note
• The following restrictions should be accepted when the receive ASCII constants
not verified is used. Otherwise, the response data can not be received correctly.
• Do not add a data block after the ASCII constant that is set to "not verified".
• Data length is set before data in the receive frame configuration. When data length is
not set, the delimiter must be set. Other elements can not be set between delimiters
when only delimiter is set. In addition, the delimiter should be set as other than ASCII
characters (half width alphanumeric and sign, ASCII code 20H to 7FH).
Data block
Data length Data block Data block Receive ASCII constant
(not verified)
Data
Or
Data block
Data block Data block Receive ASCII constant Delimiter
(not verified)
Data
Setting Example Examples for verified results of the receive ASCII constant
Receive data
Verify type
ABC 12A 12ab 123A
not verified ○ ○ ○ ○
Verify contents of character string (Verify character string: ABC) ○ X X X
Only verify character string (number of verified characters: 3) ○ ○ X X
○: Consistent, X: Inconsistent
3-54
3-4 Setting up Send and Receive Frames
Note
• The following restrictions should be accepted when the receive BIN variable with
variable data length is used.
Otherwise, the response data can not be received correctly.
• Data length should be set before data in the receive frame configuration.
• In addition, in the responses for which a receive binary variable with variable data length
is set, do not use data block of the ASCII variable, ASCII variable (variable number) and
the ASCII constant with "not verified".
• One response can use only 1 delimiter.
• When the data length (bytes) of received data is smaller than the number of bytes set
in data length/max. data length, ì0î is stored in variable DMs after the received data.
Setting Example Examples for storing received data of receive BIN variable
Examples for storing data in variable DM when the data length/max. data length is set to 5
Receive data
Item 4142434445H 41424344H 414243444546H
(ABCDE) (ABCD) (ABCDEF)
Receive leading DM 4142H X X
Data stored in
Receive leading DM+1 4344H X X
variable DM
Receive leading DM+2 4500H X X
* "X" indicates inconsistent verification and data not stored.
3-55
3-4 Setting up Send and Receive Frames
Receive data
Item 4142434445H 41424344H 414243444546H
(ABCDE) (ABCD) (ABCDEF)
Receive leading DM 4142H 4142H X
Data stored in
Receive leading DM+1 4344H 4344H X
variable DM
Receive leading DM+2 4500H 0000H X
* "X" indicates inconsistent verification and data not stored.
3-56
3-4 Setting up Send and Receive Frames
To set up the code for verifying whether or not errors exist in send/receive data.
When sending, KV-L20R can calculate the data within calculation item range automatically according to
the specified calculation formula and add it to data to be sent. 3
When receiving, KV-L20R can calculate the data within calculation item range automatically according
Sand side
3-57
3-4 Setting up Send and Receive Frames
3
BIN code Converting the check code in binary coded hexadecimal format.
Size 1 to 4 bytes Setting the number of bytes of check code.
Header, station No.,
DETAILED FUNCTION DESCRIPTION
Calculating item data length, data, Selecting the required items for calculating the check code.
delimiter
LRC (horizontal parity) Total value of the results obtained by XORing a byte of data.
Checksum The result obtained by adding a byte of data.
For the value obtained by XORing the CRC register value and
(receive/send) data, the following operations are performed
repeatly in byte unit.
CRC-CCITT Shift 1 bit to left.
If the carry flag is ON, it will be XORed with the generated
polynomial.
Calculating way
Repeat above operations until the final data.
For the value obtained by XORing the CRC register value and
(receive/send) data, the following operations are performed
repeatly in byte unit.
CRC-16 Shift 1 bit to right.
If the carry flag is ON, it will be XORed with the generated
polynomial.
Repeat above operations until the final data.
no complement
Take the calculated value as the check code directly.
calculation
Complement Take the value obtained by inverting all bits of the calculated
One's complement
calculation value as the check code.
Take the value obtained by inverting all bits of the calculated
Two's complement
value and adding "1" as the check code.
Take the value obtained by exchanging the higher bytes (8 to
Yes
Byte replacement *1 15 bits) and lower bytes (0 to 7 bits) as the check code.
No Take the calculated value as the check code directly.
Yes Invert the bit sequence of the calculated value bytewise.
CRC bitwise invert*2 To calculate without inverting the bit sequence of the
No
calculated value.
*2 0XFFFF Set the default value of CRC register to FFFFH.
CRC default
0X0000 Set the default value of CRC register to 0000H.
*1 It is set when the size is set to "2 bytes" or "4 bytes".
*2 It is set when the calculation way is set to "CRC-CCITT" or "CRC-16".
3-58
3-4 Setting up Send and Receive Frames
Example
How to Calculate the LRC (horizontal parity)
㧬 0 0 S C 0 J LRC CR
Calculation range 3
XOR @ 40H 0100 0000
The values of check code are as follows when the calculated LRC result is "2AH".
• In the case of "no complement calculation"
("2AH" is equal to "42" in decimal format).
Size
1 bytes 2 bytes 3 bytes 4 bytes
Type
ASCII (HEX) A (41H) 2A (32 41H) 02A (30 32 41H) 002A (30 30 32 41H)
ASCII (DEC) 2 (32H) 42 (34 32H) 042 (30 34 32H) 0042 (30 30 34 32H)
BIN code 2AH 002AH 00002AH 0000002AH
3-59
3-4 Setting up Send and Receive Frames
Example
How to Calculate the Checksum
F F B R 2 0 5 Verify CR
3 Calculation range
Sum F 46H
DETAILED FUNCTION DESCRIPTION
F 46H
B 42H
R 52H
2 32H
0 30H
5 35H
Result (HEX) 1B7H
The values of check code are as follows when the calculated result of checksum is "1B7H".
• In the case of "no complement calculation"
("1B7H" is equal to "439" in decimal format).
Size
1 bytes 2 bytes 3 bytes 4 bytes
Type
ASCII (HEX) 7 (37H) B7 (42 37H) 1B7 (31 42 37H) 01B7 (30 31 42 37H)
ASCII (DEC) 9 (39H) 39 (33 39H) 439 (34 33 39H) 0439 (30 34 33 39H)
BIN code B7H 01B7H 0001B7H 000001B7H
3-60
3-4 Setting up Send and Receive Frames
Example
How to Calculate the CRC(CRC-CCITT, CRC-16)
Calculate the CRC(CRC-CCITT, CRC-16) by the following procedures.
1 The value (FFFFH or 0000H) set in "CRC default" is stored in CRC register.
2 XOR the first 1 byte (8 bits) of data in CRC register and data to be verified and
3
4 In this case, if the carry flag is ON, CRC register will be XORed with the
generated polynomial and the result is returned to CRC register.
6 After shifting, XOR the first 1 byte (8 bits) of the result with the next data to be
verified and return the result to CRC register. (Step 2)
3-61
3-4 Setting up Send and Receive Frames
3 XOR the first 1 byte (8 bits) of data in CRC register and data to
DETAILED FUNCTION DESCRIPTION
Turn n to "0".
No
Carry flag =1
YES
No
n㧪7
YES
No
All data to be verified are completed.
YES
3-62
3-4 Setting up Send and Receive Frames
Setting Example The settings are as follows when the delimiter is set to "ETX", "@" or "CD".
Type ETX @ CD
Control code selectable unselectable unselectable
ASCII unsettable @ CD
BIN code 03H 40H 4344H
3-63
3-5 Restrictions When Creating Macros
Restrictions when creating macros are as follows,
which should be accepted. Otherwise, the data can not be received or sent correctly.
Restrictions when the Communication mode is "Send + Continuous receive" or "Only receive".
3
• The header or delimiter should be set in the receive frame configuration.
DETAILED FUNCTION DESCRIPTION
• When there is no header in the receive frame configuration, other item can not be set after the
delimiter.
• The same frame configuration should be used and the same header and delimiter should be set
when multiple responses are set for 1 macro.
• The items other than the header and delimiter can not be set in binary format.
• Data block can not be added after receive ASCII variable (variable number of data).
• The delimiter must be set.
• Other elements can not be set between data block and the delimiter.
Data block
Data block Data block Receiving ASCII variables Delimiter
(variable number of variables)
Data
3-64
3-5 Restrictions When Creating Macros
• The characters that can be set are half width alphanumeric (ASCII code 20H to 7FH).
• Do not add a data block after the ASCII constant that is set to "not verified".
• Data length is set before data in the receive frame configuration when using the receive ASCII 3
constants that is set to "not verified". When data length is not set, the delimiter must be set. Other
Data block
Data length Data block Data block Receive ASCII constant
(not verified)
Data
Or
Data block
Data block Data block Receive ASCII constant Delimiter
(not verified)
Data
• Only 1 receive ASCII constants that is set to "not verified" is set for 1 repsonse data.
• Data length should be set before data in the receive frame configuration.
• In addition, in the responses for which a receive binary variable with variable data length is set, do
not use data block of the ASCII variable, ASCII variable (variable number of data) and the ASCII
constant that is set to"not verified".
• One response can use only 1 delimiter.
• When the data length (bytes) of received data is smaller than the number of bytes set in data length/
max. data length, ì0î is stored in variable DMs after the received data.
3−65
3-6 About Value Range
This section describes the value ranges that the variable can process.
For DEC/Unsigned
.
Value range
Data (DEC) Number of occupied DMs Digits Signed/Unsigned
0 to 9 1
00 to 99 2
000 to 999 3
0000 to 9999 1 word (2 words) 4
00000 to 65535 5
variable digits (1
0 to 65535
word)
00000 to 99999 5 unsigned
000000 to 999999 6
0000000 to 9999999 7
00000000 to 99999999 8
2 words
000000000 to 999999999 9
0000000000 to 4294967295 10
variable digits (2
0 to 4294967295
words)
For DEC/Signed
3-66
3-6 About Value Range
For HEX
3-67
3-6 About Value Range
MEMO
3
DETAILED FUNCTION DESCRIPTION
3-68
4
4-1
4-1 Setting Example for Reference Ladder Diagram
This section describes the ladder program examples for the following timings.
4 Port 1
MAKING THE LADDER PROGRAM
4-2
4-2 Precautions When Making Ladder Program
This section describes the precautions to follow when making the ladder program for communication in
PROTOCOL STUDIO mode.
Note
Data can not be written into the occupied DM other than used by communication
macros set in PROTOCOL STUDIO.
When changing the data in system reserved area, the macro data will be damaged,
KV-L20R error occurs and receiving/sending data can not be performed. 4
Data can not be written into the DMs with by the ladder program.
• In the ladder program, macro execution error will occur and all communication macro will b stopped
when multiple macro start relays ( n +000 to n +115) are turned ON.
4-3
4-3 Transmission + Reception Type
In this communication mode, one response data can be returned for one send data.
It is used when communicating with an external device by SHAKE.
Response data
4 Receive
MAKING THE LADDER PROGRAM
Response Response
data A match data B Mismatch
Detection relay
㧔 n +500㧕 (5) (7)
Receive variable DM
㧔 N +260~㧕(5)
4-4
4-3 Transmission + Reception Type
(1) Ladder program The operation enable relay is turned ON before communication macros are
executed.
(2) KV-L20R The operation ready relay is turned ON when the operation enable relay is ON.
(3) Ladder program When the send data uses variable DMs, variables will be stored and the macro
start relay is turned ON (including in the same scan), data is sent from KV-L20R
to external devices (when the send dwell time is set, begin sending after this
time).
(4) KV-L20R The send complete relay is turned ON after sending data is completed. 4
(5) KV-L20R Verify the received response data against the response data format. If they
Note
When the macro start relay is turned OFF during executing macros, the received
response data will be discarded and the communication macro is finished forcibly.
* when the received response data exceeds 512 bytes, the verify relay will not be turned OFF before
all the response data have been saved into the DM of the receive buffer area.
4-5
4-3 Transmission + Reception Type
Reference
CR2002 R30400
0001
Always ON Operation
enable relay
R31200 MOV
0002 #12345 DM10260
4 Operation
ready relay
Send start
Send variable DM
MAKING THE LADDER PROGRAM
R30000
0003 SET
Macro 1 start relay
R30000
0005 RES
Macro 1 start relay
END
0008
ENDH
0009
4-6
4-4 Transmission + Continuous Reception Type
In this communication mode, the response data is returned continuously from external devices for one
send data.
Since the response data is returned continuously, the receive buffer of KV-L20R may be overrun for the
faster data interval.
In this case, the overrun frequency of the receive buffer can be reduced by using the receive buffer.
Response data
Response data
Continuous reception
4-7
4-4 Transmission + Continuous Reception Type
Send data
Response Response
data A Match Mismatch
4 data B
MAKING THE LADDER PROGRAM
Detection relay
㧔 n +500㧕 (5) (7)
㧔 N +260~㧕(5)
Receive variable DM
4-8
4-4 Transmission + Continuous Reception Type
(1) Ladder program The operation enable relay is turned ON before communication macros are
executed.
(2) KV-L20R The operation ready relay is turned ON when the operation enable relay is ON.
(3) Ladder program When the send data uses variable DMs, variables will be stored and the macro
start relay is turned ON (including in the same scan), data is sent from KV-L20R
to external devices (when the send dwell time is set, begin sending after this
time).
(4) KV-L20R The send complete relay is turned ON after sending data is completed. 4
(5) KV-L20R Verify the received response data against the response data format. If they
Note
When the macro start relay is turned OFF during executing macros, the received
response data will be discarded and the communication macro is finished forcibly.
4-9
4-4 Transmission + Continuous Reception Type
CR2002 R30400
0001
Always ON Operation
enable relay
R31200 MOV
0002 #12345 DM10260
4 Operation
ready relay
Send start
Send variable DM
MAKING THE LADDER PROGRAM
R30000
0003 SET
Macro 1
start relay
R30200
0005 SET
Reception read
end relay
R30800 R30200
0006 RES
Receive data Reception read
read request relay end relay
R31201 R30401
0008 RES
Error clear Error clear
complete relay request relay
R30000
0009 RES
Receiving stop Macro 1
start relay
END
0010
ENDH
0011
4-10
4-4 Transmission + Continuous Reception Type
Detection relay
㧔 n +500㧕 (5) (7)
4-11
4-4 Transmission + Continuous Reception Type
(1) Ladder program The operation enable relay is turned ON before communication macros are
executed.
(2) KV-L20R The operation ready relay is turned ON when the operation enable relay is ON.
(3) Ladder program When the send data uses variable DMs, variables will be stored and the macro
start relay is turned ON (including in the same scan), data is sent from KV-L20R
to external devices (when the send dwell time is set, begin sending after this
time).
4 (4) KV-L20R The send complete relay is turned ON after sending data is completed.
(5) KV-L20R Verify the received response data against the response data format. If they
MAKING THE LADDER PROGRAM
match, the verify relay is turned ON, data will be stored in the variable DMs of
receive data block, and the receive read request relay is turned ON.
(6) Ladder program When the receive data block uses variable DMs, the receive read relay complete
relay is turned ON by the data processed and stored by the ladder program.
(7) KV-L20R When the receive read complete relay is turned ON, the verify relay and receive
read request relay are turned OFF.
(8) Ladder diagram When the receive read request relay is turned OFF, the receive read complete
relay is turned OFF.
(9) KV-L20R Verify the received response data against the response data format. If mismatch,
the receive verify mismatch relay is turned ON, an error occurs.
(10) Ladder program Turn the error clear request relay ON to clear errors.
(11) KV-L20R After clearing errors, the error clear complete relay is turned ON and the receive
verify mismatch relay OFF.
(12) Ladder program When the error clear complete relay is ON, the error clear request relay is turned
OFF.
(13) KV-L20R When the error clear request relay is OFF, the error clear complete relay is
turned OFF.
(14) Ladder diagram When stopping to receive the response data, the macro start relay is turned
OFF.
(15) KV-L20R When the macro start relay is OFF, the send complete relay is turned OFF.
Note
When the macro start relay is turned OFF during executing macros, the received
response data will be discarded and the communication macro is finished forcibly.
4-12
4-4 Transmission + Continuous Reception Type
CR2002 R30400
0001
Always ON Operation
enable relay
R31200 MOV
0002 #12345 DM10260
Operation
ready relay
Send start
Send variable DM
4
R30200
0005 SET
Reception
read end relay
R30800 R30200
0006 RES
Receive data read Reception read
request relay end relay
R31201 R30401
0008 RES
Error clear Error clear
end relay request relay
R30000
0009 RES
Receiving stop Macro 1
start relay
END
0010
ENDH
0011
4-13
4-5 Only Send Type
In this communication mode, data is only sent to external devices.
Send
Send data
4
MAKING THE LADDER PROGRAM
4-14
4-5 Only Send Type
(1) Ladder program The operation enable relay is turned ON before communication macros are
executed.
(2) KV-L20R The operation ready relay is turned ON when the operation enable relay is ON.
(3) Ladder program When the send data uses variable DMs, variables will be stored and the macro
start relay is turned ON (including in the same scan), data is sent from KV-L20R
to external devices (when the send dwell time is set, begin sending after this
time).
(4) KV-L20R The send complete relay is turned ON after sending data is completed. 4
(5) Ladder diagram When the send complete relay is ON, the macro start relay is turned OFF.
Note
When the macro start relay is turned OFF during executing macros, sending of data
will be canceled and the communication macro is finished forcibly.
4-15
4-5 Only Send Type
CR2002 R30400
Always ON Operation
enable relay
R31200 MOV
#12345 DM10260
4
Operation
ready relay
Send start 1
Send variable DM
MAKING THE LADDER PROGRAM
R30000
SET
Macro 1
Send start
MOV
#00777 DM10260
Send start 2
Send variable DM
R30000
SET
Macro 1 start relay
R31000 R30000
RES
Sand end relay Macro 1 start relay
END
ENDH
4-16
4-6 Only Receive Type
In this communication mode, only the response data from external devices can be received.
Since the response data is returned continuously, the receive buffer of KV-L20R may be overrun for the
faster data interval.
In this case, the overrun frequency of the receive buffer can be reduced by using the receive buffer.
For clearing the receive buffer, see "4-4 Transmission + continuous reception type"(page 4-7).
Response Response
data A Match data B Mismatch
Detection relay
㧔 n +500㧕 (4) (6)
㧔 n +800㧕(4)
Receive data read request relay (6)
Receive variable DM
㧔 N +260~㧕(4)
4-17
4-6 Only Receive Type
(1) Ladder program The operation enable relay is turned ON before communication macros are
executed.
(2) KV-L20R The operation ready relay is turned ON when the operation enable relay is ON.
(3) Ladder diagram When the macro start relay is turned ON, it will become the status that allows
receiving the data sent from external devices.
(4) KV-L20R Verify the received response data against the response data format. If they
match, the verify relay is turned ON, data will be stored in the variable DMs of
4 receive data block, and the receive read request relay is turned ON.
(5) Ladder program When the receive data block uses variable DMs, the receive read relay complete
MAKING THE LADDER PROGRAM
relay is turned ON by the data processed and stored by the ladder program.
(6) KV-L20R When the receive read complete relay is turned ON, the verify relay and receive
read request relay are turned OFF.
(7) Ladder diagram When the receive read request relay is turned OFF, the receive read complete
relay is turned OFF.
(8) KV-L20R Verify the received response data against the response data format. If mismatch,
the receive verify mismatch relay is turned ON, an error occurs.
(9) Ladder program Turn the error clear request relay ON to clear errors.
(10) KV-L20R After clearing errors, the error clear complete relay is turned ON and the receive
verify mismatch relay OFF.
(11) Ladder program When the error clear complete relay is ON, the error clear request relay is turned
OFF.
(12) KV-L20R When the error clear request relay is OFF, the error clear complete relay is
turned OFF.
(13) Ladder diagram When stopping to receive the response data, the macro start relay is turned
OFF.
Note
When the macro start relay is turned OFF during receiving responses, the received
response data will be discarded and the communication macro is finished forcibly.
4-18
4-6 Only Receive Type
CR2002 R30400
0001
Always ON Operation
enable relay
R31200 R30000
0002 SET
Operation
ready relay
Receive start Macro 1
start relay
4
R30200
0004 SET
Reception
read end relay
R30800 R30200
0005 RES
Receive data Reception
read request relay read end relay
R31201 R30401
0007 RES
Error clear end relay Error clear
request relay
R30000
0008 RES
Receiving stop Macro 1
start relay
END
0009
ENDH
0010
4-19
4-7 Verify Error and Clear Error
This section describes the ladder program for clearing errors when errors occur.
(1) KV-L20R When errors occur, the related relays will be turned ON.
(2) Ladder program Verify the error contents and turn the error clear request relay ON.
(3) KV-L20R After clearing errors, the error clear complete relay is turned ON.
(4) Ladder program When the error clear complete relay is ON, the error clear request relay is turned
OFF.
(5) KV-L20R When the error clear request relay is OFF, the error clear complete relay is
turned OFF.
Note
When the macro data error relay is turned ON, the status of communication macro is
incorrect. So, errors can no be released during the operation of the error clear
request relay or error clear complete relay. At this moment, the KV-L20R is in unit
error state, and the red light of the direct access switch lights up.
When the macro data error relay is ON, the operation enable relay ( n +400) first turns
OFF. Press the direct access switch of the KV-L20R, check the error code in the
access window of the CPU unit, then clear the cause of the error.
See KV-L20R User's Manual, "3 KV-L20R Unit Error Code".
4-20
4-7 Verify Error and Clear Error
CR2002 R30400
0001
Always ON Operation
enable relay
R31202 R30401
0002 SET
Receive wait
timeout error
relay
Error clear
request relay 4
R31204
0004
Framing
error relay
R31205
0005
Parity error
relay
R31206
0006
Overshoot
error relay
R31207
0007
Reception block
error relay
R31208
0008
Receive mismatch
request relay
R31209
0009
Receive buffer
overrun relay
R31210
0010
Macro execution
error relay
R31201 R30401
0011 RES
Error clear end relay Error clear
request relay
END
0012
ENDH
0013
4-21
4-7 Verify Error and Clear Error
MEMO
4
MAKING THE LADDER PROGRAM
4-22
5
TRACING/MONITORING
TRACING/MONITORING
This chapter describes the overview of tracing/monitoring function and how to
perform these functions.
5-1
5-1 Tracing Function Overview
This section provides an overview of tracing function.
Response data
Receive External equipment
KV-L20R can store the receive/send data from /to external devices into the internal buffer temporally
before meeting the tracing finish condition.
When the tracing finish condition is met, KV-L20R can send the tracing data stored in the internal buffer
temporally into PC via the tracing data area of CPU unit (PROTOCOL STUDIO).
Note
The new tracing can not be performed when the tracing finish condition is met and
during the period that PC (PROTOCOL STUDIO) receives the tracing data.
So, it can not trace the receive/send data when PC (PROTOCOL STUDIO) receives the
tracing data.
External equipment Response data Response data Response data Response data
End tracing
Start tracing
5-2
5-1 Tracing Function Overview
TRACING/MONITORING
from the tracing finishing are displayed.
1 2 98 99
Send Send Send Send Send
KV-L20R
data data data data data
Response Response Response Response Response
External equipment data data data data data
Up to 2048 bytes
Up to 2048 bytes
5-3
5-2 Names and Functions of Tracing Screen
This section describes the name and function of each part of the tracing screen.
Display the status of control line Display macro No. and name
Display the status of the control line of Display the No.s and names of com-
connected serial cables (valid for port 1). munication macros to be executed.
5
TRACING/MONITORING
5-4
5-2 Names and Functions of Tracing Screen
TRACING/MONITORING
Command sending in progress
operation status of
Receive response dwell Display the operation status of KV-L20R.
KV-L20R
Response receiving in
progress
Display all contents such as idle time, receive/send
large data (HEX, ASCII) or verify relay No. in character
format.
Tracing display
Display the macro name and the receive/send data
adjustment bar middle
(ASCII) in character format.
Used when verifying the position that errors occur. No
small
characters will be displayed.
Display macro No. Display the No.s of communication macros to be executed.
Display macro
Display names of communication macros to be executed.
name
Display idle time Display the communication standby time. (in 0.1 s unit)
Display the data to be send to external devices from
HEX
KV-L20R in HEX format.
Display send data
Display the data to be send to external devices from
ASCII
KV-L20R in character format.
Display the data received from external devices to KV-
HEX
Display the L20R in HEX format.
received data Display the data received from external devices to KV-
ASCII
L20R in character format.
Display Verify Verify the receive data and the response data format and display the consistent verify
Relay relay No..
Display"ERR" when a communications error occurs. The error can be displayed in
Display error
details by clicking.
5-5
5-3 Tracing/Monitoring
Note
PROTOCOL STUDIO and CPU unit should be in the
communication enable status before switching to the tracing
5 screen.
When communications disabled, the dialog box shown in
TRACING/MONITORING
2 Set the condition for closing the tracing by the following mode.
• Tracing Capacity Specification Mode
• Number of Macros Specification Mode
• Error Detection Mode
5-6
5-3 Tracing/Monitoring
TRACING/MONITORING
The settings are as follows.
Item Contents to be set
Tracing data capacity Setting the number of bytes of receive/send data when
Tracing capacity
(1 to 2048 bytes) closing the tracing.
specification
It is selected when closing the tracing and the next tracing
mode Trace repeatly
starts automatically.
Setting the number of macros for closing the tracing.
Number of Number of tracing macros * In this case, when the received/sent data exceeds 2048
Macros (1 to 99) bytes, the contents of newest 2048 bytes from the
Specification tracing closing.
Mode It is selected when closing the tracing and the next tracing
Trace repeatly
starts automatically.
Receive dwell timeout error Verifying the error condition for closing the tracing.
Receive end timeout error For the error information, see "Error Message
Stop bit error
List"(page A-2).
Parity error
Error detection * The tracing will be performed continuously until the set
Overrun error
mode error occurs.
Receive block error
When errors occur, the tracing will be finished and the
Verify inconsistency error
Buffer overrun error received/sent data including errors displayed (up to 2048
Macro execution error bytes).
5-7
5-3 Tracing/Monitoring
5
Other procedure
• Click button.
TRACING/MONITORING
Start tracing
Start tracing.
Close tracing
Close tracing, and read the receive/send data that is traced previously to PROTOCOL STUDIO.
It is selected only on the tracing screen.
The tracing is closed and the receive/send data that is traced previously is displayed.
5-8
5-3 Tracing/Monitoring
Run PLC
This command switches the KV-700/1000 CPU unit to RUN mode when it is in PROGRAM mode.
It is selected only on the tracing screen.
TRACING/MONITORING
Switch PLC from PROGRAM mode to RUN mode.
Stop PLC
This command switches the KV-700/1000 CPU unit to PROGRAM mode when it is in RUN mode.
It is selected only on the tracing screen.
Start monitoring
Start monitoring.
5-9
5-3 Tracing/Monitoring
End monitoring
5 • Click
• Press
button.
key.
TRACING/MONITORING
5-10
5-3 Tracing/Monitoring
Save the log data (receive/send data) that has been traced in CSV format.
It is selected only on the tracing screen.
TRACING/MONITORING
"Save as" dialog box appears.
5-11
5-3 Tracing/Monitoring
MEMO
5
TRACING/MONITORING
5-12
6
USING PRINT FUNCTION
6-1
6-1 Setting Printer
Set up the paper size and print format.
Set up the printer by the following steps.
6-2
6-2 Display Print Preview
Preview the print contents of communication macro setting file.
Display print preview in the following steps.
PRINTING
2 Click "OK" to display the print preview.
6-3
6-3 Opening Communication Macro Setting File
Print the contents of communication macro setting file.
Print by the following procedures.
6-4
6-3 Opening Communication Macro Setting File
PRINTING
information range
DM assignment
range
This refers to the connected device name of "Properties"
Name of connected device page 3-16
connected device of the communication macro setting file.
System device System device list. page 3-31
Number of
Retries
Send dwell time
Communica
setting
tion system Communication system setting. page 3-26
Receive dwell
setting
timeout time
Receive end
timeout time
Default send frame setting Contents of items of configuration send frame. page 3-38
Default Receive Frame
Contents of items of configuration receive frame. page 3-38
setting
6-5
6-3 Opening Communication Macro Setting File
■ Print Example
6
PRINTING
Macro Details
6-6
APPENDICES
A-1
1 Error Message List
This section describes the error messages displayed during operation and how to handle the error
messages when they are displayed.
The "Receive data (responses) from Click the "Finish" button directly when no
No option for the configuration receive
peripherals through the KV-L20R" has been data are received from the peripherals.
frame has been selected. Therefore, when
selected in the "Receive frame/ When data (responses) are to be received
entering into the next step, the KV-L20R will
configuration", but you go to the next step from the peripherals, select the "Receive
not receive data from its peripherals. Select
without selecting any configuration receive data (responses) from peripherals through
at least one option when you want the KV-
frame (the "Receive data (responses) from the KV-L20R" again, select at least one
L20R to receive data from its peripherals,
peripherals through the KV-L20R" will be option for the configuration receive frame,
and go to the next step.
deselected automatically). then go to the next step.
When you change the communication
mode to "Send only" or "Break send" in the
Macros with the communication mode of
"Send frame/regular" or send data to
The default send frame is not set. Click the "Send + receive", "Send + continuous
peripherals from the KV-L20R, select "Send
"Details" button to set the send frame of the receive" or "Send only" are added, but no
data to peripherals from the KV-L20R" in
macro. option for the configuration send frame has
the "Send frame/configuration", and select
been set.
at least one option for the configuration
send frame.
When you change the communication
mode to "Send only" or "Break send" in the
Macros with the communication mode of
"Receive frame/regular" or receive data
The default receive frame is not set. After "Send + receive", "Send + continuous
from the peripherals, select "Receive data
adding the responses, click the "Details" receive" or "Send only" are added, but no
(responses) from peripherals through the
button to set the receive frame. option for the configuration receive frame
KV-L20R" in the "Receive frame/
has been selected.
configuration", and select at least one
option for the configuration receive frame.
The upper limit of the number of macros
Maximal number of macros that can
that can register is 32 macros. The upper When adding macros, first delete the
register has been set by the PROTOCOL
limit of the number of macros that can undesired macros from the macros that
STUDIO (32 macros), in this state, new
register has been reached. No macros can have registered.
macros are to be added.
be added further.
A-2
1 Error Message List
APPENDICES
The "Station No." option has been set in the
The station No. should be set. options for the configuration frame, but the The "Value" should be set.
"Value" is not set in the "Constant".
The "Data length" option has been set in the When setting the "Data length" option in the
The calculation items of the data length
options for the configuration frame, but no options for the configuration frame, at least
should be set.
calculation item is selected. one calculation item should be selected.
The "Check code" option has been set in When setting the "Check code" option in the
The calculation items for the check code
the options for the configuration frame, but options for the configuration frame, at least
should be set.
no calculation item is selected. one calculation item should be selected.
The DMs of the CPU unit used for storing
the macros that are programmed through
The devices used for the macro are full.
the PROTOCOL STUDIO are full. The When it is "Standard", it should be changed
Delete some macro data, or exit the
number of DMs occupied by the KV-L20R in to "Large". Delete the undesired macros
PROTOCOL STUDIO and change to
the ROTOCOL STUDIO mode is as follows. and responses.
"LARGE" in the Unit Editor.
Standard: 2000 words
Large: 7000 words
States of macro data are present in the Click the "Yes" button to save. Click the
The macro settings will be saved. Is it
macro edit screen, and macro data are "No" button to stop the read operation
possible?
being read from the PLC. without saving.
Not the macro file of the PROTOCOL Files with an extension other than "*.psm" Please verify the extension of the file to be
STUDIO. Files can not be opened. are opened. opened.
Click the "Yes" button when you ignore the
The assignment information of the current You want to open a communication macro unit setting of the communication macro
relay /DM is not consistent with that in the setting file with settings that are different setting file and open the file according to the
file. The information in the file will be from the current unit setting information of current unit setting information of the
changed as follows, is it possible? the PROTOCOL STUDIO. PROTOCOL STUDIO. Click the "No"
button to stop.
In the "Data" option of the receive frame, When setting "ASCII variable" to "Variable
When setting a receive ASCII variable with
the "ASCII variable" has been set to digits" in the "Data" option of the receive
a variable number of digits, you should add
"Variable digitsî, but the "SeparatoR" or frame, you should set the "SeparatoR" or
a separator or delimiter at the end of it.
"DelimiteR" option is not set after it. "DelimiteR" option after it.
A-3
1 Error Message List
An option other than the check code has frame, an option other than the "Check Verify the options for the configuration
been set after the delimiter of the response. code" option is set after the "DelimiteR" receive frame again.
option.
In the options for the configuration receive
The data length of the response has been Verify the options for the configuration
frame, the "Data lengthî option has been set
set after the data. receive frame again.
after the "Data" option.
In the options for the configuration receive
The header of the response has been set to Verify the options for the configuration
frame, the "HeadeR" option has been set to
a position other than the start position. receive frame again.
a position other than the start position.
Multiple responses have been set in the When multiple responses have been set in
receive frames with a communication mode the receive frames with a communication
The responses contain headers and of "Send + continuous receive" or "Receive mode of "Send + continuous receive" or
delimiters with different settings. onlyî, but the settings of the "HeadeR" "Receive only", the settings of the
option or the "DelimiteR" option are "HeadeR" option or the "DelimiteR" option
different. should be same.
The "Data" option has been set in the When the "Data" option is set in the options
Data have been set, but the data block is
options for the configuration frame, but the for the configuration frame, the data block
not set.
data block is not set. should be set.
"Send + continuous receive" or "Receive When "Send + continuous receive" or
When the communication mode is "Send +
only" has been set as the communication "Receive only" has been set as the
continuous receive" or "Receive only", the
mode, but the "HeadeR" option or the communication mode, the "HeadeR" option
"HeadeR" option or "DelimiteR" option or
"DelimiteR" option is not set in the options or the "DelimiteR" option should be set in
both should be set.
for the configuration frame. the options for the configuration frame.
"Send + continuous receive" or "Receive
When "Send + continuous receive" or
only" has been set as the communication
When the communication mode is "Send + "Receive only" is set as the communication
mode, but in the options for the
continuous receive" or "Receive only" and mode, and the "HeadeR" option is not set in
configuration frame, the "HeadeR" option
no header option exists, the "Delimiter" the options for the configuration frame, the
does not exist, or the "DelimiteR" option is
should be set as the last option. "DelimiteR" option should be set as the last
not set as the last option for the
option for the configuration frame.
configuration frame.
A-4
1 Error Message List
APPENDICES
Check the contents that are displayed, and
incorrect setting. The KV-L20R may not be in the options for the configuration frame,
correct the options for the configuration
able to receive and verify normally. Send or there are warning messages when the
frame.
not? settings are incorrect.
It is not possible to copy and paste multiple
Copy and paste multiple macros and Select one line of macro or response, and
lines. You can only select one line first, then
responses in the macro edit screen. copy and paste.
copy and paste.
Copy the macro with a communication
It is not possible to copy a command of the It is not possible to copy a macro with the
mode of "Receive only" in the macro edit
"Receive only" type. "Receive only" communication mode.
screen.
Paste a macro to the response in the macro You should copy and paste a macro to a
Paste a macro in the response. Can't paste.
edit screen. macro when copying and pasting.
Paste a command in the response. Can't Paste a response to a macro in the macro You should copy and paste a response to a
paste. edit screen. response when copying and pasting.
A macro with the "Receive only" or A macro with the "Receive only" or
Paste all commands for a macro. Can't
"Interruption send" communication mode "Interruption send" communication mode
paste.
has been copied and pasted. can not be copied and pasted.
Multiple responses can not be pasted Paste multiple responses simultaneously in Only one line of response can be selected
simultaneously. the macro edit screen. and to be copied and pasted.
When the communication mode is set to In the macro edit screen, change the
"Interruption send", other settings of the communication mode of the current macro
macro will be cleared. Is it possible? to "Interruption send".
When the communication mode is set to In the macro edit screen, change the When changing the communication mode,
"Send only", the receive settings of the communication mode of the current macro click the "OK" button. When it is not to be
macro will be cleared. Is it possible? to "Send only". changed, click "Cancel" button.
When the communication mode is set to In the macro edit screen, change the
"Receive only", the send settings of the communication mode of the current macro
macro will be cleared. Is it possible? to "Receive only".
The "ASCII constantî has been set to "Only
check the number of characters" in the
The number of check characters should be
"Data" option for the receive frame, but the It should be set between 1 to 255.
set between 1 to 255.
number of characters is not set out of
range.
A-5
1 Error Message List
A-6
1 Error Message List
APPENDICES
The KV-L20R with a PROTOCOL information, the operation mode of operation mode of the "Multi-
STUDIO mode setting port is not the "Multi-function communication function communication unit KV-
present. unit KV-L20R" has not been set to L20Rî to PROTOCOL STUDIO
PROTOCOL STUDIO mode. mode.
Read register failed. Reinstall the The hard-drive of the PC on which
Install the "KV BUILDER Ladder
"KV BUILDER Ladder Diagram the "KV BUILDER Ladder Diagram
Diagram ER" on another PC.
ER". ER" is installed is corrupt.
The "KV BUILDER Ladder
Diagram ER" has been started on a A PC on which the "KV BUILDER
DLL not found. Reinstall the "KV
PC on which the "KV BUILDER Ladder Diagram ER" has been
BUILDER Ladder Diagram ER".
Ladder Diagram ER" is not installed should be used.
installed.
The icon file of the device is
corrupt. Reinstall the PROTOCOL
The hard-drive of the PC on which
STUDIO. Install the PROTOCOL STUDIO on
the PROTOCOL STUDIO is
The configuration file of the another PC.
installed is damaged.
PROTOCOL STUDIO is corrupt.
Please reinstall.
Memory space falls in short. Exit
If unnecessary applications have
several applications, and restart
The system source that remains is been started, they should be
the PROTOCOL STUDIO.
not enough. stopped. Or, exit the PROTOCOL
The PROTOCOL STUDIO can not
STUDIO and restart the PC.
be started.
The hard-drive of the PC on which
Read register failed. Reinstall the Install the "KV STUDIO Ladder
the "KV STUDIO Ladder Diagram
KV STUDIO. Diagram ER" on another PC.
ER" is installed is corrupt.
It can not be started directly from a
The PROTOCOL STUDIO can not Start the PROTOCOL STUDIO file. A file should be opened after
be started from a file. directly from a macro setting file. the PROTOCOL STUDIO is
started.
A-7
1 Error Message List
etc. has used the DM reserved for the system in the ladder diagram
corrupt. Please resend.
the system (macro data area). program.
A-8
2 List of the Device No.
The following describes lists of the relays and DMs used by the PROTOCOL STUDIO.
Relay List
APPENDICES
Protocol mode 1 1 (16 points)
Protocol mode 4 1 (16 points)
Modem setup mode 3 (48 points)
Modem operation mode 3 (48 points)
A-9
2 List of the Device No.
n +800 to Receive read OFF→ON : Turns ON when receiving the response data.
n +915 request relay*1 ON→OFF : Set to OFF when the receive read end relay turns ON or the
macro starts relay turns OFF.
For the communication macros, the relays are assigned individually.
n +1000 to Send end
OFF→ON : Turns ON when the send data have been sent.
n +1115 relay*'3f1
ON→OFF : Turns OFF when the macro start relay turns OFF.
ON : It is possible to perform data receive/send when the
Operation
n +1200 operation enable relay turns ON.
enable relay*1
OFF : It is not possible to perform data receive/send.
OFF→ON : Turns ON when the error clear request relay turns ON and
Error clear
n +1201 after the standby release error is complete.
*1
end relay
ON→OFF : Turns OFF when the error clear request relay turns OFF.
n +1212 to Reserved for
Can not be used by user
n +1215 system
ON : Sets the data terminal dwell signal of port 1 to "High" state.
n +1300 ER state relay *2
OFF : Sets the data terminal dwell signal of port 1 to "Low" state.
ON : The carrier detection signal of port 1 is in "High" state.
n +1301 CD state relay*2
OFF : The carrier detection signal of port 1 is in "Low" state.
*2
ON : The data setup dwell signal of port 1 is in "High" state.
n +1302 DR state relay
OFF : The data setup dwell signal of port 1 is in "Low" state.
ON : The send request signal of port 1 is in "High" state.
n +1303 RS state relay*2
OFF : The send request signal of port 1 is in "Low" state.
ON : The send ready signal of port 1 is in "High" state.
n +1304 CS state relay*2
OFF : The send ready signal of port 1 is in "Low" state.
n +1305 to Reserved for
Can not be used by user
n +1315 system
A-10
2 List of the Device No.
Receive end OFF→ON : Turns ON after beginning to receive responses from the peripherals
until completion, and after the time set in the "Receive end timeout"
n +1203 timeout error
is exceeded.
relay
ON→OFF : Turns OFF when the error clear completion relay turns ON.
OFF→ON : Turns ON when an error occurs in the stop bit during
Stop bit error
n +1204 receiving response data.
relay
ON→OFF : Turns OFF when the error clear completion relay turns ON.
Parity error OFF→ON : Turns ON when a parity error occurs during receiving response data.
n +1205
relay ON→OFF : Turns OFF when the error clear completion relay turns ON.
APPENDICES
OFF→ON : Turns ON when an overflow error occurs during receiving
Overrun
n +1206 response data.
error relay
ON→OFF : Turns OFF when the error clear completion relay turns ON.
OFF→ON : Turns On when the check code of the response data
Receive block received from the peripherals is different from that calculated
n +1207
error relay by the KV-L20R.
ON→OFF : Turns OFF when the error clear completion relay turns ON.
Receive check OFF→ON : Turns ON when responses that are consistent with the
n +1208 inconsistency response data received from the peripherals are not present.
error relay ON→OFF : Turns OFF when the error clear completion relay turns ON.
Receive butter OFF→ON : Turns ON when the size of the response data received from
the peripherals exceeds the receive buffer capacity of the
n +1209 overflow error
KV-L20R (2K bytes).
relay
ON→OFF : Turns OFF when the error clear completion relay turns ON.
Macro OFF→ON : Turns ON when multiple macro start relays turn ON, when the
macro start relay of the communication macro with no data
n +1210 execution
format set turns ON, and when the macro can not be executed.
error relay
ON→OFF : Turns OFF when the error clear completion relay turns ON.
OFF→ON : Turns ON when the data of the communication macro are
corrupt, and the macro can not be executed.
ON→OFF : When this error occurs, it can not be cleared when the error
clear request relay or error clear completion relay operates. At
Macro data this moment, the KV-L20R is in unit error state, and the red
n +1211
error relay light of the direct access switch lights up. When the macro
data error relay is ON, the operation enable relay ( n +400)
first turns OFF. Press the direct access switch of the KV-L20R,
check the error code in the access window of the CPU unit,
then clear the cause of the error.
Note
Stop sending data and stop the macro operation when an error occurs during sending
the send data.
Stop receiving data and stop the macro operation when an error occurs in the
response data that are received.
A-11
2 List of the Device No.
DM List
Link mode 0
Protocol mode 1 0
Protocol mode 4 0
Modem setup mode 100
Modem operation mode 100
■ DM List
The names and contents of the DMs used by the PROTOCOL STUDIO are as follows.
• Standard mode
N : Leading DM No.
W : Leading DM No. + number of occupied DMs of port 1
A-12
2 List of the Device No.
• Large mode
N : Leading DM No.
W : Leading DM No. + number of occupied DMs of port 1
APPENDICES
N +2260 to W +2260 to Reserved for
Can not be used by user
N +7000 W +7000 system
A-13
3 Index
This index of terms used in this Manual is assigned by alphabet.
Delete Response •••••••••••••••••••••••••••••••••••• 3-22
Delimiter••••••••••••••••••••••••••••••••••••••••••••••• 3-63
A
Detection relay ••••••••••••••••••••••••••••••••••••••• A-11
Difference with PROTOCOL BUILDER ••••••••??2-3
Add macro •••••••••••••••••••••••••••••••••••••••••••3-18
Digit character••••••••••••••••••••••••••• 3-44,3-48,3-51
Add Response••••••••••••••••••••••••••••••••••••••••3-21
DM List •••••••••••••••••••••••••••••••••••••••••••••••• A-13
ASCII constants ••••••••••••••••••••••••••••••• 3-45,3-54
ASCII variable ••••••••••••••••••••••••••••••••• 3-44,3-48
ASCII variables (variable number of data) ••••••3-51 E
Attribute (Macro files) ••••••••••••••••••••••••••••••3-16
End monitoring••••••••••••••••••••••••••••••••••••••• 5-10
Error clear••••••••••••••••••••••••••••••••••••••••••••• 4-20
B
Error confirmation ••••••••••••••••••••••••••••••••••• 4-20
Error Detection Mode (Tracing)•••••••••••••••••••••5-7
Binary constants •••••••••••••••••••••••••••••• 3-46,3-56
Error message (Communication with PLC) ••••• A-9
APPENDICES
LRC (horizontal parity) ••••••••••••••••••••••••••••••3-59 Receive read completion relay ••••••••••••••••••• A-10
Receive read request relay •••••••••••••••••••••••• A-11
Response Name••••••••••••••••••••••••••••••• 3-11,3-38
M
Restrictions ••••••••••••••••••••••••••••••••••••••••••• 3-64
APPENDICES
Specification Mode (Tracing) •••••••••••••••••••• 5-7
Setting Items on Unit Editor •••••••••••••••••••••••••3-4
Number of Retries •••••••••••••••••••••••••••••••••••3-26
Setup Flow••••••••••••••••••••••••••••••••••••••••••••••3-2
Signed character •••••••••••••••••••••••••••••••••••• 3-44
O Start monitoring ••••••••••••••••••••••••••••••••••••••••5-9
Start tracing•••••••••••••••••••••••••••••••••••••••••••••5-8
Opening Communication Macro Setting File •••3-14 Station No. •••••••••••••••••••••••••••••••••••••••••••?3-41
Opening input files Status bar ••••••••••••••••••••••••••••••••••••••••••••• 3-30
(Communication Macro Setting File) ••••••••••3-14 Switch to Edit Screen •••••••••••••••••••••••••••••••••5-8
Operating Environment •••••••••••••••••••••••••••••••• -3 Switch to Tracing Screen ••••••••••••••••••••••••••••5-6
Operation enable relay••••••••••••••••••••••••••••• A-10 System device list ••••••••••••••••••••••••••••••••••?3-31
Operation ready relay •••••••••••••••••••••••••••••••A-11
Option ••••••••••••••••••••••••••••••••••••••••••••••••••3-33
T
Overwrite and save
(Communication Macro Setting File) •••••••••3-15
Tool bar•••••••••••••••••••••••••••••••••••••••••••••••• 3-30
Tracing condition settings••••••••••••••••••••• 5-6,5-10
P Tracing Data Capacity
Specification Mode (Tracing) •••••••••••••••••••••5-7
Package contents••••••••••••••••••••••••••••••••••••• 1-2 Tracing Function•••••••••••••••••••••••••••••••••••••••5-2
Paste (Macro/response) ••••••••••••••••••••••••••••3-29 Transfer macros to PLC•••••••••••••••••••••••••••• 3-33
PLC running•••••••••••••••••••••••••••••••••••••••••••• 5-9
Print preview ••••••••••••••••••••••••••••••••••••••••••• 6-3
U
Print•••••••••••••••••••••••••••••••••••••••••••••••••••••• 6-4
A-16
Revision History
Printing Date Version Details of Revision
KV-H1RWE
User's Manual
Please read this Manual before use.
Keep this Manual in a safe place for later reference.