84
6 F 2 S 0 8 1 0 INSTRUCTION MANUAL PLC TOOL © TOSHIBA Corporation 2004 All Rights Reserved. (Ver. 2.7)

INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

Embed Size (px)

Citation preview

Page 1: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

6 F 2 S 0 8 1 0

INSTRUCTION MANUAL

PLC TOOL

© TOSHIBA Corporation 2004 All Rights Reserved.

(Ver. 2.7)

Page 2: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following
Page 3: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 1 ⎯

6 F 2 S 0 8 1 0

Cautions for this Manual

This manual describes the operating procedures of the PLC Tool. To ensure proper use of this software, please read this manual completely before use.

• The contents of this manual are subject to change without prior notice.

• This manual describes the functional details of the PLC Tool; it does not warrant fitness for any particular purpose.

• The illustrations and screens shown in this manual may be emphasized, simplified, or partially omitted for convenience of explanation.

• The letters and positions of the parts in the screens in this manual may differ from the actual ones to avoid difficulties in understanding the functions and operations.

• Copying or reproduction by any means of all or part of the contents of this manual without permission is strictly prohibited.

• Neither we nor our dealers or distributors shall be held liable for any loss or damage due to incorrect operation by the user.

Cautions for the Software

Observe the following cautions to operate the software properly.

• We shall not be held liable for the use and reliability of software supplied by other companies.

• Making copies of this software, except for backup purposes, is strictly prohibited.

• Carefully keep the CD-ROM on which the software is stored.

• Reverse engineering, such as de-compiling and de-assembling, is strictly prohibited.

• Allowing third parties to use all or part of this software by transfer, barter, or lease, without prior permission of Toshiba, is strictly prohibited.

• The supplied media such as CD-ROM should be used only for this software. Selling the program in its original or modified form to third parties is strictly prohibited.

Notations

The following notations are used in this manual.

Words in [ (bold style) ]: The words represent buttons on the screen.

Example: Click [OK] to proceed.

Words in [ ]: The words represent menus, commands, files or boxes displayed on the screen.

Example: Select a signal list from the [Signal list table] box.

Page 4: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 2 ⎯

6 F 2 S 0 8 1 0

Contents 1. Introduction ...................................................................................................................................... 4

2. Function Overview ........................................................................................................................... 5

3. File Structure .................................................................................................................................... 6

4. Menu Structure ................................................................................................................................. 7

5. Workflow ........................................................................................................................................... 9

6. Operation of PLC tool .................................................................................................................... 10 6.1 Starting PLC tool ....................................................................................................... 10 6.2 Creating a new project ............................................................................................... 12

6.2.1 Project Folder ............................................................................................. 12 6.2.2 Creating a new project ............................................................................... 14

6.3 Using existing PLC data ............................................................................................ 17 6.3.1 Using PLC default data ............................................................................. 17 6.3.2 Setting the communication circumstances (for TCP/IP) .......................... 17 6.3.3 Reading PLC data from the relay .............................................................. 18 6.3.4 Using PLC data saved previously .............................................................. 20

6.4 Editing PLC data (for Graphic version) .................................................................... 23 6.4.1 Setting the user-specified execution cycle ................................................. 24 6.4.2 Adding a new sheet .................................................................................... 25 6.4.3 Deleting the selected sheets ....................................................................... 26 6.4.4 Changing the sheet name .......................................................................... 26 6.4.5 Changing the order of the sheets ............................................................... 27 6.4.6 Making the signal list ................................................................................ 27 6.4.7 Checking the maximum capacity .............................................................. 29 6.4.8 Saving the PLC data as another version ................................................... 29 6.4.9 Changing the working project or version .................................................. 30 6.4.10 Print preview ............................................................................................ 33 6.4.11 Printing the PLC data .............................................................................. 34 6.4.12 Changing the mode (Graphic version ↔ Text version) ........................... 34

6.5 Editing PLC data (for Text version) .......................................................................... 36 6.5.1 Shifting the line .......................................................................................... 38 6.5.2 Dividing the sheet ...................................................................................... 39 6.5.3 Changing PLC logic .................................................................................... 41 6.5.4 Adding a new line ....................................................................................... 44 6.5.5 Deleting the selected lines ......................................................................... 46

Page 5: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 3 ⎯

6 F 2 S 0 8 1 0

6.5.6 Making the signal list ................................................................................ 46 6.5.7 Print preview .............................................................................................. 47 6.5.8 Printing the PLC data ................................................................................ 48

6.6 Editing the sheet (for Graphic version) ..................................................................... 49 6.6.1 Placing input symbols ................................................................................ 51 6.6.2 Placing the output symbols ........................................................................ 52 6.6.3 Setting Timer for output symbols .............................................................. 54 6.6.4 Connecting lines between symbols and placing logic symbols ................. 54 6.6.5 Setting Flip Flop for output symbols ......................................................... 55 6.6.6 Deleting symbols and lines ........................................................................ 56 6.6.7 Moving symbols and lines .......................................................................... 57 6.6.8 Zoom in and out .......................................................................................... 58 6.6.9 Re-Layout symbols and lines ..................................................................... 59 6.6.10 Undo .......................................................................................................... 60 6.6.11 Popup menu .............................................................................................. 60 6.6.12 Selecting the display size ......................................................................... 61 6.6.13 Printing the current working sheet ......................................................... 62 6.6.14 Save the current working sheet ............................................................... 62 6.6.15 Opening another sheet ............................................................................. 62 6.6.16 Displaying/undisplaying the edit bar ...................................................... 63 6.6.17 Displaying/undisplaying the zoom bar .................................................... 63 6.6.18 Displaying/undisplaying the parts bar .................................................... 63 6.6.19 Exit from editing the sheet ...................................................................... 63

6.7 Writing PLC data to the relay ................................................................................... 64 6.8 Displaying/undisplaying the utility bar .................................................................... 66 6.9 Displaying/undisplaying the status bar .................................................................... 66 6.10 Viewing the version of PLC tool ............................................................................... 66 6.11 Exiting PLC tool ......................................................................................................... 66

7. Logical Components ....................................................................................................................... 67

8. Error Message Guide ..................................................................................................................... 69

Appendix A .......................................................................................................................................... 73

Appendix B .......................................................................................................................................... 77

Version-up Records ............................................................................................................................. 81

The data given in this manual are subject to change without notice. (Ver.2.6)

Page 6: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 4 ⎯

6 F 2 S 0 8 1 0

1. Introduction The GR-series relays provide a Programmable Logic Control (PLC) function by which users can arbitrarily set up processing and connections between input/output signals, etc., using logical expressions. The PLC function can be customized with the software "PLC Tool" which runs on a personal computer (PC) connected to the relay. This manual describes the operation of PLC Tool.

PLC Tool is included in RSM100 (*1) which runs on a PC, and the system requirements of PLC Tool apply correspondingly to RSM100 via local or Ethernet (Note this tool cannot be applied to relays via protocol converter). See the instruction manual (Document No.6F2S0715) in order to install RSM100 and PLC Tool, to connect a PC with the relay, and to set up communication with the relay.

Note (*1) RSM100: Software which runs on a PC connected to the relay, mainly in order to display various data from the relay and to change settings in the relay.

Caution:

If the version of RSM100 or PLC Tool is older than that of the relay, some functions may not be supported. In this case, see the instruction manual of RSM100 (Document No.6F2S0715) to install the version of RSM100 suitable to the relay.

Page 7: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 5 ⎯

6 F 2 S 0 8 1 0

2. Function Overview PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following functions:

- Editing the PLC data

• On-line/Off-line editing enables combining of signals and logical operators to output an arbitrary signal depending on the signal information (signal list) for a relay model, and enables saving of sheets of sequence logic (PLC data) as a file.

• The logical operators supported are OR, AND, XOR, and NOT.

• The termination for each output signal can be selected from timers (on-delay, off-delay, on-one-shot), flipflops (with backup when the power supply is OFF, or without backup), and no processing (none). The unit of the timers can be selected from ms, s, and hrs. The user-configurable timer provided with a relay can be also used, but in this case the time setting is performed by the relay. Maximum 8 flipflops with backup are supported.

• The execution cycle for each logic expression can be selected to electrical angle 30 degrees, electrical angle 90 degrees, or an arbitrary cycle specified by user (milliseconds). The order of execution can be set in order to determine the timing sequence of execution of logical expressions, except in the case of an executing cycle setting of electrical 30 degrees.

- Reading the PLC data from the relay

• Both the signal list and the PLC data stored in the relay can be read to a PC connected to the relay, and can be saved as a file, respectively.

- Writing the PLC data into the relay

• PLC data can be written into a relay from a PC connected to the relay.

- Printing the PLC data

• PLC data can be printed. (PC needs to be connected to a printer.)

- Save the PLC data with the version

• PLC data can be saved with the specified version.

Page 8: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 6 ⎯

6 F 2 S 0 8 1 0

3. File Structure The PLC files are managed in folders. The file hierarchy is as follows:

c:\ Rsm100 \ …

\plc

__.plc for default PLC files

\ [Project folder] \

\ GR \ This folder defines the project name.

\ WORK \ … For working PLC data. It is made automatically by the tool.

\ sheet \ …

\ GR-01 \ … This folder defines the version name.

sum.plc plc data file for all sheets

\ sheet \ files for each sheet

\ GR-02 \

\ GR-03 \

The user can select the “Project folder” by the [Option] → [Project folder] menu.

The user creates a new project (see Section 6.2), then the project folder and “WORK” folder are made automatically, and the original files are copied in the “WORK” folder.

The user sets the version, then the version folder is made in the project folder, and the working files are copied in the version folder.

To move/copy the PLC data to another PC, the user can select two methods.

(1) Copy all files and folders of the version folder

The layout of the symbols is kept same as original version.

(2) Copy ∗∗∗.plc

The symbols are placed automatically by the tool.

The tool does not have a delete function for project and version.

The user can delete them by the explorer of MS-Windows®.

Note: Windows is registered trademarks of Microsoft Corporation in the United States and/or other countries.

Page 9: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 7 ⎯

6 F 2 S 0 8 1 0

4. Menu Structure - Project management

The menu structure is shown in the following table:

Menu Item / Icon Function Cf.

File Project Select currently working project and version

Create a new project, copy an existing project or file 6.2.2

Print Preview Print preview 6.4.10

Print Print all or selected sheets 6.4.11

Exit Exit PLC tool 6.11

Edit Create new sheet Create a new sheet 6.4.2

Delete sheets Delete the selected sheets 6.4.3

Set version Save current working PLC data into the specified version 6.4.8

View Utilbar Display/undisplay the utility bar 6.8

Status bar Display/undisplay the status bar 6.9

Tool Check capacity Check the maximum capacity of PLC data 6.4.7

List IO Make a list of signals used as input/output in PLC data 6.4.6

Read from the relay

Read PLC data stored in the relay to a PC 6.3.3

Write to the relay Write PLC data into a relay from a PC, with password authentication for “Settings”

6.7

Select Device Select the device 6.3.2

Option Project folder Set the working folder of the PLC data 6.2

Set Frequency Select the frequency (50Hz/60Hz) 6.4.1

Help About PLCEdit… Display information about the version of PLC Tool 6.10

(no menu) Toggle mode The Icon is to select Graphical type PLC Tool or Text type PLC Tool (Old version type PLC Tool)(*). If pressed the icon, Text type PLC Tool is selected.

6.4.12, 6.5

User-specified cycle Set up a user-specified execution cycle for the sequence logic 6.4.1

Note(*): Refer to Clause 6.5.

Page 10: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 8 ⎯

6 F 2 S 0 8 1 0

- Sheet Editor

The menu structure is shown in the following table:

Menu Item / Icon Function Cf.

File Open Open the selected sheet 6.6.15

Save Save the current working sheet 6.6.14

Print Print the sheet 6.6.13

Exit Exit PLC Tool, closing without saving a PLC data file 6.6.19

Edit Unselect Return all selected items to unselected status 6.6.6

Move Move the specified output signal to the position below it 6.6.7

Delete Delete the selected items 6.6.6

Undo Undo the last move or delete operation 6.6.10

Attribute Change the attribute of input or output symbol 6.6.1

Connect Connect a line between the symbols 6.6.4

Delete mode Change into delete mode 6.6.6

View Zoom bar Display/undisplay the zoom in/out bar -

Edit bar Display/undisplay the edit bar -

Parts bar Display/undisplay the parts bar -

Status bar Display/undisplay the status bar -

Grid setup Setting the grid size -

Redraw Redraw the sheet 6.6.6

Relayout Re-layout the symbols and lines 6.6.9

Zoom in Zoom in current screen to 200% 6.6.8

Zoom out Zoom out current screen to 50% 6.6.8

Selection part Zoom in to the selected area 6.6.8

Default size Restore the zoomed screen to the default size 6.6.8

Parts AND Add “AND” logic symbol 6.6.4

OR Add “OR” logic symbol 6.6.4

XOR Add “XOR” logic symbol 6.6.4

NOT Add “NOT” logic symbol 6.6.4

INPUT Add “INPUT” symbol on input area 6.6.1

OUTPUT Add “OUTPUT” symbol on output area 6.6.2

(no menu) Select Select the symbols -

Page 11: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 9 ⎯

6 F 2 S 0 8 1 0

5. Workflow

Starting PLC Tool

[Sheet selection] screen displayed with the last work project and version

Blank PLC data displayed

Editing sheet

Creating new project

[Project property] dialog displayed

Select

Changing project or version

[Project property] dialog displayed

Select project and version

The sheet list specified project and version displayed

[Edit]→[Unselect]

[Edit]→[Attribute] Changing

User-specified cycle

Add Delete Sort Print

Reading PLC data from Relay

Signal list on loading (Relay to PC)

PLC data on loading(Relay to PC)

PLC data read from Relay displayed

[File]→[Exit]

PLC Tool ended

[Edit]→[Move]

[View]→[Redraw]

[Edit]→[Delete]

Writing PLC data into Relay

Password Authentication

Response displayed

PLC data on loading (PC to Relay)

Explanatory notes

Typical operation

Operational procedure

Processing

On-line operation

Install PLC Tool

[Option]→[Project folder] [Option]→[Frequency]

Check PLC data

Result displayed

List IO Check capacity

Sheet operation

Save PLC data as specified version

Saved the working PLC data

Set the version name

[Version] dialog displayed

[File]→[Open]

[File]→[Save]

[File]→[Print]

[File]→[Exit] [Edit]→[Undo]

[View]→[Relayout]

[View]→[Zoom In]

[View]→[Zoom Out]

[View]→[Zoom]

[Project] icon [Project] icon [Read from the relay]

icon

[Version] icon

[Write into the relay] icon

Reading Setting data (Relay to PC)

[Edit]→[Connect]

[Edit]→[Delete mode]

[Parts]→[AND]

[Parts]→[OR]

[Parts]→[XOR]

[Parts]→[NOT]

[Parts]→[INPUT]

[Parts]→[OUTPUT]

Reading Setting data (Relay to PC)

Signal list on loading (Relay to PC)

[Option]→{Project folder]

[Option]→{Set Frequency]

[Write to the relay]icon

[Input Project name]

[Select PLC data]

[Create & display New

Project]

Page 12: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 10 ⎯

6 F 2 S 0 8 1 0

6. Operation of PLC tool 6.1 Starting PLC tool

(1) Start up RSM100.

→ The [Start up] screen of RSM100 will open.

(See the instruction manual of RSM100 (Document No.6F2S0715) to start RSM100.)

(2) Click the [On-line]/[Off-line] button on the [Start up] screen of RSM100 to select On-line operation or Off-line operation.

(3) Click the [PLC tool] button to start up PLC tool.

→ The [Sheet selection] or [Line selection] screen will open. It shows the last working project and version.

[Sheet selection] (Graphic version)

Start up PLC Tool

On-line Off-line

Last working project and version

Page 13: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 11 ⎯

6 F 2 S 0 8 1 0

[Line selection] (Text version)

It is now possible to start editing the PLC data that is displayed.

It depends on the last working project whether graphic version or text version is displayed when starting up PLC tool. Refer to Section 6.4 for the graphic version and to Section 6.5 for the text version.

The project or version can be changed to another existing one. See 6.4 to change PLC data.

Create new PLC data by copying an existing project or file. See Section 6.2 to create PLC data.

Page 14: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 12 ⎯

6 F 2 S 0 8 1 0

6.2 Creating a new project

6.2.1 Project Folder

Note: If a project folder has been already made, skip to 6.2.2 clause.

Make “WORK” folder before creating a new project.

Open the [Option] – [Project folder] menu, and then the [Select folder] dialog box is displayed.

(1) Making a new “WORK” folder

Enter the new folder name in the Directory name box and click the [Create] button.

And then, the new folder (e.g. PLC_Data) is added as follows:

By selecting the new folder and clicking the [OK] button, the user can shift to the new folder.

On-line Off-line

Enter the new folder name.

Page 15: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 13 ⎯

6 F 2 S 0 8 1 0

When initializing the PLC Tool for the first time, “Untitled” is displayed on the title bar as follows:

(2) Shift to a folder

By selecting the desired folder and clicking the [OK] button, the user can shift to the desired folder.

Page 16: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 14 ⎯

6 F 2 S 0 8 1 0

6.2.2 Creating a new project

If a new project has been already made, skip to Section 6.3.

(1) Click the icon [Project] on the utility bar on the [Sheet selection] screen.

→ The [Project property] dialog box will open.

In the dialog box, the [Project and version tree] box displays the specified folder. The box displays existing project and version in the folder. (The folder can be changed in the [Option] - [Project folder].)

(2) Click or checkmark the [Create New Project] check box and enter the new project name, select “copy from above Project” or “copy from file”. It is permissible to enter any alphanumeric, underbar, hyphen character up to 40 characters. Discriminate between capital letters and small letters in project name.

[Project and version tree] box[Project] box

Page 17: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 15 ⎯

6 F 2 S 0 8 1 0

(3.1) In case of “copy from file”, click the [Browse] button to open a PLC data default file (*.plc). The default file name is described in a relay instruction manual, and the default files are held at C:\RSM100\plc.

Note: Check that the original file is not a “Read only” file when creating a new project.

→ The [Open] dialog box (Windows standard) will open to select the folder and file you

want to specify. The selected folder and file name is displayed.

Click the [OK] button, then the “WORK” place of a new project is created automatically.

Note; According to the setting of Project Folder (See Clause 6.2.1.), the new project may not be created in the version of Windows Vista or later. In such case, change the location of the project folder, and it is recommended to make the project folder under the root directory.

The PLC data can now be edited. See 6.4 to edit the PLC data.

(3.2) In case of “copy from above Project”, copy the project displayed in [Project] to

Page 18: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 16 ⎯

6 F 2 S 0 8 1 0

“WORK” folder of new project name entered.

→ The selected project and version is displayed in the [Project] box.

Page 19: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 17 ⎯

6 F 2 S 0 8 1 0

6.3 Using existing PLC data

Existing PLC data can be used by the following procedures:

• Using PLC default data

• Reading PLC data from the relay

• Using PLC data saved previously

6.3.1 Using PLC default data

Perform the operation described in clause 6.2.2, and skip to Section 6.4.

Note: The operation described in clause 6.3.3 is recommended because PLC default data may have been updated.

6.3.2 Setting the communication circumstances (for TCP/IP)

Before reading PLC data from the relay via TCP/IP, it is necessary to set IP Address of the destination.

(1) Click the icon [Select device].

→ The [Select Device] display will appear. Select IP Address of the destination.

Note: This icon is only valid when the protocol is set to “TCP/IP” on the [Communication-Option] menu of RSM100.

In the case of invalid, set the protocol to “TCP/IP”. For explanations about RSM100, see RSM manual (6F2S0715).

IP Address and Name, which is edited on the Communication-TCP/IP Settings menu of

On-line Off-line

IP Address edit box

IP Address display area

Page 20: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 18 ⎯

6 F 2 S 0 8 1 0

RSM100, is displayed in the IP Address display area. To edit the displayed contents can use RSM.

If the selected line is double-clicked in the display area, IP Address of the line is copied to the edit box. Checking the IP Address check box, it is possible to enter IP Address in the edit box. This entered IP Address is the destination address and is able to temporarily connect to nonexistent IP Address in the display area. When the IP address check box is not checked, the destination address is the selected IP Address in the display Area.

The setting contents are displayed below the screen. In the case of entering IP Address temporarily, the entered address is displayed.

6.3.3 Reading PLC data from the relay

The precondition necessary for this operation is that the PLC data is already displayed on the [Sheet selection] screen.

(1) Click the icon [Read from the relay] on the utility bar on the [Sheet selection] or [Line selection] screen.

→ The [Confirm reading from the relay] dialog box will be opened.

(2) Click the [Yes] button. First, setting data is read from the relay and then other data is read.

→ The progress bar and message will be displayed at the bottom of the screen during communication with the relay.

Page 21: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 19 ⎯

6 F 2 S 0 8 1 0

If any error occurs during communication with the relay, an error message will be displayed.

Note: Make sure the settings of the communication port of RSM100 and the relay are the same, otherwise this function will not operate properly.

(3) After loading the data, the confirmation message will open to overwrite it.

now model: Model ID whose PLC data is shown in the screen. This case is GRL100. read Model: Model ID whose PLC data is read from the relay. This case is GRB100.

(4) Click the [Yes] button.

→ The PLC data read from the relay is overwritten in the “WORK” folder and will be stored and displayed on the [Sheet selection] screen. The version and Model ID will be changed. If [No] is selected, the data is not saved and the files in “WORK” are kept.

(5) Save it as the same version name.

Since the overwritten PLC data does not have a version name, it is saved with the same

Version of PLC data

Page 22: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 20 ⎯

6 F 2 S 0 8 1 0

version name as that of the downloaded file. In this case, the version name is “GRL_TEST_00”.

The PLC data can now be edited. See Section 6.4 to edit the PLC data.

Note: The PLC data read from the relay is always stored in the “WORK” folder of the project. Therefore, working PLC data should be saved as a specified version before reading.

6.3.4 Using PLC data saved previously

Use the following two methods for PLC data saved previously:

• Using the version folder

• Using the ∗∗∗.plc file

6.3.4.1 Using the version folder

Copy the folder of the PLC data version (e.g. GR-01) to the project directory.

Open the [Project property] screen, then select the version (e.g. GR-01) and click the [OK] button.

It is now possible to start editing the PLC data that is displayed.

Copy the “GR-01” folder.

Page 23: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 21 ⎯

6 F 2 S 0 8 1 0

6.3.4.2 Using the “∗∗∗. plc” file

Copy the “∗∗∗. plc” (e.g. GR-01.plc) to any directory.

Open the [Project property] screen, then click the [Browse] button and select the renamed file (e.g. GR-01.plc). Input the new project name at that time.

It is now possible to start editing the PLC data that is displayed.

Page 24: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 22 ⎯

6 F 2 S 0 8 1 0

Since the PLC data, which is produced in WORK folder, does not have a version name, it is saved with the same name as ∗∗∗. plc. In this case, the version name is “GR-01”. Refer to Clause 6.4.8.

Page 25: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 23 ⎯

6 F 2 S 0 8 1 0

6.4 Editing PLC data (for Graphic version)

The precondition for this operation is that the sheet list of PLC data is already displayed on the [Sheet selection] screen. (See Section 6.1.)

Explanation of the items displayed on the [Sheet selection] screen:

Item Explanation

Title bar Project name – Version name that is selected as working

[SheetName] row Displays the sheet name of each PLC data sheet. The names can be changed at any time.

[FileName] row Displays the filename of each PLC data sheet, omitting the extension. It cannot be changed after creating new sheet.

[Date/Time] row Displays the date and time when each PLC data sheet has been made.

[Model ID] box Displays the model ID of the signal list which the PLC data depends on.

[Name] box Displays the destination (RS232C or TCP/IP)

[User-specified cycle] button Sets the user-specified execution cycle(ms) for the sequence logic, which is applied to the PLC data.

Progress bar Displays the progress status during communication with a relay.

Communication message area Displays a message during communication with a relay.

Status bar The status or explanation of the icon

Icons

Select currently working project and version. Create a new project, copy an existing project or file.

Print all or selected sheets

Add a new sheet.

Delete the selected sheets.

Check the maximum capacity of PLC data

Make a list of signals used as input/output in PLC data.

Read PLC data stored in the relay to a PC.

Write PLC data into a relay from a PC, with password authentication for “Settings”.

Select the device.

Save current working PLC data into the specified version

On-line Off-line

Status bar

Progress bar

Communication message area

Page 26: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 24 ⎯

6 F 2 S 0 8 1 0

The Icon is to select Graphic type PLC Tool or Text type PLC Tool. If pressed the icon, Text type PLC Tool is selected.

Next, the operation of the following functions is described.

• Setting the user-specified execution cycle

• Adding a new sheet • Deleting the selected sheets • Changing the sheet name • Changing the order of the sheets • Making the signal list • Checking the maximum capacity • Saving the PLC data as another version • Print preview

• Printing the PLC data • Changing the mode

6.4.1 Setting the user-specified execution cycle

(1) Click the [User-specified cycle] button to set the user-specified execution cycle(ms) for the sequence logic, which is applied to the PLC data. (For details of the user-specified cycle, see Appendix B).

→ The [Set user-specified cycle] dialog box will open.

(2) Enter the execution cycle (10ms – 1000ms) on the dialog box.

(3) Click the [OK] button on the [Set user-specified cycle] box.

→ The new value will be displayed on the [User-specified cycle] button.

Page 27: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 25 ⎯

6 F 2 S 0 8 1 0

Note: Change the order of execution when writing the PLC data into the relay if there is any required order of execution over the user-specified cycle. It is necessary to specify the frequency in [Option – Set Frequency], since it is used to determine the range of “User” in the [Cycle] box in the [OUTPUT] dialog.

6.4.2 Adding a new sheet

(1) Select a sheet from the list and click the icon [new sheet] on the utility bar on the [Sheet selection] screen.

→ The [NewSheet] dialog box will open.

Set the FileName and SheetName and click the [OK] button. The FileName supports any alphanumeric, underbar, hyphen character up to 16 characters. The SheetName supports any alphanumeric, underbar, hyphen, space, period, comma character up to 40 characters.

→ The new sheet is added before the selected sheet.

Selected sheet

New sheet

Page 28: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 26 ⎯

6 F 2 S 0 8 1 0

If multiple lines are selected, the new sheet is added before the selected sheets. If no sheet selected, the new sheet is added as the last line.

Note: The FileName cannot be changed at a later time. If set to the same as an existing file name, then an error dialog will be displayed. The SheetName identifies each sheet, and can be changed by saving the sheet or on the [Sheet selection] box.

6.4.3 Deleting the selected sheets

(1) Click the sheet name(s) to be deleted from the [Sheet selection] box.

(2) Click the icon [Delete sheets] on the utility bar on the [Sheet selection] screen.

→ The [Confirm deleting] dialog box will open.

(3) Click the [Yes] button on the [Confirm deletion] box.

→ All the selected sheets will be deleted from the [Sheet selection] box.

6.4.4 Changing the sheet name

(1) Click the sheet name to be changed on the [Sheet selection] box, and then click again.

→ Change the sheet name on the [Sheet selection] box.

Page 29: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 27 ⎯

6 F 2 S 0 8 1 0

Note: When Text version is changed into Graphic version, the added or modified sheet name is replaced to the default name ‘PLC∗∗∗ (∗∗∗:001 to 099)’.

6.4.5 Changing the order of the sheets

(1) Click the [SheetName] row in the [Sheet selection] box to change the order of execution of the sheets.

→ The sheets will be re-ordered according to this name.

The order of the execution is as listed in the [Sheet selection] box.

6.4.6 Making the signal list

(1) Click the icon [List IO] on the utility bar on the [Sheet selection] screen.

→ The [Signal list] dialog box will open.

It shows the signals used as input, reset (For flip-flop) or output on each sheet.

The [OUT] row shows the filename that uses the signal as an output. There is only one filename per signal.

The [IN] row shows the filenames that use the signal as an input or reset (For flip-flop).

[SheetName] title bar

Page 30: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 28 ⎯

6 F 2 S 0 8 1 0

If the [Save As] button is clicked, the following screen appears and the signal list can be saved.

If “Decimal symbol” of “Regional and language options” in “Control panel” is set to “,” (Comma), a punctuation mark of CSV file (Comma (,) or Semicolon (;)) selection screen is displayed.

If a line on the [Signal list] dialog box is double-clicked, and then a sheet which uses the signal is displayed.

If there are two or more sheets, the lowest-numbered one is displayed. In this case, “008” is displayed.

Page 31: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 29 ⎯

6 F 2 S 0 8 1 0

6.4.7 Checking the maximum capacity

(1) Click the icon [Check capacity] on the utility bar on the [Sheet selection] screen.

→ The [Check capacity] dialog box will open.

It shows the percentage of the relay’s PLC capacity function which will be used by the current design. It must be less than 100% to write the PLC data into the relay. If its data exceeds 100%, an error message appears when writing it.

If there is any error in the PLC data, the error dialog will open.

Note: The PLC capacity value includes the embedded logic value by the manufacturer.

6.4.8 Saving the PLC data as another version

(1) The precondition necessary for this operation is as follows:

The PLC data is already displayed on the [Sheet selection] screen. (See Section 6.1.)

(2) Click the [Version] icon on the [Sheet selection] screen.

→ The [Version] dialog box will be opened.

Page 32: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 30 ⎯

6 F 2 S 0 8 1 0

(3) Specify the Version name to save on the [Version] dialog box. It supports any

alphanumeric, underbar, hyphen and up to 12 characters. Discriminate between capital letters and small letters in the version name.

(4) Click the [OK] button on the [Version] box.

→ A folder with the name of the specified version is made in the project folder, and all working PLC data is saved into it.

If the version is the same as an existing one, the error dialog will open and the version name must be changed.

If the file is edited after being saved and it is then saved again, the file is saved in “WORK” folder.

6.4.9 Changing the working project or version

(1) Click the icon [Project] on the utility bar on the [Sheet selection] screen.

→ The [Project property] dialog box will be opened.

In the dialog box, the [Project and version tree] box displays the specified folder. The [Project] box displays the existing project and version in the folder.

(The folder can be changed in the [Option] - [Project folder].)

Page 33: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 31 ⎯

6 F 2 S 0 8 1 0

(2) Click the version of the project to be changed to.

→ The selected project and version is displayed in the [Project] box.

(3) Click the [OK] button to open the specified PLC data.

→ The specified PLC data will be displayed on the [Sheet selection] screen.

The PLC data can now be edited.

Note: To protect the data of each version all the files of the selected project and version are copied into the “WORK” place. Later modifications are applied to the files in “WORK”, although the selected project and version is displayed in the title bar.

In case of editing an existing version data, all of the data is copied and saved in the “WORK” folder of the project and version selected and then can be edited. The file under the existing version directory must not be changed.

(Example)

Select the existing version (GR-02).

The data of the selected version is displayed.

[Project and version tree] box[Project] box

Page 34: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 32 ⎯

6 F 2 S 0 8 1 0

When the version is selected, all of the data is copied from “GR-02” folder to “WORK” folder. Therefore, the same file exists in both folders as follows:

<”GR-02” folder>

<”WORK” folder>

If the sheet PLC001 is edited and overwritten, the Date/Time column is updated as follows:

Page 35: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 33 ⎯

6 F 2 S 0 8 1 0

Note: After editing the sheet, the file of “WORK” folder is updated but the file of “GR-02” folder is not updated as follows:

<”GR-02” folder>

<”WORK” folder>

The edited data is saved as a new version name on [Edit]→[Set Version] menu. If not and the other version data is edited, the edited data is deleted because the other version data is overwritten in the “WORK” folder.

Note: The file without extension, which is produced during editing, is a binary file with coordinate data. Do not delete the file.

6.4.10 Print preview

(1) Click [File] → [Print preview] on the menubar on the [Sheet selection] screen.

→ The [Print preview] dialog box will open.

The print image of each sheet is displayed.

Page 36: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 34 ⎯

6 F 2 S 0 8 1 0

6.4.11 Printing the PLC data

(1) The precondition necessary for this operation is as follows:

• The PLC data is displayed on the [Sheet selection] screen. (See Section 6.1.)

• PC is connecting to a printer.

(2) Click [File] → [Print] on the menubar on the [Sheet selection] screen.

→ The [Print] dialog box (the Windows standard) will open.

(3) Click the [OK] button after setup for printing on the [Print] box.

→ The current working PLC data will be printed.

If no sheet is selected, all sheets will be printed.

If some sheets are selected, only the selected sheets will be printed.

Note: The style of print should be set to landscape.

6.4.12 Changing the mode (Graphic version ↔ Text version)

Click the [Linemode] icon to change the PLC mode between Graphic version and Text version.

(Graphic version)

Page 37: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 35 ⎯

6 F 2 S 0 8 1 0

(Text version)

In the text version, logical expressions required for one sheet in the graphic version are divided with “E”. Lines 1 to 4 correspond to the PLC001, Lines 5 to 8 to the PLC002 and Lines 9 to 12 to the PLC003.

The check sum value is checked on the sum.plc file in the version folder.

[Linemode] icon

[Linemode] icon pressed

Page 38: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 36 ⎯

6 F 2 S 0 8 1 0

6.5 Editing PLC data (for Text version)

Click the [Line mode] icon on the [Sheet selection] screen, then the [Line selection] screen appears. (See Section 6.1.)

Explanation of the items displayed on the [Line selection] screen:

Item Explanation

Title bar Project name – Version name that is selected as working

[Line] row Displays the line number.

[No.] row Displays the output signal number.

[Output] row Displays the output signal name.

[Cycle] row Displays the cycle 30 or 90 or USER (user-specified) to execute logical expressions of each output signal.

[Turn] row Displays the order of execution of the logical expressions of each output signal. In the case of the Cycle 30 or 90, the order of execution is 0 or 1 or 2.

[Logical expression] row Displays the logical expression.

[Timer/FF] row Displays the kind of termination for each output signal. - NONE: No processing - Off Delay: Off-delay timer - On Delay: On-delay timer - One Shot: On-one-shot timer - Flip Flop: Flip Flop without backup - Flip Flop B: Flip Flop with backup when power supply OFF

[Timer/Signal] row Displays the contents of the termination. - Timers: Set time value - Flip Flops: Name of signal to reset the Flip Flop - None: - (hyphen)

[S] row Displays the sheet division mark ”E”.

On-line Off-line

Status bar

Progress bar

[Message area]

[Line mode] icon

[User-specified cycle] button

Line bar

Page 39: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 37 ⎯

6 F 2 S 0 8 1 0

Line bar

Shift the specified line(s) to one line up.

Shift the specified line(s) to one line down.

Add or delete the sheet division.

Icons

Select currently working project and version. Create a new project, copy an existing project or file.

Print out sheet(s) with displayed screen.

Add a new line.

Delete the selected lines.

Check the maximum capacity of PLC data.

Make a list of signal.

Read PLC data stored in the relay to a PC.

Write PLC data into a relay from a PC, with password authentication for “Settings”.

Select the device.

Save current working PLC data into the specified version

The Icon is used to select Graphic type PLC Tool or Text type PLC Tool. If the icon is pressed, the Text type PLC Tool is selected.

[Model ID] box Displays the model ID of the signal list which the PLC data depends on.

[Name] box Displays the destination (RS232C or TCP/IP)

Progress bar Displays the progress status during communication with a relay.

Message area Displays a message during communication with a relay.

[User-specified cycle] button

Displays the user-specified execution cycle (ms) for the sequence logic, which is applied to the PLC data.

Status bar The status or explanation of the icon

Page 40: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 38 ⎯

6 F 2 S 0 8 1 0

6.5.1 Shifting the line

(1) Select a line and click the button, and then the selected line is shifted one line up.

(Before)

(After)

(2) Select a line and click the button, and then the selected line is shifted one line down.

(Before)

(After)

Page 41: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 39 ⎯

6 F 2 S 0 8 1 0

6.5.2 Dividing the sheet

Add the sheet division

Select a line without “E” and click the button, and then the sheet is divided there and “E” is added on the line.

(Before)

(After)

In case of viewing the [Sheet selection] screen in Graphic version:

(Before)

(After) One sheet is added. (Total 26 sheets)

Page 42: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 40 ⎯

6 F 2 S 0 8 1 0

Delete the sheet division

Select a line with “E” and click the button, and then the sheet division is deleted there and the “E” is deleted.

(Before)

(After)

In case of viewing the [Sheet selection] screen in Graphic version:

(Before)

(After)

Page 43: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 41 ⎯

6 F 2 S 0 8 1 0

One sheet is deleted. (Total 25 sheets)

6.5.3 Changing PLC logic

Double-click the selected line to be edited on the [Line selection] screen.

Then, the [Change PLC Logic] screen which displays the content of the line appears as follows:

Page 44: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 42 ⎯

6 F 2 S 0 8 1 0

(1) Select an input signal from the [Input signal selection] box and click the [Apply] button, and then the signal is inserted at the cursor position in the [New Logical] box.

(2) Input a logical expression into the [New Logical] box. Press a symbol button which is “&” (AND), “+” (OR), “!” (NOT), “^” (XOR), “(“ (parenthesis), or “)” (parenthesis) and then the symbol is inserted at the cursor position in the [New Logical] box.

Available keys on PC are symbol keys (&, +, !, ^, (, )) and arrow keys (→, ←).

If the [Delete] button is clicked, the signal name or symbol after cursor is deleted one by one.

If the [All Clear] button is clicked, all of the signal names and symbols in the [New Logical] box are deleted. The original logical expression before editing is displayed in the [Logical] box.

(3) By clicking the [Change] button, the [OUTPUT] screen is displayed and an output signal can be changed.

Note: For details of error messages displayed when editing logic on the [Changing PLC Logic] screen, see ‘8. Error Message Guide’.

[Search] box for signal name and No.

[Searched signal] box [Input signal selection] box

[Cycle] box

[Timer/Flip Flop] box

[Output] box

Symbol button

Page 45: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 43 ⎯

6 F 2 S 0 8 1 0

Select an output signal from the [Output signal selection] box and click the [OK] button, the [OUTPUT] screen is closed and the selected signal number and name is displayed in the [Output] box of [Change PLC Logic] screen.

(4) The execution timing defines the cycle and order in which the output signal is updated. One of the following option buttons can be selected in the [Cycle] box.

• 30 : Electrical angle 30 degrees

• 90 : Electrical angle 90 degrees

• User : User-specified milliseconds

The default option is “Electrical angle 30 degrees”.

If the [Electrical angle 30 degrees] option button is selected, there is no setting of order of execution, since the expression will be executed every time.

If the [Electrical angle 90 degrees] option button is selected, click the [Order of execute] drop-down arrow(0, 1, or 2) on the right of the option button, since the expression will be executed one time in three.

If the [User-specified milliseconds] option button is selected, enter an order of execution in the box on the right of the option button, since execution will occur once in the number of times based on the user-specified execution cycle displayed on the [Setting PLC] screen (abbr. number of times). The range of the value is from zero to (the number of times − 1).

For details of the [Cycle], see Appendix B.

(5) If setting a timer, click the [Timer] option button on the [Timer/Flip Flop] box and click the [Type of timer] drop-down arrow (Off Delay, On Delay, or One Shot) as required and the [Unit of timer] drop-down arrow (ms, s, hrs, or ut) as required.

Enter the time value to set in the subsection. The range of the value is as follows.

ms: 0 - 60000 s: 0 - 36000 hrs: 0 – 720

ut: 1 – n (n is provided with the relay)

[Searched signal] box

[Search] box for signal name and No.

[Output signal selection] box

Page 46: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 44 ⎯

6 F 2 S 0 8 1 0

(6) If setting a Flip Flop, click the [FF] option button on the [Timer/Flip Flop] box and click the [Type of Flip Flop] drop-down arrow (FF or FFB) as required. The difference between “FF” and “FFB” is whether there is backup when the power supply is OFF or not. The “FF” is without backup. The “FFB” is with backup when the power supply is OFF. Maximum 8 Flip Flops with backup are supported for each PLC data.

Click the [RESET…] button to select the signal to reset the Flip Flop.

→ The [INPUTNAME] dialog box (same as 6.6.1) for the specified signal will open. Select the signal and click the [OK] button, the signal to reset Flip Flop is displayed in the box.

(7) If the [Prev] button on the [Change PLC Logic] screen is clicked, the content of the previous line on the [Line selection] screen is displayed after the changed data is saved (*).

If the [Next] button on the [Change PLC Logic] screen is clicked, the content of the next line on the [Line selection] screen is displayed after the changed data is saved (*).

If the [Reset] button on the [Change PLC Logic] screen is clicked, the content before changing is displayed after the changed data is cleared.

If the [Close] button on the [Change PLC Logic] screen is clicked, the screen is closed after the changed data is saved.

If the [x] button on the [Change PLC Logic] screen is clicked, the screen is closed after the changed data is cleared.

Note (*): If the logical expression is not completed or the set value is out of the range, an error message is displayed.

Warning:

The priority of logical expression is as follows:

(Priority: High) NOT > AND > XOR > OR (Priority: Low)

Example: A + B ^ ! C & D → A + ( B ^ ((!C) & D ) )

When creating new data, it is recommended that the parentheses “( )” is used to define the priority.

6.5.4 Adding a new line

Click the [Newsheet] icon on the [Line selection] screen and then the [Change PLC Logic] screen will open.

Page 47: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 45 ⎯

6 F 2 S 0 8 1 0

After setting the [New Logical] box, [Output] box, [Cycle] box and [Timer/Flip Flop] box, click the [Close] button. Then the [Change PLC Logic] screen is closed and the new line is added before the selected line. (The [New Logical] box and [Output] box must be set.)

If multiple lines are selected, the new sheet is added before the selected sheets. If no sheet selected, the new sheet is added after the last line.

Page 48: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 46 ⎯

6 F 2 S 0 8 1 0

6.5.5 Deleting the selected lines

(1) Click the line to be deleted on the [Line selection] screen. (Multiple lines can be selected.)

(2) Click the [Delete sheets] icon on the utility bar on the [Line selection] screen.

→ The [Confirm deleting] dialog box will open.

(3) Click the [Yes] button on the [Confirm deletion] box.

→ All the selected sheets will be deleted from the [Sheet selection] box.

Click the [No] button, and no sheet will be deleted.

6.5.6 Making the signal list

(1) Click the icon [List IO] on the utility bar on the [Line selection] screen.

→ The [Signal list] dialog box will open.

It shows the signals used as input, reset (For flip-flop) or output on each line.

The [OUT] column shows the line number that uses the signal as an output. There is only one line number per signal.

The [IN] row shows the line numbers that use the signal as an input or reset (For flip-flop).

Page 49: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 47 ⎯

6 F 2 S 0 8 1 0

If the [Save As] button is clicked, the following screen appears and the signal list can be saved.

If “Decimal symbol” of “Regional and language options” in “Control panel” is set to “,” (Comma), a punctuation mark of CSV file (Comma (,) or Semicolon (;)) selection screen is displayed.

6.5.7 Print preview

(1) Click [File] → [Print preview] on the menubar on the [Line selection] screen.

→ The [Print preview] dialog box will open.

The print image of each sheet is displayed.

Page 50: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 48 ⎯

6 F 2 S 0 8 1 0

6.5.8 Printing the PLC data

(1) The precondition necessary for this operation is as follows:

• The PLC data is displayed on the [Line selection] screen. (See Section 6.1.)

• PC is connecting to a printer.

(2) Click [File] → [Print] on the menubar on the [Sheet selection] screen.

→ The [Print] dialog box (the Windows standard) will open.

(3) Click the [OK] button after setup for printing on the [Print] box.

→ The sheet is printed out with displayed screen.

Page 51: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 49 ⎯

6 F 2 S 0 8 1 0

6.6 Editing the sheet (for Graphic version)

(1) Double click the sheet to be edited on the sheet editor.

Explanation about the items displayed on the [Edit PLC] screen:

Item Explanation

Title bar Displays the File Name currently being edited.

Menu Contains various functions.

Icons The icons provide all basic operations and functions.

Open another sheet

Save the current working sheet (overwriting)

Print the sheet

Delete the selected symbols

Undo (up to 10 times)

Delete mode (clicked part or connection is deleted while this icon pressed.)

Set grid size

Re-layout the symbols and lines

Select symbols

Change the attributes of an input or output symbol

Connect a line between the symbols

Menu Title bar Edit bar

Status bar

Input area Output area

Zoom bar

Display size

Off-line

Parts bar

Page 52: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 50 ⎯

6 F 2 S 0 8 1 0

Zoom in current screen to 200%

Zoom out current screen to 50%

Zoom the selected part to the screen size.

Reset the zooming size to default (100%)

Add “AND” logic symbol

Add “OR” logic symbol

Add “XOR” logic symbol

Add “NOT” logic symbol

Add “INPUT” symbol on input area

Add “OUTPUT” symbol on output area

Status bar Displays status or simple explanation of the icon or menu.

Display size Selectable for 100%, 125%, 150%, 200% and 300%

Next, the following edit functions are described.

• Placing input symbols • Placing output symbols • Setting Timer for output symbols • Connecting symbols by a line and placing logic symbols • Setting Flip Flop for output symbols • Deleting symbols and lines • Moving symbols and lines • Zoom in and out • Re-Layout symbols and lines • Undo • Popup menu • Selecting the display size • Printing the current working sheet • Saving the current working sheet • Opening on other sheet • Exit from editing the sheet

Page 53: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 51 ⎯

6 F 2 S 0 8 1 0

6.6.1 Placing input symbols

(1) Click the [INPUT] icon on the edit bar.

→ The [INPUTNAME] dialog box for the specified signal will open.

(2) Select a signal in the [input signal selection] box and click the [OK] button.

→ The input symbol with signal No. and name is placed in the input area.

If no signal is selected or if the [CANCEL] button is pressed, the input symbol is not displayed.

The signal No. and name can be changed by the [Attribute] icon. Click the [Attribute] icon, then click the input symbol to be changed. The [INPUTNAME] dialog box for the specified signal will open.

The input signal can be found more quickly by entering a signal No. or name on the [Search] box. The signals including the number or string on the [Search] box are display on the [Searched signal] box. Both capital letters and small letters may be input.

[Search] box for signal name and No.

[Input signal selection] box

[Searched signal] box

Page 54: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 52 ⎯

6 F 2 S 0 8 1 0

6.6.2 Placing the output symbols

(1) Click the [OUTPUT] icon on the edit bar.

→ The [OUTPUT] dialog box for the specified signal and other parameters will open.

On the [OUTPUT] dialog you can set not only the signal, but also the execution timing (on the [Cycle] box) and the output termination (on the [Output termination] box). For details of the output termination see 6.6.3 and 6.6.4. The default is “NONE”.

The execution timing defines the cycle and order in which the output signal is updated. One of the following option buttons can be selected.

• 30 : Electrical angle 30 degrees

• 90 : Electrical angle 90 degrees

• User: User-specified milliseconds

The default option is “Electrical angle 30 degrees”.

If the [Electrical angle 30 degrees] option button is selected, there is no setting of order of execution, since the expression will be executed every time.

If the [Electrical angle 90 degrees] option button is selected, click the [Order of execute] drop-down arrow(0, 1, or 2) on the right of the option button, since the expression will be executed one time in three.

If the [User-specified milliseconds] option button is selected, enter an order of execution in the box on the right of the option button, since execution will occur once in the number of times based on the user-specified execution cycle displayed on the [Setting PLC] screen (abbr. number of times). The range of the value is from zero to (the number of times − 1).

[Search] box for signal name and No.

[Output signal selection] box

[Searched signal] box

[Cycle] box

[Output termination] box

Page 55: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 53 ⎯

6 F 2 S 0 8 1 0

For the setting [Cycle], see the 6.5.3 clause.

(2) Select the signal and set the parameters, and click the [OK] button.

→ The output symbol with signal No., name, and cycle, etc. is placed in the output area.

If no signal is selected or if the [CANCEL] button is pressed, the output symbol is not displayed.

The signal No., name, and other parameters can be changed by the [Attribute] icon. Click the [Attribute] icon, then click the output symbol to be changed. The [OUTPUT] dialog box for the specified signal and parameters will open.

The output signal can be found more quickly by entering a signal No. or name on the [Search] box. The signals including the number or string on the [Search] box are display on the [Searched signal] box. Input letter is available both of capital letter and small letter.

Note: The output signals used are excluded from the signals in the [Output signal selection] box. However, the signals in [Searched signal] box are picked up from all signals.

The cycle and order

All signals containing the searched for text are displayed. However, if a signal has already been selected as an output signal, then it cannot be chosen again.

Page 56: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 54 ⎯

6 F 2 S 0 8 1 0

6.6.3 Setting Timer for output symbols

(1) The timer function can be applied to output signals.

Click the [Timer] option button on the [OUTPUT] dialog box.

(2) Click the [Type of timer] drop-down arrow (Off Delay, On Delay, or One Shot) as required.

(3) Click the [Unit of timer] drop-down arrow (ms, s, hrs, or ut) as required.

(4) Enter the time value to set in the subsection. The range of the value is as follows.

ms: 0 - 60000 s: 0 - 36000 hrs: 0 – 720

ut: 1 – n (n is provided with the relay)

(5) Click the [OK] button on the [OUTPUT] dialog box.

→ The timer symbol with timer value and unit is placed to the left of the output symbol.

Change the type, value or unit of the timer by the [TIMER] dialog while the

[Attribute] icon is pressed.

Click on the timer value or unit, and the [TIMER] dialog will open.

6.6.4 Connecting lines between symbols and placing logic symbols

(1) Click the [Connect] icon on the edit bar.

(2) Connect a line between two symbols. Click the terminal of a symbol to start the connection, then click the terminal of another symbol to end the connection. While moving the mouse after clicking the start terminal, the line is displayed like a rubber band.

Bend the line by clicking an area other than the terminal. The bend is then automatically formed at right angles when the end connection is clicked.

A line or bend can be cancelled by clicking the right mouse button.

Page 57: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 55 ⎯

6 F 2 S 0 8 1 0

(3) The logic symbols (AND, OR, XOR, NOT) can be placed onto a line, and the terminals of the logic symbol are automatically connected to the line.

For example, click the [AND] icon, and move the cursor to the desired position, and click again. The AND symbol is placed and connected.

6.6.5 Setting Flip Flop for output symbols

(1) The Flip Flop function can be applied to output signals. The output signal is used as the input signal to set the Flip Flop.

Click the [FF] option button on the [OUTPUT] dialog box.

(2) Click the [Type of Flip Flop] drop-down arrow (FF or FFB) as required in the [Setting Flip Flop] subsection. The difference between “FF” and “FFB” is whether there is backup when the power supply is OFF or not. The “FF” is without backup. The “FFB” is with backup when the power supply is OFF. Maximum 8 Flip Flops with backup are supported for each PLC data.

(3) Click the [RESET…] button to select the signal to reset the Flip Flop.

→ The [INPUTNAME] dialog box (same as 6.6.1) for the specified signal will open. Select the signal and click the [OK] button, the signal to reset Flip Flop is put on the box.

(4) Click the [OK] button on [OUTPUT] dialog box. Then the Flip Flop symbol with reset signal No. and name is placed to the left of the output symbol.

Page 58: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 56 ⎯

6 F 2 S 0 8 1 0

The reset signal can be changed without opening the [OUTPUT] dialog.

Click on the reset signal name, then the [INPUTNAME] dialog box (same as 6.6.1) will open.

Warning: Avoid applying Flip Flop with backup such that the output state of the Flip Flop may change on and off frequently. Consider 10 times or less per day as a limit of the state-change frequency. If the above is not observed, the maximum number of write cycles of the nonvolatile memory may be exceeded.

6.6.6 Deleting symbols and lines

Use two methods for the delete operation: [Select & Delete] and [Delete mode].

[Select & Delete]

In this method, The last delete operation can be undone.

(1) Click the [Select] icon on the edit bar, and click or frame the symbols to be deleted.

→ The selected symbols with connected lines will be highlighted.

Cancel the selection by clicking the selected symbol again or by clicking [Edit] → [Unselect] on the menubar.

(2) Click [Edit] → [Delete] on the menubar or the icon [Delete] on the edit bar.

→ The selected symbols with connected lines will be deleted.

Selected status

Delete the selected symbols with connected lines

[Delete mode]

The last delete operation cannot be undone.

(1) Click [Edit] → [DeleteMode] on the menubar or click the icon [Delete].

(2) Click the symbol or line to be deleted. (In this mode only the line is deleted.)

→ The clicked symbol with connected line or line will be deleted.

(3) To exit the delete mode, click another menu ([Edit] → [Delete], [Move]) or icon ([Select]).

Page 59: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 57 ⎯

6 F 2 S 0 8 1 0

If some cross points or lines remain after the delete operation, click [View] → [Redraw] on the menubar.

6.6.7 Moving symbols and lines

(1) Click the [Select] icon on the edit bar (the icon is pressed), and click or frame the symbols to be moved.

→ The selected symbols with connected lines will be highlighted.

Cancel the selection by clicking the selected symbol again or by clicking [Edit] → [Unselect] on the menubar.

(2) Click [Edit] → [Move] on the menubar, and move the cursor to the destination. Then click.

→ The selected symbols with connected lines will be moved.

Cancel the selection by clicking the selected symbol again or by clicking [Edit] → [Unselect] on the menubar.

The last move operation can be undone.

The line connection with the moved symbol will be retained.

During moving

After moving

Moving symbol

Page 60: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 58 ⎯

6 F 2 S 0 8 1 0

6.6.8 Zoom in and out

Use two methods for the zoom-in operation: [Zoom In] and [Selection Part]. Also use two methods for the zoom-out operation: [Zoom Out] and [Default Size]

[Zoom In]

(1) Click the [Zoom In] icon on the edit bar or [View] → [Zoom In] on the menubar.

→ The sheet is enlarged to twice the size of the center of the window.

[Selection Part]

(1) Click [View] → [Zoom] → [Selection Part] on the menubar.

(2) Click the start point of the area to zoom-in, and click again the end point of the area.

→ The framed area is enlarged into the window size.

[Zoom Out]

(1) Click the [Zoom Out] icon on the edit bar or [View] → [Zoom Out] on the menubar.

→ The sheet is reduced to half size. However, it cannot be reduced less than the default scale (100%).

Page 61: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 59 ⎯

6 F 2 S 0 8 1 0

[Default size]

(1) Click [View] → [Default Size] on the menubar.

→ The sheet is displayed on the default scale (100%).

6.6.9 Re-Layout symbols and lines

(1) Click the [Relayout] icon.

→ The all symbols and lines on the sheet will re-layout automatically on the basis of the output signals.

All the logic symbols, timers, flip flops on the sheet are numbered.

Sample-a)

Before re-layout

After re-layout

Sample-b)

Before re-layout

Page 62: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 60 ⎯

6 F 2 S 0 8 1 0

After re-layout

Note: A sheet including undefined signals or unconnected terminals cannot be

re-layed.

6.6.10 Undo

Click the [Undo] icon to cancel the last operations one by one after moving or deleting symbols and lines. The maximum last ten operations can be canceled.

6.6.11 Popup menu

Click the right button of the mouse on a symbol such as INPUT, OUTPUT, TIMER, line and AND/OR/XOR, and then the popup menu is displayed.

(1) Click the right button of the mouse on the INPUT and select “Attribute”, the [INPUTNAME] dialog box is displayed. If “Delete” is selected, the INPUT symbol is deleted.

(2) Click the right button of the mouse on the OUTPUT and select “Attribute”, the [OUTPUT] dialog box is displayed. If “Delete” is selected, the OUTPUT symbol is deleted.

(3) Click the right button of the mouse on the TIMER and select “Attribute”, the [TIMER] dialog box is displayed. If “Delete” is selected, the TIMER symbol is deleted.

Page 63: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 61 ⎯

6 F 2 S 0 8 1 0

(4) Click the right button of the mouse on the line and select “Delete”, and then the line is deleted.

(5) Click the right button of mouse on the AND/OR/XOR and the following popup menu is displayed.

If select the “AND”, the symbol is changed to the AND symbol.

If select the “OR”, the symbol is changed to the OR symbol.

If select the “XOR”, the symbol is changed to the XOR symbol.

If select the “Delete”, the symbol is deleted.

6.6.12 Selecting the display size

Select the display size 100, 125, 150, 200 or 300% in the combo box at the bottom of [Edit PLC] screen.

Page 64: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 62 ⎯

6 F 2 S 0 8 1 0

6.6.13 Printing the current working sheet

(1) Click [File] → [Print] or the [Print] icon.

→ The current working sheet will be printed.

Note: The style of print should be set to landscape. When printing the sheet on the sheet editor, the sheet No. is not printed out.

6.6.14 Save the current working sheet

(1) Click the [Save] icon or click [File] → [Save] after completing editing.

→ PLC Tool will check whether the edited contents are valid. If any error is detected, the error dialog box will open.

If there is any terminal that is not connected, the warning dialog will open. A sheet can be saved during editing, but PLC data including an incomplete sheet cannot be written to a relay.

The [Save] dialog box will open. The Sheet Name of the sheet can be changed.

(2) Click the [OK] button on the [Save] dialog box.

→ The sheet is saved to the file. The [PLC Tool] screen will close and the [Sheet selection] screen will be displayed.

Alternatively, click the [Cancel] button on the dialog box to close the dialog box.

6.6.15 Opening another sheet

(1) Click the [Open] icon or click [File] → [Open].

→ The list box of the sheets will open.

Page 65: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 63 ⎯

6 F 2 S 0 8 1 0

(2) Click the sheet to be opened and click the [Open] button, or double-click the line.

→ The selected sheet will open.

6.6.16 Displaying/undisplaying the edit bar

(1) Click [View] → [Tool bar] on the edit bar on the [Sheet selection] screen.

→ The edit bar is turned on and off by this command

6.6.17 Displaying/undisplaying the zoom bar

(1) Click [View] → [Tool bar] on the zoom bar on the [Sheet selection] screen.

→ The zoom bar is turned on and off by this command

6.6.18 Displaying/undisplaying the parts bar

(1) Click [View] → [Tool bar] on the parts bar on the [Sheet selection] screen.

→ The parts bar is turned on and off by this command

6.6.19 Exit from editing the sheet

(1) Click [File] → [Exit]

→ The [PLC Tool] screen will close and the [Sheet selection] screen will be displayed.

If any modification has been made without saving the sheet, a warning dialog box will open.

Page 66: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 64 ⎯

6 F 2 S 0 8 1 0

6.7 Writing PLC data to the relay

(1) The precondition necessary for this operation is as follows:

• The PLC data is already displayed on the [Sheet selection] or [Line selection] screen. (See Section 6.1.)

• The PLC data is complete. (See Section 6.4.)

• The PLC data is saved as a version name. (See the 6.4.8 clause.)

(For setting the communication circumstances, see the 6.3.2 clause.)

(2) Click [Write to the relay] on the menubar on the [Sheet selection] screen.

→The [Confirm writing into the relay] will be opened.

Click the [Yes] button, and the setting value is read.

If the following dialogs appear, stop writing into the relay.

a) Incomplete logic diagram exists:

(In this case, there is an incomplete logic diagram in the “025.plc” file such as non-connection between input and output, lack of reset signal of flip-flop, etc.)

b) Maximum PLC data capacity exceeds 100%:

On-line

Page 67: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 65 ⎯

6 F 2 S 0 8 1 0

c) The signal name of the PTB file of the relay differs that of the PTB file to be written:

(In this case, the signal name of No.1281 is “_NON_SIGNAL” in the PTB file of

the relay but “DSSV-A” in the PTB file to be written.)

Go to clause (6), if the password for the settings function of RSM100 (password) is set as “0000”. Otherwise, go to clause (3).

(3) If the setting value is read, the [Input password] dialog box will be displayed.

(4) Enter a 4-figure number on the [Input password] box.

(5) Click the [OK] button on the [Input password] box.

→ Go to clause (6) if successful in authenticating the password. Otherwise, the [Input password] box will be displayed again.

If the [Cancel] button on the [Input password] box is clicked, the operation will be canceled without writing the PLC data into the relay.

(6) The PLC data is written into the relay.

→ The progress bar and message will be displayed at the bottom of the screen during communication with the relay.

If any error occurs during communication with the relay, an error message will be displayed.

Note: After the PLC data is written and read, the check sum value of the file is changed.

Page 68: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 66 ⎯

6 F 2 S 0 8 1 0

The version of PLC data and the check sum value can be viewed on the LCD screen of the relay.

For the operation method of LCD screen, see the individual instruction manual of GR-series relay.

Caution: The relay must be restarted after writing PLC data.

<LCD screen of the relay>

6.8 Displaying/undisplaying the utility bar

(1) Click [View] → [Tool bar] on the utility bar on the [Sheet selection] screen.

→ The utility bar is turned on and off by this command

6.9 Displaying/undisplaying the status bar

(1) Click [View] → [Tool bar] on the status bar on the [Sheet selection] screen.

→ The status bar is turned on and off by this command

6.10 Viewing the version of PLC tool

(1) Click [Help] → [Version] on the menu bar on the [Sheet selection] screen to view the version of PLC Tool.

→ The [About PLCtool] dialog box will be opened.

6.11 Exiting PLC tool

Click [File] → [Exit] on the menubar on the [Sheet selection] screen to exit PLC tool.

→ The [Sheet selection] screen will be closed.

Relay version 12/Jan/2006 11:40 Relay Type: ∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗ Serial No.: ∗∗∗∗∗ Main software: ∗∗∗∗∗∗∗∗∗∗∗ COM software: ∗∗∗∗∗∗∗∗∗∗∗ PLC data: ∗∗∗∗∗ (∗∗∗∗∗∗∗∗) IEC103 data: ∗∗∗∗∗∗∗∗∗∗∗ (∗∗∗∗∗∗∗∗)

Version of PLC data to be written

Page 69: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 67 ⎯

6 F 2 S 0 8 1 0

7. Logical Components This chapter describes the specification of the logical components applicable to PLC Tool.

・ OR

・ AND

・ XOR

・ NOT

・ On Delay Timer

・ Off Delay Timer

Z X

X

Z

t

t

0

Z X

X

Z

t

0

t

Z A

B &

Z A

B =1

Z A 1

Z A

B ≥1

Page 70: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 68 ⎯

6 F 2 S 0 8 1 0

・ One Shot Timer

・ Flip Flop

・ Flip Flop with backup when power supply is off

Z X

X

Z

t

Z X

X

Z

Hold

S Q

F/F

R Y

Y

Reset

Z X

X

Z

Hold

S Q

F/F

R Y

Y

Reset

Page 71: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 69 ⎯

6 F 2 S 0 8 1 0

8. Error Message Guide (file name): File not found

Possible cause Action

The file of the specified PLC data may not exist.

- Make sure that changing the file is permitted. - Specify another PLC data file from existing PLC data. - Re-create a new PLC data file. - Re-read PLC data from the relay.

The contents of the specified PLC data may be invalid.

The file of the specified signal list may not exist.

- Make sure that changing the file is permitted. - Specify another signal list file to create a new PLC data. - Re-create a new PLC data file. - Re-read PLC data from the relay.

The contents of the specified signal list may be invalid.

Some internal files of PLC Tool may not exist.

- Re-install PLC Tool.

The PTB file may not exist. - Check the place of the PTB file.

The project/version already exists.

Possible cause Action

The specified name of project/version already exists.

- Specify another name project/version.

Time/Cycle setting out of range

Possible cause Action

The [Set user-specified cycle] dialog box may have a value out of range.

- Enter any value within range for each item.

Though the type of termination is any timer, the time value may be out of range on the [OUTPUT] dialog box or the [TIMER] dialog box.

Though the type of execution cycle is the user-specified cycle, a value of order of execution may be out of range on the [OUTPUT] dialog box.

Maximum 8 Flip Flop B are allowed.

Possible cause Action

There are more than 8 Flip Flops with backup in the PLC data.

- Review the settings of the Flip Flop with backup in the PLC data.

Page 72: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 70 ⎯

6 F 2 S 0 8 1 0

Maximum 15 outputs are allowed in a sheet.

Possible cause Action

There are 15 output symbols or more on a sheet.

- Reduce the output symbols to 14 or less.

Signal name not defined.

Possible cause Action

No logical expression is input. - Input a logical expression.

Unmatched brackets

Possible cause Action

The number of the symbol “(“ is not matched to the number of the symbol “)“ in a logical expression.

- Check the logical expression.

<Incorrect Logical expression>: Operator is missing.

Possible cause Action

No logical symbol (&, ^, +) exists though multiple logical expressions are defined.

- Check the logical expression.

<Incorrect Input Name>: invalid signal name

Possible cause Action

Input the INPUT signal name is wrong. - Input an INPUT signal name again.

Output not defined.

Possible cause Action

OUTPUT signal name is not input. - Input an OUTPUT signal name.

Invalid output name/number

Possible cause Action

The specified OUTPUT signal and line number do not exist in the PTB file.

- check the PTB file.

Page 73: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 71 ⎯

6 F 2 S 0 8 1 0

Communication error (no response)

Possible cause Action

PLC Tool may receive no response from the relay when reading PLC data from the relay.

- Make sure that PC is properly connected to the relay via RS232C cable.

PLC Tool may receive no response from the relay when writing PLC data into the relay.

The communication speed of RSM100 may not be the same as that of the relay.

- Check the settings of communication speed of RSM100 and that of the relay.

- Make the settings of communication speed of both RSM100 and the relay the same.

Communication error

Possible cause Action

PLC Tool may receive some error information from the relay when reading PLC data from the relay.

- See the instruction manual of the relay.

PLC Tool may receive some error information from the relay when writing PLC data into the relay.

- See the instruction manual of the relay.

Can not open (Comm. Port)

Possible cause Action

The communication port specified to read from the relay may have already been used for some other application in the PC.

- Close the communication port used for the other application in the PC.

The settings of communication port of RSM100 may not be correct.

- Check the settings of communication port of RSM100 and that of the relay.

- Make the settings of communication port of both RSM100 and the relay the same.

Password incorrect

Possible cause Action

You may have failed to authenticate the password, when you tried to write PLC data into the relay.

- Make sure of the password for the settings of RSM100. - Retry authenticating password.

Page 74: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 72 ⎯

6 F 2 S 0 8 1 0

The communication via protocol converter is not supported.

Possible cause Action

You try the communication via protocol converter.

- The communication via protocol converter is not supported.

There is an error. Do you wish to continue?

Possible cause Action

Though the created PLC data has an error, you are trying to save it. (e.g. There are more than 8 Flip Flops with backup in the PLC data.)

- Re-create the PLC data.

Mismatch in signal name signal number,

Signal name of relay side / Signal name of PC side

Possible cause Action

Difference of PTB file - Check the version of the PTB file.

Can not read sheet file

Possible cause Action

You are trying the file, which does not exist, by sheet editor.

- Check the name and location of the file.

Page 75: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 73 ⎯

6 F 2 S 0 8 1 0

Appendix A

Saving Method of PLC Setting Data

Page 76: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 74 ⎯

6 F 2 S 0 8 1 0

PLC setting data is recommended to be saved as follows:

1. Naming for PLC setting data

The PLC setting data name is defined by inputting “Version Name” as shown in 6.4.8 clause. The version name is recommended to be provided with a revision number in order to be changed in future as follows:

First draft: ∗∗∗∗∗∗_01

Second draft: ∗∗∗∗∗∗_02

Third draft: ∗∗∗∗∗∗_03

Revision number

The name “∗∗∗∗∗∗” is recommended to be able to discriminate the relay type such as GRZ100 or GRL100, etc.

2. Saving the PLC setting data

The PLC setting data is recommended to be saved in external media such as FD (floppy disk) or CD-R, not to remain in the folder. The PLC setting data is saved by the following two methods:

(1) Saving the version folder and all

(2) Saving the “∗∗∗.plc” file (the renamed file of “sum.plc”)

Method (1) is recommended. By using method (1), drawing data and discriminating data are saved. By method (2), however, these data are not saved and the location of logic symbols and the division of sheets are performed automatically.

(1) Saving the version folder and all

[Project folder]

<WORK> ………..

<∗∗∗∗∗∗∗∗_01> sum.plc <sheet>

………..

<∗∗∗∗∗∗∗∗_02> sum.plc <sheet>

………...

<∗∗∗∗∗∗∗∗_03> sum.plc <sheet>

………...

Save the folder and all.

Page 77: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 75 ⎯

6 F 2 S 0 8 1 0

(2) Saving the “∗∗∗.plc” file (the renamed file of a “sum.plc”) [Project folder]

<WORK> ………..

<∗∗∗∗∗∗∗∗_01> sum.plc <sheet>

………..

<∗∗∗∗∗∗∗∗_02> sum.plc <sheet>

………...

<∗∗∗∗∗∗∗∗_03> sum.plc ∗∗∗∗∗∗∗∗_03.plc <sheet>

………...

Rename the “sum.plc” file the same name as the version folder, and save it.

Page 78: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 76 ⎯

6 F 2 S 0 8 1 0

Page 79: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 77 ⎯

6 F 2 S 0 8 1 0

Appendix B

Setting the [Cycle]

Page 80: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 78 ⎯

6 F 2 S 0 8 1 0

PLC logic can be executed in a settable cycle time on a time-share basis as follows:

(a) In case of Cycle=30°, Turn=0

(b) In case of Cycle=90°, Turn=0, 1 or 2

(c) In case of Cycle=USER, Turn=0 − (number of time slots at 30° − 1)

PLC logic execution at every sampling, i.e. option (a) is preferable. If the capacity exceeds 100%, execution by time-sharing such as (b) or (c) should be selected.

(a) In case of Cycle=30°:

The PLC logic is executed completely within every sampling period.

In this case, the following Line 1 to Line 3 are executed within one sampling period.

Start

Line 1

Line 2

Line 3

End

(b) In case of Cycle=90°:

The PLC logic is executed once in every 3 sampling periods.

If set as above, for example, the PLC logic is executed once in 3 sampling periods as follows:

First sample: The logic specified at “Turn=0” is executed. (Line 1) Second sample: The logic specified at “Turn=1” is executed. (Line 2) Third sample: The logic specified at “Turn=2” is executed. (Line 3)

Turn=0 (fixed)

Page 81: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 79 ⎯

6 F 2 S 0 8 1 0

Fourth sample: The logic specified at “Turn=0” is executed. (Line 1) Fifth sample: The logic specified at “Turn=1” is executed. (Line 2) Sixth sample: The logic specified at “Turn=2” is executed. (Line 3)

: :

Start

Line 1 Line 2 Line 3

End

Turn=0 Turn=1 Turn=2

(c) In case of Cycle=USER

The PLC logic is executed once per the number of sampling periods calculated by User-specified cycle.

(For example)

[User-specified cycle]=500ms setting

In case of Frequency=50Hz,

The number of samples (n) = 500ms / 1 sampling

= 500ms / 1000ms / 50 Hz / 12 = 300

The settable range of “Turn” is 0 to 299 and the PLC logic is executed once in every “n” samples.

Therefore,

The settable range of “Turn” is displayed in Output dialog box. The settable range of “Turn” depends on the User-specified cycle.

Page 82: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 80 ⎯

6 F 2 S 0 8 1 0

First sample: The logic specified at “Turn=0” is executed. (Line 1) Second sample: The logic specified at “Turn=1” is executed. (Line 2) Third sample: The logic specified at “Turn=2” is executed. (Line 3)

:

n−1 sample: The logic specified at “Turn=n−2” is executed. (Line n−1) n sample: The logic specified at “Turn=n−1” is executed. (Line n)

n+1 sample: The logic specified at “Turn=0” is executed. (Line 1)

: :

Start

Line 1 Line 2 Line 3

End

Turn=0 Turn=1 Turn=2

Line n Turn=n−1

………..

Page 83: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following

⎯ 81 ⎯

6 F 2 S 0 8 1 0

Version-up Records Version No.

Date Revised Clause Contents

0.0 Apr. 20, 2004 First issue 1.0 Sep. 06, 2005 After Clause 3. Modified the description and screens. 1.1 Feb. 03, 2006 6.2 to 6.8 Modified the description and screens. 2.1 Apr. 11, 2006 3

6.2.2 6.3, 6.3.2 6.3.3 6.4.1, 6.4.7, 6.4.12 6.5.3 6.7 Appendix A

Modified the description. Modified the description. Modified the description. Added Section 6.3.3. Modified the description. Modified the description. Modified the description. Added Appendix A.

2.2 Jun. 13, 2006 3 6.3.2 6.3.3 6.4.1 6.4.9 6.5.3 Appendix B

Modified the description. Modified the description. Modified the description and screens. Modified the description. Modified the description. Modified the description. Added Appendix B.

2.3 Oct. 6, 2006 6.2.1, 6.2.2 6.3, 6.3.1 to 6.3.3 6.4.2, 6.4.4, 6.4.6, 6.4.8, 6.4.9, 6.4.12 6.5, 6.5.3 to 6.5.6 6.6, 6.6.1, 6.6.11 6.7 Appendices

Modified the description. Modified the description. Modified the description. Modified the description. Modified the description. Modified the description. Modified Appendix A and B.

2.4 Dec. 7, 2007 1 4 6 (6.1 – 6.10) 6.3.2 6.4 6.4.7 6.5 6.7 (1)

Modified the description. Modified the Table of Menu structure. Modified some sample screens. Added 6.3.2. (Old 6.3.2→6.3.3.) Modified the explanation table about [Sheet selection] screen. Added ‘Note’. Modified the explanation table about [Line selection] screen. Modified the description.

2.5 Jul. 29, 2008 8 Modified the description.

2.6 Mar. 31, 2009 6.4.6, 6.5.6 Modified the description.

2.7 Jul. 28, 2011 1, 3, 4, 5, 6.2.2, 6.7, 6.8

Modified the description.

Page 84: INSTRUCTION MANUAL PLC TOOL - Toshiba · PLC Tool, which runs either on a PC connected to a relay (On-line) or on a PC disconnected from a relay (Off-line), supports the following