GP-Pro EX Ver.2.10 Reference Manual

24
Setting Recipes
This chapter explains how to use recipes in GP-Pro EX and the basic functions used for
Recipes.
Please start by reading "24.1 Recipes" (page 24-2) and then turn to the corresponding page.
24.1
Recipes .........................................................................................................24-2
24.2
Settings Menu ...............................................................................................24-6
24.3
Creating CSV Data Recipes........................................................................24-10
24.4
Transferring CSV Data Recipes Using Touch .............................................24-18
24.5
Transferring CSV Data Recipes from the Device........................................24-26
24.6
Displaying/Editing CSV data on the Screen................................................24-31
24.7
Creating Filing Data Recipes ......................................................................24-43
24.8
Transferring Recipes (Filing Data) Using Manual Transfer .........................24-47
24.9
Transferring Recipes (Filing Data) Using Automatic Transfer .....................24-53
24.10 Settings Guide.............................................................................................24-57
24.11 Mechanism of Transfer CSV Data Setup ....................................................24-91
24.12 Mechanism of Filing Data Transfer ...........................................................24-109
24.13 Restrictions ............................................................................................... 24-117
24-1
Recipes
24.1
Recipes
24.1.1
What are Recipes?
This feature is used to create recipes with preset data to write to the device/PLC. You can
rewrite large numbers of data in the device/PLC by transferring the Recipe data.
These recipes can be used in process and production control to specify settings for machine
operation (material quantities, heat settings, etc.)
Product A
D100
30
D101
25
D102
60
Product B
D100
32
D101
20
D102
55
writes data into
the PLC
Product B's recipe is
transferred to the PLC and...
D100
D101
D102
Product A Product B
30 → 32
25 → 20
60 → 55
Data is changed in
a group.
Also, you can read device/PLC data and register it as a new recipe.
Product A
D100
30
D101
25
D102
60
Product B
D100
32
D101
20
D102
55
Product C
D100
40
D101
30
D102
50
GP-Pro EX Reference Manual
Reads PLC
data
24-2
D100
D101
D102
40
30
50
Recipes
24.1.2
Types of Recipes
There are two types of Recipes: CSV Data and Filing Data.
Transfer CSV Data
CSV Data Recipes are created in Microsoft Excel or in the GP-Pro EX and transferred to the
device/PLC using a CF Card.
Write the CSV data saved on the CF Card or USB storage device to the device/PLC, read the
device/PLC data, and then save the data on the CF Card or USB storage device as a CSV file.
• The [CSV Data Transfer Function] is suitable for creating standardized data
and dividing files into recipes.
Transfer Filing Data
Recipe data (binary data) created in GP-Pro EX is called "Filing Data".
These recipes write data from the backup SRAM to the device/PLC, and stores data from the
device/PLC to backup SRAM.
Attributes of CSV data and filing data
Recipe Data
CSV Data
Filing Data
Attribute
• Transfer the data directly between a CF Card or USB storage
device and the device/PLC.
• Display on the display unit screen to edit and print the data on the
CF Card or USB storage device.
• Can be created and edited in spreadsheet software (e.g., Microsoft
Excel).
• One recipe must be handled as one CSV file.
• Keep the recipe in the display unit as internal data without using a
CF Card or USBstorage device.
• You cannot display or edit data on the display unit screen.
• By transferring data via the display unit internal device, you can
display and edit data on the screen.
• Multiple recipes, transferred to the same address, can be handled
as a single file.
GP-Pro EX Reference Manual
24-3
Recipes
„ CSV Data Flow
You can transfer CSV data from the CF Card or USB storage device and the device/PLC.
GP
Device
(PLC)
CF-Card
or
USB Storage
There are two methods for transferring CSV data: control the transfer from the device/PLC
(Automatic Transfer), or control the transfer by touching the GP screen (Manual Transfer).
Transfer Methods
Automatic
transfer
Set the control address. Each time the bit is turned ON by the device, the
data is transferred. The transfer action can be set as Condition Action or
Address Action.
Condition
Action
Transfer according to a previously set condition.
• By using the Condition Name Search feature, only data
that corresponds with the designated condition name is
transferred.
Address
Action
Manual
transfer
The address is set at the time of transfer. The destination
address for the transfer can be changed when the
transfer is made.
Place a Special Data Display [Data Transmission] on the screen, select
the file to transfer, and touch the transfer switch. Data is then transferred.
GP-Pro EX Reference Manual
24-4
Recipes
„ Filing Data Flow
Filing data created in GP-Pro EX is transferred to the display unit's internal memory or the
CF Card by screen transfer. In order to transfer data to the PLC, you need to first write data to
backup SRAM. This is called "Transfer Preparation".
After transfer preparation, filing data is transferred between backup SRAM and the device/
PLC.
GP
Internal Memory *1
CF-Card
or
USB Storage
Backup
SRAM
2
Internal Device
Device
(PLC)
*1 Memory where the screen data is stored. Filing data is stored in memory via a screen
transfer.
*2 Transfer Project cannot transfer the data in USB Storage Destination Folder to the USB
storage device inserted in the display unit. Copy the data in the folder to the USB
storage device manually, and store the USB storage device on the display unit.
• Filing data in backup SRAM can not be edited on the display unit. It can only
be edited in GP-Pro EX.
To edit data on the display unit, transfer it via the display unit's internal
device, and use Data Display to edit the data stored in the internal device.
There are two methods for transferring Filing data: control the transfer from the device/PLC
(Automatic Transfer), or control the transfer by touching the GP screen (Manual Transfer).
Transfer Methods
Automatic transfer
Set the control address and transfers data when the PLC trigger bit
turns ON.
Manual transfer
Place a Special Data Display [Filing] on the screen, select the data
(block) to transfer, and touch the transfer switch. Data then
transfers.
GP-Pro EX Reference Manual
24-5
Settings Menu
24.2
Settings Menu
Creating CSV Data Recipes
Create a recipe as a CSV file with Microsoft Excel or
GP-Pro EX.
ZR00000.csv
ZR00001.csv
350
5
7
12
245
12
400
8
8
16
310
40
) Setup Procedure(page 24-11)
) Details(page 24-10)
Transferring CSV Data Recipes Using Touch
Touch the Special Data Display [Data Transmission]
transfer switch on the screen and transfer the selected
CSV data.
[Data Transmission]
Display
Touch the Switch to transfer CF→PLC
Beep
00000
00001
00002
00003
Bread
Butter Roll
Croissant
French Bread
CF->
->CF
UP
DOWN
DISP
CF-Card
ZR00000.csv
350
5
7
1 :DATE
2005/04/30
2 :Group No 1
3 :Group Name Butter Roll
4 :Item Name VALUE
Write CSV data
to the PLC
GP-Pro EX Reference Manual
D100 350
D101
5
D102
7
24-6
) Setup Procedure(page 24-19)
) Details(page 24-18)
Settings Menu
Transferring CSV Data Recipes from the Device
Transfer CSV data by turning ON a designated control
address.
) Setup Procedure(page 24-27)
) Details(page 24-26)
Control Word
Address
(D50: 00 Bit)
ON
CF-Card
Write CSV data
to the PLC
ZR00000.csv
350
5
7
D100 350
D101
5
D102
7
Displaying/Editing CSV data on the Screen
Display the CSV data on the CF Card or USB storage
device on the special data display [CSV display].
File Manager
Show CSV
1
2
1 :DATE
2005/04/30
2 :GROUP No. 1
3 :GROUP NAME Butter Roll
4 ITEM NAME VALUE
400
8
8
16
..
<DIR>
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
Display
ZR00003.CSV
ZR00004.CSV
Delete
ZR00005.CSV
Date/Time: 02/09/11 09:24
Size: 112 bytes
CF-Card
1
2
1 :DATE
2005/04/30
2 :GROUP No. 1
3 :GROUP NAME Butter Roll
4 ITEM NAME VALUE
400
8
8
16
..
<DIR>
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
Display
ZR00003.CSV
ZR00004.CSV
Delete
ZR00005.CSV
Date/Time: 02/09/11 09:24
Size: 112 bytes
UP
DN
LF
RT
PRN
UP
DN
LF
RT
PRN
Beep
Displays CSV
file contents
Touch the Special Data
Display [File Manager]'s
display switch and...
Edit the CSV data on the CF Card or USB storage
device directly on the screen.
150
ESC
..
<DIR>
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
Display
ZR00003.CSV
ZR00004.CSV
Delete
ZR00005.CSV
Date/Time: 02/09/11 09:24
Size: 112 bytes
CF-Card
1
2
1 :DATE
2005/04/30
2 :GROUP No. 1
3 :GROUP NAME Butter Roll
4 ITEM NAME VALUE
400
8
8
16
!
”
#
$
(
)
%
&
=
DEL
1
2
3
4
5
6
7
8
9
0
+
-
*
Q
W
E
R
T
Y
U
I
O
P
@
~
[
]
A
S
D
F
G
H
J
K
L
;
:
^
|
CLR
CA
PS
Z
X
C
V
B
N
M
,
.
\
{
?
<
>
_
}
‘
BS
/
UP
DN
LF
RT
PRN
Beep
FEP
Cancel
Space
‘
ENT
Beep
Touch the cell you want to
edit on the Special Data
Display [Show CSV] and...
The editing screen is
displayed
Print CSV data that displays in "Show CSV".
..
<DIR>
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
Display
ZR00003.CSV
ZR00004.CSV
Delete
ZR00005.CSV
Date/Time: 02/09/11 09:24
Size: 112 bytes
1
2
1 :DATE
2005/04/30
2 :GROUP No. 1
3 :GROUP NAME Butter Roll
4 ITEM NAME VALUE
400
8
8
16
UP
DN
LF
RT
Beep
PRN
CF-Card
Touch the print switch on
the [Show CSV] and...
GP-Pro EX Reference Manual
CSV data is printed.
24-7
) Setup Procedure(page 24-32)
) Details(page 24-31)
Settings Menu
Creating Filing Data Recipes
) Setup Procedure(page 24-44)
) Details(page 24-43)
Creating a recipe in GP-Pro EX.
Filing Data
Item Name
[PLC1]D00100
[PLC1]D00101
[PLC1]D00102
[PLC1]D00103
[PLC1]D00104
[PLC1]D00105
Block 0
Bread
350
5
7
12
245
12
Block 1
Butter Roll
400
8
8
16
310
40
Block 2
Croissant
200
4
3
10
120
10
Transferring Recipes (Filing Data) Using Manual Transfer
Touch the Special Data Display [Filing] transfer
switch on the screen and transfer the selected recipe.
Filing Display
00000
00001
00002
00003
Bread
Butter Roll
Croissant
French Bread
UP
DOWN
SRAM
->PLC
PLC->
SRAM
Select the recipe name on the screen
and touch the switch to transfer from
SRMA PLC and ...
Beep
Backup SRAM
Item Name
[PLC1]D00100
[PLC1]D00101
[PLC1]D00102
[PLC1]D00103
[PLC1]D00104
Block 0
Bread
350
5
7
12
245
GP-Pro EX Reference Manual
B
40
8
8
16
31
D100 350
D101
5
D102
7
Writes the selected
block's data to the PLC
24-8
) Setup Procedure(page 24-48)
) Details(page 24-47)
Settings Menu
Transferring Recipes (Filing Data) Using Automatic Transfer
) Setup Procedure(page 24-54)
) Details(page 24-53)
Transfer Filing data by turning ON a designated
control address.
Designate the File No.
and Block No., turn ON
the control address' bit 0,
and...
Control Word
Address
(D50: 00 Bit)
ON
Backup SRAM
Item Name
[PLC1]D00100
[PLC1]D00101
[PLC1]D00102
[PLC1]D00103
[PLC1]D00104
Block 0
Bread
350
5
7
12
245
GP-Pro EX Reference Manual
B
40
8
8
16
31
D100 350
D101
5
D102
7
Writes the designated
block's data to the PLC
24-9
Creating CSV Data Recipes
24.3
Creating CSV Data Recipes
24.3.1
Introduction
Create a CSV Data Recipe to write to the CF Card of the device.
There are two methods for creating Recipes: creating a spreadsheet and saving it as a CSV
file or creating a recipe in GP-Pro EX.
ZR00000.csv
ZR00001.csv
350
5
7
12
245
12
400
8
8
16
310
40
1 file = 1 recipe
GP-Pro EX Reference Manual
24-10
File Name
Creating CSV Data Recipes
24.3.2
Setup Procedure
„ Creating CSV Data Recipes with Excel
To create a recipe using a spreadsheet, first create the spreadsheet in Microsoft Excel, save it
as a CSV file, and then save it to a CF Card or USB storage device.
Create data in Excel
ZR00001.csv
400
8
8
16
310
40
Save
CF-Card
or
USB Storage
1 Open Microsoft Excel and enter the appropriate values. The values are listed below and
display in the image.
The GP transfers the data according to these parameters:
Date/Time
Condition Number
Condition Name
Data area
Enter Data Item Names or Transfer Address as needed
(These entries will not be transferred to the Device)
: DATE
Enter the data’s creation date.
: GROUP NUMBER
Enter the Condition Number to transfer.
: GROUP NAME
Enter an optional Condition Name.
ITEM NAME
You can use the area below the ITEM NAME field to enter comments or additional
information as necessary.
VALUE
You can use the area below the ITEM NAME to enter any other information.
GP-Pro EX Reference Manual
24-11
Creating CSV Data Recipes
• Only the data portion will be transferred to the device via Transfer CSV
Data. Enter the Condition Number, the Condition Name, and comment as
required. When transferring data, regardless of Condition Number and
Condition Name, they are transferred according to the conditions set in the
[Transfer CSV Data (Condition) (T)]. You can access these from the [Recipe
(R)] under [Common Settings (R)].
2 Save the file to the CF Card or the USB storage device.
Specify the destination to save the file in the CF Card or USB storage [FILE] folder.
Select "CSV" for the file. Set the file name to "ZR∗∗∗∗∗.csv", where ∗∗∗∗∗ is a 5-digit file
number from 00000 to 65535.
The Recipe is created.
If your computer does not have CF Card drivers, set the CF Card export folder and save. The
CF Card output folder data is transferred to the GP’s CF Card via a screen transfer.
• To select the CF Card Folder in GP-Pro EX, from the [Project (F)] menu,
point to [Information (I)] and select [Destination Folder (C)].
)"5.7.2 Setup Procedure
GP-Pro EX Reference Manual
„ Setting the Destination Folder" (page 5-46)
24-12
Creating CSV Data Recipes
‹ Editing Data in Microsoft Excel
You can edit and save data transferred from the device/PLC to the CF Card or USB storage
device in Microsoft Excel. When opening the CSV file in Microsoft Excel, the following
appears:
: DATE
Records the date when the file was saved to the CF Card or USB storage device. The date
is recorded using a 4-digit year. For example: 2005/04/30.
: GROUP NUMBER
The Condition Number set in the conditional settings is written.
: GROUP NAME
The Condition Name set in the conditional settings is written.
ITEM NAME
The area below this item is blank.
VALUE
The area below this item contains the transferred data.
GP-Pro EX Reference Manual
24-13
Creating CSV Data Recipes
„ Creating Recipe Data in GP-Pro EX
• Please refer to the Settings Guide for details.
)"24.10.1 Common [Recipe] Setup Guide
„ Transferring CSV Data (CSV File
List)" (page 24-62)
Create a recipe in GP-Pro EX then save to a CF Card or USB storage device.
Create data with GP-Pro EX
ZR00000.csv
350
5
7
12
245
12
Save
CF-Card
The following procedure explains how to save CSV data on a CF Card or USB storage
device.
1 From the [Common Settings (R)] menu, point to [Recipe (R)] and select [CSV Data
Transmission (CSV File List)(F)]. In [Save In] select [CF Card] or [USB Storage].
If the CF Card Folder is not yet set, the following message appears. Click [Yes].
GP-Pro EX Reference Manual
24-14
Creating CSV Data Recipes
Select the [Enable CF Card] check box. Click [Browse] and set the CF Card Folder. Click
[OK].
• The CF Card Folder is the location where created data is temporarily saved
inside the project. The data saved here is saved to the CF Card via a screen
transfer.
• The CF Card Folder can be set using this method or set from the Project
Properties.
• Specify the USB Storage Destination Folder when you select [Save in] and
point to [USB storage]. You cannot use project transfer to move the saved
data saved to the display unit's USB storage device. You must manually copy
the data to the USB storage device and then connect the device to the display
unit.
2 Click [Add]. The [Add CSV File] dialog box appears.
Set the [CSV File Number] and click [OK].
In the file name "ZR*****.csv", ***** represents the file number portion set here.
• To enable [Add], [Transfer CSV Data] should be selected in the [Recipe (R)]
> [Transfer CSV Data (Condition) (T)] tab.
) "24.4.2 Setup Procedure" (page 24-19)
GP-Pro EX Reference Manual
24-15
Creating CSV Data Recipes
3 The [Edit CSV File] dialog box appears.
In [Condition Name (Group Name)], enter the recipe name. Enter each value and title, then
click [OK].
4 The recipe appears in the file list.
To edit data, select the file and click [Edit].
GP-Pro EX Reference Manual
24-16
Creating CSV Data Recipes
The recipe is saved in the [FILE] folder in the designated CF Card folder with the following
format.
1st Column
2nd Column
: DATE
(Date Saved)
2nd Row
: GROUP NUMBER
(Condition Number)
3rd Row
: GROUP NAME
(Condition Name)
4th Row
ITEM NAME
VALUE
5th Row
Flour
350
6th Row
Yeast
5
7th Row
Salt
7
8th Row
Sugar
12
9th Line
Milk
245
Butter
12
1st Row
10th Row
Created data
• ":DATE", ":GROUP NO", ":GROUP NAME", "ITEM NAME", and "VALUE" are
fixed.
• Dates are written in the format "yyyy/mm/dd hh:mm:ss".
• The Condition Number and Condition Name are written.
• Below "ITEM NAME" in the first column, the designated titles are written.
• Below "VALUE" in the second column, the designated values are written.
GP-Pro EX Reference Manual
24-17
Transferring CSV Data Recipes Using Touch
24.4
Transferring CSV Data Recipes Using Touch
24.4.1
Introduction
The recipe (CSV data) saved on the CF Card or USB storage device displays in a list on the
display unit. Touch to select or clear the recipes you want to send to the device/PLC.
[Data Transmission]
Display
Touch the Switch to transfer CF→PLC
Beep
00000
00001
00002
00003
Bread
Butter Roll
Croissant
French Bread
CF->
->CF
UP
DOWN
DISP
1 :DATE
2005/04/30
2 :Group No
1
3 :Group Name Butter Roll
4 :Item Name VALUE
CF-Card
Write CSV data
to the PLC
ZR00000.csv
350
5
7
D100 350
D101
5
D102
7
Device/PLC data overwrites the selected files on the CF Card or USB storage device.
[Data Transmission]
Display
Touch the Switch to transfer PLC→CF
Beep
00000
00001
00002
00003
Bread
Butter Roll
Croissant
French Bread
CF->
->CF
UP
DOWN
DISP
CF-Card
ZR00000.csv
400
8
8
1 :DATE
2005/04/30
2 :Group No 1
3 :Group Name Butter Roll
4 :Item Name VALUE
PLC data is saved to
the selected file
(and overwrites it)
D100 400
D101
8
D102
8
• You cannot save data as a new file when you manually transfer from the
device/PLC to the CF Card or USB storage device. Data can only be
overwritten in the selected file from the Special Data Display [Data
Transmission].
• To overwrite existing Device/PLC data in a CSV file, you can select [All
Files] or [Overwrite Data Only]. The [ Overwrite Data Only ] option
overwrites dates and values only and leaves other data unchanged.
GP-Pro EX Reference Manual
24-18
Transferring CSV Data Recipes Using Touch
24.4.2
Setup Procedure
• Please refer to the Settings Guide for details.
)"24.10.1 Common [Recipe] Setup Guide
)
„ Transfer CSV Data (Condition)"
(page 24-57)
"24.10.2 [Special Data Display] Settings Guide „ Data Transmission" (page 2474)
• For details of the part placement method and the address, shape, color, and
label setting method, refer to the "Part Editing Procedure".
)"8.6.1 Editing Parts" (page 8-52)
On the GP screen's Special Data Display [Data Transmission], set the options for transferring
CSV data by touch.
1 From the [Common Settings (R)] menu, point to [Recipe (R)] and select [Transfer CSV Data
(Condition) (T)] command, or click
appears.
from the toolbar. The following window screen
2 Select the [Transfer CSV Data] check box, and define the [Action Mode] as [Condition
Action], and [Write Mode] as [All Files].
GP-Pro EX Reference Manual
24-19
Transferring CSV Data Recipes Using Touch
3 In [Condition], click [New]. The [CSV Data Transfer Condition] dialog box appears.
4 Enter the [Condition Number] and [Condition Name].
5 In the [Destination Word Address] field, set the start address for the destination device/PLC
address (D100) and then set the [Number of Data Items], [Data Type], and [Bit Length].
6 Designate the [Start] and [End] of the recipe file.
Files "ZR00000.csv" to
"ZR00010.csv" are transferred
according to the condition.
GP-Pro EX Reference Manual
24-20
Transferring CSV Data Recipes Using Touch
7 Click [OK].
The condition appears in the [Condition] list.
Create as many conditions as required.
8 Go to the screen editor. From the [Parts (P)] menu, point to [Special Data Display (P)] and
select [Data Transmission (D)] or click
GP-Pro EX Reference Manual
from the toolbar. Place the Part on the screen.
24-21
Transferring CSV Data Recipes Using Touch
9 Double-click the new Special Data Display. The settings dialog box appears.
10 Select the [Display] tab. Set the [Font] and [Display Format].
11 Select the [Color] tab and set the text and background color.
GP-Pro EX Reference Manual
24-22
Transferring CSV Data Recipes Using Touch
12 Select the [Switch] tab and select the operation switches you want to place.
Set the number of rows that a scroll switch moves when pressed.
Select the shapes, label and text color, and click [OK].
The Special Data Display Part [Data Transmission] is now configured. You can move the
switches to the appropriate locations.
• If you want to display CSV data on the GP screen, place a Special Data
Display [Show CSV].
)"24.6 Displaying/Editing CSV data on the Screen" (page 24-31)
GP-Pro EX Reference Manual
24-23
Transferring CSV Data Recipes Using Touch
24.4.3
Transfer Process
Display the file number from the CF Card or USB storage device and the condition name on
the display unit using a Special Data Display [Data Transmission].
1 Select the file to transfer by touching it.
You can select multiple files from the displayed list.
• If you touch a scroll switch while a file is selected, the displayed page
changes and the selection cancels. Transfer selected files before you scroll.
2 Touch the CF Card/USB→Device/PLC or Device/PLC → CF Card/USB transfer switch.
Each file number is transferred according to a previously set condition.
3
00000
1 00001
00002
2 00003
Bread
Butter Roll
Croissant
French Bread
Touch to select.
Touch a second time
to cancel the selection.
CF->
Transfer CF/USB→ device/PLC.
->CF
Transfer device/PLC→CF/USB.
UP
Scroll screen up.
DOWN
Scroll screen down.
DISP
Displays the selected file in the Special Data
Display [Show CSV].
• When transferring data from the device/PLC→CF/USB, if Write Mode is set
to [All Files], all data on the CF Card or USB Storage will be overwritten. In
such cases, the Condition Name of the file is overwritten with the Condition
Name defined in the Condition settings.
• If you have selected multiple files, the transfer occurs in order starting with
the smallest file number.
• In the Special Data Display [Data Transmission], CSV files appear in the
order they were created. You cannot sort by File Number or timestamp.
If both a Special Data Display [Data Transmission] and [Show CSV] are placed on the same
screen and you select a file and press the display switch, CSV Data Recipes appear in the
[Show CSV].
[Data Transmission]
[Show CSV]
[Data Transmission]
Choose the file, touch the
display switch and...
GP-Pro EX Reference Manual
The selected file data appears
in the [Show CSV].
24-24
[Show CSV]
Data can be edited.
Transferring CSV Data Recipes Using Touch
• If you select multiple files and touch the display switch, the file with the
smallest file number displays.
• If you set up the Special Data Display [Show CSV] to allow editing of data,
you can edit the displayed data by touch. Use this feature when you want to
edit CSV data in a CF Card or USB storage on the screen and write to the
device/PLC.
• You can use a Special Data Display [File Manager] and display/edit it in a
[Show CSV].
)"24.6 Displaying/Editing CSV data on the Screen" (page 24-31)
GP-Pro EX Reference Manual
24-25
Transferring CSV Data Recipes from the Device
24.5
Transferring CSV Data Recipes from the Device
24.5.1
Introduction
When bit 0 of the specified control address is ON, the specified CSV data in the CF Card or
USB storage device is written to the device/PLC following the preset transfer conditions
(such as transfer designation address, number of data).
Control Word
Address
(D50: 00 Bit)
ON
CF-Card
ZR00000.csv
350
5
7
Write CSV data
to the PLC
D100 350
D101
5
D102
7
Also, when bit 1 of the Control Address turns ON, the device/PLC data is read and saved to
the CF Card or USB storage device as new CSV data according to the previously set transfer
conditions (Destination Address, Number of Data Items)
Control Word
Address
(D50: 01 Bit)
ON
CF-Card
ZR00002.csv
200
4
3
PLC's data is saved
as a CSV file
D100 200
D101
4
D102
3
• You can transfer multiple files up to a maximum of 64 at one time.
• You can designate the destination or source address, Number of Data Items,
etc., for each file at transfer time.
)"24.11.2 Control Word Address
GP-Pro EX Reference Manual
24-26
‹ For Address Action" (page 24-96)
Transferring CSV Data Recipes from the Device
24.5.2
Setup Procedure
• Please refer to the Settings Guide for details.
)"24.10.1 Common [Recipe] Setup Guide
„ Transfer CSV Data (Condition)"
(page 24-57)
Configure settings so that when the designated address bit 0 turns ON, the specified CSV
data is transferred according to the set condition.
1 From the [Common Settings (R)] menu, point to [Recipe (R)] and select [Transfer CSV Data
(Condition) (T)] command, or click
appears.
from the toolbar. The following window screen
2 Select the [Transfer CSV Data] check box, and define the [Action Mode] as [Condition
Action], and [Write Mode]as [All Files].
3 Select the [Control Word Address] check box and set the address (D50) used to operate the
transfer from the device/PLC.
• Four consecutive words that include the specified address are used.
GP-Pro EX Reference Manual
24-27
Transferring CSV Data Recipes from the Device
4 In [Condition], click [New]. The [CSV Data Transfer Condition] dialog box appears.
5 Enter the [Condition Number] and [Condition Name].
6 In the [Destination Word Address] field, set the start address for the destination device/PLC
address (D100) and then set the [Number of Data Items], [Data Type], and [Bit Length].
7 Designate the [Start] and [End] of the recipe file.
Files "ZR00000.csv" to
"ZR00010.csv" are transferred
according to the condition.
GP-Pro EX Reference Manual
24-28
Transferring CSV Data Recipes from the Device
8 Click [OK].
The condition appears in the [Condition] list.
Create as many conditions as required.
• If you set the [Condition Name Search Feature] and enter a condition name
to search for, the CSV files with that condition name are found and
transferred.
)"24.11.3 About Condition Name Search Feature" (page 24-101)
• When using automatic transfer from device/PLC→CF/USB, you can
automatically assign the file numbers and create new CSV files or USB
storage.
)"24.11.4 About Automatic Numbering" (page 24-107)
• To overwrite existing Device/PLC data in a CSV file, you can select [All
Files] or [Overwrite Data Only]. The [ Overwrite Data Only ] option
overwrites dates and values only and leaves other data unchanged.
GP-Pro EX Reference Manual
24-29
Transferring CSV Data Recipes from the Device
24.5.3
Transfer Process
Transfer CF/USB to Device/PLC
Transfer a single recipe file "ZR00000.csv" to a device/PLC.
D50
Control
D51
Status
D52
Number of Files
<- "1"
D53
File Number 1
<- "0"
1 In D52, store the number of CSV files to transfer "1".
2 In D53, store the File Number "0".
3 Turn ON D50’s bit 0. According to the settings of Condition Number 0, data transfers into 6
words, D100 to D105.
During the data transfer, D51 (Status address)’s bit 0 (Transferring Bit) turns ON.
4 When all files have completed transfer normally, D51’s bit 0 turns OFF, and bit 1 (Transfer
Complete Flag) turns ON.
Turn OFF D50’s bit 0.
Transfer Device/PLC→ CF/USB
Save 6 words of data, D100 to D105, to the CF Card as "ZR00002.csv".
D50
Control
D51
Status
D52
Number of Files
<- "1"
D53
File Number 1
<- "2"
1 In D52, store the number of CSV files to transfer "1".
2 In D53, store the File Number "2".
3 Turn ON D50’s bit 1. According to the settings of Condition Number 0, data from 6 words,
D100 to D105, are transferred as "ZR00002.".
During the data transfer, D51 (Status address)’s bit 0 (Transferring Bit) turns ON.
4 When all files have completed transfer normally, D51’s bit 0 turns OFF, and bit 1 (Transfer
Complete Flag) turns ON.
Turn OFF D50’s bit 1.
GP-Pro EX Reference Manual
24-30
Displaying/Editing CSV data on the Screen
24.6
Displaying/Editing CSV data on the Screen
24.6.1
Introduction
You can use a CSV Display or File Manager Special Data Displays to view data on the
display unit that is stored on the CF Card or USB storage device.
Displays the CF Card's CSV data on the GP screen.
File Manager
Show CSV
1
2
1 :DATE
2005/04/30
2 :GROUP No. 1
3 :GROUP NAME Butter Roll
4 ITEM NAME VALUE
400
8
8
16
..
<DIR>
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
Display
ZR00003.CSV
ZR00004.CSV
Delete
ZR00005.CSV
Date/Time: 02/09/11 09:24
Size: 112 bytes
CF-Card
1
2
1 :DATE
2005/04/30
2 :GROUP No. 1
3 :GROUP NAME Butter Roll
4 ITEM NAME VALUE
400
8
8
16
..
<DIR>
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
Display
ZR00003.CSV
ZR00004.CSV
Delete
ZR00005.CSV
Date/Time: 02/09/11 09:24
Size: 112 bytes
UP
DN
LF
RT
PRN
UP
DN
LF
RT
PRN
Beep
Displays CSV
file contents
Touch the Special Data
Display [File Manager]'s
display switch and...
You can edit data that displays on the screen by touching it.
Also, you can print data to a printer that's connected to the GP unit.
Edit CSV data on the screen.
150
ESC
..
<DIR>
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
Display
ZR00003.CSV
ZR00004.CSV
Delete
ZR00005.CSV
Date/Time: 02/09/11 09:24
Size: 112 bytes
CF-Card
1
2
1 :DATE
2005/04/30
2 :GROUP No. 1
3 :GROUP NAME Butter Roll
4 ITEM NAME VALUE
400
8
8
16
!
”
#
$
‘
(
)
%
&
=
DEL
1
2
3
4
5
6
7
8
9
0
+
-
*
Q
W
E
R
T
Y
U
I
O
P
@
~
[
BS
]
A
S
D
F
G
H
J
K
L
;
:
^
|
CLR
CA
PS
Z
X
C
V
B
N
M
,
.
‘
\
{
?
<
>
/
UP
DN
LF
RT
PRN
Beep
FEP
Cancel
Space
_
}
ENT
Beep
Touch the cell you want to
edit on the Special Data
Display [Show CSV] and...
The editing screen is
displayed
Print CSV data from a printer that's connected to the GP unit.
..
<DIR>
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
Display
ZR00003.CSV
ZR00004.CSV
Delete
ZR00005.CSV
Date/Time: 02/09/11 09:24
Size: 112 bytes
1
2
1 :DATE
2005/04/30
2 :GROUP No. 1
3 :GROUP NAME Butter Roll
4 ITEM NAME VALUE
400
8
8
16
UP
DN
LF
RT
Beep
PRN
CF-Card
Touch the print switch on
the [Show CSV] and...
GP-Pro EX Reference Manual
24-31
CSV data is printed.
Displaying/Editing CSV data on the Screen
24.6.2
Setup Procedure
• Please refer to the Settings Guide for details.
)"24.10.2 [Special Data Display] Settings Guide „ File Manager" (page 24-88)
)"24.10.2 [Special Data Display] Settings Guide „ CSV Display" (page 24-83)
• For details of the part placement method and the address, shape, color, and
label setting method, refer to the "Part Editing Procedure".
)"8.6.1 Editing Parts" (page 8-52)
Configures the settings to display, edit, and print CSV data stored on the CF Card.
1 From the [Parts (P)] menu, point to [Special Data Display (P)] and select [File Manager (M)].
Place the Part on the screen.
GP-Pro EX Reference Manual
24-32
Displaying/Editing CSV data on the Screen
2 Double-click the new Special Data Display [File Manager]. The settings dialog box appears.
3 In [Action Mode], select [File Operation]. In [Target Data], select [CF].
• To display the data in a USB storage device, from [Target Data], select [CF
<--> USB storage].
4 Click the [Switch] tab. Under [Switch Layout], select the [Display] check box. Select the
shape, label and text color. Click [OK].
GP-Pro EX Reference Manual
24-33
Displaying/Editing CSV data on the Screen
5 Special Data Display Part [File Manager] is now configured. You can move the switches to
the appropriate locations.
6 On the same screen as the [File Manager], from the [Parts (P)] menu, point to [Special Data
Display (P)] and select [Show CSV (C)]. Place the [Show CSV] on the screen.
GP-Pro EX Reference Manual
24-34
Displaying/Editing CSV data on the Screen
7 Double-click the placed Special Data Display [Show CSV]. The following dialog box
appears.
8 Select the [Edit Data] check box.
9 Click the [Display] tab. In [Font] set the [Font Type] and [Size].
Select the [Show Column] check box, if necessary.
GP-Pro EX Reference Manual
24-35
Displaying/Editing CSV data on the Screen
10 Click the [Color] tab. Set the text color and background color.
11 Click the [Switch] tab. Select the check boxes for any necessary scroll or print switches for
the Show CSV. Set the number of rows or columns that a scroll switch moves when pressed.
Select the shapes, label and text color. Click [OK].
Special Data Display Part [Show CSV] is now configured. Move the switches to the desired
locations.
GP-Pro EX Reference Manual
24-36
Displaying/Editing CSV data on the Screen
24.6.3
Operating Procedure
„ Displaying CSV Data
To display data in a Special Data Display [Show CSV], you need a Special Data Display
[File Manager] to select files to display.
• A Special Data Display [File Manager] appears using a Special Window or
Local Window. If the maximum number of windows already display, the File
Manager does not appear. Close another window and touch the [File
Manager] display switch again.
)"12.8 Restrictions for Windows" (page 12-29)
• The CSV data on the USB storage device is operated from the CF ←→USB
storage device [File Manager].
The following display method is intended for CSV data on a CF Card.
1 Touch the File Manager Display Switch to call up [File Manager] on the GP screen.
File Manager
Show CSV
Show CSV
1
2
1 :DATE
2005/04/30
2 :GROUP No. 1
3 :GROUP NAME Butter Roll
4 ITEM NAME VALUE
400
8
8
16
..
<DIR>
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
DISP
ZR00003.CSV
ZR00004.CSV
DEL
ZR00005.CSV
Time: 02/09/11 09:24
Size: 112 bytes
UP
DN
LF
RT
PRN
1
2
1 :DATE
2005/04/30
2 :GROUP No. 1
3 :GROUP NAME Butter Roll
4 ITEM NAME VALUE
400
8
8
16
UP
DN
LF
RT
PRN
Beep
When the switch is pressed again, the [File Manager] window closes.
The contents of the CF Card's root folder display.
Closes the File Manager.
Previous Page
Next Page
Display Area
(7 rows)
Expands folder when folder is
selected.
Displays selected file in [Show CSV]
when file is selected.
Information
Area
Deletes the selected file. You cannot
delete folders.
< DIR > displays to the right of the folder name.
GP-Pro EX Reference Manual
24-37
Displaying/Editing CSV data on the Screen
•
Display Area
Displays the folder names and file names on the CF Card in a list.
The files display in the order in which they were created. It is not possible to sort the files
by file numbers or time stamps.
•
Information Area
When you select a folder, the folder creation date displays. Selecting a file displays the
creation date and size of the file.
2 Select the folder and then touch the [DISP] key to display the folder contents.
Beep
• To navigate to a higher hierarchical folder, select the [ . . DIR] row then
touch the [DISP] key.
3 Select a file, and then touch the [DISP] key to view the file in the [Show CSV] dialog box.
File Manager
Show CSV
File Manager
Show CSV
• In the [File Manager], if you select files that are not CSV files and then touch
the [DISP] key, those files do not appear in the [Show CSV] part.
• If the CF Card is removed or the cover of the CF Card slot is opened while
the CSV file displays, the [Show CSV] dialog box is cleared.
• Switching screens clears the [Show CSV] display.
GP-Pro EX Reference Manual
24-38
Displaying/Editing CSV data on the Screen
You can display all CSV data created with the GP in [Show CSV] dialog box.
Special Data Display Part [Show CSV]
Scroll Up
Scroll Down
Scroll Left
Scroll Right
Print CSV Data
•
•
•
•
You can enter a maximum of 100 characters in each cell.
Each cell displays as text. The display is fixed as left-aligned.
Character Code in the CSV File is Native only (press Shift JIS for Japanese).
The outer borders are 2-dot lines, and the inner borders are 1-dot lines. Twodot spaces are left between the borders that separate the cells and the data in
the cells.
2 dots
2 dots
Date
• The height of the cell is adjusted depending on the font size. The width of
each cell adjusts depending on the text width. When the number of characters
is five or less, the width is set to five characters.
GP-Pro EX Reference Manual
24-39
Displaying/Editing CSV data on the Screen
How to Move File Manager
The screen position of Special Data Display [File Manager] can be changed.
1
1 Touch the top of the [File Manager]
Display.
2 Touch the desired position on the screen
where you want the display to move.
3 The [File Manager] moves to the
specified location.
• If the [File Manager] Display runs off
the screen at a specified position, the
coordinates adjust so that the entire
window displays.
2
GP-Pro EX Reference Manual
24-40
Display
3
Displaying/Editing CSV data on the Screen
„ Editing CSV Data
When the Edit Data feature is set for the Special Data Display [Show CSV], by touching a
displayed cell, the editing screen automatically displays. Touch the keypad on the editing
screen to directly edit the CF Card or USB storage data.
Show CSV
Editing screen
Beep
Touch the [ENT] key after editing data to save the changes and close the editing screen.
• Touching the [CAPS] key allows you to enter lower-case characters.
Touching the [CAPS] key again returns to upper-case input mode. The
[CAPS] key is cleared when the editing screen closes.
• The input text on the editing screen displays with the font set to the CSV
display. You cannot change the display color, position, and size.
GP-Pro EX Reference Manual
24-41
Displaying/Editing CSV data on the Screen
„ Printing CSV Data
Touch the print switch on the Special Data Display [Show CSV] to print the displayed CSV
data.
You can print only the portion in the [Show CSV].
• To print data, you must connect a printer to the GP and then configure the
printer settings.
)"33.3.2 Printer Setup Procedure" (page 33-14)
Print All
Touch [PRN ALL] for all CSV data on the [Show CSV], including the region not displayed
on the screen, to print.
GP Screen Display View
1
2
3
4
1
:DATE
:GROUP No.
:GROUP NAME
ITEM NAME
2
2005/04/30
1
Butter Roll
VALUE
400
8
UP
DN
LF
RT
PRN
ALL
Beep
Print View
+-----------+-------------------+
|:DATE
|2005/04/30 10:30:00|
|:GROUP No. |1
|
|:GROUP NAME| Butter Roll
|
|ITEM NAME |VALUE
|
|
|400
|
|
|8
|
|
|8
|
|
|16
|
|
|310
|
|
|40
|
+-----------+-------------------+
The portion not displayed on the screen
Print-Display
Touch [PRN] to print only the CSV data that displays on the screen.
GP Screen Display View
1
2
3
4
1
:DATE
:GROUP No.
:GROUP NAME
ITEM NAME
2
2005/04/30
1
Butter Roll
VALUE
400
8
UP
DN
LF
RT
Print View
+-----------+-------------------+
|:DATE
|2005/04/30 10:30:00|
|:GROUP No. |1
|
|:GROUP NAME| Butter Roll
|
|ITEM NAME |VALUE
|
|
|400
|
|
|8
|
+-----------+-------------------+
PRN
Beep
GP-Pro EX Reference Manual
The only portion displayed on the screen.
24-42
Creating Filing Data Recipes
24.7
Creating Filing Data Recipes
24.7.1
Introduction
Create filing data recipes in GP-Pro EX.
Created data is sent to internal memory or saved to the CF Card inserted in the display unit
via a screen transfer.
Filing Data
Item Name
[PLC1]D00100
[PLC1]D00101
[PLC1]D00102
[PLC1]D00103
[PLC1]D00104
[PLC1]D00105
Block 0
Bread
350
5
7
12
245
12
Block 1
Butter Roll
400
8
8
16
310
40
Block 2
Croissant
200
4
3
10
120
10
• You can save the recipe data on a CF Card as well as USB storage device.
Transfer Project cannot transfer to a USB storage device placed on the
display unit; you must copy the data to the USB storage device manually.
GP-Pro EX Reference Manual
24-43
Creating Filing Data Recipes
24.7.2
Setup Procedure
• Please refer to the Settings Guide for details.
)"24.10.1 Common [Recipe] Setup Guide
„ Transferring Recipes (Filing Data
List)" (page 24-68)
The following shows the operation procedure for registering new filing data when multiple
folders are not used.
1 From the [Common Settings (R)] menu, point to [Recipe (R)] and select [Transfer Filing
Data (Filing Data List) (D)]. The following window appears.
2 Set the save location for created filing data to [Internal Memory]. Filing data is stored in the
GP internal memory via a screen transfer.
• When you select [CF Card], the CF Card Folder must be set. When you
select [USB storage], the USB Storage Destination Folder must be set. The
recipe in the CF Card Folder can be transferred to the CF Card in the display
unit using the Transfer Project tool. The data in the USB Storage Destination
Folder must be copied to the USB storage device manually. You cannot use
the Transfer Project tool to transfer to the USB storage device.
GP-Pro EX Reference Manual
24-44
Creating Filing Data Recipes
3 Click [Add]. The [Edit Filing Data] dialog box appears.
The number of consecutive addresses set in [Number of Data
Items] display, starting from the address designated in [Storage
Start Address].
Edit Data Area
4 In [Storage Start Address], set the start address of the destination (or source) device/PLC.
The designated contents are set up in the [Edit Data Area].
Designate the filing data's [Display Format], [Bit Length] and [Sign +/-].
• If you touch [Option], you can configure setting to transfer data with the item
name and block number attached to it.
)"24.12.2 Transferring Item Name and Block Number" (page 24-112)
5 In the [Edit Data Area], enter each recipe name and data.
GP-Pro EX Reference Manual
24-45
Creating Filing Data Recipes
6 Click [OK]. The new file is added to the [File List].
Filing data for File Number "0" is now configured.
GP-Pro EX Reference Manual
24-46
Transferring Recipes (Filing Data) Using Manual Transfer
24.8
Transferring Recipes (Filing Data) Using Manual Transfer
24.8.1
Introduction
On the GP, display a list of the filing data (recipes) stored in backup SRAM. Select which
items you want to write to the device/PLC.
Select the recipe name on the screen
and touch the switch to transfer from
SRMA PLC and ...
Filing Display
00000
00001
00002
00003
Bread
Butter Roll
Croissant
French Bread
UP
DOWN
SRAM
->PLC
PLC->
SRAM
Beep
Backup SRAM
Block 0
Bread
350
5
7
12
245
Item Name
[PLC1]D00100
[PLC1]D00101
[PLC1]D00102
[PLC1]D00103
[PLC1]D00104
B
40
8
8
16
31
D100 350
D101
5
D102
7
Writes the selected
block's data to the PLC
Also, device/PLC data overwrites the selected recipes in backup SRAM.
Filing Display
00000
00001
00002
00003
Bread
Butter Roll
Croissant
French Bread
UP
DOWN
SRAM
->PLC
PLC->
SRAM
Select the recipe name on the screen
and touch the switch to transfer from
PLC SRAM and...
Beep
Backup SRAM
Item Name
[PLC1]D00100
[PLC1]D00101
[PLC1]D00102
[PLC1]D00103
[PLC1]D00104
Block 0
Bread
350
5
7
12
245
Block 1
Butter Roll
400
8
8
16
310
D100 400
D101
8
D102
8
PLC's data is read and
overwrites the designated
block..
• When transferring from device/PLC → backup SRAM, you cannot save as a
new recipe. If you do not want to overwrite existing data, create an empty
recipe in advance.
• You cannot edit backup SRAM’s filing data on the GP screen. When
transferring via the internal device, you can edit data stored in the internal
device by using a Data Display part.
GP-Pro EX Reference Manual
24-47
Transferring Recipes (Filing Data) Using Manual Transfer
24.8.2
Setup Procedure
• Please refer to the Settings Guide for details.
)"24.10.1 Common [Recipe] Setup Guide „ Transfer Recipe Data Settings" (page
24-64)
"24.10.2 [Special Data Display] Settings Guide „ Filing Display" (page 24-80)
)
• For details of the part placement method and the address, shape, color, and
label setting method, refer to the "Part Editing Procedure".
)"8.6.1 Editing Parts" (page 8-52)
On the GP screen's Special Data Display [Filing], the following settings show how to
designate and transfer the recipes by touching them.
1 From the [Common Settings (R)] menu, point to [Recipe (R)] and select [Transfer Filing
Data (Mode) (A)] or click
. The following window appears.
2 Select the [Enable Filing Data Feature] check box.
GP-Pro EX Reference Manual
24-48
Transferring Recipes (Filing Data) Using Manual Transfer
3 In [Control Word Address], set the address (D10) to write recipes stored in the display unit
internal memory (or CF Card/USB Storage) to backup SRAM. Two consecutive words are
used, starting from the set address.
In [Write Completion Bit Address], set the address (M100) to confirm that writing to backup
SRAM is complete.
4 Open the screen editor. From the [Parts (P)] menu, point to [Special Data Display (P)] and
select [Filing (F)]. Place the Part on the screen.
5 Double-click the new Special Data Display. The settings dialog box appears.
GP-Pro EX Reference Manual
24-49
Transferring Recipes (Filing Data) Using Manual Transfer
6 In [ID Number], set the number of the Special Data Display [Filing].
• When displaying multiple Special Data Displays [Filing] on the screen, be
sure not to use the same [ID Number].
7 In [File Number], set the file number of the Special Data Display [Filing] you want to
display.
All the item names contained in the file designated here can be displayed in a list and
transferred.
8 Select the [Display] tab. Set the [Font] and [Display Format].
9 Select the [Color] tab and set the text and background color.
GP-Pro EX Reference Manual
24-50
Transferring Recipes (Filing Data) Using Manual Transfer
10 Select the [Switch] tab and select the operation switches you want to place.
Set the number of rows that a scroll switch moves when pressed.
Select the shapes, label and text color. Click [OK].
Special Data Display Part [Filing] is now configured. You can move the switches to the
appropriate locations.
• If you want to save recipes in SRAM to the CF Card or USB Storage, in the
System Settings window, select [Display Unit] and click the [Mode] tab. In the
[Memory Card Settings] area select the [Save Data] check box and define the
[Control Word Address]. The Control Word Address works the same way as
saving Alarm History to a CF card.
) "19.8.3 Structure
GP-Pro EX Reference Manual
„ Control Word Address of Data Save" (page 19-60)
24-51
Transferring Recipes (Filing Data) Using Manual Transfer
24.8.3
Transfer Process
The following shows the process for manual transfer from backup SRAM → device/PLC.
(When multiple folders are not used.)
1 Turn ON bit 0 in address D10. All the filing data recipes stored in internal memory are
transferred to backup SRAM.
• When saving the recipes to the CF Card, turn ON bits 0 and 8. When saving
the recipes to the USB storage device, turn ON bits 0 and 9.
2 When the transfer to backup SRAM has been completed successfully, turn ON the Write
Completed Bit (M100). After confirming the bit is ON, turn OFF D10’s bit 0 and M100.
3 In the Special Data Display [Filing] on the GP screen, the item names of registered blocks in
the designated files inside backup SRAM display in a list.
Touch the recipe you want to transfer.
4 Touch the SRAM → PLC transfer switch.
The selected recipes transfer to the device/PLC.
Special Data Display [Filing]
Bread
Butter Roll
1
UP
DOWN
Croissant
SRAM
2 ->PLC
French Bread
PLC->
SRAM
No. of Display Rows
No. of Display Characters
GP-Pro EX Reference Manual
24-52
Move cursor up
Move cursor down
Transfer from SRAM to Device/PLC
Transfer from Device/PLC to SRAM
Transferring Recipes (Filing Data) Using Automatic Transfer
24.9
Transferring Recipes (Filing Data) Using Automatic
Transfer
24.9.1
Introduction
Transfer recipes between the GP backup SRAM and device/PLC by turning ON the address
used to control transfer.
• Transfer from Backup SRAM → Device/PLC
Designate the file no./block no. to transfer and turn ON the control address bit 0. The
block data or recipe is written to the device/PLC.
Control Word
Address
(D50: 00 Bit)
ON
Backup SRAM
Item Name
[PLC1]D00100
[PLC1]D00101
[PLC1]D00102
[PLC1]D00103
Block 0
Bread
350
5
7
12
B
40
8
8
16
D100 350
D101
5
D102
7
Writes the designated
block's data to the PLC
• Transfer from Device/PLC → Backup SRAM
Designate the recipe to transfer and turn ON the control address bit 0 and bit 8. Data from
the device/PLC is saved to backup SRAM and overwrites the designated recipe.
Control Word
Address
(D50: 00 Bit)
08 Bit)
ON
Backup SRAM
Item Name
[PLC1]D00100
[PLC1]D00101
[PLC1]D00102
[PLC1]D00103
Block 0
Bread
350
5
7
12
Block 1
Butter Roll
400
8
8
16
D100 400
D101
8
D102
8
PLC's data is read and
overwrites the designated
block.
• When you transfer from device/PLC → backup SRAM, you cannot save as a
new recipe. If you do not want to overwrite existing data, create an empty
recipe in advance.
GP-Pro EX Reference Manual
24-53
Transferring Recipes (Filing Data) Using Automatic Transfer
24.9.2
Setup Procedure
• Please refer to the Settings Guide for details.
)"24.10.1 Common [Recipe] Setup Guide „ Transfer Recipe Data Settings" (page
24-64)
Configure settings to designate the file no./block no. and turn ON address D50 bit 0 and
transfer the designated recipe.
1 From the [Common Settings (R)] menu, point to [Recipe (R)] and select [Transfer Filing
Data (Mode) (A)] or click
. The following window appears.
2 Select the [Enable Filing Data Feature] check box.
3 In [Control Word Address], set the address (D10) to write recipes stored in the display unit
internal memory (or CF Card/USB Storage) to backup SRAM. Two consecutive words are
used, starting from the set address.
In [Write Completion Bit Address], set the address (M100) to confirm that writing to backup
SRAM is complete.
GP-Pro EX Reference Manual
24-54
Transferring Recipes (Filing Data) Using Automatic Transfer
4 Select the [Control Transfer from Device/PLC] check box. The transfer settings appear.
5 In [Control Word Address], set the address (D50) that controls the transfer between backup
SRAM and the device/PLC. Three consecutive words are used, starting from the set address.
In [Transfer Complete Flag Address], set the address (M101) used to verify that the transfer
is complete.
The automatic transfer settings are configured.
• If you want to save recipes in SRAM to the CF Card or USB Storage, in the
System Settings window, select [Display Unit] and click the [Mode] tab. In the
[Memory Card Settings] area select the [Save Data] check box and define the
[Control Word Address]. The Control Word Address works the same way as
saving Alarm History to a CF card.
) "19.8.3 Structure
GP-Pro EX Reference Manual
„ Control Word Address of Data Save" (page 19-60)
24-55
Transferring Recipes (Filing Data) Using Automatic Transfer
24.9.3
Transfer Process
Transfer from SRAM to Device/PLC Using One Folder
The following demonstrates how to transfer recipes to the device/PLC.
Transfer
D50
Control
D51
File Number
<- "0"
D52
Block Number
<- "0"
1 Turn ON D10’s bit 0. Filing data recipe stored in internal memory is transferred to backup
SRAM.
• When saving the recipes to the CF Card, turn ON bits 0 and 8. When saving
the recipes to the USB storage device, turn ON bits 0 and 9.
2 When the transfer to backup SRAM has been completed successfully, turn ON the Write
Completed Bit (M100). After confirming the bit is ON, turn OFF D10’s bit 0 and M100.
3 In D51, store the File Number "0".
4 In D52, store the Block (Recipe) Number "0".
5 Turn ON D50’s bit 0. The designated data in backup SRAM is transferred to the PLC.
6 When the transfer completes successfully, the Transfer Complete Flag (M101) turns ON.
After confirming the bit is ON, turn OFF D50’s bit 0 and M101.
Transfer Device/PLC→ SRAM
The following shows the process for reading the device/PLC data and storing it in File
Number "0"/Block Number "1" in backup SRAM.
Transfer
D50
Control
D51
File Number
<- "0"
D52
Block Number
<- "1"
1 In D51, store the File Number "0".
2 In D52, store the Block (Recipe) Number "1" where data that is read from the device/PLC is
stored.
3 Turn ON D50’s bit 0 and bit 8. Device/PLC’s data overwrites block 1.
4 When the transfer completes successfully, the Transfer Complete Flag (M101) turns ON.
After confirming the bit is ON, turn OFF D50’s bit 0, bit 8, and M101.
GP-Pro EX Reference Manual
24-56
Settings Guide
24.10
Settings Guide
24.10.1
Common [Recipe] Setup Guide
„ Transfer CSV Data (Condition)
Configure condition and transfer settings for CSV data.
Setting
Transfer CSV Data
Action Mode
Description
Select whether to use the Transfer CSV Data feature.
Select the CSV data's transfer action.
• When using a Special Data Display [Data Transmission] with manual
transfer. Select [Condition Action].
• Condition Action
The transfer is executed according to the condition set in [Condition],
such as Destination Address or Number of Data Items. You can transfer
multiple CSV data recipes at one time.
• Address Action
The transfer destination and source address is set at transfer time.
Change the address for each file and transfer the CSV data.
Continued
GP-Pro EX Reference Manual
24-57
Settings Guide
Setting
Write Mode
Description
Defines how to handle overwriting data.
• All Files
Overwrites all the contents of existing CSV files. ITEM NAME field
will be blank.
• Overwrite Data Only
Overwrites the Time (:DATE) and the Value (VALUE) in the existing
CSV file. Other items remain unchanged.
• All data from the third row on in the CSV file are deleted.
• When overwriting, the required available space on the CF Card or USB
Storage is at least double the size of the actual CSV file.
Control Word
Address
Set to operate the CSV data transfer from the device/PLC with an
automatic transfer. If selected, also set the address to control the transfer.
The contents of the set address differ depending on the [Action Mode]
settings.
) "24.11.2 Control Word Address" (page 24-93)
Address Action
Condition Action
Control Word Address
Control
Control Word Address
Control
+1
Status
+1
Status
+2
Number of Files (n)
+2
File Number
+3
File Number 1
+3
Mode
+4
File Number 2
+4
Address Mode
+5
Device Code
+6
Address Code
+7
(2 words)
+8
Number of Data
Items
+5
+2+n
File Number n
+9
Reserved Area
(7 words)
+15
Language
Condition Name
Search Feature
Select a language for the Condition Name: [Japanese], languages
supported by [ASCII], Simplified Chinese, Traditional Chinese, Korean,
Cyrillic, and Thai. The Condition Name for the [Data Transmission]
follows this setting.
Continued
When [Action Mode] is set to [Condition Action] and automatic transfer
is used, disable the Condition Name Search feature. The Condition Name
Search feature searches for CSV files by condition name and writes all
matching files from the CF Card/USB to Device/PLC.
) "24.11.3 About Condition Name Search Feature" (page 24-101)
GP-Pro EX Reference Manual
24-58
Settings Guide
Setting
Search Word
Address
Description
When using Condition Name Search, set a word address to store the
search text.
This can be set to either a device/PLC address or GP internal device
address.
The lower 16 words of the address designated here (or 8 words for a 32
bit address) are used, and they store the condition name of the file you
want to transfer. The condition search name can be up to 32 characters.
A file whose condition name matches the stored string is detected in the
CF Card/USB storage and is transferred.
) "24.11.3 About Condition Name Search Feature
‹ Condition Name Search
Storing Methods" (page 24-105)
• The search is only possible when the search string is a perfect match for
the condition name. Avoid using spaces as they can cause errors.
• When data transfer is completed, the status and number of transferred
files displays. The last transferred file numbers are written in the GP
internal device Special Areas LS9200 and LS9201. (The Special Areas
are read-only.)
LS Area
Destination Device/
PLC
Condition
Create
Edit
Copy
Paste
Delete
Duplication Check
LS9200
File Number of last transferred CSV file
LS9201
File Number of last transferred CSV file
When [Action Mode] is [Address Action], select the device/PLC for
transfer.
The contents of registered conditions display in a list.
Creates a new condition. Click to open the [CSV Data Transfer
Condition] dialog box.
Edit the condition selected in the [Condition list]. Click the hyperlink and
the [CSV Data Transfer Condition] dialog box appears.
Copy the condition selected in the [Condition list].
Add the copied condition into the [Condition list].
Delete the condition selected in the [Condition list].
Ensures that the file number settings for the condition are not duplicated.
If file numbers are repeated, data is transferred according to the condition
with the smaller number.
GP-Pro EX Reference Manual
24-59
Settings Guide
‹ [CSV Data Transfer Condition] Dialog Box
Condition Tab
Setting
Description
Condition Number(Group Designate the condition number. The value can be from 0 to 1,023.
Number)
Assign each conditions its own unique number.
Condition Name (Group Condition names can have a maximum of 32 characters. When
Name)
transferring device/PLC to CF/USB, the CSV file condition name is
defined here.
Destination The specified address functions as the destination address (or as the
Word
source address when transferring from the device/PLC to the CF
Address
Card/USB storage device). An internal device address can also be
set.
Number of Set the number of data transfer units from 1 to 10000.
Destination
Data Items
Data Type
Sign +/Bit Length
File
Number
Start/End
Select the data type of the transfer data from [Dec], [Hex], or [Float].
• If [Float] is selected, [Bit Length] is fixed to [32 Bits].
When the [Display Format] is [Dec], specify whether negative
numbers are used.
Choose the bit length from [16 Bit] or [32 Bit].
Set the file range to register as a single condition with file numbers.
The value can be from 0 to 65,535. All the files from [Start] to [End]
become part of the same group.
• Please do not set the same file number to multiple conditions. If file
numbers repeat in several conditions, the files are transferred
according to the condition with the smallest number.
GP-Pro EX Reference Manual
24-60
Settings Guide
Extended
When automatically transferring from the device/PLC to the CF Card or USB storage device,
you can automatically assign file numbers to create new files. This has no effect on automatic
transfers from the CF Card or USB storage to the device/PLC.
Setting
Automatically Assign
File Numbers
Description
Enable this feature when reading data from the device and saving to a CF
Card/USB storage as a CSV file. Numbering occurs until the designated
[End]. After that, data is not transferred. To overwrite existing files and
continue transferring, use [Loop] or [Resume Bit Address].
) "24.11.4 About Automatic Numbering" (page 24-107)
Loop
Resume Bit Address
Full Bit Address
CSV Data Output
Enable the loop action. If enabled, when the File Number reaches the
designated [End], the oldest file is deleted and files are overwritten in
order beginning with [Start] when a new file is created.
Designate whether or not to set a bit address to resume transmission
when the file number has reached the designated [End].
When this bit address is turned ON and after the [Control Word Address]
is turned ON, files are created from the designated [Start].
Confirms that the file number has reached the designated [End]. This bit
address turns ON when File Number reaches the [End].
Defines how to format data when output to a CSV file.
This setting is available only when the [Data Type] in the Condition is set
to [Float].
• Round Off
Sets whether to round off digits. Numbers are truncated if not rounded.
• Digits/Decimal Places
In the [Digits] field, define the number of digits from 1 to 17, which
includes the number of [Decimal Places].
The allowable range for [Decimal Places] should be less than the value
set in [Digits].
GP-Pro EX Reference Manual
24-61
Settings Guide
„ Transferring CSV Data (CSV File List)
Setting
Description
Save in
Select the destination to save from [CF Card] or [USB Storage].
• CF Card
The CF Card Folder needs to be specified. The data in this folder can be
transferred to the CF Card in the GP by transfer project.
• USB storage
The USB Storage Destination Folder needs to be specified. The data in
this folder cannot be transferred to the USB storage that placed by USB
storage.
Listed Items
Select the displayed contents from the [CSV File List].
• Show Detail
Condition Name and Number of Data Items settings display along with
the file name.
• File Name
Only the file name displays.
CSV File List
The CSV File registered in GP-Pro EX displays as a list.
Update Display
Update the contents in [CSV File List].
Add
Register a new file. The file number can be any number from 0 to 65,535
that is not in use.
Edit
Open the [Edit CSV File] dialog box to edit the content and condition of
the file chosen in [CSV File List].
) " ‹ [Edit CSV File] Dialog Box" (page 24-63)
Copy
Copy the file selected in [CSV File List].
Paste
Add the copied file into [CSV File List]. The file number can be any
number from 0 to 65,535 that is not in use.
Continued
GP-Pro EX Reference Manual
24-62
Settings Guide
Setting
Description
Delete
Delete the file selected in [CSV File List].
Search File
Creates and edits the index file.
) "24.11.3 About Condition Name Search Feature ‹ What is Index File?" (page
24-102)
‹ [Edit CSV File] Dialog Box
Setting
Condition Number
(Group Number)
Condition Name
(Group Name)
Number of Data
Items
Edit Data Area
Copy
Paste
Clear
Description
Set the condition no. The value can be from 0 to 1,023.
Set the condition name with a maximum of 32 characters. When a
Special Data Display [Data Transmission] is used, the condition name set
here displays.
Set the number of recipe data from 1 to 10000.
Enter the recipe title and data. The title set here is not transferred to the
device/PLC.
Copies the contents of the currently selected cell.
Pastes the copied contents into the selected cell.
Deletes the contents of the currently selected cell.
GP-Pro EX Reference Manual
24-63
Settings Guide
„ Transfer Recipe Data Settings
Setting
Enable Filing Data
Feature
Enable multiple folders
Preparing
Transfer
(Recipe →
SRAM)
Control
Word
Address
Description
Select to transfer filing data.
Select to create multiple folders.
In the backup SRAM, specify the word address to write the recipe
to. The address bit 0 turns ON and writes data to the backup SRAM.
Use bit 8 and bit 9 to set the transfer operation.
15
9 8 7
Reserved (0)
1 0
Reserved (0)
Mode
Bit 9
0
0
1
1
Bit 8
0
1
0
1
Internal Memory SRAM
CF Card SRAM
USB Storage SRAM
Reserved
0
1
Write to Backup
SRAM
• This address is not turned OFF automatically. After the [Write
Completion Bit Address] turns ON, turn OFF bit 0.
• When using multiple folders, two words are used starting from the
designated address.
Store the folder number (1 - 8999) to write to backup SRAM, then
turn ON bit 0 of the control address. Only one folder can be stored
in backup SRAM.
Control Word Address
+1
Control
Folder Number
Continued
GP-Pro EX Reference Manual
24-64
Settings Guide
Setting
Preparing
Transfer
(Recipe →
SRAM)
Description
Write
Completion
Bit Address
Set the Bit Address to verify when the data write to GP backup
SRAM completes. When recipe data is stored correctly in backup
SRAM, this bit turns ON. After confirming completion, turn OFF
this bit.
• When the recipes cannot be transferred to the backup SRAM, bit 9
of the display unit's internal device LS2032 turns ON.
Control Transfer from
Device/PLC
Control
Transfer
Word
Settings
Address
(SRAM
←→Device/
PLC)
Set to control the filing data transfer by the device/PLC (automatic
transfer).
• For manual transfer, this setting is not required.
Set the word address that controls the transfer between backup
SRAM and the device/PLC. Three consecutive words are used,
starting from the designated address.
Control Word Address
Control
+1
File Number
+2
Block Number
After designating the File Number/Block Number, the transfer starts
when this address' bit 0 turns ON. The transfer destination is set in bit
8.
15
9 8 7
Reserved (0)
1 0
Reserved (0)
[0]→[1] Transfer
Mode
[0] SRAM→PLC
[1] PLC→SRAM
• This address is not turned OFF automatically. After confirming that
the [Transfer Complete Flag Address] is ON, turn OFF bit 0.
Continued
GP-Pro EX Reference Manual
24-65
Settings Guide
Setting
Transfer
Settings
(SRAM
←→Device/
PLC)
Description
Transfer
Complete
Flag
Address
Set the bit address that verifies that the data transfer between
backup SRAM and the PLC is completed. When the transfer
completes successfully, this bit turns ON. After confirming
completion of the transfer, turn OFF this bit.
• If data transmission backup SRAM ←→device/PLC cannot be run,
the GP internal device LS2032 bit 10 turns ON.
Transfer Preparation Timing Chart
When the Control Word Address bit 0 turns ON and filing data is correctly stored in backup
SRAM, the [Write Completion Bit Address] turns ON. After confirming completion, turn
OFF this bit.
Turned OFF manually
Control Address
(Bit 0)
Turned OFF manually
Write Completion
Bit Address
Write
Write to SRAM
If data cannot be transmitted to backup SRAM due to insufficient memory, the internal
device’s (Special Relay Area’s) LS2032 bit 9 is turned ON. To transfer data again, turn OFF
the [Control Word Address]’bit 0 temporarily. Then, after setting the communication cycle
time as either your standard communication cycle time or 150ms (whichever is longer), turn
it ON.
After the communication
cycle time or 150ms passes
(whichever is longer), this
address turns ON.
Control Address
(Bit 0)
Turned OFF manually
Write Completion
Bit Address
Next, after the control
address turns ON, within
150ms this address turns
OFF automatically.
Internal Device
LS2032 (Bit 9)
Write
Write to SRAM
Write Error
GP-Pro EX Reference Manual
24-66
Settings Guide
Automatic Transfer Timing Chart
When the designated [Control Word Address] bit 0 turns ON and filing data is correctly
transferred, the [Transfer Complete Flag Address] turns ON. After confirming completion,
turn OFF this bit.
Turned OFF manually
Control Address
(Bit 0)
Turned OFF manually
Transfer Completion Bit
Address
Data Transfer
Transfer to PLC
If data cannot be transmitted between the PLC and backup SRAM internal device Special
Relay Area LS2032 bit 10 turns ON. To transfer data again, turn OFF the [Control Word
Address]’s bit 0 temporarily. Then, after setting the communication cycle time as either your
standard communication cycle time or 150ms (whichever is longer), turn it ON.
After the communication
cycle time or 150ms passes
(whichever is longer), this
address turns ON.
Control Address
(Bit 0)
Turned OFF
manually
Transfer Completion
Bit Address
Next, after the control
address turns ON, within
150ms this address turns
OFF automatically.
Internal Device
LS2032 (Bit 10)
Data Transfer
Transfer to Device/PLC
Transmission Error
GP-Pro EX Reference Manual
24-67
Settings Guide
„ Transferring Recipes (Filing Data List)
When multiple folders are not used
Setting
Save in
Description
Select to save filing data in [Internal Memory], [CF Card], [USB storage].
• Internal Memory
Save recipe data in the display unit's internal memory using the Transfer
Project tool.
• CF Card
The CF Card Folder needs to be specified. The data in this folder is
transferred to the CF card in the display unit using the Transfer Project
tool.
• USB storage
File List
Update Display
Add
The USB Storage Destination Folder must be specified. The data in this
folder must be manually transferred to the USB storage device. It cannot
be transferred using the Transfer Project tool.
Displays a list of file number and storage start address of the registered
recipes.
Updates the summary that displays in [File List].
Adds the recipes as a new entry. Click to open the [Edit Filing Data] dialog
box.
) " ‹ [Edit Filing Data] Dialog Box" (page 24-70)
Edit
Copy
Paste
Delete
Edit the file selected from [File List].
Copies the file selected in [File List].
Pastes the copied file into a new file in [File List]. The smallest available
file number is allotted to the new file.
Deletes the selected file.
GP-Pro EX Reference Manual
24-68
Settings Guide
When multiple folders are used
If [Enable Multiple Folders] is selected, the [Folder List] displays. From the [Common
Settings (R)] menu, point to [Recipe (R)] and select [Transfer Filing Data (Mode) (A)].
Setting
Folder List
Add
Folder Number
Comment
Edit
Copy
Paste
Delete
Description
Displays a list of registered folder numbers, which is the ∗∗∗∗∗ portion of
the file name "F∗∗∗∗∗.bin".
Creates a new folder to be saved. Click to open the [Add Folder] dialog
box.
Set the folder number (the ***** portion in the file name *****.bin from
1 to 8,999.
Set a folder title of up to a maximum of 30 characters.
Edit the folder number and comment for the selected folder.
Copy the selected folder.
Pastes the copied folder into a new folder in [Folder List].
Deletes the selected folder.
GP-Pro EX Reference Manual
24-69
Settings Guide
‹ [Edit Filing Data] Dialog Box
Setting
File Number
Comment
Storage Start
Address
Display Format
Sign +/Bit Length
Blocks
Number of Data
Items
Language
Description
Set the file number. The value can be from 0 to 2,047.
Set a comment of up to 32 characters.
In [Storage Start Address], set the start address of the destination (or
source) device/PLC.
Choose the data display type from [Dec], [BCD], [Hex], or [Float].
• If [Float] is selected, [Bit Length] is fixed to [32 Bits].
Set to allow negative numbers. This can only be set when the [Display
Format] is [Dec].
Choose the data bit length from [16 Bit] or [32 Bit].
Set the number of blocks (recipes) to register in the file. Up to 1,650
blocks can be saved in one file. The number of blocks that can be set
depends on the [Number of Data Items].
Set the number of data per block. The number of data can be a maximum
of 10,000 (or 5,000 when the data is 32 bit). The number of data that can
be set depends on the [Number of Blocks].
Select a language for the Item Name of filing data: [Japanese], languages
supported by [ASCII], Simplified Chinese, Traditional Chinese, Korean,
Cyrillic, and Thai. The Item Names in the [Filing] follow this setting.
Continued
GP-Pro EX Reference Manual
24-70
Settings Guide
Setting
Edit Data Area
Description
In each block, enter the recipe title and data. The range depends on the
[Bit Length] and [Sign +/−].
Bit Length
Data Type
16 Bit
Dec
Copy
Paste
Clear
Option
Input Range
Unchecked
0 to 65535
Checked
−32,768 to 32,767
Hex
—
0 to FFFF(h)
BCD
—
0 to 9999
Dec
32 bit
Sign +/-
Unchecked
0 to 4294967295
Checked
− 2147483648 to
2147483647
Hex
—
0 to FFFFFFFF(h)
BCD
—
0 to 99999999
Float
—
-9.9e16 to 9.9e16
Copy the data from the selected cell.
Paste the copied data into the selected cell.
Delete the data in the selected cell.
Displays the [Preferences] dialog box. Configure settings for transfer.
) "24.12.2 Transferring Item Name and Block Number" (page 24-112)
• Send Item Names
Select whether to transfer the item names when data transfers.
• Send Block Number
Select whether or not to transfer the block numbers when data transfers.
GP-Pro EX Reference Manual
24-71
Settings Guide
24.10.2
Setting
Parts ID
Comment
[Special Data Display] Settings Guide
Description
Parts are automatically assigned an ID number.
Special Data Display ID: SP_∗∗∗∗(4 digits)
The alphabetic portion is fixed. You can change the number part within
the range of 0000-9999.
The comment for each Part can be up to a maximum of 20 characters.
Continued
GP-Pro EX Reference Manual
24-72
Settings Guide
Setting
Display Unit
Description
Select which type to use.
• Data Transmission
Displays the CSV data recipe Condition Names in a list and transfers the
selected recipe from the CF Card /USB storage to the device/PLC.
)" „ Data Transmission" (page 24-74)
• Filing
Displays the recipe filing data in a list on the screen, and transfers the
selected recipe from the display unit backup SRAM to the device/PLC.
)" „ Filing Display" (page 24-80)
• Show CSV *2
Displays the CSV data (e.g., recipe data, alarm history data, sampling
data) saved on the CF Card/USB storage. You can also edit or print the
data.
The [File Manager] and [Data Transmission] display parts are used
together.
)" „ CSV Display" (page 24-83)
• File Manager
The File Manager displays folders and files saved in the CF Card /USB
storage on the display unit. You can copy data between the CF Card and
USB storage. You can also select and play movie files stored in the CF
Card or the FTP Server.
)" „ File Manager" (page 24-88)
GP-Pro EX Reference Manual
24-73
Settings Guide
„ Data Transmission
Displays a list of the recipe data (CSV data) condition names on the display unit. Transfers
the selected data between the CF Card/USB storage and the device/PLC.
‹ Basic Settings
Setting
Transfer Status
Transfer Status
Address
Description
Select an address to verify the transfer state and result status during the
transfer.
Set the address where the transfer status and result are stored.
15
Transfer Status
Address
12 11
2
1
0
Reserved (0)
Transferring
Error Status
Transfer
Completed
Error Codes (Results reflected in the error status bits)
0
1
2
3
4
Completed
Successfully
Reserved
No Transfer
Condition
Number
Internal Device
Range Error
5
No CF Card or
USB Storage
Read Error
6
Write Error
7
CF Card Error/
USB Storage
Error
Transfer completed successfully.
For transfer, the Condition Number that corresponds to
the specified File Number(GROUP NO) does not exist.
In the CF Card/USB storage to device/PLC data
transfer where the start address of the transfer is
specified to the internal device, data transfer was
attempted for an address outside the specified range of
the internal device.
The CF Card/USB storage is not inserted in the GP, or
the CF Card cover is not closed.
The read-out from the CF Card/USB storage failed in
the CF Card/USB storage to device/PLC data transfer.
Data writing failed in the device/PLC to CF Card/USB
storage data transfer, or there is not enough available
space.
The CF Card/USB storage is invalid or the media
inserted is not a CF Card.
Continued
GP-Pro EX Reference Manual
24-74
Settings Guide
Setting
Transfer Status
Address
Description
8
9
10
11
Reserved
Reserved
Reserved
No Condition
12
Write Error
13
Read Error
Without the [Enable Data Transmission Feature]
settings, a CSV file tries to display on the CSV display
from a CF Card/USB storage.
Data writing from CF Card/USB storage data transfer
failed on the PLC.
Data reading from CF Card/USB storage data transfer
failed on the PLC.
Manual Transfer Timing Chart
Touch the transfer switch and the [Transfer Status Address] Transferring bit (bit 0) turns ON.
When a data transfer is completed successfully, the Transferring bit turns OFF and the
Transfer Completion bit (bit 1) turns ON. After confirming that the transfer is finished, turn
the Transfer Complete Flag Address OFF.
The Transferring Bit
(Transfer Status Address)
Turned OFF manually
The Transfer Complete Flag
(Transfer Status Address)
Data Transfer
Data Transmission
• The Transfer Complete Flag (bit 1) is not turned OFF automatically. Turn it
OFF from the device/PLC.
GP-Pro EX Reference Manual
24-75
Settings Guide
‹ Display
Setting
Font Type
Description
Choose a font type for the characters and numeric values from [Standard
Font] or [Stroke Font].
• Standard Font
This is a Bitmap font. Choose the character height and width
magnification ratio. When you magnify/shrink characters, the outline
may become rough or the letter may appear compressed.
• Stroke Font
Size
Border
Display Characters
Display Lines
This is an outline font where the ratio of the character height/width is
fixed. The letters will have a smooth outline even if you magnify/shrink
them. However, this font uses more disk space on the GP.
Select a font size for the format of characters and numeric values.
Standard Font: [8 x 8 dots] to [64 x 64 dots] in 8 dot increments. You can
use fixed font sizes [6 x 10 dots], [8 x 13 dots], and [13 x
23 dots] for characters.
Stroke Font: 6 to 127 dots
Select the type of data border.
Set the number of characters to display on each line from 1 to 100.
Set the number of lines to display from 1 to 50.
GP-Pro EX Reference Manual
24-76
Settings Guide
‹ Color
Setting
Display Color
Background Color
Blink
Description
Select a color for the displayed text.
Set the background color.
Select the Part blink and blink speed. You can choose different blink
settings for the [Display Color], and [Background Color].
• There are cases where you can and cannot set Blink depending on the
Display Unit and System Settings' [Color Settings].
)"8.5.1 Setting Colors
„ List of Available Colors" (page 8-42)
‹ Switch
Set the switches attached to the Data Transmission Display.
Setting
Part Shape
Select Shape
Description
Displays the switch shape.
Open the [Select Shape] dialog box to choose the switch shape.
Continued
GP-Pro EX Reference Manual
24-77
Settings Guide
Setting
Switch
Layout
Description
Transfer
from CF/
USB to
Device/
PLC
Transfer
from
Device/
PLC to CF/
USB
Scroll Up
Scroll
Down
Samples
to Scroll
Display.
Font Type
Switch
Label
Display
Language
Text Color
Select
Switch
Label
Select to place a switch to transfer CSV data from CF Card/USB
storage to the device/PLC.
Select to place a switch to transfer CSV data from the device/PLC to the
CF Card/USB storage.
Select to place a switch to scroll up the Data Display.
If you touch this switch while CSV data is selected, the selection
cancels.
Select to place a switch to scroll down the Data Display.
If you touch this switch while CSV data is selected, the selection
cancels.
When the [Scroll Up] and [Scroll Down] switches are placed, designate
how many rows they scroll when pressed. The value can be between 1
and 100.
Select to place a switch to display selected CSV file in the [Show CSV]
Display.
If you touch this switch when multiple CSV files are selected, the top
CSV file displays in the [Show CSV].
Choose the label font for the switches.
Select a language for the label on the switch: [ASCII], [Japanese],
[Chinese (Traditional)], [Chinese (Simplified)], [Korean], [Cyrillic
Alphabet] or [Thai].
Select the font color that will display on the switch labels.
Select the switch that you want to type a label for.
Enter the text that you want to display on the switch selected in [Select
Switch].
Continued
GP-Pro EX Reference Manual
24-78
Settings Guide
Setting
Description
Border
Color
Display
Color
Pattern
Switch
Color
Pattern
Color
Blink
Select a border color for the Switch.
• Some settings cannot be set depending on the part that you chose with
[Select Shape].
Set the switch color.
Select the switch pattern from 9 types.
Select the switch pattern color.
Select whether or not the Part will blink and the blink speed. You can
choose different blink settings for the [Display Color], [Pattern Color],
[Border Color], and [Text Color].
• There are cases where you can and cannot set Blink depending on the
Display Unit and System Settings' [Color Settings].
)"8.5.1 Setting Colors
GP-Pro EX Reference Manual
„ List of Available Colors" (page 8-42)
24-79
Settings Guide
„ Filing Display
Display recipe filing data in a list on the screen and transfer the selected data between the GP
backup SRAM and device/PLC.
‹ Basic Settings
Setting
ID Number
File Number
Via Internal Device
Description
An ID number related to the [Filing] Display and a Switch Lamp [Special
Switch] [File Item Switch]. The value can be between 0 and 255.
When placing two or more [Filing] Displays on one screen, ensure that
this number is unique.
Designate the filing data number to display in the [Filing] Display from 0
to 2,047.
Set to transfer via the internal device when transferring filing data. By
temporarily storing filing data in the internal device, you can use a Data
Display to view and edit data on the GP screen.
) "24.12.3 Manual Transfer Via the Internal Device" (page 24-114)
Storage Start
Address
Transfer Complete
Flag
Inter-PLC Transfer
Complete Bit
Address
Direct Selection
Remember Cursor
Position
• While filing data is transferred between SRAM ανδ the internal device,
the GP internal device Special Relay Area LS2032 bit 11 is turned ON.
When [Via Internal Device] is set, select a start address for data stored
there.
Set to confirm that transfer SRAM ←→device/PLC is complete with a
designated bit.
Set the bit address to confirm that transfer is complete.
• If data transmission cannot be performed, this bit stays OFF, and the
internal device Special Relay Area LS2032 bit 10 turns ON.
To select data to transfer, touch displayed item names. Or, use the up/down
cursor switches to select item names.
Set to save the current cursor position when a screen change occurs.
GP-Pro EX Reference Manual
24-80
Settings Guide
‹ Display
Same as for a Special Data Display [Data Transmission].
)
"24.10.2 [Special Data Display] Settings Guide ‹ Display" (page 24-76)
‹ Color
Same as for a Special Data Display [Data Transmission].
)
"24.10.2 [Special Data Display] Settings Guide ‹ Color" (page 24-77)
‹ Switch
Set the switches attached to the Filing Display.
Setting
Part Shape
Description
Select Shape
Switch
Layout
Transfer
from SRAM
to Device/
PLC
Transfer
from
Device/PLC
to SRAM
Move
Upward
Move
Downward
Rows to
Move
Displays the shape that you chose for the switch with [Select Shape].
Open the [Select Shape] dialog box to choose the switch shape.
Select to place a switch to transfer filing data from backup SRAM to
the device/PLC.
Select to place a switch to transfer filing data from the device/PLC to
backup SRAM.
Select to place a switch to move the cursor up.
Select to place a switch to move the cursor down.
When you place a [Move Upward] or [Move Downward] switch, enter
how many rows to move when pressed. The value can be between 1
and 2,048.
Continued
GP-Pro EX Reference Manual
24-81
Settings Guide
Setting
Description
Font Type
Switch
Label
Display
Language
Text Color
Select
Switch
Label
Border
Color
Display
Color
Pattern
Switch
Color
Pattern
Color
Blink
Choose the label font for the switches.
Select a language for the label on the switch.
Select the font color that will display on the switch labels.
Select the switch that you want to type a label for.
Enter the text that you want to display on the switch selected in [Select
Switch].
Select a border color for the Switch.
• Some settings cannot be set depending on the part that you chose with
[Select Shape].
Set the switch color.
Select the switch pattern from 9 types.
Select the switch pattern color.
Select whether or not the Part will blink and the blink speed. You can
choose different blink settings for the [Display Color], [Pattern Color],
[Border Color], and [Text Color].
• There are cases where you can and cannot set Blink depending on the
Display Unit and System Settings' [Color Settings].
)"8.5.1 Setting Colors
GP-Pro EX Reference Manual
„ List of Available Colors" (page 8-42)
24-82
Settings Guide
„ CSV Display
Displays CSV data (such as recipe data, alarm history data, sampling data) saved on the CF
Card or USB storage. You can also edit or print the data.
The [File Manager] and [Data Transmission] display parts are used together.
‹ Basic Settings
Setting
Edit Data
Interlock
Interlock Address
Touch Enable
Condition
Description
Select to edit data in the CSV Display. If selected, touch the cell to edit;
the editing screen appears.
When [Edit Data] is designated, select whether to use the Interlock feature
(allows data editing only when a condition is satisfied).
If the Interlock feature is enabled, designate the address which will control
whether touch is enabled or disabled. Only when this bit address is in the
same state as the [Touch Enable Condition] can data be edited by touching
it.
When using the Interlock feature, choose the condition which will enable
touch.
• ON
Touch is only enabled when the designated [Interlock Address] is ON.
• OFF
Status Address
Touch is only enabled when the designated [Interlock Address] is OFF.
When editing or printing data, designate whether or not to confirm the
status and error contents with the designated address.
Continued
GP-Pro EX Reference Manual
24-83
Settings Guide
Setting
Status Address
Description
Set the word address to store the current status of data editing and printing.
15
12 11
2
Reserved (0)
Error Status
1
0
Edit Data Outputting
Bit
Printing Bit
Error Codes (Reflected in the error status bits)
0
Completed
Transfer completed successfully.
Successfully
1
Reserved
2
Reserved
3
Reserved
4
No CF Card or
The CF Card/USB storage is not inserted in
USB Storage
the GP, or the CF Card cover is not closed.
5
Read Error
Read-out from the CF Card/USB storage
failed.
6
Write Error
Data writing from CF Card/USB storage
failed, or space is unavailable.
7
CF Card Error/
The CF Card/USB storage device is invalid
USB Storage
or the media inserted is not a CF Card/USB
Error
storage device.
8
Reserved
• Edit Data Outputting Bit
This bit is turned ON when you press the "ENT" key on the CSV data
editing screen. It remains ON while the CSV data is read to the CF Card/
USB storage. While the edited data is output, the cell data cannot be
printed or edited.
• Printing Bit
This bit is turned ON. You cannot edit data or execute other print jobs.
GP-Pro EX Reference Manual
24-84
Settings Guide
‹ Display
Setting
Font Type
Description
Choose a font type for the CSV data.
• Standard Font
This is a Bitmap font. Choose the character height and width
magnification ratio. When you magnify/shrink characters, the outline
may become rough or the letter may appear compressed.
• Stroke Font
Size
Display Language
Show Column
This is an outline font where the ratio of the character height/width is
fixed. The letters will have a smooth outline even if you magnify/shrink
them. However, this font uses more disk space on the GP.
Select a font size for the CSV data.
Standard Font: [8 x 8 dots] to [64 x 64 dots] in 8 dot increments. You can
use fixed font sizes [6 x 10 dots], [8 x 13 dots], and [13 x 23
dots] for characters.
Stroke Font: 6 to 127 dots
Select a language for the CSV data.
Select to display the row number and column number in the [Show CSV].
The column portion cannot be edited or printed.
‹ Color
Setting
Display Color
Background Color
Description
Select a color for the displayed text.
Set the background color.
Continued
GP-Pro EX Reference Manual
24-85
Settings Guide
Setting
Blink
Description
Select the Part blink and blink speed. You can choose different blink
settings for the [Display Color], and [Background Color].
• There are cases where you can and cannot set Blink depending on the
Display Unit and System Settings' [Color Settings].
)"8.5.1 Setting Colors
„ List of Available Colors" (page 8-42)
‹ Switch
Configure settings for the switches (Scroll switches, Print switch) attached to the CSV
Display.
Setting
Part Shape
Description
Select Shape
Switch
Layout
Scroll Up/
Scroll Down/
Scroll Left/
Scroll Right
Samples to
Scroll
Print-All
Print- Display
Displays the shape that you chose for the switch with [Select
Shape].
Open the [Select Shape] dialog box to choose the switch shape.
Select to place switches to scroll the [Show CSV] Display in each
direction.
When selecting a switch to place, set how many rows or columns to
scroll when pressed. The value can be from 1 to 1,000.
Select to place a switch to print all CSV data.
Select to place a switch to print the currently displayed CSV data.
Continued
GP-Pro EX Reference Manual
24-86
Settings Guide
Setting
Description
Font Type
Switch
Label
Display
Language
Text Color
Select Switch
Label
Border Color
Display Color
Pattern
Switch
Color
Pattern Color
Blink
Choose the label font for the switches.
Select a language for the label on the switch.
Select the font color that will display on the switch labels.
Select the switch that you want to type a label for.
Enter the text that you want to display on the switch selected in
[Select Switch].
Select a border color for the Switch.
• Some settings cannot be set depending on the part that you chose
with [Select Shape].
Set the switch color.
Select the switch pattern from 9 types.
Select the switch pattern color.
Select whether or not the Part will blink and the blink speed. You
can choose different blink settings for the [Display Color], [Pattern
Color], [Border Color], and [Text Color].
• There are cases where you can and cannot set Blink depending on
the Display Unit and System Settings' [Color Settings].
)"8.5.1 Setting Colors
GP-Pro EX Reference Manual
24-87
„ List of Available Colors" (page 8-42)
Settings Guide
„ File Manager
The File Manager displays data saved on the CF Card or USB storage device. You can also
copy the data between CF Card and USB storage, and select and play movie files stored on the
CF Card or FTP Server.
• To display an image (JPEG file) in a CF Card, you should place and set the
picture display as well as the file manager.
)" „ CF Image Display" (page 9-43)
• The display unit cannot show JPEG files saved on the USB storage device.
• To play a Movie File stored in the CF Card or the FTP Server, you need to
place and set the Movie Player as well as the File Manager.
)" „ Selecting a Movie at Run Time" (page 26-33)
‹ Basic
Setting
Status Address
Status Address
Description
Set to confirm error information with a set address.
Set the word address to store the error status.
15
12 11
0
Reserved (0)
Error
Status
0->1 Transaction complete
(Only [CF<-->USB storage] is selected)
0->1 Processing
(Only [CF<-->USB storage] is selected)
Error Code (Reflected in the error status)
0
Completed
Transfer completed successfully.
Successfully
1
Reserved
2
Reserved
3
Reserved
4
No CF Card
No CF Card is inserted or the cover
is open.
Continued
GP-Pro EX Reference Manual
24-88
Settings Guide
Setting
Status Address
Description
5
Read Error
6
Write Error
7
CF Card Error
8
9
10
Delete Error
FTP Connection
Error
FTP Login Error
11
FTP Read Error
12
13
14
Reserved
Reserved
USB storage
None
USB storage
Error
15
File
Operation
Target
Data
Reading data from CF Card/USB
storage failed.
Writing data to the CF Card/USB
storage device, possibly due to
insufficient disk space.
CF Card is invalid or the media
inserted is not a CF Card.
Read-only file, or file delete failed
FTP Server not working properly,
or FTP Server does not exist
User Name or Password set in the
FTP Server not correct
Reading file from an FTP server
failed
USB storage is not available.
USB storage cannot be accessed or
the proper device is not inserted.
• CF
Displays folders or files saved in the Saving Data in the CF
Card on the screen
• CF↔USB storage
You can display both CF card and USB storage at the same
time, and copy and move the date between the CF card and
USB storage. Use it when you display the CSV data in USB
storage on the [CSV Display].
Mode
Select
Movie
Selection
Mode
• Single
You can select and play only one movie file stored in the CF
Card or the FTP server.
• Multiple
You can select and play movie files stored in the CF Card or
the FTP server. You can select up to 100 files or folders.
Index Numbers will be allocated in order from "0" just like
Play List files. Playback will start from the Index Number 0.
Target
Data
• CF
You can select data in the CF Card.
• FTP
You can select data in the FTP Server.
• CF/FTP
You can select data in the CF Card or the FTP Server.
GP-Pro EX Reference Manual
24-89
Settings Guide
‹ Switch
Configure the parameters for the Display switch used to call up the [File Manager] Display
from a base screen.
Setting
Part Shape
Description
Select Shape
Switch
Layout
Display
Font Type
Switch
Label
Display
Language
Text Color
Displays the shape that you chose for the switch with [Select Shape].
Open the [Select Shape] dialog box to choose the switch shape.
Designate whether or not to place a switch to display a [File
Manager] Display on the base screen.
Choose the label font for the switches.
Select a language for the label on the switch.
Select the font color that will display on the switch labels.
Label
Enter text for the selected switch.
Border Color Select a border color for the Switch.
Display
Color
Pattern
Switch
Color
• Some settings cannot be set depending on the part that you chose
with [Select Shape].
Set the switch color.
Select the switch pattern from 9 types.
Pattern Color Select the switch pattern color.
Blink
Select the Part blink and blink speed. You can choose different blink
settings for the [Display Color], [Pattern Color], [Border Color], and
[Text Color].
• There are cases where you can and cannot set Blink depending on the
Display Unit and System Settings' [Color Settings].
)"8.5.1 Setting Colors
GP-Pro EX Reference Manual
„ List of Available Colors" (page 8-42)
24-90
Mechanism of Transfer CSV Data Setup
24.11
Mechanism of Transfer CSV Data Setup
24.11.1
How to Transfer CSV Data
The Destination Address and other information is not included in created CSV data. Set the
condition necessary for transfer (Destination Address, Number of Data Items, etc.) separate
from the data.
CF-Card's [FILE] Folder
ZR00000.csv
ZR00001.csv
350
5
7
12
245
12
ZR00001.csv
400
8
8
16
310
40
ZR00011.csv
40
40
180
32
36
190
Condition Example
Collected files to be transferred to the same address are set as a single condition (GROUP).
In the file name [ZR∗∗∗∗∗.csv], ∗∗∗∗∗ represents the file number portion.
Condition
Number
Condition Name
Address
Number of Data
Items
File Number
0
Material 1
D100 -
6
0-9
1
Temp.
D110 -
3
10-19
2
Material 2
D300-
50
20-99
This is the start address for the
transfer destination (or transfer
source.) You can set up either the
address for an external device or
an internal address.
GP-Pro EX Reference Manual
24-91
Designate the range (the start
number to the termination number)
of the files you want to transfer with
the same condition.
Mechanism of Transfer CSV Data Setup
When the ZR00000.csv and ZR00010.csv files are transferred to the device/PLC,
ZR0000.csv is written depending on Condition Number 0, and ZR00010.csv is written
depending on Condition Number 1.
6 words are stored
starting from address
D100
3 words are stored
starting from address
D110
D100
D101
D102
D103
D104
D105
350
5
7
12
245
12
D110
D111
D112
40
40
180
• If the number of data items designated in the condition settings differs from
that of the CSV Data Recipes, the smaller number of data items is
transferred.
• Ensure that the file numbers set in the condition settings ([Start] to [End]) are
not repeated in multiple conditions. If file numbers are repeated in several
conditions, data is transferred according to the condition with the smaller
number.
Condition
Number
Condition Name
File Number
0
Product A
0-3
1
Product B
2-5
The overlapping files ZR00002.CSV
and ZR00003.CSV are transferred
according to Condition Number 0.
• Without using preset condition settings, you can set the condition
(Destination Address, Number of Data Items, etc.) at the time of transfer.
)"24.11.2 Control Word Address
GP-Pro EX Reference Manual
24-92
‹ For Address Action" (page 24-96)
Mechanism of Transfer CSV Data Setup
24.11.2
Control Word Address
This address controls the transfer when automatically transferring CSV data. The address
contents are different when you transfer with the [Condition Action] or with the [Address
Action].
‹ For Condition Action
Set the number of files and the file numbers to transfer. When bit 0 of the [Control Word
Address] turns ON, CSV data from the CF Card/USB storage is written to the device/PLC.
When bit 1 turns ON, device/PLC data is saved to the CF Card/USB storage according to the
[Condition].
A maximum of 64 files can be transferred simultaneously.
Control Word Address
Control
+1
Status
+2
Number of Files (n)
+3
File Number 1
+4
File Number 2
+5
+2+n
•
File Number n
Control
Data transfers depending on the address bit 0 or bit 2 state.
15
3
2
1
0
Reserved (0)
"0"→ "1" transfer (CF/USB→Device/
PLC)
"0"→"1" transfer (Device/PLC→CF/USB)
Condition Name Search Transfer(CF/
USB→Device/PLC only<)
• Ensure that all bits in this address are set to "0" when the GP unit is turned
on.
• Do not turn multiple bits ON at the same time.
• The Condition Name Search transfer can only be run when using the
[Condition Name Search Feature].
)"24.11.3 About Condition Name Search Feature" (page 24-101)
• Select CF Card or USB storage.
When you select USB storage, the Control Word Address is same.
GP-Pro EX Reference Manual
24-93
Mechanism of Transfer CSV Data Setup
•
Status
Transfer state and result is reflected in this address.
15
12 11
2
1
0
Reserved (0)
Transferring
Error Status
Transfer Completed
Error Codes (Reflected in the error status bits)
0
Completed
Transfer completed successfully.
Successfully
1
No File Number
When transferring CF/USB→Device/PLC, the transfer
destination file does not exist.
2
No Transfer
For transfer, the Condition Number that corresponds to the
Condition Number specified File Number(GROUP NO) does not exist.
3
Internal Device
For a CF/USB to device/PLC transfer where the start
Range Error
address of the transfer is specified to the internal device,
data transfer is made to an address outside the specified
range of the internal device.
4
No CF Card or
The CF Card/USB storage is not inserted in the GP, or the
USB Storage
CF Card cover is not closed.
5
Read Error
The read-out from the CF Card/USB storage failed in the
CF Card/USB storage to device/PLC data transfer.
6
Write Error
Data writing failed in the device/PLC to CF Card/USB
storage data transfer, or there is not enough available space.
7
CF Card Error/USB The CF Card/USB storage device is invalid or the media
Storage Error
inserted is not a CF Card/USB storage device.
8
Reserved
9
No Retrieve Text
No CSV file matches the retrieve text.
10 Index File Error
The index file format is incorrect.
•
Number of Files
Specify the number of CSV files to transfer (from 1 to 64).
If this value is not set, data is not transferred when the [Control Word Address] turns ON.
Also, status will not restart.
• File Number 1
Stores the first File Number to transfer.
After that, the desired transfer order is stored by file number.
GP-Pro EX Reference Manual
24-94
Mechanism of Transfer CSV Data Setup
Automatic Transfer (Condition Action) Timing Chart
When the control address bit 0 (or bit 1) turns ON, the Transferring bit (status bit 0) turns
ON.
When a data transfer is completed successfully, the Transferring bit turns OFF, and the
Transfer Complete Flag (status bit 1) turns ON.
When the data transfer is complete, determine the Transfer Complete Flag via the device/
PLC and turn OFF the Control Address bit.
Turning OFF the Control Address bit automatically turns OFF bit 1 (transfer complete) in the
status address.
Control Address
Transferring Bit (status)
Transfer Complete
Flag(status)
Data Transfer
Data Transmission
If the transfer fails, the Transferring Bit turns OFF, and the error code is set in the error status
(status bits 12-15). Before starting the next transfer, clear the Status and Control bits to 0 and
turn on the required Control bit.
Control Address
Transferring Bit (status)
Error Status (status)
Data Transfer
Data Transmission
Data transfer is interrupted.
GP-Pro EX Reference Manual
24-95
Mechanism of Transfer CSV Data Setup
‹ For Address Action
The device code and address code*1 defined when transferring, also defines the transfer
destination (or source) address for each CSV file.
Only one file (1 set of CSV data) can be transferred at a time.
The [Control Word Address] uses 16 consecutive words and designates the data to transfer
and the destination address.
• Even when the control address is 32 bit, the address uses 16 words.
Control Word Address
Control
+1
Status
+2
File Number
+3
Mode
+4
Address Mode
+5
Device Code
+6
Address Code
+7
(2 words)
+8
Number of Data Items
+9
Reserved Area
(7 words)
+15
After setting the file number, mode, device code, address code, and number of data, when the
[Control Word Address] bit 0 turns ON, the designated file number's Recipe (CSV data) is
written to the specified address.
Also, when the [Control Word Address] bit 1 turns ON, the Recipe stored in the device/PLC's
designated address is saved to the CF Card/USB storage.
•
Control
Data is transferred depending on the state of this address' 0 and 1 bits.
15 14
2
1
0
Reserved (0)
"0"→"1" transfer CF/USB→device/PLC.
Delete File
"0"→"1" transfer Device/PLC→CF/USB.
• Ensure that all bits in this address are set to "0" when the GP unit is turned on.
• Do not turn multiple bits ON at the same time.
*1
Each device has a unique Device Code and Address Code. Refer to the "GP-Pro EX
Device Manual" for more information.
If you want to specify the GP Internal Device (LS/USR), set the Address Mode to "1".
Then you can set the Device Code as follows:
LS Device: 0x0000
USR Device: 0x0001
GP-Pro EX Reference Manual
24-96
Mechanism of Transfer CSV Data Setup
•
Status
Transfer state and result is reflected in this address.
15
12 11
2
1
0
Reserved (0)
Transferring
Error Status
Transfer Completed
Error Codes (Reflected in the error status bits)
0
Completed
Transfer completed successfully.
Successfully
1
No File Number
When transferring CF/USB→Device/PLC, the transfer
destination file does not exist.
2
Reserved
3
Internal Device Range For a CF/USB to device/PLC transfer where the start
Error
address of the transfer is specified to the internal device,
data transfer is made to an address outside the specified
range of the internal device.
4
No CF Card or USB
The CF Card/USB storage is not inserted in the GP, or
Storage
the CF Card cover is not closed.
5
Read Error
The read-out from the CF Card/USB storage failed in
the CF Card/USB storage to device/PLC data transfer.
6
Write Error
Data writing failed in the device/PLC to CF Card/USB
storage data transfer, or there is not enough available
space.
7
CF Card Error/USB
The CF Card/USB storage device is invalid or the media
Storage Error
inserted is not a CF Card/USB storage device.
8
Delete Error
File delete failed, or read-only file.
9
Reserved
10 Reserved
•
File
Specify the file number to be transferred.
•
Mode
Set the Recipe data format to allow negative numbers.
15
2
1
0
Reserved (0)
Data Type
0: 16 Bit
1: 32 Bit
Sign +/0: No Sign
1: Has Sign
GP-Pro EX Reference Manual
24-97
Mechanism of Transfer CSV Data Setup
• Address Mode
15
1
0
Reserved (0)
Address Mode
0: Device/PLC
1: Internal Device
•
Device code and address code
Specify the device you want to access with the Device Code. You can also specify the
destination (or source) address with the Address Code.
Device and Address codes differ depending on the device. Refer to the "GP-Pro EX
Device/PLC Manual" for more information. To specify the GP internal device in Address
Mode, use device code 0x0000 for the LS device, and device code 0x0001 for the USR
device.
•
Number of Data Items
Designate the number of data items in the CSV Data Recipe. The maximum number of
data items is 10,000 for 16 bit and 5,000 for 32 bit. If the number of data items exceeds
this limit, the transfer operation will not work.
Automatic Transfer (Address Action) Timing Chart
When the data transfer is completed, status bit 1 (Transfer Complete Flag) turns ON. Turn
OFF the trigger bit after the Transfer Complete Flag is displayed via the device/PLC. Turning
OFF the trigger bit automatically turns OFF Transfer Complete Flag on the status address.
Control Address
Transferring Bit (status)
Transfer Complete
Flag(status)
Data Transfer
GP-Pro EX Reference Manual
Data Transmission
24-98
Mechanism of Transfer CSV Data Setup
‹ Address Action Transfer Example
Writing from the CF Card/USB→Device/PLC
For example, Transferring "ZR00001.csv" (Number of Data Items: 6, Data length: 16 Bit, No
Sign) from the CF Card to the device/PLC address D100.
Control Word Address: D50
D50
Control
D51
Status
D52
File Number
D53
Mode
D54
Address Mode
D55
Device Code
D56
Address Code
D57
(2 words)
D58
Number of Data Items
D59
-
Reserved Area
-
(7 words)
D65
1 Write the transfer file number "1" to D52.
2 Write "0" (16 Bit, No Sign) to D53.
3 Write "0" to D54.
• When the transfer destination is the internal device, write "1".
• For memory link type, set "0".
4
5
6
7
8
Write the transfer destination device "0x0000" (D device) to D55.
Designate the transfer destination address in D56/D57. Write "100" to D56 and "0" to D57.
Write "6" to D58.
Turn ON D50’s bit 0. CSV data is written to addresses D100 to D105.
When the data transfer is completed, turn OFF bit 0 of D51(the [Transferring] bit). Turn ON
the [Transfer Complete Flag] (bit 1).
GP-Pro EX Reference Manual
24-99
Mechanism of Transfer CSV Data Setup
‹ Reading from the Device/PLC→CF/USB
For example, transfer six data items (Data Length: 16 Bit, No Sign) from the device/PLC,
D100 to D105, to the CF Card and create the file ZR00002.csv.
1
2
3
4
5
6
7
Write the file number "2" to be created by transfer to D52.
Write "0" (16 Bit, No Sign) to D53.
Write "0" to D54.
Write the transfer source device "0x0000" (D device) to D55.
Designate the transfer source address in D56/D57. Write "100" to D56 and "0" to D57.
Write "6" to D58.
Turn ON D50’s bit 1. The data from D100 to D105 are read and the file name "ZR00002.csv"
is created in the CF Card [File] folder.
When the data transfer is completed, turn OFF bit 0 of D51(the [Transferring] bit). Turn ON
the [Transfer Complete Flag] (bit 1).
• When transferring from device/PLC to CF/USB, the CSV Data date is set in
the two-digit format.
Delete File
For example, Delete file name "ZR00002.csv" from the CF Card.
1 Write the file number "2" to delete to D52.
2 Turn ON D50 bit 15 (Deletion bit).
When the file deletion is completed, D51 bit 1 (Transfer Complete Flag) turns ON.
GP-Pro EX Reference Manual
24-100
Mechanism of Transfer CSV Data Setup
24.11.3
About Condition Name Search Feature
When transferring from CF/USB→device/PLC, by designating the condition name of the file
you want to transfer, you can search for a matching CSV file within the CF Card/USB
storage [FILE] folder and transfer that data to the device/PLC.
In the following picture, the CSV files that match the product number (condition name) read
from the barcode reader are transferred to the device/PLC.
Search Name
TYPE-A0001
Product No.: TYPE-A0001
Beep
Barcode reader
Set the Condition Name to
search with the barcode, then
turn ON bit 2 of the designated
Control Address and...
CF-Card CF Card's [FILE] Folder
File Name (Condition Name)
ZR00020.csv (TYPE-A0001)
ZR00021.csv (TYPE-A0002)
ZR00022.csv (TYPE-A0003)
ZR00100.csv (TYPE-A0001)
ZR00101.csv (TYPE-A0002)
:
Only matching file data
transfers to the device/PLC.
• The search only detects files whose condition name is an exact match for the
search string. Spaces indicate different file names and can cause errors.
The designated [Search Word Address] uses 16 words, and the condition name to be searched
can be up to 32 characters. After storing the search condition name, turn ON bit 2 of the
[Control Word Address]. The search and transfer to the device/PLC begins. If there are
multiple matching files, the CSV data are transferred in order of file number.
)
" ‹ Control Word Address when Using the Condition Name Search Feature" (page 24-
103)
)
" ‹ Condition Name Search Storing Methods" (page 24-105)
If an index file (ZRINDEX.CSV) exists in the CF Card's [FILE] folder, the search scans the
contents of the index file.
If there is no index file and the [File] folder contains a large number of files, referencing and
searching the condition names of all CSV files may take a long time. For example, if
approximately 1,000 CSV files are searched, the search operation takes approximately one
minute.
• Even if the target file exists in the CF Card [FILE] folder, files whose condition
name is not reflected in the index file can not be detected. Either update or
delete the index file and then transfer the files.
GP-Pro EX Reference Manual
24-101
Mechanism of Transfer CSV Data Setup
‹ What is Index File?
In GP-Pro EX, create CSV data and click Search File. In the [FILE] folder an index file
(ZRINDEX.csv) is created.
When using the Condition Name Search feature, this file is used to speed up the search. The
File Number and Condition Name for the CSV data recipes in GP-Pro EX are written to this
file.
The index file has the following format:
ZRINDEX.CSV
00000, Bread
00001, Butter Roll
00002, Croissant
00003, French bread
00010, Temperature Setting1
00011, Temperature Setting2
00012, TYPE-A0001
00050, TYPE-A0002
00051, TYPE-A0003
00100, TYPE-A0001
00101, TYPE-A0002
File Number
(5 digits)
Condition Name (GROUP NAME)
(Up to 32 characters)
In GP-Pro EX, after you run CSV file operations such as adding, editing, or deleting from the
Recipe [Transfer CSV Data (CSV File List)] command, click [Search File] to update the
index file.
If a CSV file has been created in Excel or by a device/PLC and transferred to the CF card or
USB storage, the index file will not reflect information from those files. Either open the
index file and input the information directly in the file, or add/edit the index file in GP-Pro
EX.
• When editing the index file, do not create any index file errors. Condition
Name Search feature will fail. In such cases, create a new index file or delete
the existing index file before resuming the transfer operation. The index file
can be deleted by using a Special Data Display [File Manager].
(1) A file number is missing.
(2) The file number is not within the range of 0 to 65,535.
(3) The index file is not in CSV file format.
• The index file condition names and file numbers are created by referencing
all the saved files in the [File] folder. It is not created using GP-Pro EX’s
condition settings.
GP-Pro EX Reference Manual
24-102
Mechanism of Transfer CSV Data Setup
‹ Control Word Address when Using the Condition Name Search Feature
After storing the Condition Name to search, turn the [Control Word Address] transfer bit (bit
2) from OFF to ON to: search for CSV files within the CF Card/USB storage and transfer all
CSV files that match the search condition name.
Addresses Used
Control Word Address
Control
+1
•
Status
Control
When bit 2 turns ON, search for the file with the condition name that matches the text
string designated in [Search Word Address], and write the matching CSV data to the PLC.
15
3
2
1
0
Reserved (0)
"0"→ "1" transfer (CF/USB→Device/PLC)
"0"→"1" transfer (Device/PLC→CF/USB)
Condition Name Search transfer (CF/USB→Device/
PLC only)
• Ensure that all bits in this address are set to "0" when the GP unit is turned
on.
• When bit 0 (CF/USB→Device/PLC) and bit 2 (Condition Name Search
transfer) turn ON at the same time, neither operation is performed. Turn ON
only bit 2.
•
Status
Transfer state and result is reflected in this address.
15
12 11
2
1
0
Reserved (0)
Transferring
Error Status
Transfer Completed
Error Codes (Reflected in the error status bits)
0
Completed
Transfer completed successfully.
Successfully
1
No File Number
When transferring CF/USB→Device/PLC, the transfer
destination file does not exist.
2
No Transfer
For transfer, the Condition Number that corresponds to the
Condition Number
specified File Number(GROUP NO) does not exist.
3
Internal Device
For a CF/USB to device/PLC transfer where the start
Range Error
address of the transfer is specified to the internal device,
data transfer is made to an address outside the specified
range of the internal device.
Continued
GP-Pro EX Reference Manual
24-103
Mechanism of Transfer CSV Data Setup
4
5
No CF Card or USB
Storage
Read Error
6
Write Error
7
CF Card Error/USB
Storage Error
Reserved
No Retrieve Text
Index File Error
8
9
10
The CF Card/USB storage is not inserted in the GP, or the
CF Card cover is not closed.
The read-out from the CF Card/USB storage failed in the
CF Card/USB storage to device/PLC data transfer.
Data writing failed in the device/PLC to CF Card/USB
storage data transfer, or there is not enough available space.
The CF Card/USB storage device is invalid or the media
inserted is not a CF Card/USB storage device.
No CSV file matches the retrieve text.
The index file's CSV format is incorrect.
Condition Name Search Transfer Timing Chart
When the control address' bit 2 turns ON, the [Transferring] bit (status bit 0) turns ON.
When a data transfer is completed successfully, the Transferring bit turns OFF, and the
Transfer Complete Flag (status bit 1) turns ON.
When the data transfer is completed, determine the Transfer Complete Flag via the device/
PLC and turn OFF the Control Address' bit. When the trigger is OFF, the [Transfer
Completion] bit turns OFF.
Control Address
(Condition Search
Transferring Bit (status)
Transfer Complete
Flag(status)
Data Transfer
GP-Pro EX Reference Manual
Search and transfer
of CSV files
24-104
Mechanism of Transfer CSV Data Setup
If the transfer fails, the Transferring Bit turns OFF, and the error code is set in the error status
(status bits 12-15). Before starting the next transfer, clear the Status and Control bits to 0 and
turn on the required Control bit.
Control Address
(Condition Name Search and
Transfer Trigger Bit)
Transferring Bit (status)
Error Status (status)
Data Transfer
Search and transfer
of CSV files
Data transfer is interrupted.
• The period during which the Transferring Status Bit is ON includes the time
required for the search of the CSV files. Therefore, do not access the [FILE]
folder in the CF Card/USB storage while the Transferring Bit is on.
‹ Condition Name Search Storing Methods
In the lower 16 words of the designated [Search Word Address], you can store the condition
name according to the Text Data Mode. This can be set to either a device/PLC address or GP
internal device address.
If the specified name is less than 32 characters, write 0 (NULL="0(h)") or a blank space in
the address following the last character. Characters before the address containing 0
(NULL="00(h)") are considered as the condition name for the search.
Condition Name Search can be performed only for Data Modes 1, 2, 4 or 5.
The following are examples of the Text Data Modes.
For example, searching for Condition Name “TYPE−A0001”.
• Text Data Mode 1
(32 Bit Address)
(16 Bit Address)
31
16 15
0
15 8 7 0
Search Word Address ‘T’
‘Y’
‘T’
‘Y’
‘P’
‘E’
+1 ‘-’
+1 ‘P’
‘E’
‘A’
‘0’
‘0’
+2 ‘0’
+2 ‘-’
‘A’
‘1’
‘ ’
‘ ’
+3
+3 ‘0’
‘0’
0
0
0
0
+4 ‘0’
‘1’
+5
0
0
If the Condition Name is not
+7
32 characters long, store 0
+15
("00(h)") in the address
following the final character.
Condition Name is
read until the first 0
("00(h)")
GP-Pro EX Reference Manual
24-105
Mechanism of Transfer CSV Data Setup
• Text Data Mode 2
(16 Bit Address)
15 8 7 0
Search Word Address ‘Y’
‘T’
+1 ‘E’
‘P’
+2 ‘A’
‘-’
+3 ‘0’
‘0’
+4 ‘1’
‘0’
+5
0
0
(32 Bit Address)
31
16 15
0
‘Y’
‘T’
‘E’
‘P’
+1 ‘A’
‘-’
‘0’
‘0’
+2 ‘1’
‘0’
‘ ’
‘ ’
+3
0
0
0
0
+7
+15
• Text Data Mode 4
(16 Bit Address)
15 8 7 0
Search Word Address ‘E’
‘P’
+1 ‘Y’
‘T’
+2 ‘0’
‘0’
+3 ‘A’
‘-’
+4 ‘ ’
‘ ’
+5 ‘1’
‘0’
+6
0
0
(32 Bit Address)
31
16 15
0
‘P’
‘Y’
‘T’
‘E’
+1 ‘0’
‘0’
‘A’
‘-’
+2 ‘ ’
‘ ’
‘1’
‘0’
+3
0
0
0
0
+7
+15
• String Data Mode 5
(16 Bit Address)
15 8 7 0
Search Word Address ‘P’ ‘E’
+1 ‘T’
‘Y’
+2 ‘0’
‘0’
+3 ‘-’
‘A’
+4 ‘ ’
‘ ’
+5 ‘0’
‘1’
+6
0
0
(32 Bit Address)
31
16 15
0
‘P’
‘E’
‘T’
‘Y’
+1 ‘0’
‘0’
‘-’
‘A’
+2 ‘ ’
‘ ’
‘0’
‘1’
+3
0
0
0
0
+7
+15
• You can use a space in the condition name to search, but it can not be in the
last position. Spaces between the last character and 0 are replaced with 0 in
the matching operation.
• If the [Search Word Address]'s top position is 0, the search looks for a file
without a condition name.
GP-Pro EX Reference Manual
24-106
Mechanism of Transfer CSV Data Setup
24.11.4
About Automatic Numbering
When automatically transferring from the device/PLC to the CF Card or USB storage device,
you can automatically allocate file numbers to create new files. To set up this function, open
the [CSV Data Transfer Condition] dialog box and click the [Extended] tab.
The automatic numbering action is as follows:
• The new file name is created by adding +1 to the file number with the most recent time
stamp among existing files on a CF card/USB storage.
• If no free space is left, the file with the oldest time stamp is deleted and a new file is
created by adding +1 to the last saved file number.
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
9:00
10:00
11:00
ZR00001.CSV
ZR00002.CSV
ZR00003.CSV
10:00
11:00
12:00
If files numbered from
"ZR00000.CSV" to "ZR00002.CSV"
exist, "ZR00000.CSV" is deleted to
create "ZR00003.CSV".
• When the file numbers saved to the CF Card/USB storage device are not sequential, the
new file name is created by adding +1 to the file number with the most recent time stamp
among existing files.
ZR00000.CSV
ZR00001.CSV
ZR00003.CSV
9:00
10:00
11:00
ZR00000.CSV
ZR00001.CSV
ZR00003.CSV
ZR00004.CSV
9:00
10:00
11:00
12:00
When the ZR00002.CSV file has
not been saved and the
ZR00003.CSV file is still new, the
application generates
ZR00004.CSV.
• If the file numbers do not conform to time stamps in automatic numbering
mode (when files are overwritten by manual transfer), a new file is created by
increasing the most recent File Number by +1.
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
ZR00003.CSV
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
ZR00003.CSV
10:00
12:00
11:00
9:00
10:00
12:00
13:00
9:00
When files
ZR00000.CSV to
ZR00003.CSV already
exist, ZR00002.CSV
becomes overwritten
with a new file.
• When using automatic numbering, do not use manual transfer and allocate
file numbers (Device/PLC to CF/USB). These files will be overwritten.
Regardless of the timestamp of a manual transfer, files are overwritten, in
order, from the number of the last automatically numbered file plus one.
If the file number reaches the [End], data will not be transferred even if the
[Control Word Address] turns ON. To continue transferring data, use the
[Loop] feature or specify the [Resume Bit Address].
GP-Pro EX Reference Manual
24-107
Mechanism of Transfer CSV Data Setup
• Using the Loop function
When you enable the [Loop] feature, after the [End] is reached, data is overwritten
starting from the [Start] and the transfer continues.
For example, when the Condition are: [Start] = 0, [End] = 4
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
ZR00003.CSV
ZR00004.CSV
9:00
10:00
11:00
12:00
13:00
ZR00000.CSV
ZR00001.CSV
ZR00002.CSV
ZR00003.CSV
ZR00004.CSV
14:00
10:00
11:00
12:00
13:00
When files ZR00000.CSV to
ZR00004.CSV already exist,
ZR00000.CSV becomes
overwritten with a new file.
• When using a Resume Bit Address
When the [End] is reached and the designated [Resume Bit Address] turns ON, then the
next time the [Control Word Address] turns ON. The [Start] file gets overwritten and the
other files after that are overwritten and transferred.
Automatic Numbering Timing Chart
When you create files from [Start] to [End], the [Full Bit Address] turns ON and automatic
transfer ends.
To run automatic transfer again, turn ON the [Resume Bit Address], then turn ON bit 1 of the
[Control Word Address]. Files are overwritten and created in order starting from the [Start].
When the [Resume Bit Address] turns ON, the [Full Bit Address] is turned OFF. Check that
the [Full Bit Address] is turned OFF and turn OFF the [Resume Bit Address].
Full Bit Address (GP →
Device/PLC)
Turned ON manually
Turned OFF manually
Resume Bit Address
Bit Control Address
(bit1)
Turned ON manually
Automatic Transfer
Resumed
• Transfer may not work when files already exist up to the end number in the
CF Card or USB storage. When the GP is turned ON, right after turning ON
bit 1 in the [Control Word Address], the [Full Bit Address] turns ON.
However, if the [Resume Bit Address] is ON, when you turn ON bit 1 in the
[Control Word Address], files are overwritten beginning at the start number.
Before you run the Transfer operation, you should check the file number
stored on the CF card or USB storage, and also check the state of the
[Resume Bit Address].
GP-Pro EX Reference Manual
24-108
Mechanism of Filing Data Transfer
24.12
Mechanism of Filing Data Transfer
24.12.1
Filing Data Structure
Recipe data is managed in folder units.
One folder can hold a maximum of 2,048 files.
One file can handle a maximum of 1,650 blocks (recipes). Data transfer is carried out in
blocks. Also, the maximum number of data items in 1 file is 10,000 or 5,000 when the data is
32 bit.
File Name
Folder 1 (F00001.BIN)
Up to 2,048 files
can be saved in 1
folder.
Item Name
D100
D101
D102
D103
D104
D105
Block 0
Bread
300
5
7
12
245
12
File 0
Block 1
Roll
400
8
8
16
310
40
Block 2
Croissant
200
4
3
10
120
10
File 1
Block 0
Block 1
Block 2
Item Name Temp. Settings 1 Temp. Settings 2 Temp. Settings 3
D110
40
32
0
D111
40
36
0
D112
180
130
0
GP-Pro EX Reference Manual
24-109
Up to 1,650 blocks can
be saved in 1 file.
Up to 10,000 data items
(or 5,000 for 32-bit) can
be saved.
1 Block = 1 Recipe
Mechanism of Filing Data Transfer
• The number of files, blocks, and data that can be set changes depending on
the ratio of each one.
• You can also register files in multiple folders. Up to 8,999 folders can be
registered, but only one folder can be stored in backup SRAM.
Transfer Preparation when using Multiple Folders
Bit 0: ON
+0
+1
Control Address
Folder No.
Internal Memory
Or CF-Card
File 0
"3" is stored.
File 0
File 1
File 0
File 1
Folder 3
File 1
Folder 2
Backup SRAM
Transfer
Preparation
Folder 1
File 0
File 1
Item Name
D100
D101
D102
A B
32 30
20 22
50 40
Folder 3
„ About Backup SRAM
This memory will save data even when the GP unit is OFF.
The backup SRAM user area is used to back up filing data, Alarm History data, Sampling
data, and the internal device (User Area).
The capacity of backup SRAM that can be used by filing data depends on the model of GP
and how much capacity is being used by other data.
Backup SRAM
User Area Capacity
Used by the
system
Operation Log
(Variable length)
Alarm History Data
(Variable length)
Sampling Data
(Variable length)
User area
Internal Device Backup Data
(Variable length)
Used by the
system
GP-Pro EX Reference Manual
Filing Data
(Variable length)
24-110
Mechanism of Filing Data Transfer
The backup SRAM user area has the following usage priorities:
(1) Operation Log data
(2) Alarm History data
(3) Sampled data
(4) Internal Device backup data
(5) Recipe Data
• Data in backup SRAM is erased when:
Screen transfer occurs
The user area is initialized (Offline)
Backup SRAM is initialized (Offline)
• Data stored in backup SRAM can be saved to a CF Card/USB storage
device. To set this option, from the System Settings, select [Display Unit],
select the [Action] tab, then select [Data Storage]. For more information, see
)" ‹ Operation" (page 5-134)
‹ Filing Data Capacity
The maximum storage capacity of filing data per file is the maximum capacity of the backup
SRAM user area. Folder capacity is calculated in the following way, depending on the
number of files, blocks, data, and the bit length.
Calculation
• Usage capacity per file (in bytes)
118 + {(68 + 2
*1
*1
x Number of Data Items) x Number of Blocks}
2 bytes when the data length is 16 bit, 4 bytes when the data
length is 32 bit.
• Usage capacity per folder (in bytes)
4 + the sum of each file's volume
Calculation Example
Function
Description
Blocks
5
Number of Data Items
1000
Data format (bit
length)
16 Bit
For example, folder capacity with only 1 file
[Calculation result]
4 + [118 + {(68 + 2 x 1,000) x 5}] = 10,462 bytes (around 10 KB)
GP-Pro EX Reference Manual
24-111
Mechanism of Filing Data Transfer
24.12.2
Transferring Item Name and Block Number
In the [Edit Filing Data] > [Option], you can configure settings to transfer data with the item
name and block number attached to it.
When transferring both the item name and block number to the device/PLC along with the
data, it is stored with the following structure.
For example, [Storage Start Address] is a 16 bit address, data is 16 bit
Device/PLC
D110
D111
1
Block No.
Item Name
(32 characters)
D126
D127
D128
D129
D130
D131
D132
400
8
8
16
310
40
Data
• The item name's text is stored according to the Text Data Mode settings.*1
• Storage of the item name and data depends on the designated [Storage Start
Address] and [Bit Length].
• The block number is not transferred during a device/PLC→SRAM transfer.
The same applies when transferring via the internal device (Device/PLC →
Internal Device →SRAM).
• When using manual transfer via the internal device, the item name will be
sent between the SRAM and the internal device regardless of settings in the
[Preferences] dialog box.
For example, when only [Send Block Number] is designated
Backup SRAM
Internal Device
Device/PLC
Block No.
Block No.
Block No.
Item Name
Item Name
Data
Data
Data
• When the Item Name is less than 32 characters, spaces are automatically
appended.
• Even when the [Display Format] is set to [BCD], the Block Number are
stored in the device/PLC with binary data.
*1
Text Data Mode settings are configured in the System Settings [Device/PLC].
GP-Pro EX Reference Manual
24-112
Mechanism of Filing Data Transfer
Data Structure when Transferring both Block Number and Item Name
•
When [Storage Start Address] is a 16 bit address (n = Number of Data Items)
(Data length: 16 bit)
Storage Start Address Block No.
+1
Item Name
+16
+17
(Data length: 32 bit)
16 words
Storage Start Address Block No.
+1
Item Name
+16
+17
+18
+19
Data 1
Data
+17+n
•
Data n
+17+(n×2)
16 words
Data 1
No. of Data x 2
Data n
When [Storage Start Address] is a 32 bit address (n = Number of Data Items)
(Data length: 16 bit)
31
16 15
0
Storage Start Address [0] Fixed Block No.
+1
8 words
Item Name
+8
+9
(Data length: 32 bit)
31
16 15
0
Storage Start Address [0] Fixed Block No.
+1
+8
+9
Data 1
[0] Fixed
+8+n
GP-Pro EX Reference Manual
Item Name
Data 1
Data
Data
Data n
24-113
8 words
+8+n
Data n
Mechanism of Filing Data Transfer
24.12.3
Manual Transfer Via the Internal Device
When a Special Data Display [Filing] is set with [Via Internal Device], you can use a Switch
Lamp (select [Special Switch] and point to [File Item Switch]) for the following transfers:
Special Data Display [Filing]
Bread
UP
Butter Roll
Croissant
French Bread
Switch Lamp Part [Special Switch]'s
[File Item Switch]
(The label is an example. Please set
the desired settings.)
A switch which is the same as a
Special Data Display [Filing] can
also be created by selecting a
Switch Lamp Part [Special Switch].
DOWN
SRAM
->PLC
PLC->
SRAM
SRAM
->LS
LS->
SRAM
PLC
->LS
LS->
PLC
Transfer from SRAM to Internal Device
Transfer from Internal Device to SRAM
Transfer from Device/PLC to Internal Device
Transfer from Internal Device to Device/PLC
• A Switch to operate the transfer to and from the internal device can only be
created with a Switch Lamp [Special Switch].
For example, when transferring from SRAM → Internal Device (Start Address: LS20)
→ Device/PLC
(Data length: 16 Bit)
Select the Item Name to transfer, touch the
[SRAM Internal Device] Switch, and the
Item Name and data are written to the
internal device.
Touch the [Internal Device Device/PLC] Switch, and only the
data is written to the device/PLC.
Filing Display
00000
00001
00002
00003
Bread
Butter Roll
Croissant
French Bread
Filing Display
00000
00001
00002
00003
UP
DOWN
SRAM
->PLC
PLC->
SRAM
Beep
Block 0
Item Name
Bread
[PLC1]D00100 350
[PLC1]D00101 5
[PLC1]D00102 7
B
40
8
8
GP-Pro EX Reference Manual
UP
DOWN
SRAM
->PLC
PLC->
SRAM
Beep
Internal Device
Backup SRAM
Bread
Butter Roll
Croissant
French Bread
LS20
to Product
A
LS35
LS36
350
LS37
5
LS38
7
24-114
16 words
Internal Device
LS20
to Product
A
LS35
LS36
350
LS37
5
LS38
7
D100 350
D101
5
D102
7
Mechanism of Filing Data Transfer
Data stored in the internal device can display as required on the GP screen in a Data Display
[Numeric Display]. Use this when you want to want to make small adjustments to the data on
the GP screen before transferring it to the device/PLC.
LS36
LS37
LS38
LS36 300
LS37 5
LS38 7
7
4
1
0
Choose the item name
with the Filing Display
and transfer from SRAM
→ Internal Device.
Internal device data appears
in the Data Display.
Touch the Data Display
and...
▲
▲
LS36 300
LS37 5
LS38 7
8 9
5 6 −
2 3
.
A pop-up keypad
appears. Edit data and
press ENT key.
LS36 300
LS37 5
LS38 10
Transfer from internal
device → PLC
‹ Structure of Filing Data Stored in the Internal Device
When transferring data from backup SRAM → the internal device, the 16 consecutive words
after the designated [Storage Start Address] store the item names, and data are stored after
that.
The item name will be stored according to the Text Data Mode settings.*1
For example, when data is 16 bit:
Internal Device Address
Top Address
+1
+15
+16
Item Name
(32 characters)
Data 1
Data 2
Data
+15+n
Data n
(n = No. of Data Items)
• When data is 32 bit, the used data portion is Number of Data Items x two
words.
*1
Text Data Mode settings are configured in the System Settings [Device/PLC].
GP-Pro EX Reference Manual
24-115
Mechanism of Filing Data Transfer
When transferring data from the internal device → the device/PLC, only data stored in the
internal device are written to designated addresses in the device/PLC.
Backup SRAM
Internal Device
Item Name
Item Name
Data
Data
Device/PLC
Data
• If [Send Item Names] is set when creating data, you can also transfer item
names to the device/PLC.
)"24.12.2 Transferring Item Name and Block Number" (page 24-112)
GP-Pro EX Reference Manual
24-116
Restrictions
24.13
Restrictions
24.13.1
Restrictions on Transferring CSV Data
• The maximum number of data that can be set in one file (ZR*****.csv) is 10,000 (or
5,000 when the data is 32 bit).
• If the number of data is large, transfer may take some time. The time between transfer
start and transfer end can be from several seconds to several minutes.
• While a transfer is occurring, the display of Parts may not update properly or may become
slow. Screen changes and other operations may also be delayed.
• If a screen change occurs during transfer, in order to read the screen information, the
transfer may take some time.
• Wait until a transfer completes before initiating another one. If a transfer is started before
the previous one ends, such as when an automatic transfer and manual transfer occur at
the same time, the second transfer operation may not be accepted.
• Only the selected CF Card or USB storage device will operate.
• If multiple files are stored in the CF Card/USB storage [File] folder, transferring from the
device/PLC to the CF/USB, may take up to several minutes.
• The state of the CF Card/USB storage must be stored on the display unit to use the CSV
data transfer screen. If this state is not stored, the transfer may not work properly.
• When a CF Card/USB storage error occurs, the writing state file may remain on the CF
Card/USB storage device.
• When overwriting, the required available space on the CF Card or USB Storage is at least
double the size of the actual data. If there is more data than available space, a write error
occurs during transfer.To free up space, you can move out data that is not needed
immediately between the CF Card and USB Storage. If the data exceeds the free space, a
write error occurs when it is transferred.
)"A.5 Transferring Data Between a CF Card and a USB Memory Device" (page A-90)
• When transferring data from device/PLC to CF/USB, the [File] folder is created if it does
not already exist. If the CF Card/USB storage is not reset or the folder cannot be created,
a CF Card/USB storage error occurs.
• When you save the existing CSV data in the CF Card/USB Storage, if there is data entered
in the third row or later in the CSV data, it will be deleted.
• The number of times that data can be written on a CF Card is limited. (Approximately
100,000 times for rewriting 500 KB.)
• When saving data in a CF Card, you cannot use a file name or folder name with two-byte
characters. The file name/folder name should be 8 single-byte characters or less.
• To format the CF Card/USB storage on your PC, select FAT or FAT32. If you use NTFS
for formatting, GP does not recognize the CF Card/USB storage.
GP-Pro EX Reference Manual
24-117
Restrictions
• Do not connect more than 1 USB storage. If you do so, the USB devices may not be
recognized properly.
• When using Float, up to 17 digits or 16 decimal places can be read, but an error may occur
after the seventh digit due to floating point limitations.
• When transferring from the CF card or USB storage to the device/PLC, tabs and singlebyte space characters are skipped when read. Furthermore, when there are periods or
commas in comments, there are instances when the data text cannot be read properly.
When there are two or more commas in a single row, data after the second comma is not
read.
„ Precautions for CF Card Handling
• When ejecting a CF Card, make sure that the CF Card access LED lamp turns OFF.
Otherwise, the data on the CF Card may be damaged.
• When accessing a CF Card, be sure not to power OFF or reset the GP, or eject the CF
Card. Create an application screen on which the CF Card cannot be accessed, and on that
application screen, you may power OFF or reset the GP, open and close the CF Card
cover, and eject the CF Card.
• When inserting a CF Card, check the front and back sides and the connector position of
the card. If the CF Card is inserted the wrong way, the data, the CF Card, or the GP may
be damaged.
• Use a CF Card manufactured by Digital Electronics Corporation. If a CF Card
manufactured by another company is used, the contents of the CF Card may be damaged.
• Please make sure to back up all CF Card data.
• Please refrain from doing the following, as it can result in damage to data and equipment:
•Bending the CF Card
•Dropping the CF Card
•Spilling water on the card
•Touching the CF Card's connectors directly
•Disassembling or modifying the CF Card
„ USB Storage Usage Cautions
• While accessing the USB storage device, do not reset the GP insert or remove the USB
storage device. The data on the storage device may be corrupted.
To remove the USB storage device safely, design the system so that the device is removed
after turning ON the System Variable #H_Control_USBDetachTrigger and confirming
that the #H_Status_USBUsing is OFF.
)"A.6.2 HMI system variables (#H system variables)
„ Bit type" (page A-116)
• Please make sure to backup the data on the USB storage device.
GP-Pro EX Reference Manual
24-118
Restrictions
„ Restrictions for Manual Transfer
• First set the Condition on [Recipe] - [Transfer CSV Data (Condition)], then place the
Special Data Display [Data Transmission] on the screen.
• Only one Special Data Display [Data Transmission] can be placed per screen.
• Up to 32 Special Data Display [Data Transmission] can be placed per project.
• When selecting transfer files by touch, multiple files can only be selected from the area
displayed in a Special Data Display [Data Transmission]. (The maximum number of
display rows is 50.) If the displayed page changes with the scroll switch, the selection
cancels.
• If an error occurs while multiple files are being transferred, the transfer of subsequent
files stops.
• When transferring data from the device/PLC to the CF/USB, the data is saved in the file
set in the Special Data Display [Data Transmission]. The Condition Name (Group Name)
is overwritten by the Condition Name set in the Common Settings - Condition area.
• If the number of data designated in the condition settings differs from that in the file, the
smaller number of data are transferred.
• Ensure that the file numbers set in the condition settings ([Start] to [End]) are not repeated
in multiple conditions. If file numbers are repeated in several conditions, data are
transferred according to the condition with the smaller number.
„ Restrictions on Automatic Transfer (Conditional Action)
• A maximum of 64 files can be transferred at one time.
• If an error occurs while multiple files are being transferred, the transfer of subsequent
files is stopped. Transfer occurs in order starting from the top file number storage address.
• If the number of data designated in the condition settings differs from that in the file, the
smaller number of data are transferred.
• Ensure that the file numbers set in the condition settings ([Start] to [End]) are not repeated
in multiple conditions. If file numbers are repeated in several conditions, data are
transferred according to the condition with the smaller number.
• If the number of files is not set, data are transferred even when the [Control Word
Address] turns ON. Also, status will not restart.
• When transferring data from device/PLC to CF/USB, the [File] folder is created if it does
not already exist. If the CF Card/USB storage is not reset or the folder cannot be created,
a CF Card/USB storage error occurs.
GP-Pro EX Reference Manual
24-119
Restrictions
„ Restrictions on Automatic Transfer (Address Action)
• One CSV Data Recipe can be transferred at a time.
• When transferring CSV Data Recipes from CF/USB to device/PLC using a memory link
connection, set the [Address Mode] to "0".
• If the number of data exceeds the set range (10,000 when the data length is 16 bit, 5,000
when it's 32 bit), any excess values are not transferred.
• Ensure that the device code/address code is set correctly. If the device address is out of
range or refers to a non-existent device, a communication error occurs and the screen
freezes.
If a communication error occurs while transferring from device/PLC το CF/USB, correct
the device code/address code. Turn ON bit 1 of the [Control Word Address] again. If the
error occurs while transferring from CF Card /USBto device/PLC, turn the power to the
GP OFF then ON.
• When transferring data from device/PLC to CF/USB, the [File] folder is created if it does
not already exist. If the CF Card/USB storage is not reset or the folder cannot be created,
a CF Card/USB storage error occurs.
GP-Pro EX Reference Manual
24-120
Restrictions
24.13.2
Restrictions on Displaying/Editing/Printing CSV Data
„ Restrictions on Displaying
• Only one Special Data Display [Show CSV] can be placed per screen.
• Only one Special Data Display [File Manager] can be placed per Base Screen. It cannot
be placed on a Window Screen.
• When you place a Special Data Display [Show CSV] on a Window Screen, you cannot
edit the data. The editing screen cannot be triggered.
• You cannot set a Special Data Display [Show CSV] at the same time as a Sampling Data
Display or Data Display (a Numeric Display with [Allow Input] set or a Text Display).
• The Special Data Display [File Manager] cannot be scaled up or down.
• When placing a Special Data Display [File Manager], specify the X coordinate in 4-dot
increments. If you place it in a different position, it will not be displayed in the exact
position it was on the screen in GP-Pro EX because the GP corrects the display position.
• You can display the Special Data Display [File Manager] part using a Special or Local
Window. If the maximum number of windows is already displayed, first close one of the
other windows to display the File Manager.
)"12.8 Restrictions for Windows" (page 12-29)
• To access CSV data in the USB storage device, use the Special Data Display - File
Manager part.
• When a text table changes, the Special Data Display - File Manager is closed.
• If more than one display switch for a Special Data Display - File Manager is set up on a
single screen, only one File Manager functions. Touching another display switch while a
File Manager is already displayed closes the File Manager window currently displayed.
• Files currently displayed on a Special Data Display - Show CSV cannot be deleted with a
Special Data Display - File Manager.
• When updating by transfer from the device/PLC to CF/USB, the displayed CSV file data
is updated and rewritten.
• If the cover of the CF Card slot is open or the USB storage device is removed while CSV
file data is displayed, the display is cleared.
• If the screen changes while CSV data is displayed, the display is cleared.
• There are two valid data formats for CSV data displayed in a Special Data Display [Show
CSV]: data delimited by double quotation marks [""], and data separated by commas [,].
For example, CSV format (Sampling data)
"", "Date", "Time", "Data 0", "Data 1"
"Number1", "01/12/05", "09:00:00",
"123.4", "780"
"Number2", "01/12/05", "10:00:00",
"213.5", "235"
GP-Pro EX Reference Manual
24-121
,Date,Time,Data0,Data1
Number 1, 01/12/05, 09:00:00, 123.4,
780
Number 2, 01/12/05, 10:00:00, 213.5,
235
Restrictions
„ Restrictions for Editing
• The editing screen for a Special Data Display [Show CSV] displays via a Special or Local
Window. If the maximum number of windows already display, the editing screen cannot
be activated. Close another window before editing the data.
)"12.8 Restrictions for Windows" (page 12-29)
• You can edit up to 56 characters in a Special Data Display [CSV Display]. This limit
depends on the model and orientation.
• If you try to save data to the CF Card or USB storage device during an edit operation, a
write error will occur. Data cannot be saved while editing.
• If data are changed during editing, a CF write error occurs and is stored in the [Status
Address]. The displayed data are not updated.
• When a text table changes, the editing screen will be automatically closed.
• Even when the [Interlock Address]’s state matches the [Touch Enable Condition] during
editing, editing can be performed. However, if editing is attempted again, the screen will
not enter Edit mode because the Interlock feature is enabled.
• Numeric values displayed on a Special Data Display [Show CSV] are displayed as text.
Therefore, the inputs are edited regardless of properties such as the number of display
digits, data length, and data type.
• While the edited data is being output to a CSV file, printing and editing modes are
disabled. Also, the system cannot be moved to off-line mode.
• Regardless of the Show Column settings, the column portion cannot be edited.
• When editing data, a temporary file is created on the CF Card/USB storage device
equivalent to the size of the file being edited. You cannot edit a file unless free space the
size of the file or larger is available on the CF Card/USB storage device.
When editing data, the internal processing updates the file in the following way:
For example, when editing "ZR0001.CSV"
(1) After editing and pressing the [ENT] key, a temporary file (a file that reflects
the editing results), "_CSV$$_0.TMP" is created.
(2) The original file name is changed from "ZR00001.CSV" to "_CSV$$_1.TMP"
(3) "_CSV$$_0.TMP" is changed to "ZR00001.CSV"
(4) "_CSV$$_1.TMP" is deleted.
If the power turns OFF during editing or if editing fails, temporary files may remain on
the CF Card/USB storage.
• When a Special Data Display [Show CSV] is rotated by 90 or 180 degrees, the editing
screen characters are not displayed properly. To place a rotated [Show CSV], set rotation
to 0 or 270 degrees.
GP-Pro EX Reference Manual
24-122
Restrictions
„ Restrictions for Printing
• The horizontal lines are not printed.
• Any portion that exceeds an A4 width is not printed. The number of characters that can be
printed on one line depends on the printer.
• Up to 160 characters can be printed in a single line. Any text exceeding 160 characters is
cut off.
• Regardless of the Show Column settings, the column portion will not be printed.
• When printing only the displayed portion, if the data in the right most cell extends beyond
the screen and is cut off on the Show CSV Display, that portion is also cut off on the
printout.
• While printing, you cannot edit data or execute other print jobs. Also, the system cannot
be switched to off-line mode.
GP-Pro EX Reference Manual
24-123
Restrictions
24.13.3
Restrictions on Transferring Filing Data
• Up to 8,999 folders can be registered. However, only one folder can be stored in backup
SRAM.
• The size of one folder can be up to the same size as the total capacity of the backup
SRAM when only recipes are stored.
Even when filing data is stored on a CF Card/USB storage device, regardless of the CF
Card/USB storage memory capacity, one folder must have a capacity equal to the backup
SRAMÅfs maximum capacity.
• Up to 2,048 files can be set in one folder.
• Up to 1,650 blocks can be saved in one file. (The maximum number changes depending
on the Number of Files and Number of Data Items.)
• The maximum amount of data in one block is 10,000 for 16-bit data, or 5,000 for 32-bit
data. The maximum limit depends on the number of files and number of blocks.
• The more data transferred to the device/PLC, the more time it takes to complete the write
operation. The time from when transfer starts to when transfer is complete can vary from
several seconds to several minutes.
• While writing to a device/PLC, the display of Parts may not update properly or may
become slow. Screen changes and other operations may also slow down.
• If a screen change occurs during transfer, in order to read the screen information, it may
take some time to write to the device/PLC.
• Wait until a transfer completes before initiating another one. If a transfer is started before
the previous one ends, such as when an automatic transfer and manual transfer occur at
the same time, the second transfer operation may not be accepted.
• Data in backup SRAM is erased when:
• Screen transfer occurs
• Memory is reset (Offline)
• Backup SRAM is initialized (Offline)
• When placing multiple Special Data Displays [Filing] on one screen, do not use the same
[ID Number] for multiple Displays.
• You cannot move the generated Recipe data to a different project for editing.
• Recipe data generated in the CF Card or USB Storage Designation Folder cannot be used
in other projects.
GP-Pro EX Reference Manual
24-124