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

FA Application Package

iQ Monozukuri POKAYOKE

[Issue No.] BCN-E2113-0005-A


[Title] Sample Program/Screen Information
[Date of Issue] Aug-17
[Product Model] AP10-PKY002AA-M□
Thank you for purchasing the Mitsubishi Electric FA Application Package.
This technical bulletin introduces the sample programs and sample screens that have been created.

To utilize these samples introduced in this technical bulletin for an actual system, sufficiently
CAUTION confirm that the samples will not cause system control problems on user's own responsibility.

Contents

1. Barcode Reading Function


1.1 Description....................................................................................................................................... 1 - 1
1.2 How to install the program ............................................................................................................... 1 - 1
1.3 Program specification ...................................................................................................................... 1 - 4

2. Plan Operation Function


2.1 Description....................................................................................................................................... 2 - 1
2.2 How to install programs and screens............................................................................................... 2 - 2
2.3 Plan operation start procedure ........................................................................................................ 2 - 8
2.4 Process Display screen (B-10002) .................................................................................................. 2 - 9
2.5 Plan Progress screen (B-10003) ................................................................................................... 2 - 10
2.6 Register Plan screen (B-10004) .................................................................................................... 2 - 11

3. Sub GOT Screen


3.1 Description....................................................................................................................................... 3 - 1
3.2 How to install ................................................................................................................................... 3 - 2
3.3 How to change the script ................................................................................................................. 3 - 2
3.4 Changing the controller settings ...................................................................................................... 3 - 4
3.5 Main screen ..................................................................................................................................... 3 - 6
3.6 Process Display screen ................................................................................................................... 3 - 8
3.7 Check screen................................................................................................................................. 3 - 10

4. TROUBLESHOOTING
4.1 Troubleshooting related to the barcode reader................................................................................ 4 - 1
4.2 Troubleshooting related to the sub GOT ......................................................................................... 4 - 1

A-1
1. Barcode Reading Function
This is a sample program that adds functionality to the POKAYOKE system to perform barcode reading using the bar-
code reader.
In this sample program, "external interface" and "devices disclosed to users" of the POKAYOKE application are used.

POINT
For details of the external interface and devices disclosed to users, refer to the following.
iQ Monozukuri POKAYOKE Technical Bulletin (BCN-E2113-0008)
External Interface/Devices Disclosed to Users Information

1.1 Description
This function allows a user to enter codes using the barcode reader connected to the POKAYOKE system to read codes
that have been registered in the POKAYOKE system.

POINT
For the corresponding codes, refer to the following.
iQ Monozukuri POKAYOKE Technical Bulletin (BCN-E2113-0008)
External Interface/Devices Disclosed to Users Information

1.2 How to install the program


How to install the sample barcode program is shown below.

1. Open the sample program "AP10-PKY002AA-L06_SA_*.****.gxw"*1 in GX Works2.


*1 "*" indicates the version.

2. Select [POU] → [Program] → [PRG_BCIN] in the Navigation window, and then select [Copy] from the right-click
menu.

1-1
3. Open "AP10-PKY002AA-L06_*.****.gxw"*1 in GX Works2.
*1 "*" indicates the version.

4. Select [POU] → [Program] in the Navigation window, and then select [Paste] from the right-click menu to copy
[PRG_BCIN] to that location.

5. Select [Register Program] → [Scan] from the right-click menu of [PRG_BCIN] which has been copied.

1-2
6. In [Program Setting] → [Scan Program], a task and a program file where [PRG_BCIN] has been registered are
created.

POINT
• Select [Parameter] and double-click [PLC Parameter] in the Navigation window to set the execution order of the
programs in the "Program Settings" tab in the L Parameter Setting window.

• Modify the sample program or change the project settings when loading user-specific codes or using a program
other than the default.

1-3
1.3 Program specification
The flowchart of the sample program is as follows.

Barcode scan

(1)Store the values read with all barcode readers on the device.

(2)Store the value read with the barcode reader to be processed on the device.

(3)Storage of the barcode reader and area number to be processed

(4)Extraction of a valid code from read value

(5)Switch between main GOT and sub GOT

(6)Determination of an area

(7)Determination of parts supply mode or parts return mode

(8)Processing of the sub GOT check screen

(9)Storage on the devices disclosed to users

(10)Code write request

(11)End processing

1-4
(1) Store the values read with all barcode readers on the device.
Store the values read with all barcode readers on the device as follows depending on the barcode reader
connection destination.
Number of Order of prece-
Barcode reader connection destination Storage destination device
devices dence
Main GOT ZR120000 to ZR120129 130 1

Serial communication module (CH1) ZR120130 to ZR120259 130 2

Serial communication module (CH2) ZR120260 to ZR120389 130 3

Sub GOT (Area No. 1) ZR120390 to ZR120519 130 4

Sub GOT (Area No. 2) ZR120520 to ZR120649 130 5

Sub GOT (Area No. 3) ZR120650 to ZR120779 130 6

Sub GOT (Area No. 4) ZR120780 to ZR120909 130 7

Sub GOT (Area No. 5) ZR120910 to ZR121039 130 8

Sub GOT (Area No. 6) ZR121040 to ZR121169 130 9

Sub GOT (Area No. 7) ZR121170 to ZR121299 130 10

Sub GOT (Area No. 8) ZR121300 to ZR121429 130 11

Sub GOT (Area No. 9) ZR121430 to ZR121559 130 12

Sub GOT (Area No. 10) ZR121560 to ZR121689 130 13

(2) Store the value read with the barcode reader to be processed on the device.
Select a barcode reader to be processed and store the values read by the barcode reader on the devices
(ZR121690 to ZR121819) according to the order of precedence listed above.
(3) Storage of the barcode reader and area number to be processed
Store the barcode reader connection destination number to be processed on the device (D9071), and store the
area number on the device (D9070), as follows.
Barcode reader connection destination
Barcode reader connection destination Area No.
No.

Main GOT 1 Value in D9040 (1 to 10)*1

Serial communication module (CH1) 2 Value in D9041 (1 to 10)*1

Serial communication module (CH2) 3 Value in D9042 (1 to 10)*1

Sub GOT (Area No. 1) 4 1

Sub GOT (Area No. 2) 5 2

Sub GOT (Area No. 3) 6 3

Sub GOT (Area No. 4) 7 4

Sub GOT (Area No. 5) 8 5

Sub GOT (Area No. 6) 9 6

Sub GOT (Area No. 7) 10 7

Sub GOT (Area No. 8) 11 8

Sub GOT (Area No. 9) 12 9

Sub GOT (Area No. 10) 13 10

*1 At the system startup, "1" is set as the initial value.

(4) Extraction of a valid code from read value


Store the first 10 words from the beginning of the devices (ZR121690 to ZR121819) on the devices (D9060 to
D9069) as the valid code.
• Shift to fill the empty row if codes other than the ASCII code "20H to 7EH" are in the device.
• If all the codes in a device are other than "20H to 7EH", skip over the device and then shift to fill the empty
row.

1-5
(5) Switch between main GOT and sub GOT
Change the values of the "main GOT signal" (M5124) and "sub GOT signal" (M5125) of the devices disclosed to
users with the barcode reader to be processed.
For details of the signals, refer to the following.
Barcode reader to be processed Main GOT signal Sub GOT signal

Main GOT

Serial communication module (CH1) ON OFF

Serial communication module (CH2)

Sub GOT (Area No. 1)

Sub GOT (Area No. 2)

Sub GOT (Area No. 3)

Sub GOT (Area No. 4)

Sub GOT (Area No. 5)


OFF ON
Sub GOT (Area No. 6)

Sub GOT (Area No. 7)

Sub GOT (Area No. 8)

Sub GOT (Area No. 9)

Sub GOT (Area No. 10)

(6) Determination of an area


If the barcode reader to be processed is connected to the main GOT, whether the extracted valid code is a
barcode of "area" or not is determined.
For details of the barcodes, refer to the following.
Barcode New Area No. Barcode New Area No.

1 6

2 7

3 8

4 9

5 10

1-6
If the extracted valid code is a barcode of "area", change the value of the designated area device corresponding
to the barcode reader to be processed to the new area number.
For details of "designated area devices", refer to the following.
Barcode reader to be processed Designated area device

Main GOT D9040

Serial communication module (CH1) D9041

Serial communication module (CH2) D9042

(7) Determination of parts supply mode or parts return mode


Whether the extracted valid code is a barcode of "parts supply mode" or "parts return mode" is determined.
• Parts supply mode: This mode increases the stocks by the quantity registered by Register Parts.
• Parts return mode: This mode does not increase the stocks regardless of the quantity registered by Register
Parts.

For details of the barcodes, refer to the following.


Barcode New mode Parts return mode signal

Parts supply mode OFF

Parts return mode ON

If the extracted valid code is a barcode of "parts supply mode" or "parts return mode", change the value of the
"parts return mode signal device" corresponding to the barcode reader to be processed.
For the details, refer to the following.
Barcode reader to be processed Parts return mode signal device

Main GOT M9030

Serial communication module (CH1) M9031

Serial communication module (CH2) M9032

Sub GOT (Area No. 1) M9033

Sub GOT (Area No. 2) M9034

Sub GOT (Area No. 3) M9035

Sub GOT (Area No. 4) M9036

Sub GOT (Area No. 5) M9037

Sub GOT (Area No. 6) M9038

Sub GOT (Area No. 7) M9039

Sub GOT (Area No. 8) M9040

Sub GOT (Area No. 9) M9041

Sub GOT (Area No. 10) M9042

1-7
(8) Processing of the sub GOT check screen
If the barcode reader to be processed is connected to the sub GOT, store the extracted valid code on the device
indicated below to display it on the check screen of the sub GOT.
Barcode reader to be processed Storage destination device Number of devices
Sub GOT (Area No. 1) D9130 to D9139 10

Sub GOT (Area No. 2) D9140 to D9149 10

Sub GOT (Area No. 3) D9150 to D9159 10

Sub GOT (Area No. 4) D9160 to D9169 10

Sub GOT (Area No. 5) D9170 to D9179 10

Sub GOT (Area No. 6) D9180 to D9189 10

Sub GOT (Area No. 7) D9190 to D9199 10

Sub GOT (Area No. 8) D9200 to D9209 10

Sub GOT (Area No. 9) D9210 to D9219 10

Sub GOT (Area No. 10) D9220 to D9229 10

For details of the sub GOT check screen, refer to the following.
3.7Check screen
(9) Storage on the devices disclosed to users
Store the connection destination number of the extracted valid code, area number, and barcode reader to be
processed on the devices disclosed to users.
For the details, refer to the following.
Data to be stored Destination device disclosed to users

Extracted valid code D9060 to D9069 D7900 to D7909

Area No. D9070 D7910

Connection destination number of the


D9071 D7911
barcode reader to be processed

If the extracted valid code is a barcode of "parts supply mode" or "parts return mode", change the value on the
device disclosed to users.For the details, refer to the following.
Barcode Value to be stored Destination device disclosed to users

Parts supply mode -1


D7912 to D7913
Parts return mode 0

(10) Code write request


Set the request signal (M5120) of the external interface "Write barcode" to "ON", and then write the barcode to
the POKAYOKE system.

POINT
If the check operation is valid on the main GOT, the area number cannot be changed by barcode.

(11) End processing


After the "Write barcode" external interface normal end signal (M5122) or abnormal end signal (M5123) turns
"ON", set the request signal (M5120) to "OFF".

1-8
2. Plan Operation Function
This function starts operation of the POKAYOKE system according to the pre-registered plan and manages the produc-
tion quantity.
It consists of sample program and sample screen of the main GOT.
In this sample program, "external interface" of the POKAYOKE application is used.

POINT
For details of the external interface and devices disclosed to users, refer to the following.
iQ Monozukuri POKAYOKE Technical Bulletin (BCN-E2113-0008)
External Interface/Devices Disclosed to Users Information

2.1 Description
This function allows users to manage the progress of each plan by noting "Sets" registered on the sample "Register
Plan" screen and "Total" which was actually produced.
(The progress of the plan can be checked on the sample "Plan Progress" screen.)

Enter "Plan No." from the sample "Process Display" screen to begin plan operations, and then the plan operation starts.
(Plan operations end when the area in which a plan is running enters the Standby state.)

POINT
Incorporating the sample function ( 1. Barcode Reading Function) into the POKAYOKE system enables the
following operations with the barcode reader.
• By reading the production plan code on the sample "Process Display" screen, the operation of the
corresponding plan can be started.
• By reading the part code on the sample "Process Display" screen, the corresponding part can be supplied.
• By reading the production plan code on the sample "Register Plan" window, the production plan code can be
entered.
To register a production plan code by using the barcode reader and start operation by using the production plan
code, the "sample barcode program" other than "sample production plan program" is required.
For the details, refer to the following.
1.2 How to install the program

2-1
2.2 How to install programs and screens
The following describes how to install the sample plan program and screen.

 How to install the program


1. Open the sample program "AP10-PKY002AA-L06_SA_*.****.gxw"*1 in GX Works2.
*1 "*" indicates the version.

2. Select [POU] → [Program] → [PRG_PLAN] in the Navigation window, and then select [Copy] from the right-click
menu.

3. Open "AP10-PKY002AA-L06_*.****.gxw"*1 in GX Works2.


*1 "*" indicates the version.

4. Select [POU] → [Program] in the Navigation window, and then select [Paste] from the right-click menu to copy
[PRG_PLAN] to that location.

2-2
5. Select [Register Program] → [Scan] from the right-click menu of [PRG_PLAN] which has been copied.

6. In [Program Setting] → [Scan Program], task and program file which [PRG_PLAN] has been registered is created.

2-3
POINT
• Select [Parameter] and double-click [PLC Parameter] in the Navigation window to set the execution order of the
programs in the "Program Settings" tab in the L Parameter Setting window.

• Modify the sample program or change the project settings when loading user-specific codes or using a program
other than the default.
• To register a production plan code by using the barcode reader and start operation by using the production plan
code, set "sample barcode program" [PRG_BCIN] before execution of the "sample production plan program"
[PRG_PLAN].

 How to install the screen


1. Open the screen data to be customized*1 in GT Designer3.
*1 This is the main GOT project data.

2. From the menu, select [Project] → [Utilize Project].

2-4
3. Click the Browse button in the "Utilize Project" window, and then select AP10-PKY002AA-
GT27S_Main_SA_*.****.GTX*2.

*2 "*" indicates the version.

4. Select the following items from the "Source Project" tree and click the [Execute] button.
Level 1 Level 2 Level 3

10001 User Screen


10002 Sample Process Display
Base screen -
10003 Sample Plan Progress
10004 Sample Plan Registration

10000 Sample Edit Plan


Window screen 10001 Sample Plan Registration -
10002 Sample YesNo Window

Comment 500 For User Window -

Recipe Recipe 100 plan2

Script 10001 [B-10004] Check plan.csv file -

POINT
• For the B10001 screen, overwrite the existing screen. If the B-10001 screen and comment No. 500 were
previously modified, the modification will be cleared. In that case, copy the Plan switch (object ID: 10006)
manually from AP10-PKY002AA-GT27S_Main_SA_*.****.GTX*2, without utilizing the B10001 screen in "Utilize
Project".
• Since the contents of comments number 500-1 to 500-51 in AP10-PKY002AA-GT27S_Main_SA_*.****.GTX*2
needs to be used without change, overwrite the contents using "Utilize Project" or manual copying.

*2 "*" indicates the version.

2-5
5. Select [Environmental Setting] and double-click [Screen Switching/Window Setting] to open the Environmental
Setting window.

6. Configure the following settings in "Overlap Window".


• Select the check box for 4 and click the [...] button in the "Screen Switching Device" column.

• Enter D9074 in the input window and click the [OK] button.

• Click the [...] button in the "Detail Setting" column, configure the same settings as the screen below, and then
click the [OK] button.

2-6
• Select the check boxes for 5 and "Display Position" and then click the [...] button in the "Screen Switching Device"
column.

• Enter D9077 in the input window and click the [OK] button.

• Click the [...] button in the "Detail Setting" column, configure the same settings as the screen below, and then
click the [OK] button.

• Finally, click the [OK] button in the "Environmental Setting" window.

7. Save the project, and the installation of the screen is complete.

2-7
2.3 Plan operation start procedure
To start plan operations, the following conditions must be satisfied by each start method.
Start method
No. Operation condition External Production Automatic
Run switch
Input plan code feed

1 The sample "Process Display" screen is displayed. ○ ○ ○ -

2 The read code is registered as the production plan code. - - ○ -

3 The number of sets for the plan number is not 0. ○ ○ ○ ○

4 The item number for the plan number is not 0. ○ ○ ○ ○

5 The progress for the plan number is not complete ○ ○ ○ ○

6 The item for the plan number is same as the item in the area being displayed. ○ ○ ○ ○

7 The area that starts the operation is not running normally. ○ ○ ○ ○

The shelf configured to be shared with the pickup side in the area that starts the
8 ○ ○ ○ ○
operation is not currently supplying parts.

9 The external interface is not in the middle of a write request. ○ ○ ○ ○

The system is in the manager mode, or a user is logged in to the area that starts the
10 ○ ○ ○ ○
operation.

11 No severe alarm has occurred (excluding missing part alarms). ○ ○ ○ ○

12 The area number of the shelf to be used for the start item matches the start area. ○ ○ ○ ○

If shelf number 2000s is invalid as the shelf number of the start item, it must be within
13 the range 1001 to 1128. If shelf number 2000s is valid as the shelf number of the start ○ ○ ○ ○
item, it must be within the range of 1001 to 1128 and 2001 to 2128.

14 Both the pickups and pickup count of the start item are registered as 0 or more. ○ ○ ○ ○

There is no shelf where the pickup terminal type is unspecified in the process
15 ○ ○ ○ ○
registration for the start item.

16 The production quantity is registered in the start item. ○ ○ ○ ○

17 The same shelf was not set at once in the process registration for the start item. ○ ○ ○ ○

The following describes the procedure for starting plan operations.


(1) Using the Run switch or External Input

1.Manually change the plan number on the sample "Process Display" screen.
2.The process information for the item number area that was set in the plan number on the sample "Process
Display" screen is displayed.

3.Touch the Run switch on the screen, or set the External Input to ON to start plan operations.
(2) Using the production plan code

1.Use the barcode reader on the sample "Process Display" screen to read the code that was registered as the
production plan code.

2.The value of the plan number on the sample "Process Display" screen will switch to the plan number
corresponding to the scanned production plan code.

3.The process information for the item number area that was set in the plan number on the sample "Process
Display" screen is displayed.

4.The processing of the program will automatically start the plan operations.

2-8
2.4 Process Display screen (B-10002)
This section describes the sample "Process Display" screen for displaying the process information of the plan.

(1)

(2)

(3) (4)

(5)

(6)

(1) Tab display area


Touch these tabs to switch the display screen.
• Custom Screen
The "Custom" Screen appears.( iQ Monozukuri POKAYOKE Startup Manual)
• Process Display
The sample "Process Display" screen appears. (This screen)
• Register Plan
The "Register Plan" screen appears. ( 2.6 Register Plan screen (B-10004))
(2) Process shift mode
The currently-selected process shift mode is lit up.
The operation after the completion of production planning operations varies depending on the process shift
mode.
• Automatic Feed mode
After the currently-displayed plan number, it displays the plan number for which the item number and number
of sets are registered.
If the operating conditions of the displayed item are satisfied, the plan operation starts after the process
information is checked.
If there is no displayable plan number up to number 20, or if the displayed item does not satisfy the start
conditions, plan operations are ended.
• Manual Feed
To restart plan operations, change the plan number by manual input and then start it.
(3) Plan-related information
• Plan No.
The plan number is displayed. Touch the display area to change the value. (1 to 20)
• Plan Code
The plan code specified by the plan number is displayed.
• Sets
The number of sets for the plan specified by the plan number is displayed.
(Number of sets that have been produced/Number of sets (set value))
(4) Plan Progress switch
The "Plan Progress" screen appears. ( 2.5 Plan Progress screen (B-10003))

2-9
(5) Process Info
The description is the same as that of the "Process Display (Simple Display)" screen including this application.
( iQ Monozukuri POKAYOKE Operating Manual)
(6) Run, Suspend, and End switches
The description is the same as that of the "Process Display (Simple Display)" screen including this application.
( iQ Monozukuri POKAYOKE Operating Manual)

2.5 Plan Progress screen (B-10003)


This section describes the sample screen for displaying the Plan Progress information (up to 20 items).

(1)

(3)
(2)
(4)

(1) Plan Progress information


• Plan No.
The plan number is displayed.
• Plan Code
The plan code is displayed.
• Item Name
The name of the item to be produced is displayed.
• Sets
The number of sets of the plan is displayed.
(Number of sets that have been produced/Number of sets (set value))
In the manager mode, touch the display area of the number of sets that have been produced to change the
value. (1 to 99)
• Total
The total production number up to the present is displayed.
(Total = (number of sets that have been produced × production quantity for item that was set) + current
production quantity)In the manager mode, touch the display area to change the value. (0 to 9999)
(2) Clear Progress switch (displayed only in the manager mode)
When the switch is held down for two seconds in the standby state, the number of sets and totals that have been
produced in all plans are cleared to 0.
(3) Page selection switches
With these switches, the displayed Plan Progress page can be switched.
Plans are displayed from page 1 to 2, and 10 rows are displayed per page.

2 - 10
(4) Back switch
Touch this switch to go back to the sample "Process Display" screen.( 2.4 Process Display screen (B-
10002))

2.6 Register Plan screen (B-10004)


This section describes the sample screen for registering plans (up to 20 items).
This screen is displayed only in the manager mode.

(1)

(5)
(2)

(3) (4)

(1) Register Plan information


• Plan No.
The plan number is displayed.
• Plan Code
The plan code is displayed.
• Item No.
The number of the item to be produced is displayed.
• Item Name
The name of the item to be produced is displayed.
• Sets
The number of sets of the plan is displayed.
Touching the "Plan No." display area displays the "Edit Plan" window.
■Edit Plan window (W-10000)
Configure the item settings from the "Register Plan" window.
■Register Plan window (W-10001)
(2) Setting data copy (To USB) switch
Plan data is copied from the CPU module to the USB memory inserted to the USB port of the GOT.
When a USB memory has been inserted to the GOT, holding down this switch for two seconds copies the plan
data "plan2_0001.CSV" to the folder "\AP10-PKY002AA-QRT\plan" in the USB memory.
If the above folder does not exist in the root directory of the USB memory, create the folder "\AP10-PKY002AA-
QRT\plan" in the root directory before the plan data is written.
If the plan data "plan2_0001.CSV" already exists, the data is overwritten.

2 - 11
(3) Setting data copy (From USB) switch
Plan data is copied from the USB memory inserted to the USB port of the GOT to the CPU module.
When a USB memory has been inserted to the GOT, holding down this switch for two seconds checks the
following.
• Check if the folder "\AP10-PKY002AA-QRT\plan" exists in the root directory of the USB memory.
• Check if the plan registration data "plan2_0001.CSV" exists in the folder "\AP10-PKY002AA-QRT\plan".
When the above folder and data exist, the plan data is read.
(4) Process Shift Mode switches
Select a process shift mode.
For details of each mode, refer to the following.
2.4 Process Display screen (B-10002)
(5) Page selection switches
With these switches, the displayed Register Plan page can be switched.
Plans are displayed from page 1 to 2, and 10 rows are displayed per page.

 Edit Plan window (W-10000)


Register, insert, or delete the plan indicated by the selected plan number.

(1)

(2) (4)

(3)

(1) Plan No.


The selected plan number is displayed.
(2) Register switch
Register the plan indicated by the selected plan number.
Touching this switch displays the "Register Plan" window for registering the plan.
( ■Register Plan window (W-10001))
(3) Insert switch
Touching this switch displays the "Confirmation" window (W-10002).
Touch the [Yes] switch to insert a blank line above the line of the selected plan number.
(4) Delete switch
Touching this switch displays the "Confirmation" window (W-10002).
Touch the [Yes] switch to delete the selected plan number and then shift to fill the empty row.

2 - 12
 Register Plan window (W-10001)
Register the plan indicated by the selected plan number.

(1)

(2)

(3)

(4)

(5)

(6)

(1) Plan No.


The plan number is displayed.
(2) Production plan code
• Barcode Input switch
When being touched, the switch lights in green.
When data is read using a barcode reader while the switch lights in green, the read data is input.
• Plan Code display
Touch the display area and enter a plan code using the key window.
Up to 20 one-byte alphanumeric characters can be used.
(3) Item No.
Touch the display area and enter an item number using the numeric keypad.
Setting range: 1 to 100
(4) Item Name
The name of the item indicated by the item number is displayed.
(5) Sets
Touch the display area and enter the number of sets using the numeric keypad.
Setting range: 0 to 99
(6) Register switch
Register the plan that was entered in the POKAYOKE system and close the window.

2 - 13
3. Sub GOT Screen
GT Designer 3 project files are provided as samples for the sub GOT screen.
The sample screens in the project files are as follows.

• Main screen
• Process Display screen
• Check screen
• Login window
• Language Setting window screen
• Confirmation window
• Warning window

Note that the projects differ for each GOT model.

3.1 Description
The sub GOT implements different functions from the main GOT.
The following table lists the differences from the main GOT.
Function Details Main GOT Sub GOT

Area login ○ ○

Manager login ○ ×

Login Area logout ○ ○

Change password ○ ×*1

Login with user code ○ △


*2

Start operation with touch panel ○ ○

Start operation with item code ○ △


*2

Start operation with external input ○ ×*1

Suspend operation ○ ○
Run
End operation ○ ○

Switch starting item ○ ○

Swap picking order ○ ×

Restart picking order ○ ×

Parts supply Parts supply with part code ○ △


*2

Check barcode input ○ △


*2
Check
Other check functions ○ ×

Warning window ○ △
*3

Warning/Alarm Alarm message ○ ×*1

Reset alarm ○ ×

Stock Change stock count from GOT screen ○ ×*1

Register Register registration information ○ ×*1

○: Implemented △ : Partly implemented ×: Unimplemented


*1 Unimplemented, but can be implemented by user customization using the external interface.
*2 This function cannot be used in the GOT that cannot be connected with barcode readers.
*3 Some warning windows are implemented, but alarm windows can be added and deleted by user customization.

3-1
3.2 How to install
In the sample project file, one screen project is prepared for each GOT.
The default screen project settings are configured for operations in Area No. 1.
Change the screen data settings and script values provided in the sample to use them for Areas 2 to 10.
For how to change the script values, refer to the following.
3.3How to change the script
The following table lists sample project files and the corresponding models.

Project file name*1 Corresponding model

GT2712-STBA, GT2712-STBD, GT2712-STWA, GT2712-STWD, GT2710-STBA, GT2710-


AP10-PKY002AA-GT27S_Sub_SA_*.****.GTX
STBD, GT2708-STBA, GT2708-STBD

AP10-PKY002AA-GT2104RTBD_Sub_SA_*.****.GTX GT2104-RTBD*2

AP10-PKY002AA-GT2104PMBD_Sub_SA_*.****.GTX GT2104-PMBD*3

AP10-PKY002AA-GT2103PMBD_Sub_SA_*.****.GTX*4 GT2103-PMBD*3

*1 "*" indicates the version.


*2 To connect a barcode reader, a connection cable to connect it with the connector terminal block of the GOT needs to be provided.
For the details, refer to the following.

GOT2000 Series Connection Manual (Microcomputers, MODBUS Products, Peripherals))


*3 A barcode reader cannot be connected.
*4 Please contact your local Mitsubishi Electric representative for obtaining or using the sample project.

3.3 How to change the script


To apply the script to an area other than Area No. 1, which is the default for the sample sub GOT, set the script value so
that it matches the area number where it is to be applied.
The following describes the procedure for changing the area number.

1. Open the screen project in GT Designer3.

2. Open [Common] → [Script] → [Script] on the menu bar at the top of the screen.

3-2
3. In the window that appears, select "Script No.4, startup process".
Then, click [Edit] on the right side of the window.

4. Click [Edit Script] on the right side of the displayed window.

5. In the line "[w:TMP0] = 1;" in the script, the "1" represents Area No. 1.
Change the value here to the numeric value of the area to be operated (in the range 1 to 10).
Then, click the [OK] button to close the window.

6. Click the [OK] button to close the remaining two windows. The area number has been changed.

3-3
3.4 Changing the controller settings
To increase the number of connected devices while using the same screen project, configure the connected programma-
ble controllers and the station numbers, IP addresses and port numbers of all the GOTs so that they do not overlap.
These values can be changed from "Controller Setting" in GT Designer3.
The following describes the procedure for changing the values.

1. Open the screen project in GT Designer3.

2. From the docking window on the left side of the screen, select [System] → [Controller Setting] and click [CH1:
MELSEC-L].

3. When the controller settings appear, change the values of GOT Station, GOT Standard Ethernet Setting, and GOT
Communication Port No.
GOT Station and the GOT Communication Port No. can be changed by entering the value directly.
GOT Standard Ethernet Setting can be changed from the "GOT Standard Ethernet Setting" window, which can be
opened by clicking the [GOT Standard Ethernet Setting] button.

3-4
4. Click the [OK] button on the controller setting window to complete the settings.

POINT
The example of controller settings are shown below.
Item
Device
Net No. Station Number IP Address Port No.

LCPU 1 1 192.168.3.39 5006

Main GOT 1 2 192.168.3.18 5001

Area No. 1 1 3 192.168.3.20 5020

Area No. 2 1 4 192.168.3.21 5021

Area No. 3 1 5 192.168.3.22 5022

Area No. 4 1 6 192.168.3.23 5023

Area No. 5 1 7 192.168.3.24 5024


Sub GOT
Area No. 6 1 8 192.168.3.25 5025

Area No. 7 1 9 192.168.3.26 5026

Area No. 8 1 10 192.168.3.27 5027

Area No. 9 1 11 192.168.3.28 5028

Area No. 10 1 12 192.168.3.29 5029

3-5
3.5 Main screen
On the "Main" screen of the sub GOT, users can log in/off to/from the POKAYOKE system, switch the screen to the sub
GOT "Process Display" screen, and call a manager.
This section describes the "Main" screen of the sub GOT.

(2)
(2)
(5)
(1) (5) (1)

(3)
(3)

(4) (6)

(7) (4) (6)


(7)
(8)
GT2104-RTBD (8)
GT2712-STBA, GT2712-STBD, GT2712-STWA,
GT2712-STWD, GT2710-STBA, GT2710-STBD,
GT2708-STBA, GT2708-STBD
(2)
(2)
(1) (5)

(1) (5)
(6)
(3)
(7)
(4)
(8)
GT2104-PMBD (3)

(2) (4) (6)


(7)
(1) (5)
GS2110-WTBD, GS2107-WTBD (8)
(6)
(3)
(7)
(4)
(8)
GT2103-PMBD

(1) Area No.


The area number to log in is displayed.
(2) User Input switch
Touch this switch to log in to the POKAYOKE system.
Touching the switch displays the "Area Login" window.
For details of the "Area Login" window, refer to the following.
( ■Area Login window)
(3) Work progress information display
The number, user code, and user name of the login user are displayed.
When the user logs out, every field will become blank.
(4) Process Display switch
The screen is switched to "Process Display" screen of the sub GOT.
(5) Call switch
If there is a sudden shortage of parts or a terminal lamp error, touch this switch to turn on the buzzer.
To turn off the buzzer, touch the switch again.
(6) Logout switch
Touch the switch to log out from the POKAYOKE system.
(7) Language Setting switch
Touch this switch to display the Language Setting window.
Switching the language in the sub GOT does not switch the language in the main GOT or the sub GOTs in other
areas.

3-6
(8) Time display
The date and time set in the main GOT are displayed.

POINT
While this window is displayed, reading a registered barcode allows a user to log in to the system in the operator
mode as the corresponding user.

 Area Login window


The "Area Login" window sample screens displayed in the sub GOT are shown below.

GT2104-PMBD

GT2104-RTBD GT2712-STBA, GT2712-STBD, GS2110-WTBD, S2107-WTBD


GT2712-STWA, GT2712-STWD,
GT2710-STBA, GT2710-STBD,
GT2708-STBA, GT2708-STBD
GT2103-PMBD

For details of the "Area Login" window, refer to the following manual.
iQ Monozukuri POKAYOKE Operating Manual

 Language Setting window screen


The "Language Setting" window sample screen displayed in the sub GOT is shown below.

For details of the "Language Setting" window, refer to the following manual.
iQ Monozukuri POKAYOKE Operating Manual

3-7
3.6 Process Display screen
The "Process Display" screen of the sub GOT displays information required for picking operations (the number of a shelf
which stores parts to be picked up next or the number of picked pieces), and allows picking operations to be started, sus-
pended, and stopped.
The screen configurations of the different models are shown below.

 1-screen configuration
(1) (1)

(2) (3) (6) (3) (5)

(4)

GT2103-PMBD
(4)

(1)

(2) (3) (6)


(5)

GT2712-STBA, GT2712-STBD, GT2712-STWA, (4)


GT2712-STWD, GT2710-STBA, GT2710-STBD,
GT2708-STBA, GT2708-STBD

(5)

GS2110-WTBD, GS2107-WTBD

 2-screen configuration
(1) (1)

(2) (3) (6) (2) (3) (6)

(4)
(4)

(7) (7)
(5) (5)

GT2104-RTBD

(1) (5) (1)

(2) (6)
(3)
(7)
(4) (7) (4)
GT2104-PMBD

(1) Tab display


• Main:
Touch the switch to shift to the sample "Main" screen.
• Check:
The screen shifts to the sample Check screen.
(2) Area No.
The area number to log in is displayed.
(3) Item No.
Enter an item number to be produced using the keyboard. (Setting range: 1 to 100)

3-8
(4) Item- and shelf-related information
• Item Name:
The name of the item specified with Item No. is displayed.
• Target Time:
The target time (Minute: Second) for creating the item specified with Item No. is displayed.
• Production Time:
The production time (Minute: Second) for the item specified with Item No. is displayed.
When production of 1 product ends, it resets to "00:00".
If the production time is 100 minutes or more, "99:59" is displayed.
• Products:
The items specified as "Number of products that have been produced/Number of products (set value)" is
displayed.
The value is reset when the Item No. is changed in the standby state or an operation is started.
• Shelf No.:
The shelf number of the target part is displayed.
• Pickup Count:
The number of picked pieces as "Number of parts that have been picked up/Number of pieces (set value)" is
displayed.
• Stocks:
The stock quantity in the shelf which stores the parts to be picked up as a numerical value is displayed.
(5) Run, Suspend, and End switches
• Run:
When the switch is touched, the switch is turned on and an operation starts.
• Suspend:
When the switch is touched, the switch is turned on and an operation suspends.
At this time, the [Run] switch is off. While an operation is being suspended, touching the [Run] switch restarts
the suspended operation.
• End:
When the switch is touched, the "operation stop confirmation" window appears.
Select [Yes] to end the operation.
At this time, the [End] switch turns on, and the [Run] switch or the [Suspend] switch turns off from on.
(6) Call switch
Touch this switch to call a manager in the event of a sudden shortage of parts or a terminal lamp error.
If the switch is touched while it is off, the buzzer is turned on. If the switch is touched while it is on, the buzzer is
turned off.
(7) Screen display switch
If the "Process Display" screen of the sub GOT is in a 2-screen configuration, this switch switches the display
screens.

3-9
3.7 Check screen
This section describes the sample screen that displays the values to be stored when using the barcode interface.

(1) (1)

(2) (3)
(2)
(3)

GT2104-RTBD
GT2712-STBA, GT2712-STBD, GT2712-STWA,
(1) GT2712-STWD, GT2710-STBA, GT2710-STBD,
GT2708-STBA, GT2708-STBD
(2) (3)

GS2110-WTBD, GS2107-WTBD

(1) Tab display


• Main:
The screen shifts to the "Main" screen of the sub GOT.
• Process Display:
The screen shifts to the "Process Display" screen of the sub GOT.
(2) Barcode Input
The value stored in the use code when using the barcode interface is displayed.
Up to 20 characters containing one-byte alphanumeric characters and symbols are displayed.
The value is displayed only when sample barcode program has been implemented.
(3) Barcode Input signal lamp
This lamp turns on as soon as a code reading signal is input from the connected barcode.
If the lamp does not turn on when a barcode is read, the barcode settings in the sample sub GOT and the
settings on the barcode side may not match.

The following models do not support connection of a barcode reader, and therefore the
corresponding sample project has no "Check" screen.
CAUTION • GT2103-PMBD
• GT2104-PMBD

3 - 10
4. TROUBLESHOOTING
The following shows the troubleshooting regarding this technical bulletin.

4.1 Troubleshooting related to the barcode reader


Symptom Check detail Corrective action
Do other modules including the serial When an error has occurred, restart the programmable controller.
communication module and the programmable When an error still occurs after the restart, refer to the manual of
controller operate without errors? the module used to check the error code and eliminate the error.
Is the wiring from the barcode reader to the serial
A barcode cannot be
communication module not disconnected?
read. When the wiring has been disconnected, replace the wiring.
Is the wiring from the barcode reader to the GOT not
disconnected?
Match the communication settings of the barcode reader with
Is the barcode reader setting correct?
those of the connected serial communication module/GOT.
Does the warning window show the following • Review the user program to process barcodes.
A warning window has
message? • Match the communication settings of the barcode reader with
appeared.
"A code processing error occurs." those of the connected serial communication module/GOT.

4.2 Troubleshooting related to the sub GOT


Symptom Check detail Corrective action
Open the project for the sub GOT in GT Designer3, set the
Is the script setting for startup process correct? "TMP0" value for script No. 4 (startup process) to the area
The sub GOT does not number of the area in which you will install the sub GOT.
operate.
Open the project for the sub GOT in GT Designer3 and review
(The programmable Are the network settings for the sub GOT correct?
"Connected Devices Setting".
controller and main GOT
Is the wiring correct? Check the wiring of the LAN and power cables.
operate normally.)
Start the programmable controller and then start the sub GOT
Has the equipment been started in the correct order?
after it is connected to the programmable controller.

4-1
REVISIONS
Revision date Issue No. Revision

Aug-17 BCN-E2113-0005-A First edition

QR Code is either a registered trademark or trademark of DENSO WAVE INCORPORATED.


POKAYOKE terminal is either a registered trademark or trademark of Anywire Corporation.
In general, the names of companies, systems, products, etc. that appear in the text are either registered trademarks or trademarks of their
respective companies.
The trademark symbols may not always appear in the text.

Before using any product mentioned in this technical bulletin, please read the product
Safety Precaution manual to use it correctly.

© 2017 MITSUBISHI ELECTRIC CORPORATION

You might also like