Download as pdf or txt
Download as pdf or txt
You are on page 1of 142

Programmable Controller

PCwin-PCk
PROGRAMMER FOR PCk05/PCk06

INSTRUCTION MANUAL
Note:
Microsoft, Windows and the Windows logo are registered trademarks of Microsoft Corporation.
All other product names are trademarks of their respective owners.
Introduction

Thank you very much for purchase this product and please make sure the
following notices.

• For the safe use of this product, read thoroughly this Instruction Manual and
related manuals before operating the product. Keep this Instruction Manual
at your reach for quick reference during operation.

• Be sure to deliver this Instruction Manual to the end user of the product.

• Specifications are subject to change without prior notice for improvement.

• In accordance with the provisions in the Foreign Exchange and Foreign Trade
Control Law, export of products applicable as strategic goods (or service)
requires export permit by the Japanese Government.

• In the event any defect due to our manufacture is found in our products during
the warranty period, we will repair or replace them at our discretion. We shall
not be responsible for any direct or indirect damages related to our products
except as herein stated.
Notes for Safe Use

This instruction manual contains important information on safe use of the product and preventive

measures against personnel injuries and product damages.

Understand the following and read the text and observe the descriptions.

Explanation of indication

This indicates pressing danger, and if it is not avoided, personnel deaths or

serious injuries result, therefore, it is the most emphasized special information.

This indicates potential danger, and if it is not avoided, medium or slight

injuries or physical damages may result, therefore, it is a special information.

Contents

• Do not disassemble the module or contact its inside while power is

supplied. Otherwise, electric shock may result.

• Do not touch the terminals while power is supplied.

Otherwise, electric shock may result.

1. Avoid the following places for setting up the common module.


• Any place receiving direct sunlight and its temperature exceeding

the range of 5 to 35 degrees Celsius.

• Any place where the relative humidity exceeds the range of 30 to

80% or the change in the temperature is so sudden that

condensation is formed.

• Any place where the corrosive or flammable gases are present.

• Any place where the common module may be exposed to direct

vibration.

2. To store the common module, make sure that the temperature will not

exceed the range -10 to 60 degrees Celsius.


1. When the air is extremely dry, excessive static electricity may be

generated. Touch a metal piece or the like, that has been

grounded, to discharge any static electricity, before touching the

common module.

2. Never use organic solvent such as thinners or gasoline, for cleaning

the common module as the case or key panel may melt or be

discolored. Take special care with the key panel, in particular, as it

can be greatly affected.

3. Take care that the key panel is not exposed to welding sparks or

melted solder.

4. When connecting the common module to the TOYOPUC CPU

module using the supplied cable, separate the cable from high

tension lines, motive power lines, signal lines to the input/output

module, and large capacity power lines as much as possible.

5. When the common module is not in use, remove the floppy disk
from the drive and store it in the designated case.

Leaving a floppy disk in the drive can lead to trouble.

6. Do not turn off the power when the internal hard disk or floppy disk

is in use. The hard disk access lamp is lit when the hard disk is in

use. The floppy disk access lamp is lit when the floppy disk is in

use. Check that these lamps are not lit before turning off the

power. In particular, take special care when the internal hard disk is

in use.

7. Do not insert or remove modules into/from the base module while

the power is on.


8. Notes on using floppy disks:

(1) Do not place floppy disks in a very hot and humid place.

Exposure to high temperatures or high humidity can cause

deformity.

Note also that a sudden environmental change can bring about

condensation which can cause errors. Do not use floppy disks

you have brought in from outdoors immediately. Leave them

30 to 60 minutes to adjust to the environment.

(2) Avoid direct sunlight.

Floppy disks can be deformed.

(3) Do not touch the recording surface.

The oil content of fingerprints can adhere to the magnetic

head, not only causing errors but also damaging the head

itself. Fingerprints can lower the quality of output and can be

the cause of the adhesion of dust or dirt and the growth of

mold.

(4) Do not bend floppy disks.

Bent floppy disks cause uneven rotation or errors.

(5) Do not use thinners, alcohol, Freon or the like, on floppy disks.

The floppy disk may be damaged.

(6) Do not put anything on top of floppy disks.

Placing heavy objects on floppy disks can cause the disks to

be deformed.

(7) Keep floppy disks away from magnetic fields.

When a floppy disk is placed near objects that generate strong

magnetic fields, data stored on the disk can be destroyed


(8) Do not hold floppy disks with clips.

Attaching a memo pad with a clip, for example, can cause the

floppy disk to be deformed.

(9) Do not write directly on the jacket.

Be sure to write on the index label before attaching it to the

jacket.

If you must write on the label after it has been adhered to the

jacket, use a soft tipped pen. Writing on the jacket can leave

scratches on the disk or cause the disk to be deformed.

(10) Do not leave a floppy disk out.

Always store floppy disks in their cases and place them

vertically.

(11) Do not use an eraser.

Debris from the eraser may adhere to the magnetic disk and

cause errors.

Do not use an eraser near floppy disks.

(12) Do not handle floppy disks roughly.

Insert a floppy disk carefully, taking care not to damage the

disk. The magnetic head can be damaged as well.

(13) Do not eat, drink or smoke near floppy disks.

Smoke from cigarettes can cause errors as well. Eating and

drinking can easily lead to accidents resulting in system failure.

Never use a floppy disk wet with tea or the like.


Revision history of instruction manual
The revision code of the instruction manual is described as a part of the
control number on the back cover of the instruction manual.

Instruction Manual No.

T – A50 # E
E: English,N: Japanese, F : French
Cz:Checho,Ch:Chinese
Series No. Revision code

Revision Date of Revision Details


No. Revision
1 Sep 2007 1st Edition
Configuration of instruction manuals concerned
Instruction Name Outline
manual No.
T-360*E PCk05/PCk06 Instruction Manual It describes the basic operation, function,
specifications and so on of PCk05/PCk06.
PCk05/PCk06 Programming It describes the method to produce the sequence
T-361*E Manual program used in PCk05/PCk06 and way to use the
applicable instruction.
Reading Index

This document comprises of 17 chapters.

Chapter 1.Outline
Gives the outline of PCwin-PCk

Chapter 2.Installation
Explains the method of installation of PCwin-PCk

Chapter 3.Connection with CPU


Describes the method of connecting PCwin-PCk and PCk05/PCk06. In this chapter,
the instance of directly connecting CPU to PCk05/PCk06 using PC RS232C has been
described.

Chapter 4.Screen Positioning


Describes screen composition of PCwin-PCk.

Chapter 5.File
Describes the method of operation related to files.

Chapter 6.Project Window


Describes the Project Window Screen.

Chapter 7.LD Window Editing


Describes the methods of creation and editing of LD Program.

Chapter 8.Parameter Setting


Describes the method of setting parameters needed for the operation of PCk05/PCk06.

Chapter 9. Program Check


Describes the method of Program check after the creation of program.

Chapter 10.CPU
Describes the reading and writing of data, parameters and programs with PCk05/PCk06
and about the interface between PCwin-PCk and CPU.

Chapter 11.Monitor
Describes the monitoring function and method of operation of LD/Data Register.

Chapter 12.Settings
Describes the method of changing set and current values of timer / counter as well as
set value of Register.

Chapter 13.Option
Describes about various option settings.

Chapter 14.Printing
Describes about printing function.

i
Chapter 15.Drawing Style Print
Describes about Drawing style print function.

Chapter 16.Tool
Describes about I/O Check.

Chapter 17.Conversion among 3 comment languages


Notes on conversion function among 3 comment languages

The function to show in the following cannot be operated with PCwin-PCk.

1.SFC (sequential function chart) function


2.FBD (function block diagram) function
3.Library function
4.ME-NET function
5.CAD function
6.Function for PC1 series/MX/PC2/PC3J series CPU
7.Timing diagram monitor function
8.Event monitor function
9.Function for direct circuit monitor
10.Writing function to main body of CPU of comment
11.Symbolic programming function
12.I/O chart function

ii
INDEX
INDEX..............................................................................................................................................................................iii
1 PCwin-PCk Outline...................................................................................................................................................1-1
1.1 PC2 selection reason ........................................................................................................................................1-1
1.2 PCwin-PCk limitation.........................................................................................................................................1-1
1.3 Data interchangeability......................................................................................................................................1-2
1.4 Operating Environment of PCwin-PCk.............................................................................................................1-2
1.5 Scope of PCwin-PCk.........................................................................................................................................1-3
2 Installation of PCwin-PCk.........................................................................................................................................2-1
2.1 Confirmation of version information..................................................................................................................2-4
3 Connection with CPU ...............................................................................................................................................3-1
3.1 Connection devices ...........................................................................................................................................3-1
3.1.1 PCk05 Connection.............................................................................................................................3-1
3.1.2 PCk06 Connection.............................................................................................................................3-2
3.2 Communication Setting .....................................................................................................................................3-3

4 Screen Positioning (Peripheral Devices).................................................................................................................4-1


4.1 Tool Bar ..............................................................................................................................................................4-2
4.1.1 Standard Tool Bar.......................................................................................................................................4-2
4.1.2 LD Tool Bar .................................................................................................................................................4-2
4.1.2.1 PCk05 / PCk06....................................................................................................................................4-2
4.1.3 Book Mark Search Tool Bar.......................................................................................................................4-3
4.1.4 Communication module setting tool Bar ...................................................................................................4-3
4.2 Positioning of Window .......................................................................................................................................4-4
4.3 Change of Window Positioning.........................................................................................................................4-5
4.4 Change of Display Language ...........................................................................................................................4-5
5. File ............................................................................................................................................................................5-1
5.1. New ...................................................................................................................................................................5-2
5.2. Open (File) ........................................................................................................................................................5-3
5.3. Save ..................................................................................................................................................................5-4
5.4. Save As .............................................................................................................................................................5-4
5.5. Import of Related File .......................................................................................................................................5-5
5.5.1. Import of LD Program................................................................................................................................5-5
5.5.2. Import of LD Comment..............................................................................................................................5-6
5.5.3. Import of I/O Register................................................................................................................................5-6
5.6. Export of Related Files .....................................................................................................................................5-7
5.6.1. Export of comment ....................................................................................................................................5-7
5.6.2. Export of I/O Register................................................................................................................................5-7
6 Project Window .........................................................................................................................................................6-1
6.1 Setting of Project Window .................................................................................................................................6-1
7 LD (Ladder) Window Edit .........................................................................................................................................7-1
7.1 PCk05/PCk06 ...............................................................................................................................................7-2
7.1.1 Entry of New Block .............................................................................................................................7-2
7.1.2 Address Programming ...............................................................................................................................7-3
7.1.2.1 Positioning of Symbols .......................................................................................................................7-3
7.1.2.2 Change of Symbol ..............................................................................................................................7-4
7.1.3 Creation of OR Circuit .......................................................................................................................7-5
7.1.3.1 Line Insertion (Creation of 2 nd line in the same block)...................................................7-5
7.1.3.2 Drawing of OR ..............................................................................................................................7-6

iii
7.1.4 Contact Point Insertion ......................................................................................................................7-7
7.1.5 Entry of Block Comment ...................................................................................................................7-8
7.1.6 Move/ Copy of Data ...................................................................................................................................7-9
7.1.6.1 Un Do...................................................................................................................................................7-9
7.1.6.2 Re Do...................................................................................................................................................7-9
7.1.6.3 Cut........................................................................................................................................................7-9
7.1.6.4 Paste....................................................................................................................................................7-9
7.1.6.5 Copy...................................................................................................................................................7-10
7.1.7 Comment Edit(Entry/ Edit of Comment)..................................................................................................7-11
7.1.8 Sequence comments optimization ..........................................................................................................7-12
7.1.9 Display Selection......................................................................................................................................7-13
7.1.9.1 Display Number.................................................................................................................................7-13
7.1.9.2 Comment Display..............................................................................................................................7-13
7.1.9.3 Comment 100 characters display ....................................................................................................7-14
7.1.10 Change of Screen Enlargement............................................................................................................7-15
7.1.11 Change All...............................................................................................................................................7-16
7.1.11.1 Batch change of I/O Address..........................................................................................................7-16
7.1.11.2 Batch change of Application Instruction operand. .........................................................................7-19
7.1.11.3 I/O Address Batch Change (Modification File Reading) ...............................................................7-22
7.1.11.4 Batch change of Function Instruction Operands (Modification File reading) ...............................7-26
7.1.11.5 Format of Address Modification File...............................................................................................7-29
7.1.11.6 File Format Error Display................................................................................................................7-30
7.1.11.7 Cautions...........................................................................................................................................7-32
7.1.11.8 Batch interchange of AB contact Points.........................................................................................7-33
7.1.12 Re-allocation...........................................................................................................................................7-34
7.1.12.4 Re-allocation of Application Instruction Serial No..........................................................................7-34
7.1.12.5 Re-allocation of Edge Detection Address......................................................................................7-35
7.1.13 LD Block Checking.................................................................................................................................7-36
7.1.14 Search.....................................................................................................................................................7-38
7.1.14.4 Label search....................................................................................................................................7-39
7.1.15 Jump using the Book Mark....................................................................................................................7-40
7.1.16 Usage status...........................................................................................................................................7-41
7.1.17 Contact Point Table ................................................................................................................................7-44
7.1.18 Tracing Search .......................................................................................................................................7-45
8 Parameter Setting.....................................................................................................................................................8-1
8.1 CPU operation mode ......................................................................................................................................8-1
8.2 Scan Time Timer................................................................................................................................................8-2
8.3 Program Name ..................................................................................................................................................8-2
9 Program Check.........................................................................................................................................................9-1
9.1 LD Program Check............................................................................................................................................9-1
9.1.1 LD Program check result.......................................................................................................................9-1
9.1.1.1 Types of Format Error and Error Code ..............................................................................................9-2
9.1.1.2 Circuit not supported...........................................................................................................................9-3
9.2 Program size......................................................................................................................................................9-4
10 CPU .......................................................................................................................................................................10-1
10.1 Read from CPU .............................................................................................................................................10-1
10.2 Writing in CPU ...............................................................................................................................................10-3
10.2.1 All Program + Parameter .......................................................................................................................10-3
10.2.2 Program 1...............................................................................................................................................10-4

iv
10.2.3 Parameter...............................................................................................................................................10-4
10.2.4 Comment ................................................................................................................................................10-4
10.2.5 Register...................................................................................................................................................10-4
10.3 Collating with the CPU ..................................................................................................................................10-5
10.3.1 Binary checking of Program + Parameter.............................................................................................10-5
10.3.2 In case of Register .................................................................................................................................10-6
10.4 Operation Status of CPU...............................................................................................................................10-6
10.5 Stop of CPU ...................................................................................................................................................10-6
10.6 Resetting of CPU...........................................................................................................................................10-7
10.7 Error Monitor of CPU.....................................................................................................................................10-8
10.7.1 CPU error code table....................................................................................................................10-8
10.8 Setting of Data and Time in the CPU. ........................................................................................................10-11
11 Monitor...................................................................................................................................................................11-1
11.1 LD Monitor......................................................................................................................................................11-1
11.1.1 Ensued Monitoring..................................................................................................................................11-2
11.1.1.1 LD.....................................................................................................................................................11-2
11.1.2 Continuity monitor...................................................................................................................................11-3
11.2 Register and I/O Address Monitor..............................................................................................................11-4
11.2.1 Setting of monitor address .....................................................................................................................11-4
11.2.1.1 Batch setting in address..................................................................................................................11-4
11.2.1.2 Individual setting in address............................................................................................................11-5

12 Settings.............................................................................................................................................................12-1
12.1 Setting Menu..................................................................................................................................................12-1
12.2 Change of Timer/Counter current value.......................................................................................................12-1
12.3 I/O Forced on-off............................................................................................................................................12-2
12.3.1 Set the address and ON/OFF ........................................................................................................12-2
12.3.2 Writing the data to CPU .........................................................................................................................12-3
12.4 Register Edit ..................................................................................................................................................12-4
12.4.1 Register and I/O address Monitor .........................................................................................................12-4
12.4.1.1 Setting of Edit Address ...................................................................................................................12-4
12.4.1.1.1 Batch Setting of Edit Address..................................................................................................12-4
12.4.1.1.2 Individual Setting of Edit Address ...........................................................................................12-4
12.4.1.2 Offline Editing ..................................................................................................................................12-5
12.4.1.3 Data File ..........................................................................................................................................12-6
12.4.1.4 PC writing ........................................................................................................................................12-6
12.5 Register Fill ....................................................................................................................................................12-6
12.5.1 Data memory address............................................................................................................................12-7
12.6 Setting of Communication Module ...............................................................................................................12-8
12.6.1 Setting of communication conditions.....................................................................................................12-9
13 Option ....................................................................................................................................................................13-1
13.1 Customize ......................................................................................................................................................13-1
13.1.1 Font .........................................................................................................................................................13-1
13.1.1.1 Font specification ............................................................................................................................13-1
13.1.1.2 Word wrapping setting....................................................................................................................13-2
13.1.2 Color...................................................................................................................................................13-3
13.1.3 Display................................................................................................................................................13-4
13.2 Setting ............................................................................................................................................................13-5
13.2.1 File...........................................................................................................................................................13-5
13.2.2 Operation ................................................................................................................................................13-6

v
13.2.3 Short cut Key Definition..........................................................................................................................13-7
13.2.4 3 languages ............................................................................................................................................13-7

14 Print .......................................................................................................................................................................14-1
14.1 Circuit Diagram List .....................................................................................................................................14-1
14.2 Usage Status List.........................................................................................................................................14-2
14.3 Other drawing style prints ...........................................................................................................................14-2
15 Drawing Style Print................................................................................................................................................15-1
15.1 Form setup ...................................................................................................................................................15-1
15.2 Circuit Diagram List .....................................................................................................................................15-4
15.3 Usage Status List...........................................................................................................................................15-7
15.4 Other drawing style prints..............................................................................................................................15-7

16. Tool .......................................................................................................................................................................16-1


16.1. I/O Check (for Input/Output).........................................................................................................................16-1
16.1.1. I/O Button Setting ..................................................................................................................................16-2
16.1.2. Execution Start/Stop..............................................................................................................................16-2
17. Switch among 3 comment languages ................................................................................................................17-1
17.1. Summary.......................................................................................................................................................17-1
17.2. Initial settings ................................................................................................................................................17-3
17.2.1. Font settings ..........................................................................................................................................17-3
17.2.2. Function of setting 3 comment languages...........................................................................................17-4
17.3. Switching methods of comment display......................................................................................................17-4
17.4. Drawing style print method ..........................................................................................................................17-5
17.5. Regular printing method...............................................................................................................................17-6
17.6. Regarding to language selection .................................................................................................................17-6

vi
1 PCwin-PCk Outline
PCwin-PCk is a personal computer programming tool of the TOYOPUC PCk05/PCk06 exclusive use.
The instruction word of TOYOPUC PCk05/PCk06 cannot ..instruction word.. correct making directly because it
differs from other TOYOPUC. Therefore, the TOYOPUC PC2 instruction word is made in PCwin-PCk once, it
converts into the instruction word of PCk05/PCk06, and it writes it in CPU. The instruction word read from
PCk05/PCk06 is converted into the TOYOPUC PC2 instruction word and reading from CPU is taken into
PCwin-PCk.

1.1 PC2 selection reason


The program of PC2 is the same as PCk05/PCk06 by one.
The capacity or less of PC2. the program capacity of PCk05/PCk06
The memory address of PC2 is convertible to the memory address of PCk05/PCk06.

PC2

PCk06

Pck05

1.2 PCwin-PCk limitation


The input data when the program is made is limited compared with PCwin.

The instruction word, the address,


the operand, and the range that
can be chosen in the selection
window are limited.

1-1
1.3 Data interchangeability
As for PCwin-PCk, interchangeability with the data made with other tools disappears.
Pck05/PCk06
PC1 no interchangeability
PC2 no interchangeability
PC3 no interchangeability
PC10 no interchangeability
MX no interchangeability
Direct Soft no interchangeability

1.4 Operating Environment of PCwin-PCk

PCwin-PCk runs in the following environment.


Kindly read the “Safety Instructions” indicated at the beginning of this document for correct usage.
Always use after thoroughly studying the information about the machine, safety and other cautions.

OS (Operating System)

Microsoft Windows 2000/XP (Not supported on Windows95/98/ME/NT)

PC Unit

PC on which Windows 2000/XP operates.

• CPU : above III 500MHz Pentium

• Memory : above 512MB

• Display : Color display of above 1024×768 dots. (Screen Color Scheme: 16-bit color)

• Hard disc : Free memory of above 200MB required

• Printer : Printer compatible with Windows 2000/XP

*1 Please acknowledge changing without a previous notice about the specification etc. for the
improvement occasionally.

*2 The following message is displayed when PCwin-PCk is executed on Windows 95/98 ME/NT,and
PCwin-PCk can’t be executed.

*3: To operate PCwin-PCk, administrator authority is required.

1-2
1.5 Scope of PCwin-PCk
TOYOPUC
PCk05
PCk06
It ..drinking.. corresponds to 2 models.
1)Please start from the setting of CPU operation mode (Details are 8. parameter setting) after the new making
procedure (Details are 5.1. new make) when you newly make the PLC data.
2)The backup data made with an old peripheral equipment cannot be used because there is no interchangeability of
data.

1-3
2 Installation of PCwin-PCk
Here method of installation of PCwin-PCk is described.
Before installing in the hard disc, turn off the anti-virus software, which becomes the cause of problem at the time of
installation.
Important

Do not plug USB cable into PC until the installation completed..


Security warning is displayed depends on your system setting. Click “Open” or “Run”.

1 Double click “Setup.exe” of FD Route Directory.

2 When “Welcome” message appears, click “Next”.


When there is not a serial number, it isn't possible to install.
Input the serial number of the CD-ROM case back.

2-1
3 Entering the directory of installation destination, click <Next>.

4 For installing with default setting, click <Next> in the displayed dialog box.
With the default setting, a new folder is created without writing in the existing PCwin-PCk folder.

2-2
5. On the completion of installation, end of set up is displayed.
Press “Finish” and complete the setup.

6. To start the program, double click [PCwinPCk] from [start] – [program] – [AllwinPCk] – [PCwinPCk] or go to the
application folder by Explorer, and double click [PCwinPCk.exe] in the installed directory.

2-3
2.1 Confirmation of version information

Displayed with

or .

Installed information is displayed.

Option Information
Names of options installed to PCwin-PCk are displayed in the Option field of the about PCwin-PCk window.

2-4
3 Connection with CPU

3.1 Connection devices

3.1.1 PCk05 Connection


It connects it with PCk05 with the personal computer and the cable that installs PCwin-PCk.
Please refer to connected pin explanation chart shown below when you make the cable by oneself.
The plug that suits Jack with built-in PCk05 is a plug-in phone jack of RJ-12.

In PCk05, there are two RS232C ports. Port 1 is used to connect PCwin-PCk. The baud rate of port
1 is 9600bps fixation. After writing, port 2 uses the setting data for the system parameter
register by the PCwin-PCk tool or the ladder program execution.

3-1
3.1.2 PCk06 Connection
It connects it with PCk06 with the personal computer and the cable that installs PCwin-PCk.
Please refer to connected pin explanation chart shown below when you make the cable by oneself.
The plug that suits Jack with built-in PCk06 is a plug-in phone jack of RJ12.

In PCk06, there are two RS232C ports. Port 1 is used to connect PCwin-PCk. The baud rate of port
1 is 9600bps fixation. After writing, port 2 uses the setting data for the system parameter
register by the PCwin-PCk tool or the ladder program execution.

3-2
3.2 Communication Setting
When directly connecting PCwin-PCk and CPU, carry out setting as the below
Procedure

(1) Click [Setting] – [Setting of communication module].


A list of setting name registered before is displayed. Selecting the list as you like,
carry out [Change], [Delete] or [Addition] to the list.

(2) Select the module name

Click the module name and name select the communication module[CPU] to be
connected.

3-3
(3)Set the communication conditions.

Since the settings vary depending on communication module, always click

* The baud rate selects 9600 in PCk05/PCk06

(4) A set name is input as a comment.

(5)Completion of setting
Click “OK” after all settings are complete.

3-4
4 Screen Positioning (Peripheral Devices)

PCwin-PCk Window Title Bar


Menu Bar Tool Bar
Project Window

LD Edit Window Title Bar

Project Window Title Bar

Status Bar

4-1
4.1 Tool Bar
4.1.1 Standard Tool Bar
Used in Project window and Action Program Edit Window (Ladder Program Edit Window). It functions
through the click of Icon.
If unusable at the active window or selected operation, display turns gray.
Identical Function operation from the Menu is also possible based on selection from the menu bar.

<<<Funtion Name>>>

Grid Line
Zoom
Jump
Search
Re Do
Un Do
Help
Print
Paste
Copy
Cut
Save As
Open
New

4.1.2 LD Tool Bar


4.1.2.1 PCk05 / PCk06
Used when drawing LD circuit with LD window.
Placement of symbols can be made by clicking the Icons or pressing function keys [FF1 ~ F12].

Application Instruction
Counter
Timer
Reset Coil
Set Coil
Coil
Fall Differential
Rise Differential
B Contact
A Contact
Horizontal Bar
Vertical Bar

Insertion of Circuit Block

Line insertion for OR circuit creation

4-2
LD Program No. 1 Only.

Display of Comment of 100 characters

Ladder Conversion

Conversion of comment languages

4.1.3 Book Mark Search Tool Bar


Used for searching bookmark in LD window.

Setting/Release of Book Mark

Jump downwards

Jump upwards

Deletion of All Bookmarks

4.1.4 Communication module setting tool Bar

Communication module setting Name display at connection destination


Communication module setting

4-3
4.2 Positioning of Window
Default positioning of each window of Project, LD of PCwin-PCk is displayed with each window
overlapping as shown below.

(1) In case of Program made up of LD only.

4-4
4.3 Change of Window Positioning.
Change of positioning of each window of Project, LD can be made with “Window” menu.

Implies window currently under


display.
Mark is the upper most window.

(1)Overlapping display type 1 : It is positioning of default.


(2)Overlapping display type 2 : See below.
(3)Adjacent display : No overlapping positioning. However, in case of small screen like a small lap
top, coil portion of LD unit is sometimes not visible.

Overlapping display type 2 Adjacent display

4.4 Change of Display Language

All windows (Project window, LD edit window) are closed and operated. [View]-[Language] is chosen
and [Japanese] or [English] is chosen. This Command is limited to Japanese version Windows.

Then, a message is displayed. Please click [OK], and close and start PCwin-PCk. A display language
changes after starting.

4-5
5. File
In this peripheral device, basically following 4 files are handled.
*. kprj : Project file
*. kpg1 : LD (Ladder) Program+Parameter File
*. Kct3 : LD (Ladder) Comment File
*. kiod : Register Data File
These file are not specified independently but they are all selected when “*.kprj” Project file is
selected.
However, the Register Data File in selected depends on the option settings.

It is not possible preservation/to read with other tools because PCwin-PCk doesn't have the
interchangeability of other related tools and files and to do.
Moreover, the file made with other tools in PCwin-PCk cannot be read.

Cautions when delivering data


When delivering above data through E mail etc, it is recommended that all the files to be
delivered are compressed with the compression tool.
It helps to avoid unexpected situations like file name getting changed due to IT, OA
environment etc.

5-1
5.1. New
Left click the Icon of standard tool bar with mouse or on the menu bar, open new project
window by selecting (File) (New) and creation of new program will become possible.
In case file is not saved during creation, confirmation of saving is displayed.

For saving, left click(Yes(Y)) with mouse.


In case file is registered, it is saved. (see 5.3 : Save).
In case it is not registered, it is saved after registering in a new title. (see 5.4 : Save As).
When the file is not to be saved, left click (No (N)) with the mouse.
In this case, file is discarded even in the midst of creation.
When a new file is created, CPU operation mode can be assigned from [option] – [setting] –
[operation].

5-2
5.2. Open (File)
Left click Icon for Standard Tool Bar with mouse or display dialog for opening file by
selecting (File) (Open) on the menu bar and file to be opened is selected. Registered file can
be changed.

File displayed here is one which iwhere the extension of Files is “*.kprj”. By specifying this
project file, all data of this project ( LD (Ladder Program, Comment Etc. ) is read.

Further, when wanting to select program created only with LD ( Ladder) Program, select *.
kpg1 from the file types.

In case file is not saved during creation, confirmation of saving is displayed.

For saving, left click(Yes(Y)) with mouse.


In case file is registered, it is saved. (see 5.3 : Save).
In case it is not registered, it is saved after registering in a new title. (see 5.4 : Save As).
When the file is not to be saved, left click (No (N)) with the mouse.
In this case, file is discarded even in the midst of creation.

5-3
5.3. Save
Left click the Icon of Standard Tool Bar with a mouse, or by selecting [File] [Save] on the
menu bar, ithe data is saved in the registered file after Program check.

In case of unregistered file, it has to be saved by giving it a title. (5.4 : Save As).

5.4. Save As
By selecting [File] [Save As] on the menu bar, dialog for saving by giving the data a title is
displayed.
After entering new file name, left click [Save (S)] with mouse.

When saving the file, selection of File Type (File Extension) is not required.
When the content of project is distinguished automatically at the System side.
Further, Comment data is also saved simultaneously.

5-4
5.5. Import of Related File
This function is used when copying existing data in the Project.
Once this function is executed, return to previous data can not be made.

5.5.1. Import of LD Program


It reads existing LD Program in units of programs.
Select [File] in the menu bar and then select [Import of Related File], [Import of LD Program].

Since above mentioned caution message will be displayed, click [OK].


Next, as the dialog for File selection will be displayed, specify the file here.

Next as the Dialogs to specify transfer source and transfer destination will be displayed, select
the Program No. and click “OK”.

LD Program will be copied in the specified Program.

5-5
5.5.2. Import of LD Comment

Import of address comment or block comment of LD Program, comment of Application


Instruction can be made.
Operation till the selection of file is same as import of LD Program.
Next the dialog to select the import method will be displayed.
When importing the comment , specify the type of the file “Comment File (*.kct3)”.

Here selection of mode and that of transfer source and transfer destination is carried out.

5.5.3. Import of I/O Register


In case of import of I/O Register, partial reading is not carried out unlike other import. Specified
files are read as a batch.

5-6
5.6. Export of Related Files
5.6.1. Export of comment
Comment data is specified with File name and is saved.
When created with PCk05/PCk06 mode, comment format can be specified with the type of the
file.
Specify from among ” *.kct3 ” , ” *.csv ”

5.6.2. Export of I/O Register


I/O Register data is saved after specifying the file name.
Concerning the I/O Register Data, data processing mode is set by the option setting such as
the mode to automatically read and save the I/O registers when reading or writing a program
from or to the file.

5-7
6 Project Window
6.1 Setting of Project Window
Settings in the Project window have been explained below.
These settings are required for drawing LD with PCwin-PCk.
Settings are possible for a maximum of 1 PLC Programs (Program 1).

Project Program Tab

Data

Setting of Parameter
Refer to method of operation of Parameter
setting

For Program 1
Refer to method of operation of LD Settings

While creating a new program, carry out setting of CPU operation mode of the parameter
in the beginning.

6-1
About Project Folder
Comment set in the system of Program name of the Parameter is displayed as Project
Folder comment.

About Program Folder


Comment set in the Program of Program name of the Parameter is displayed as Program
Folder comment.

About LD Folder
Further, ‘Ladder Sequence”, is registered as overall LD Program.
In case of LD only program, only this “Ladder sequence”, is registered.

“+” and “-” on the left side of the Folder indicate open/close state of the folder.
“+” denotes closed state of the folder. Folder can be opened by double clicking the folder
and registered contents can be displayed.

6-2
7 LD (Ladder) Window Edit
Display from Project Window.

Double clicking the “LD Folder” of Project window, open the tree.
“Ladder Sequence” are displayed. In case of LD only, “Ladder
sequence” is displayed.

If program to be displayed is double clicked in this state, LD window is


played.

7-1
7.1 PCk05/PCk06
7.1.1 Entry of New Block
When creating new circuit Block, it is necessary to carry out insertion operation of new block and create the
place for circuit, circuit creation is fully carried out with this insertion operation.
When creating new project, 3 circuit blocks of “START”, “END”, “PEND” are automatically created. In case
of main program, program is inserted between “START” and “END” and in case of sub-routine or SFC Action,
between “END” and “PEND”.

Procedure
(1) Position to be created is clicked and cursor is placed there.

Double Click

(2)On the tool bar is clicked. New Block is created and subsequent circuits are shifted.

New block creation line

Modified circuit blocks will have modification mark “O”.

7-2
7.1.2 Address Programming

7.1.2.1 Positioning of Symbols


Positioning of Electric symbols is carried out as under.

Procedure
(1)Position to be created is clicked and cursor is placed there.
(2)Either the icon of symbol on the tool bar is clicked or the function key of the keyboard is pressed. (See
below given diagram)

(3)Symbol is positioned.
(4)If either [Enter] key is pressed or double clicked with the mouse, following input properties are displayed.
Entering [Address], [Comment]. Either press [Enter] or [Apply] button.

Memo
♦[Address] is automatically entered in capital letters even if [Capslock] is not pressed. Further, in following
cases, there is no need to enter everything.
In case of M001, enter M1
In case of M03A, enter M3A
♦ [Comment] may be entered either on the contact point side or the coil side. Entered comment is reflected
in all.

7-3
7.1.2.2 Change of Symbol
Positioned Electric Symbol is changed by the following procedure.

Procedure
(1) Either double click the symbol to be changed or place the cursor (Yellow Box) on it and press [Enter].
(2)Following Input Properties will be displayed.

M011 M11

POSSIBLE TO OPERATE FOR WRITE OF ID

♦ For Changing address or comment


After modifying Address or Comment, either press [Enter] key or click [Apply].
♦ For changing the type of symbol
Either click the symbol to be changed from [Symbol select] and press [Enter] key or click [Apply].
Further, by clicking the tab on the properties, change to different type of symbol can be made.

7-4
7.1.3 Creation of OR Circuit
7.1.3.1 Line Insertion (Creation of 2nd line in the same block)
In order to create OR circuit, it is necessary to create the 2nd line in the same block.

Procedure
(1)Click the position to be created and place the cursor there.

(2)Click on the tool bar . New line will be created on line below

OR Circuit Creation Line

7-5
7.1.3.2 Drawing of OR

In order to draw the vertical bar of OR, either click the icon on the tool bar or press “F1” key.

Procedure 1
(1)Place the cursor on the position where OR is to be drawn.

(2)On Click ,OR will be drawn.

Memo

♦ When wanting to delete drawn OR, place the cursor on it and click

7-6
7.1.4 Contact Point Insertion
When inserting a contact point in an existing circuit, first move the existing symbol to the right side and then
position the contact point.

Press [Insert] key to move positioned Electric symbol by 1 line to the right. Electric symbols in the cursor
position are also included. When the number than can be positioned in 1 line is exceeded, they are returned
automatically.

Press [Insert] key

Symbols are automatically returned

When [Insert] key is invalid.

[Insert] key becomes invalid in case of horizontal bar before the coil, like in the above circuit.
In such a case, enter [Insert] key placing cursor on the coil. It will be automatically returned.

7-7
7.1.5 Entry of Block Comment
Comment can be inserted in each block of the circuit diagram as explanatory note. This block comment can
be displayed on the screen by putting a check against [Display] – [Block Comment]. [If not selected, there
will be no display of the comment]

Procedure
(1)By putting a check against [Display] – [Block Comment], Block comment is put in display state.

(2)Place the cursor on the 1st line of the circuit where Block Comment is to be entered and either press
[Enter] key or double click with the mouse.
The following input properties will be displayed. Here click the tab of [Block Comment].

(4)Comment up to 4 lines (50 bytes per line) can be entered. After entry of the comment, either press [Enter]
or click [Apply] button.

7-8
7.1.6 Move/ Copy of Data
7.1.6.1 Un Do
Returns the created/ edited circuit to 1 step former state. It is possible up to a maximum of 7 times.

Procedure

Either select [Edit]-[Un Do] or click or after right clicking the mouse, select “ Un Do”.
Short cut keys are [Ctrl]+[Z].

7.1.6.2 Re Do
Re does the chart returned to 1 step former position with [Edit]-[Re Do]. It is possible up to a maximum
of 7 times.

Procedure

1) Either select [Edit]-[Re Do] or click or after the right click of the mouse, select “ Re Do”.
Short cut keys are [Ctrl]+[Y].

7.1.6.3 Cut
Selected data is cut on the clipboard. Cut data can be positioned anywhere with [Paste].

Procedure
(1)In the area on the circuit, move the mouse with left button pressed and select the symbols in the
range the mouse has moved.
As for selection unit, specification with line unit where the left side area on the circuit is left clicked
with the mouse and specification with column unit where optional area on the circuit is left clicked
with the mouse is possible. Selected area is reversed displayed

(2)Either select [Edit]-[Cut] or click or after right clicking the mouse, select “Cut”.
Short cut keys are [Ctrl]+[X].

7.1.6.4 Paste
Symbols copied or cut on the clipboard are recalled and pasted.
♦In case of range specification of line unit, line is inserted. Symbol where data is copied remains there.
♦In case of range specification of column unit, overwriting is done. Symbol where data is copied
disappears.

Procedure
(1)Place the cursor in the position data is to be pasted( gray box).

(2)Either select [Edit]-[Paste] or click or after right clicking the mouse, select “Paste”.
Short cut keys are [Ctrl]+[V].
Data gets pasted. In case symbols exist in the pasted position, clip data is inserted and subsequent
data shifts downwards.

7-9
7.1.6.5 Copy
Selected data is copied on the Clipboard. Cut data can be positioned anywhere with [Paste].
♦ In case of range specification of line unit, line is inserted. Symbol where data is copied remains
there.
♦ In case of range specification of column unit, overwriting is done. Symbol where data is copied
disappears.

Procedure
(1)In the area on the circuit, move the mouse with left button pressed and select the symbols in the
range the mouse has moved.
As for selection unit, specification with line unit where the left side area on the circuit is left clicked
with the mouse and specification with column unit where optional area on the circuit is left clicked
with the mouse is possible. Selected area is reversed displayed.

(2)Either select [Edit]-[Copy] or click or after right clicking the mouse, select “Copy”.
Short cut keys are [Ctrl]+[C]. Selected symbols are copied on the clipboard.

7-10
7.1.7 Comment Edit(Entry/ Edit of Comment)
Comments of Coil etc. can be entered and edited in the exclusive List Box.

Procedure
(1)Select [Edit]- [Comment Edit]- sequence Comment] with LD Window in active state.
(2)Targeted address is double clicked with the mouse.
(3)Since dialog box of [Comment Change] is displayed, comment is entered/ corrected.
Further, input of Device name and Function Code as name of the signal is possible.

Maximum No. of Input Letters


Comment:100 characters,Instrument Name:6 characters,Function Code:9 characters

(4)Click [ OK ].
♦ Program
When there are multiple Ladder Programs, if here number is selected, that particular comment
will be displayed.
♦ Device
Comment of the Device selected here is displayed.
♦ Display Range
Select the display range of the address. However, the type of range displayed in the List box
varies depending on the device.

7-11
7.1.8 Sequence comments optimization

Sequence comments which are not used in sequence programs, I/O chart, link parameters (FL-net,
PC link, DLINK) can be deleted.

Procedure
1) Select [edit] – [comment edit] – [sequence comments optimization]. (When LD window is not active or
LD is unconverted, displays by gray.)

2) Check addresses to be deleted from the optimization criteria.

3) If deleted comments are saved in the files, select [collect logs] and specify the file.

4) Select [delete], then sequence comments optimization starts.

7-12
7.1.9 Display Selection
7.1.9.1 Display Number
As for the number displayed on the left of LD circuit, change from step to Block number and vice versa
is possible.

Procedure
(1)Select [Display] – [Display No.] and then select [Step No.] or [Block No.].

7.1.9.2 Comment Display


Three methods of display can be selected for LD comment.

Procedure
(1)One of the following 3 items is selected from [Display] – [[Ladder Display].
♦ No Comment
Without the display of comment, only Ladder Diagram is displayed.

♦ With Comment – Type 1


Comment is displayed only to the right of coil or Function Instruction.

7-13
♦ With Comment – Type 2
Comment is displayed only to the right or on the contact point of coil or Function Instruction. As a
result, there is lot of space between lines.

7.1.9.3 Comment 100 characters display

On clicking on the tool bar, comment in the cursor position in the comment box equivalent to a
maximum of 100 characters will be displayed. Comment box can be moved to an optional position.
Moreover, display/non-display state is held at the time of PCwin-PCk termination. A blank character is
displayed by "_".

Alternatively, display cursor position on window status bar, maximum 100 characters.

7-14
7.1.10 Change of Screen Enlargement
For changing the enlargement of circuit diagram, change the [size] of characters with [change] button in
[option] –[customize].
(In case of PCwin-PCk, overall size is enlarged or reduced according to character size)

Procedure
(1)Click [option] – [customize]
(2)As the Dialog box of [Customize] will be displayed, click [change] button of the Ladder in[Font] tab.
(3)As the Dialog box of [Font specification] will be displayed, select [size] appropriately and click [OK].
(4)As the Dialog box of [Customize] will be displayed again, click [OK] if the contents of change are
fine.

<Details Item>
Customizing of Font

7-15
7.1.11 Change All

7.1.11.1 Batch change of I/O Address


Coil and Addresses of each contact point can be changed altogether.
Since the batch change address is fixed, one needs to be careful about it.
Below the combination table of addresses is indicated.

•Combination of batch change in case of address.

The address befor


K V T C L X Y M
K ○ × × × ○ ○ ○ ○
The address after change

V × ○ × × × × × ×
T × × ○ ○ × × × ×
C × × ○ ○ × × × ×
L × × × × ○ ○ ○ ○
X × × × × ○ ○ ○ ○
Y × × × × ○ ○ ○ ○
M × × × × ○ ○ ○ ○

•Procedure for carrying out batch change for the Program as a whole during display.

(1)Click [Edit] – [Batch change] – [I/O Address].

7-16
(2)Click [Add] button.

(3)Device that needs to be changed is set.


When changing M000 – MFFF used in Program 1 to M500 – M5FF of Program 1.

(4)Click [OK]. In the change table, set device will be displayed.

(5)Change can be carried out by clicking [Execute] button.

7-17
•Procedure for batch change of specified range.
(1)Data range that is to change as a batch is selected.
For selection, move the cursor to near the Step No. and while pressing the left button, move to the
last line of the object range. Highlighted portion will be the selected range.

(2)Click [Edit] – [Batch Change] – [I/O Address]


(3)There will a check in the [Specified Range] of [Change Range].
Thereafter, it is same as the aforesaid procedure (4) and so on.

7-18
7.1.11.2 Batch change of Application Instruction operand.
Operands of Application Instruction can be changed all together.

The input of the function operand is shown below.


1) WORD type is specified before change address.
Alter all ones which were WORD,BYTE,BIT types before change.

2) BYTE type is specified before change address.


Alter all ones which were WORD,BYTE,BIT types before change.

3) BIT type is specified before change address.


Only alter the ones which were BIT type before change.

Note: It is unable to alter the types of the addresses of before change as well as the addresses of after
change.

The result of change and the input example of change using function operand could be displayed by
selecting [Help] button.

7-19
•Procedure for Batch change during displayed Program.
(1)Click [Edit] – [Change All] – [Application Instruction Operand].

(2) Click [Add] Button.

(3)Set the operand that is to be changed.


Instance) When replacing D0000 – D001F used as operands of Application Instruction in Program
1 with R10 – R11f of Program 1.

7-20
(4)Click [OK]. Set Device will be displayed in the change list.

(5)If [Execute] button is clicked, it will be changed.

•Procedure for Batch change of specified range.


(1)Select the data range that needs to be batch changed.
Move the cursor near the Step No. and while pressing the left button, move to the last line of the
object range. Highlighted portion will be the selected range.

(2)Click [Range] – [Batch change] – [Application Instruction Operand].


(3)There will be a check in the [Specified Range] of [Change Range].
Thereafter the procedure is same as aforesaid 4).

7-21
7.1.11.3 I/O Address Batch Change (Modification File Reading)
Addresses of coil and each contact point can be changed altogether by reading the Address
Modification File and by dividing them into multiple address areas.
It may be noted that combinations of modifiable addresses have certain limitations.
Below a list of combinations of Basic Addresses and Extended Addresses is given.

•Combinations of Batch Change in case of address.

The address befor


K V T C L X Y M
K ○ × × × ○ ○ ○ ○
The address after change

V × ○ × × × × × ×
T × × ○ ○ × × × ×
C × × ○ ○ × × × ×
L × × × × ○ ○ ○ ○
X × × × × ○ ○ ○ ○
Y × × × × ○ ○ ○ ○
M × × × × ○ ○ ○ ○

7-22
•Procedure for carrying out Batch Change in the whole Program being displayed.
(Note) When there are multiple programs in PC3 Mode, only the program being displayed canbe
targeted.

(1) Click [Edit]-[Change All]-[I/O Address]

(2) Click [File] button.


Select Address Modification File in the File Dialog and click [Open] button.

Address Modification File


•Describe the address before and after modification.
•CSV File Format(Can be edited with EXCEL etc.)

7-23
Instance of Address Modification File (*.csv)

#CHANGEALL
#BEGIN_IOBIT File Header [Must]
Y100 Y700 I/O Address Batch Modification Start Mark [Must]
Y101 Y701
Y102 Y702
P1-L200 X300 Pre-modification Address, Post-modification Address
P1-L201 X301
P1-L202 X302
P1-D00FF-F P1-M000
EM000F P1-D00FF-0 I/O Address Batch Modification End Mark [Must]
#END
#BEGIN_FUNCOP
:
(Function Instruction Operand Change All Indication)
:
:
#END

(3) Confirm the read modified address and if it is fine, click [Execute] button to modify it.

* If necessary, line-wise modification is possible.


Select the line to be modified and modify by clicking the [Change] button.
However, it will not be reflected in the Address Modification file read from the File Dialog.

7-24
Following message will be displayed on completion of modification.

•Procedure when changing specified area as a batch


(1) Select the data range to be changed as a batch. For selection, move the cursor close to the
Step Number and move to the last line of the target area while pressing the left button.
Inversed portion will be the selected area.

(2) Click [Edit]-[Change All]-[I/O Address].


(3) [Specified Range] of [Modified Range] will have a check mark against it. Remaining
procedure is same as the aforesaid Procedure (1).

7-25
7.1.11.4 Batch change of Function Instruction Operands (Modification File reading)
Function Instruction Operands can be changed altogether.

• Procedure for carrying out batch change in the Program being displayed.

(1)Click [Edit]-[Batch Change]-[Function Instruction Operand].

(2)Click the [File] button.


Select the Address Modification File in the File Dialog and click [Open] button.

Address Modification File


• Describe address before and after modification.
• CSV File format (can be edited with EXCEL etc.)

7-26
Instance of Address Modification File (*.csv) Format

#CHANGEALL File Header [Must]


#BEGIN_IOBIT
:
:
:
: (I/O Address Batch Modification)
:
:
:
:
#END Function Instruction Operands Batch modification Start Mark [Must]
#BEGIN_FUNCOP
P1-M11W EM20W *1
P1-D1000 P1-D0020
Y123W P1-D123 Function Instruction Operands Batch modification End Mark [Must]
#END
*1 Modification Target:Any of the following type Operands can be targeted.
Set the I/O Address Batch Modification Portion in duplicate. It is needed for reflection in the SFC
Data.
Specify by adding the Data type (W,H,L,-n) at the end.

Data Type Bit Device Address Register Address


1) (Double Word) W -
2) Word W -
3) Bytes [Lower 8 bits] L L
[Upper 8 bits] H H
4) Bit - -n

(3) Confirm the read address and if it is fine, modify it by clicking [Execute] button.

* If necessary, it can be modified line-wise, separately.


Select the line to be modified and click [Change] button to modify.
However, it will not be reflected in the Address Modification File read from the File Dialog.

7-27
•Procedure for Batch change of specified range.
(1)Select the data range that needs to be batch changed.
Move the cursor near the Step No. and while pressing the left button, move to the last line of the
object range. Highlighted portion will be the selected range.

(2)Click [Range] – [Batch change] – [Application Instruction Operand].


(3)There will be a check in the [Specified Range] of [Change Range].
Thereafter the procedure is same as aforesaid (1).

7-28
7.1.11.5 Format of Address Modification File
(1) Mention the keyword for Address modification :#CHANGEALL at the top of the file.
(2) Modification data of I/O address is mentioned in-between the start mark:#BEGIN_IOBIT and
the end mark :#END.
(3) Address modification data of Function Operands is mentioned in between the start
mark :#BEGIN_FUNCOP and the end mark :#END.
(4)Modification data of I/O Address and Address Modification Data for Function Operands are indicated
in the order of pre-modification address, post-modification address and comment.

pre-modification address,
#CHANGEALL post-modification address and comment
#BEGIN_IOBIT Y10, Y20, COMMENT1
Y11, Y21,
:
I/O Address Modification Data
:

#END

#BEGIN_FUNCOP P1-D0000, P1-D0200,


P1-D0001, P1-D0201, COMMENT2
:
Function Operand Modification
:
Data

#END

Address Modification File(.csv)

Address Modification File Format is :CSV and file extension is .CSV.


Address Modification file can be prepared by using the Application software that can handle
CSV file such as Text Editor or EXCEL.
When saving the file, save it in the CSV File format.
Comment Data cannot be incorporated in the Peripheral tools and PLC unit.

7-29
7.1.11.6 File Format Error Display
In case there is any error in the format at the time of reading the Address Modification File, following
message will be displayed. Re-execute after modifying the data in accordance with the format.

1) When address specification other than Bit Address exists in the modification data of I/O Address.
ex.L000W in the 3rd line of CSV file.

2) When Bit Address specification that cannot be used in the modification data of I/O Address exists.
ex.L000-0 in the 3rd line of CSV file.

3) There is no start mark :#BEGIN_IOBIT in the modification data of I/O Address.


ex.Detection of #END without the start mark in the 41st line of CSV file

4) There is no end mark: #END in the modification data of I/O Address.


ex.Detection of #BEGIN_FUNCOP without #END mark in the 36th line of CSV file.

7-30
5) There are unnecessary address specifications.
ex.R0000-0 in the 3rd line of CSV file.

6) There is no start mark :#BEGIN_FUNCOP in the Address Modification data of Function Operand.
ex.Detection of #END without the start mark in the 41st line of CSV file.

7) There is no end mark in the Address modification data of Function Operand.


ex.Detection of blank line without #END in the 41st line of CSV file.

8) There are unnecessary address specifications in the Address modification data of Function Operand.
ex.R0000 in the 6th line of CSV file.

9) Specification of pre-modification address is repeated.


ex. Y20 exists in the specification of pre-modification address up to the 7th line of CSV file.

7-31
7.1.11.7 Cautions
• When specifying bytes for the pre and post modification address, make it as L -> L, H -> H. It cannot
be L -> H,H -> L .
• Address once modified cannot be modified again.
• Pre-modification address cannot be repeated.

Pre-modification address,
post-modification address
* I/O Address(X/Y) is described with Y.
Y10, Y20 • • • 1)
* P1-MΔΔΔ M etc. are described indicating the Program
P1-M1, P1-M2 • • • 2)
number.
: • • • 3)

Comment gets affixed to the post-modification address.


Comment 1 Comment 2
X10 X11
|------||------------||-----------
Pre-modification address,post-modification address
Y10, Y20
Comment 1 Comment 2 Y11, Y21
X20 X21
|------||------------||-----------

When Address Conversion(A↔B) occurs in the Address Modification File, it is described as A→B ,B→
A.
Comment 1 Comment2
X10 X11
|------||------------||-----------
Pre-modification address,post-modification address
Y10, Y11
Y11, Y10
Comment 2 Comment 1
X10 ↔ X11 Address Conversion
X11 X10
|-------||------------||-----------

Modification is processed by a single scan.

Comment 1 Comment 2
X10 X11
|-------||------------||-----------
Pre-modification address, post-modification address
Y10, Y11
Y11, Y12
Comment 1 Comment 2
X11 X12
|------||------------||-----------

• Modification mark affixed to the block of modified elements(Contact, Coil).


If the menu [Convert]-[Convert all the Ladder Edited Blocks] is selected, modification is carried out.

7-32
7.1.11.8 Batch interchange of AB contact Points.
Batch interchange of A contact point and B contact point of specified address is possible.
When Symbolic Programming is ON, this function cannot be used.

Procedure
(1)Click [Edit] – [Batch Change] – [Interchange of AB Contact Points].

(2)After feeding the address, click [Execute] button.

Procedure at the time of Batch Change of Data in the specified range


(1)Select the data range that needs to be Batch changed.
Move the cursor close to Step No. and while pressing the left button, move to the last line of the
object range to select it. Highlighted portion becomes the selected range.

(2)Click [Edit] – [Batch Change] – [Interchange of AB Contact Point].


(3)There will be a check in the [Specified Range] of [Change Range].
After entering the address, click [Execute] button.

7-33
7.1.12 Re-allocation
7.1.12.1 Re-allocation of Application Instruction Serial No.
When CPU reading and the file is written because the function to memorize the serial number in
PCk05/PCk06 is not provided, the application instruction serial number is renewed by the automatic
operation in PCwin-PCk.

Serial No. allotted to the Application Instruction is re-allocated in order from the start of the data.
Before Change

After Change

Serial No. (F001-) is related to Comment File (can be edited with Device F of Comment Edit) but since
this command simultaneously changes them also, their relation with the comment file is not disturbed.

7-34
7.1.12.2 Re-allocation of Edge Detection Address
When CPU reading and the file is written because the function to memorize address (P -) in PCk05/PCk06 is not
provided, the edge detection address renewal is done by the automatic operation in PCwin-PCk.
Address P cannot be used by the coil, AND, and the OR point of contact in PCk05/PCk06.

Addresses (P -) of Rise Differential (PTS) and Fall Differential (NTS) will be allocated from the start of
the data.
Before change

After change

7-35
7.1.13 LD Block Checking
2 Data files are compared and blocks that are different or blocks only on one side will be displayed.
Rename the program prior to change and by comparing the program with that after change, corrections
can be easily grasped. Comparison is made between currently displayed program and the program
having similar number as the selected file.

Procedure
(1)Display the LD Program to be compared.
(2)Click [Edit] – [Block checking]
(3)Following dialog for File selection will be displayed.
Select the LD Program file which is the object of comparison.

(4)Following dialog will be displayed. Click [Check] button.

7-36
(5)Following comparison, [S] will be displayed if they are same, [D] if different and [N] if blocks exist
only on one side. Displayed numeral implies the serial number of the block.

Displayed numerical denotes the block sequence number.

[Comparison] button
Comparison of 2 Data Files is executed.

[Block Display] button


If execution is carried out after clicking the Block No. in the displayed list, corresponding circuit diagram
will be displayed.

[Next Difference] button


Reverse display of the different point below the present position is carried out.

[Previous Difference] button


Reverse display of the different point above the present position is carried out.

[Save Result] button


Save comparison result in list to file.

7-37
7.1.14 Search
Contents of Circuit Data of currently displayed Program can be searched by specifying the character
sequence.

Procedure
(1)Click [Display] – [Search] and next menu will be displayed.

(2)Depending on the item to be searched, click the tab of one of the following [Coil/Contact], [Function],
[Comment].

(3)Check the check box of the type that is the object of search from the [Search Object].

(4)After feeding characters in [Address] (or [Character Sequence]), execute search with
[Search downwards] or [Search upwards].

♦ [Setting of mark in all]


Set bookmark in all the data that corresponds to search conditions.

♦[After search, do not display on window (but reflected on toolbar)]


After searching on search window, do not display the window. Future search can be done on
toolbar.

Input address Prior Next

7-38
7.1.14.1 Label search
In the address programming, label search can be searched by using LD search dialog.
(In a symbolic programming, it correspond by the tag name search. )
It searches character string in the address column of LD search dialog.Then display jump to the
corresponding position.This character string is included in the object of the search as a label..This
character string is included in the object of the search as a label.
The comment character string which contains the specified character string is searched.
Example) Specified character string:AA
Tag name or Comment string Agreement
AA O
AABB O
BAA O
BAAC O
BADAC X

An active LD view is the object of the search.


The LD symbol deals for the search is the one that the check selection is done in the undermentioned
frame.

'Search '****' is not found' is displayed when there is no correspondence in the result of the search.
**** : The character string for search.

•Label

7-39
7.1.15 Jump using the Book Mark
By setting bookmark in each point of the circuit diagram, display can be made by instantaneous jump.

How to set the Bookmark?


(1)Place the cursor on the object line.

(2)Click the Icon button. Marks like shown below will be affixed.

How to display the set Bookmark position?

When jumping downwards than the present cursor position, click the button and

when jumping upwards, click button.

How to reset a particular Bookmark?


(1)Place the cursor on the line to be reset.

(2)Click button of the Icon.

How to release all the Bookmarks?

Click button.

7-40
7.1.16 Usage status
Usage Status List for addresses are displayed by choosing [View]-[Used Status] in menu bar.
Both addresses used in coil·contact and in function operand are displayed with mark IN USE. Non-used
addresses are displayed with mark "·".
Input area and output area are displayed with background colors of light blue and orange respectively.
Mark Explanation
. Non-use Address
lower case A Contact, B Contact, Edge and Function input operand
upper case Coil and Function output operand
Background color Light blue Function input area
Background color Orange Function output area

(Example) M

m : Using in contact
M : Using in coil
Light Blue : Function input area
Orange : Function output area

Color priority level : Orange > Light blue


Character priority level : A > M > m

[Configure] button
Display for Usage Status can be changed

• Contact and function operand(input)


• Coil and function operand(output)
• Function input area
Address range for function input area is Mark-displayed along with setting check ON.
• Function output area
Address range for function output area is Mark-displayed along with setting check ON.

Configure is changed along with touching button [OK]. To apply the change, please re-open the
Usage Status.

7-41
It explains the method of the display with the following circuits.
2
Only the coil

1 Only the contact 3


Contact and coil

Coil and function input operand 4

DWORD instruction 6 Contact and function output operand

Block transfer instruction 7

Display of 1, 2, 3
Only the contact : lower case[m]
Only the coil : upper case[M]
Contact and coil : upper case[M]

Display of 4 Coil and function input operand :


Light blue, coil use area is a capital
letter.[D], coil unused area is a small
letter.[d]
Display of 5

Contact and function output operand :


Orange color,Capital letter without
the contact existence relation.[D]

DWORD instruction :
Display of 6 All the DWORD areas are displayed.

Display of 7

Block transfer instruction :


All the block transfer areas are
displayed.

7-42
The function which corresponds to the input/output area display is as follows.
Function Direction kind FUN No.
4-digit hexadecimal constant move WMOV FUN101
8-digit hexadecimal constant move DMOV FUN102
4-digit hexadecimal constant 2-location move WMOVT FUN110
2-byte direct move WMOVE FUN0
Move
4-byte direct move DMOVE FUN111
instructions
Word data block move WBMOV FUN119
Byte data block exchange BXCH FUN134
Word data block exchange WBXCH FUN135
Word data fill WFIL FUN129

7-43
7.1.17 Contact Point Table
Jump using Contact Point Table can be made.
Place the cursor on the Contact Point or coil to be searched, and by selecting [Display] –[Contact Point
Table], the contact point table is displayed.

Here, if the position where the jump is to be made is double clicked, jump can be made.
Further, with the contact point table being displayed, if [search] is clicked, contact Point Table of that
address will be displayed.
It can be used during editing and monitoring. However, during monitoring, cursor is not displayed.

7-44
7.1.18 Tracing Search
Jump to the coil is made with the right click of Contact. Further, with the right click of the coil, return to
the original contact position is made. Tracing search up to a maximum of 16 steps is possible.
During tracing search, jump into self program or to other program is possible.
However, if selection of Circuit Edit-Program is made, this function is reset.

7-45
8 Parameter Setting
For parameter setting, if the Folder of parameter on the Project Screen is double clicked, following
parameter setting items will be displayed.
Next by double clicking the items to be set, setting dialog will be displayed.

Double-click the
item to be set

8.1 CPU operation mode

Decide PLC model (PCk05/PCk06) that uses it.

8-1
8.2 Scan Time Timer

Scan Time Value of overall Program of the System, Scan Time value of Main Program are set. At the
time of Program execution, if set scan time is executed, CPU error will occur.

8.3 Program Name

Program name can be respectively set in the system. Input Range is maximum 8 half size
characters.
Program Name set here will be displayed in the Program Folder of the Project Screen.

8-2
9 Program Check
After creating the program, carry out Program Check for verification.

9.1 LD Program Check


In case of Program of LD only or Program Check of LD portion only, first LD window is put in active
state.
In this state, select [Edit] – [LD Program Check] from the menu.

9.1.1 LD Program check result

LD Program Check result is displayed as above.


When program read/write with PLC, program check is automatically done.
When error is not detected, check result is not displayed.

(Caution) Display of check result is separated at each program.


Display of the program with error is displayed forward.

Setting by which Duplication Check targets output address of Function instruction by setting option.
[Option] – [Set] – [Operate]

<Target Address> < Target Address>


Coil x Coil Coil x Coil
Coil x Function Address
Function Address x Function Address

9-1
9.1.1.1 Types of Format Error and Error Code
(1) Format Error
Error Code Details
04 Address other than "P" was used in PTS or NTS Instruction.
05 Address "P" has been used twice.
0C Undefined Instruction is included in the Program.

When above errors occur, modification can be carried out with the Ladder symbol.

(2) When Display is not possible


When a block is displayed with Circuit Display mode, portions that cannot be displayed as Ladder
Diagram are displayed as under in the Ladder Diagram Area. In this case, modification based on
Ladder symbol cannot be carried out. After Block deletion, re-prepare the circuit.

**

Error Code Details


01 Exceed display limit(Exceeding 22 lines in 1 Block)
02 Stack over during STR, STR NOT Instruction.
03 There is OR Instruction without STR Instruction.
04 There is AND Instruction without STR Instruction
05 Stack over during FPS Instruction.
06 There is FRD Instruction without FPS.
07 There is FPP Instruction without FPS.
08 Since there is no value in Stack (S0), AND STR is not possible.
09 Since there is no value in Stack (S0), OR STR is not possible.
0A Counter Instruction Block Stack Number error.
0B Exceeding the Program limit(Circuit Block of over 256 steps).
0E Bit Pattern error in the Timer Counter.
0F Since there is no value in Stack (S0), FPP is not possible.
10 It is not popping with the Stack in pushed state. (There is residual Stack)
11 There is OR system instruction in the Timer Counter Instruction Block.
12 There are OR,OR NOT,OR STR Instructions soon after FPS Instruction.
There are STR,STR NOT,OR,OR NOT,OR STR,AND STR Instructions after
13
OUT system Instruction.
14 There is no OUT system Instruction Word in 1 Block.
15 It is non-displayable pattern with contact type Function.
Note) FPS, FRD, and the FPP instruction cannot be used with PCk05/PCk06.
It becomes an undefined instruction error.

9-2
9.1.1.2 Circuit not supported

Please change the circuit when the following message is displayed.

[Example of circuit not supported]


B contact/contact type function/output type function/multi circuits(4 pieces or more) are not supported.

Example of
equivalent
circuit

9-3
9.2 Program size

Select [Xchange] -[Program size].

Displays rate of program Capacity, Free space, and Raito of free space for every Program.

In the case of a program project


CPU operation mode is displayed.

In the case of a Program project


Size of P1 is displayed.

9-4
10 CPU
By connecting with CPU, reading and writing of Program comment Register Data and Setting of monitor
data can be carried out.

10.1 Read from CPU


Program comment Register stored in the CPU is read on PCwin-PCk side.

Further, in case Program on PCwin-PCk side is edited and the File is not saved, following message is
displayed.

During reading, following dialog is displayed and it implies that it is being read.

10-1
Program check is automatically carried out on completion of reading.

In case any error is detected during Program Check, details of error are displayed.
In case there is no error, check results are not displayed.

10-2
10.2 Writing in CPU

Program Parameter Register Data held by PC win is written in CPU.

Avoid it during operation of equipment or object equipment to be used.


Since the equipment can sometimes have unexpected operation depending
on the contents of writing, sufficient care must be taken for safety.

The following writing selection operation is necessary when the project names (Only ASCII 8 characters) in
CPU are compared at the time of writing and it doesn't agree.
The project names of CPU are only ASCII 8 characters.

10.2.1 All Program + Parameter


Automatically deciphers the Program contents and writes the following data in the CPU.
Before writing, Program Check are automatically carried out.
Carry out writing of All Program + Parameter after stopping the CPU.
When preparation for writing is complete, following message of confirmation is displayed.

If [Yes] is clicked, writing starts. Writing can be stopped by pressing [No].

Following message is displayed on completion of writing.


If [OK] is pressed, the message will disappear.

When Program contents and the type of CPU do not match, following message is displayed and writing is
terminated.

10-3
Moreover, following Massage is displayed for the RUN mode.

10.2.2 Program 1
Data of Program 1 only is written.

10.2.3 Parameter
Writes Parameter information.
Use it when only Parameter has been changed.
Carry it out in the RUN stopped state of CPU.

10.2.4 Comment
Writes Comment Data.
It can not be written in CPU of PCk05/PCk06.

10.2.5 Register
Writes Register Data.

Since following Register selection screen will be displayed, write after selecting the register where writing is
To be executed.

10-4
10.3 Collating with the CPU
10.3.1 Binary checking of Program + Parameter
Program and Parameter information of tools and CPU is checked at the binary level.

10-5
10.3.2 In case of Register
Register data of tool and CPU is checked.

PCw in

10.4 Operation Status of CPU.


Current Status of CPU is displayed.

10.5 Stop of CPU


Following message is displayed during RUN of CPU or at the time of stop release.

Processing is cancelled if [No {N}] is selected. In such a case, following message is displayed.

10-6
If [Yes {Y}] is selected, CPU stop state is released. In such a case, following message is displayed.

10.6 Resetting of CPU


Following message is displayed when CPU is under RUN.

Close the dialog by pressing [Enter] Key.


Following message is displayed when CPU is under RUN.

CPU halt state is released if [Yes {Y}] is selected.


Processing is cancelled if [No {N}] is selected. (CPU halts).

Following message is displayed when CPU is in halt release state.

If [Yes {Y}] is selected, CPU is reset.


If [No {N}] is selected, processing is cancelled (halt state is release).

10-7
10.7 Error Monitor of CPU

Error information up to 16 times in the past is memorized in CPU. The information can be read to
PCwin-PCk.

Note) Only PCk06 is good at the error monitor. PCk05 is not good at the error monitor.
Please monitor the error code of special register S01D, S01E, and S01F by 11.2
registers and the I/O address monitors and refer to the error code for PCk05.

The detailed display function is not provided. A detailed button becomes a gray display.

10.7.1 CPU error code table

Error code PCk05 PCk06 Description

The error might be able to be released by resetting the


E001
○ power supply of CPU. Please exchange PCk06 when
CPU FATAL ERROR
the error relapses.

This error occurs when the timer of the scanning time


when the scanning time of the program was set is
E003
○ ○ exceeded. VE1 is turned on, and the error code is
SOFTWARE TIME-OUT
preserved in S01D. Please change set time of the
scanning time timer long.

When CPU starts executing the instruction code, the


parity error is detected. When the program memory
E004
○ changes due to the malfunction by the noise etc. , it is
SUB CPU PARITY ERROR
generated. Please do the writing operation of the
program again.

10-8
Error code PCk05 PCk06 Description

PCk06 built-in battery voltage has decreased and


E041 exchange it, please. VF0 is turned on, and the error code

CPU BATTERY LOW is preserved in S01F. This error occurs only at the option
battery use (Bit 12 of S05B is turned on).

E104 It failed in writing in CPU. Please reset the power supply


○ ○
WRITE FAILED of CPU. Please exchange CPU when the error occurs.

The parity error was generated in the application


program. VC2 is turned on, and the error code is
E151 preserved in S01D. This problem has the possibility of
○ ○
BAD COMMAND originating in the noise. Please do the writing operation of
the program again. Please confirm the earth. Please
exchange CPU when the error relapses.

The checksum error occurred in system RAM. VC2 is


turned on, and the error code is preserved in S01D. This
problem has the possibility of originating in the decrease,
E155
○ the noise, and the CPU RAM breakdown in the voltage
RAM FAILURE
of the battery. Please do the writing operation of the
program again. Please confirm the earth. Please
exchange CPU when the error relapses.

E200
○ The I/O module broke down.
I/O MODULE FAILURE

The I/O module failed in the communication with CPU.


E202
○ Or, the module is not mounted on the slot. VC7 is turned
MISSING I/O MODULE
on, and the error code is preserved in S01E.

10-9
Error code PCk05 PCk06 Description

E210 A short duration power drop-out occurred on the main



POWER FAULT power line supplying power to the PCk06.

Please give the last execution instruction of the ladder


program to me as END. Please insert the END
E401
○ ○ instruction in the position where the ladder program is
MISSING END STATEMENT
correct. VC9 is turned on, and the error code is
preserved in S01D.

There is no LABEL instruction to confront the JMP


E402
○ instruction. VC9 is turned on, and the
MISSING LBL
error code is preserved in S01D.

The subroutine in the ladder program doesn't end


E403
○ ○ because of the RET instruction. VC9 is turned on, and
MISSING RET
the error code is preserved in S01D.

There is no FOR(FORN) instruction to confront the


E404
○ ○ NEXT instruction. VC9 is turned on, and the
MISSING FOR
error code is preserved in S01D.

There is no NEXT instruction to confront the


E405
○ ○ FOR(FORN) instruction. VC9 is turned on, and the
MISSING NEXT
error code is preserved in S01D.

The interrupt routine in the ladder program doesn't end


E406
○ ○ because of the RETI instruction. VC9 is turned on, and
MISSING IRT
the error code is preserved in S01D.

It cannot be nesting (The FOR/NEXT loop is


E423
○ ○ programmed in another loop). VC9 is turned on, and the
NESTED LOOPS
error code is preserved in S01D.

The LABEL instruction that the JMP instruction confronts


E432 cannot be programmed after the END instruction (in the

INVALID JUMP ADDRESS subroutine etc.). VC9 is turned on, and the error code is
preserved in S01D.

10-10
10.8 Setting of Data and Time in the CPU.

Date and Time on the PC side can be set.

Method of setting is as under.


After directly entering Date and Time, click (write) button.
Click (Read from PC) or (Internal Clock) and then click the (write) button.

Reading from PC
Date and Time are read in PC win from the PC built in clock.
In this case, first 2 digits of the western calendar are read from the internal clock.

Computer Internal Clock


Date and Time are read in PC win from the built in clock.

10-11
11 Monitor

11.1 LD Monitor
If [Monitor] – [Monitor Start] are selected with LD window in the displayed state, LD monitor
will start.

Monitor displays the current value of Timer/ Counter, Contact / Coil state and the contents of
data memory specified with Operand of Application Instruction,

The monitor result of the function operand could be changed to Hex, Dec or Oct via the choice
in menu Select - [Set] - [Operate] - [Type of Register Contents].

11-1
11.1.1 Ensued Monitoring

11.1.1.1 LD
By double clicking contact point at the time of monitoring LD, jump to that coil can be made.
Moreover, by double clicking the left of the coil, return to the original contact position is made.
Tracing up to a maximum of 16 steps can be made.

Double-click

11-2
11.1.2 Continuity monitor
The continuity monitor display monitor can be set by "Change to continuity monitor display" of
[Option]-[Configuration]-[Operation]of the menu. Contact/Coil/Bar/NOT is expressed by the
display color.

Notes
•Edge (PTS,NTS) /function cannot continuity monitor display.
•The display with the ladder window might not be able to continuity monitor display in case of
Block on the way.

11-3
11.2 Register and I/O Address Monitor
[Register – I/O Address Monitor] is selected on the Monitor Menu.
This screen is used combined with monitor.

Monitor will start if[monitor start]is clicked.

11.2.1 Setting of monitor address

11.2.1.1 Batch setting in address


Address to be monitored is set on the Add, Change, Erase Screen.

11-4
11.2.1.2 Individual setting in address

(1) Add
When selecting [Addition of address], Address Input Screen will be displayed.

Enter the address after selecting Program No. and Device.


If block specification is made, those block addresses are added at a time.
Click [OK] when setting is complete.

(2) Change
Place the cursor on the address to be changed and when [Change] is selected, Address
Input Screen will be displayed.

Enter the contents of change and click [OK].

(3) Erase
Place the cursor on the address to be erased and click [Erase]. Address will be erased.

(4) Clear
If [Clear] is clicked, following message will be displayed.

If [Yes] is selected, all set addresses will be erased.

(5) Read
A click of [Read] displays the address saved by [Save].

(6) Save
A click of [Save] saves the address displayed now.
11-5
12 Settings

Avoid carrying out setting of the equipment during operation or during


operation of equipment to be used. Depending on the contents of writing,
equipment can have unforeseen operation, therefore pay sufficient attention to
safety. Therefore, take sufficient precautions for safety.

12.1 Setting Menu

Setting items are as shown above.

12.2 Change of Timer/Counter current value.

The list of used timer/counter are displayed in the dialog.


The address input the [Current value].
If you click [Write]button, the data is written.
If write is selected, following message will be displayed and end of writing will be notified.

12-1
12.3 I/O Forced on-off
It is possible that the bit address in 16 points or less is turned on or off at the same time.
The following dialog is displayed.
Add the bit address turned on and off with [addition] button.
If you click [PC writing]button, the data is written.

12.3.1 Set the address and ON/OFF


٠When Symbolic Programming is OFF.

If you click [Addition]button, the following dialog is displayed.


Setting of the address : select ON or off, so the data is added in the list with [OK]button.

If you click [Keeping relay display]button, the list of keeping relay is displayed.
If the keeping relay is selected, it is set in the [Address]item with [OK]button.

12-2
12.3.2 Writing the data to CPU
If you click [PC writing]button, the following message is displayed.

In case there is no problem, Select [Yes].


After the completion of writing, monitoring is carried out and results are displayed under “Result”.

However, in case PC is under RUN, since operation results of sequence program are given preference,
execution result sometimes becomes OFF even if ON is set.

Note) I/O Forced ON-OFF does not have Hold function. Consequently, when I/O Forced ON-OFF is
carried out during RUN, I/O state changes in accordance with sequence operation or Refresh
result.

12-3
12.4 Register Edit

12.4.1 Register and I/O address Monitor


Address to be edited is set and the set value is set with Online Edit.
Set value of CPU can be changed during CPU writing.

This screen can be used along with monitoring. If [Monitor Start] is clicked, monitoring will start.

12.4.1.1 Setting of Edit Address


12.4.1.1.1 Batch Setting of Edit Address
Address to be edited is set collectively for up to 16 words by selecting from Program, Device,
Display Range.

12.4.1.1.2 Individual Setting of Edit Address


(1)Addition of Address
If [Address Addition]is selected, Address input screen will be displayed.

After selecting Program No. and Device, address is entered.


If Block specification is carried out, block of addresses can be added in one go from the specified
address. Click [OK] on completion of setting.

12-4
(2)Change of Address
Place the cursor on the address to be changed and if [Address Change] is selected, Address
Input screen will be displayed.

0107

Feed the change contents and click [OK].

(3)Deletion of Address
Place the cursor on the address to be deleted and if [Address Delete] is clicked, address will be
deleted.

(4)Clear Address
If [Clear Address]is clicked, following message will be displayed.

If [Yes] is clicked, all set addresses will be deleted.

(5)Read Address
If [Read Address] is clicked, addresses to be edited and saved in [Save Address]will be
displayed.

(6)Save Address
If [Save Address]is clicked, currently displayed edited addresses will be saved in the internal data
of Pcwin.

12.4.1.2 Offline Editing


Place the cursor on the address to be edited. In this state, if[Offline Editing]is selected, Edit
screen will be displayed.

After selecting the type of data(hexadecimal, decimal, octal)enter the set value and click [OK].
This state is offline editing state (change of data inside the PCwin) register data and writing in
CPU is not made.

12-5
12.4.1.3 Data File
If [Data File]is clicked, Set Value Edit Screen will be displayed. After entering the set value, click[OK]. All the
data of edited addresses will be changed to set value.

This state is one of offline editing(change of data inside Pcwin) of register data and it is not written in the
CPU.

12.4.1.4 PC writing
When there is need to write in the CPU, click [PC writing] . All the data displayed on the screen will be written
in the CPU.

On the completion of writing, above message will be displayed.


This screen is commonly used with monitoring. If [monitor] is clicked, monitoring will start.

12.5 Register Fill

Since above screen will be displayed, operate in accordance with the message. Following message will be
displayed at the time of [writing].

12-6
12.5.1 Data memory address

PCk05 PCk06 Data holding


No. Identifier Name area at
Bit Word Bit Word power cut off
Points Points
address address address address
X000 X00W X000 X00W
1 X Input 256 512 -
∼0FF ∼0FW ∼1FF ∼1FW
Y400 Y40W Y400 Y40W
2 Y Output 256 512 -
∼4FF ∼4FW ∼5FF ∼5FW
M000 M00W M000 M00W
3 M Internal relay 256 512 -
∼0FF ∼0FW ∼1FF ∼1FW
K000 K00W K000 K00W
4 K keep-relay 256 512 O
∼0FF ∼0FW ∼1FF ∼1FW
V000 V00W V000 V00W
5 V Special relay 256 256 -
∼0FF ∼0FW ∼0FF ∼0FW

M400 M40W M400 M40W


6 M Extend special relay 256 256 -
∼4FF ∼4FW ∼4FF ∼4FW
T000 T00W T000 T00W
7 T Timer 128 256 -
∼07F ∼07W ∼0FF ∼0FW
C100 C10W C100 C10W
8 C Counter 128 128 -
∼17F ∼17W ∼17F ∼17W
L000 L00W L000 L00W
9 L Link relay input 1024 1024 -
∼3FF ∼3FW ∼3FF ∼3FW
L400 L40W L400 L40W
10 L Link relay output 1024 1024 -
∼7FF ∼7FW ∼7FF ∼7FW
P000 P000
11 P Edge detection - 512 - 512 -
∼1FF ∼1FF

D0000
3200
∼0C7F
D0000
12 D Data register - 3200 - O
∼0C7F D1000
4096
∼1FFF

Data register D0C80 D0C80


13 D - 128 - 128 -
EEPROM ∼0CFF ∼0CFF
N0000 N0000
14 N Timer present value - 128 - 256 -
∼007F ∼00FF
N0100 N0100
15 N Counter present value - 128 - 128 O
∼017F ∼017F
S0000
128
∼007F

S0080
64
∼00BF
S0000
16 S Special register - 128 - O
∼007F
S00C0
64
∼00FF

S0100
768
∼03FF

12-7
12.6 Setting of Communication Module
This function sets the connection method of CPU and PCwin-PCk and it is not the writing function for set
data in the CPU.
Use it when connection method with CPU is changed.

Module for communication with PCwin-PCk is selected.

Procedure
(1)Click [Setting]--[Setting of communication module]
The name list which has already been set is displayed. Select the name and click [Delete]button,
[Change]button or [Addition]button.

(2)Select the target name

Click in the target item and select the target to communicate.

When selecting “ME-NET, HPC Link”, “Ethernet[Link]”, “CPU[Link]” ”In case of CPU – USB[Link] ”,always
12-8
set [via link].

(3)Set the communication conditions


Setting contents vary for each communication module. Always set the [Communication Conditions]

(4)Set the name as comment.

(5)End of Setting
Click [OK] when all settings are complete.

12.6.1 Setting of communication conditions


(1) In case of CPU

Set the communication port and baud rate of the PC.


The baud rate selects 9600 in PCk05/PCk06.

12-9
13 Option
13.1 Customize
13.1.1 Font

13.1.1.1 Font specification

Display font and size of characters can be changed for each SFC and Ladder.
On clicking [Change], since dialog for font specification will be displayed, change appropriately.

13-1
13.1.1.2 Word wrapping setting
Word wrapping function is meant for preventing the loop back in the middle of character string at
the time of line feed.
Setting for display/ no display of word wrapping should be executed for SFC comment, ladder
coil comment, and ladder contact comment respectively. This setting is valid during printing also.
No word wrapping Word wrapping done

SFC comment

Ladder coil comment

Ladder contact
comment

13-2
13.1.2 Color

On clicking Foreground and Background, dialog for color setting will be displayed.

13-3
13.1.3 Display

13-4
13.2 Setting
13.2.1 File

• I/O Register
When reading and saving the Program, one can set simultaneous reading and saving of I/O Register Data
File. (File Extender : *.rr1, *.rr2)

13-5
13.2.2 Operation

Details (see 11.3)


LD Program check.

• Default CPU mode


Both a new CPU mode and PCwin-PCk start mode can be set.

13-6
13.2.3 Short cut Key Definition

13.2.4 3 languages

Enable conversion function among 3 comment laguages


For details, please refer to "17.2.2 Setting of conversion function among 3 comment languages"

13-7
14 Print
Only LD Program, displayed currently along with LD are target of printing.
After displaying LD Program to be printed, select the Print Menu.

14.1 Circuit Diagram List


LD Program is printed.
Select [File] – [Print] – [Circuit Diagram List] on the menu bar and display the circuit diagram list dialog.

14-1
14.2 Usage Status List
Address Usage Status in use can be printed with [DIFFERENCE OF PROGRAM] or [DIFFERENCE
OF DEVICE].

• Cover
Cover is printed along with print start as setting check ON.

• Function input area


Addresses of function input area are printed with [underline] characters along with print start as
setting check ON.

• Function output area


Addresses of function output area are printed with [italic] characters along with print start as setting
check ON.

14.3 Other drawing style prints

Following can also be printed :


• Comments List (LD Comment)
• Contacts List
• CPU Parameter List

14-2
15 Drawing Style Print
Printing of the drawing style can output the printing list with a drawing frame of the CAD
drawing style. [File]-[Drawing Style Print] A printing list is chosen. This function is unless the
option 2 (Drawing Style Print:TJA-6042/6045) is installed, it cannot be chosen.

15.1 Form setup


In this dialog, a printing [ of the drawing style ] attached item is set up. Each project can
maintain its own settings. For details, please refer to "17.4 Drawing style print method"
Default is blank..

The number of effective char.


Item Char.
A MAKER 30
B MACHINE NO. 20
The input of "START C MACHINE NAME 100
NO." can be
performed if it is D DRAWING NO. 20
checking. DESIGN
E 2
CHANGENO.
F START NO. 4
G STD.DRAWING NO. 20
H DEVICE CODE 10
I CONTENTS 30
J PROGRAM NO. 2
K DRAWING FOR 20
L MESSRS 30
M USER’S NO. 20
N REMARKS 20
REMARKS1
O 500
(COPY RIGHTS)
P PROGRAM NAME 50
Q UPDATE 10
R PAGE NO. 4

It becomes a project
name at the time of
un-inputting.

15-1
(1) The printing position in the cover of each item

A MAKER
B MACHINE NO.
O C MACHINE NAME
D DRAWING NO.
E DESIGN CHANGENO.
F START NO.
G STD.DRAWING NO.
H DEVICE CODE
I CONTENTS
J PROGRAM NO.
K DRAWING FOR
L MESSRS
M USER’S NO.
N REMARKS
REMARKS1(COPY
O
RIGHTS)
P PROGRAM NAME
Q UPDATE
R PEGE NO.

B C L M K

A D E

15-2
(2) Position where circuit chart list of formatting item is printed

A MAKER
B MACHINE NO.
C MACHINE NAME
D DRAWING NO.
E DESIGN CHANGENO.
F START NO.
G STD.DRAWING NO.
O H DEVICE CODE
I CONTENTS
J PROGRAM NO.
K DRAWING FOR
L MESSRS
M USER’S NO.
N REMARKS
REMARKS1(COPY
O
RIGHTS)
P PROGRAM NAME
Q UPDATE
R PAGE NO.

J H

G Q P M I D A E R

15-3
15.2 Circuit Diagram List
LD Program is printed.
Select [File] – [Drawing Style Print] – [Circuit Diagram List] on the menu bar and display the
circuit diagram list dialog.

The project recommend OFF if I/O drawing


attached with data (Cross-reference print
I/O drawing when OFF)

This setting item can be set up if


printing of "Contact Table List" is
completed.

The device which prints "Contact Table List Page" of "Circuit Diagram List" is decided by setting this dialog. After
"Contact Table List" is printed, the print of "Contact Table List Page" of "Circuit Diagram List" can be printed.

15-4
(1) About "Contact Table List Page" of "Circuit Diagram List"
The following procedure performs printing of "Contact Table List Page."
1. Print "Contact Table List" after specifying a device by front page "Contact Table List
Dialog."
2. Print "Contact List Page" after a check by " Circuit Diagram List Dialog."

The device which prints "Contact Table List Page" to "Circuit Diagram List" is a device
specified by "Contact Table List Dialog."

Contact Table

Circuit Diagram List

102
Page

Circuit Diagram

15-5
(2) Explanation of coil cross reference

The coil which


exists in the page is
output.

The part used is output by "Program


number-block number" (Contact B is shown
with the under line)

When the "coil reference" of a circuit diagram list dialog is checked, it outputs in this form.
All become blank when there is no check in "Coil reference".

15-6
15.3 Usage Status List
Address Usage Status in use can be printed with [DIFFERENCE OF PROGRAM] or
[DIFFERENCE OF DEVICE].

• Cover
Cover is printed along with print start as setting check ON.

• Function input area


Addresses of function input area are printed with [underline] characters along with print
start as setting check ON.

• Function output area


Addresses of function output area are printed with [italic] characters along with print start
as setting check ON.

15.4 Other drawing style prints


Following can also be printed :
• Comments List
• Contact Table List
• CPU Parameter List,

15-7
16. Tool
Tool has following functions
• I/O check (for input/output)

16.1. I/O Check (for Input/Output)


This function is meant for output wiring check at the time of equipment start up. Output based on I/O check function
forcibly turns I/O ON/OFF ignoring the output of sequence program.
Kindly avoid using the equipment under operation and also take sufficient care for safety.

When executing, entering password “#OUT” ( #OUT:OK / #out:NG ), after push [continue] button.

I/O Button

Max. 16 Nos.

(Caution) Forced output of input cannot be carried out in the I/O check function.

16-1
16.1.1. I/O Button Setting
On clicking [I/O] button of I/O check, I/O button set screen is displayed.

[Set Type] 16 Point bundle Setting : 0~15 bit of the specified address from top are set.
Individual Setting : Only 1 point is set.
Default Only in case of top-most level button of [Set] button is “16 point bundle setting”.
Default beyond the second line is “Individual Setting”.
[Monitor only] Displays the state of address, (Setting of Initial value/End value cannot be carried out)
[Address] ON/OFF address is entered.
[Comment] Comment of the specified address is displayed.
It can be edited but edited comment is valid only in I/O check function.
[Initial Value] Sets ON/OFF at the time of execution start.
[End Value] Sets ON/OFF at the time of execution stop.
Setting NONE becomes the state when execution is stopped.

16.1.2. Execution Start/Stop


On clicking [Execution Start] button after address setting, ON/OFF operable state of output is achieved.
Clicking of address button alternately selects ON/OFF.
ON OFF

Click, Status
Change
Yellow
Gray

Execution-in-progress state
Execution Stop State
Yellow Gray
Click

16-2
17. Switch among 3 comment languages
17.1. Summary
Only the program can write CPU in PCk05/PCk06. The comment cannot write CPU.
Three comment languages can shown/edited/switched/printed only in the personal computer file.

PCwin

Japanese

English

Chinese

The switch of three comment languages

Printt

Japanese
English

Chinese

Circuit Diagram, etc.

There is no item for three comment languages switch in the menu.


The languages corresponding to the three comment languages switch are the five languages of
Japanese, English, Chinese, French, and Czech. The switch of three languages among the five
languages can be realized.
(Languages beyond the above-mentioned five languages can not be used currently, as the
drawing frame data in that language is needed)

17-1
Files using three comment languages (Project example : TOYODA)
Main projects
TOYODA.CSV Comment files
The first
language TOYODA$***.DFS Format set files *1
TOYODA$***.COV Cover set files *1
The TOYODA$C2.CSV Comment files
second TOYODA$***.DFS Format set files *1
language TOYODA$***.COV Cover set files *1
TOYODA$C3.CSV Comment files
The third
language TOYODA$***.DFS Format set files *1
TOYODA$***.COV Cover set files *1

*1 It is done when [Cover data and format data open/save at the same time] is set to be ON.
[Cover data and format data open/save at the same time] appear after clicking
[Option]-[Configuration]-[File].
*** To be determined according to various languages (JPN: Japanese,ENG: English,CHN:
Chinese,CZE: Czech,FRA: French)

When showing various language comments, the corresponding font needs to be inputted in
advance. Regarding to the font input, please refer to the Windows manual.

The language for the following comment display is fixed (the three comment languages can not
be replaced).
But various functions can be normally operated.

• The comment display of the time diagrams on the monitor


• The comment display in the I/O tool
• The name display of the parameter program

17-2
17.2. Initial settings
The explanation on the initial settings of three comment languages switch.
17.2.1. Font settings
Only when changing fonts, can the following operation be conducted.
(1) Select [Option]-[Customize]

(2) After selecting the language to change font, press [Change] button.

(3) After changing to the font of designated language, press [OK] button.

(4) After confirming the settings in the customized window, press [OK] button.

17-3
17.2.2. Function of setting 3 comment languages

The settings when building new projects.


(1) After Selecting [Option]-[Configuration], press the [3 languages] separator

(2) The language settings when building new projects. Please select the language for new projects
from the five languages.

17.3. Switching methods of comment display


Select [View]-[Display Selection]-[Designated language]

Display switch can also be done from the toolbar

* The optional language becomes the logged in language in [File]-[Language Setup].

17-4
17.4. Drawing style print method
To print in designated language can be realized.
(The characters and comment characters in the drawing frame can be printed in the designated
language.)
(1) Select printing language based on the sequence in [17.3. Switching method of comment display]
(2) Select [File]-[Drawing Style Print]-[Format Setup]

The format set of various languages is


managed by each project. But there
are possibilities for separate
input/output instances.

(3)Select the printing list in [File]-[Drawing Style Print]


The format settings and comments of the chosen language can be printed
(4) After inputting the format set of three languages, save the project.
Based on the login at the language selection window, determine whether to produce the format
set data file of various languages.

*Since the next time, while opening the project, the format set data can also be read in.
*The format set files can not be written in CPU.

17-5
17.5. Regular printing method

The characters of the cover set and comment characters can be printed in the designated language
For the operation method, please refer [17.4 Drawing style print method]
Based on the login at the language selection window, determine whether to produce the cover set
data file of various languages

*Since the next time to open the project, data can also be read in simultaneously.
*The cover set files can not be written in CPU.

17.6. Regarding to language selection


The explanation of the language’s sequence replacement method of the currently existing three
languages projects. (the projects incorporated in the I/O chart can not be replaced).
Example)
The sequence replacement of the first language: Japanese and the third language: Chinese
(1) Select [File]-[3 Language Setup]

(2) The first language is changed to [Chinese], and the third language is changed to [Japanese].
(3) Press [Registration] button, then replacement is completed.

17-6
• The content of this manual may be changed without prior notice.

• We will very much appreciate your notifying us should you find any questions,
mistakes, or omissions in this manual.

• No part of this manual may be reproduced in any form without prior


permission.

1st edition Sep, 2007


MACHINE TOOLS & MECHATRONICS DIVISION
1-7, Kita-jizoyama, Nodacho, Kariya, Aichi-Pref., Japan
TEL: 81- 566- 21- 8611
FAX: 81- 566- 23- 6670

* Specification in this manual are subject to change without notice.


* Products herein may be strategic commodities under the Foreign Exchange and Foreign
Trade Control Law of Japan.
An approval under the law may be required exportation of the products.

Instruction Manual No.


T-A501E
© 2007-2007.

You might also like