Appendix
Appendix
"A.1 Communication" introduces the SIO type for connecting the GP and the device/PLC
and the structure of the internal device, and "A.2 Monitoring the Value of Device Addresses
(Device monitor)"explains the feature for monitoring the communication device on the GP.
"A.3 Executing Multiple Actions (Programs) with a Switch Operation" explains Trigger
Action Parts.
"A.4 Drawing Using Other Languages" explains the process from preparing to input a
foreign language to inputting the switch label, using (Simplified) Chinese as an example.
"A.5 Transferring Data Between a CF Card and a USB Memory Device" explains how to
transfer data between a CF Card and a USB memory device using File Manager.
"A.6 System Variables" provides a detailed explanation of the system variables available in
GP-Pro EX.
A-1
Communication
A.1 Communication
• For information on the connection methods for the GP and device/PLC, refer
to the GP-Pro EX Device/PLC Connection Manual.
Direct Access
GP Method Device/PLC
GP
Start ON
Microcomputer board
GP Memory Link
Method
Direct Access
GP Method Device/PLC
To communicate with a device/PLC, use the Direct Access communication method to put a
smaller burden on to the device/PLC.
Passive
(3) Display the (1) Request
received data in GP
Lamps, Graphs,
Constants/Text.
Usable Address
For the GP to get the necessary display data from the device/PLC, set an address that can
reference data used for Parts and script features. There are two types of addresses which can
be set as reference destinations.
• Device/PLC Addresses
It can reference the device/PLC data.
Select the device/PLC name (for example "PLC1") that will communicate with the GP,
and input that address (for example "D00000").
For example, An Input Address screen on a Word Switch.
The GP's internal device [#INTERNAL], has two structured areas: the [LS] area and the
[USR] are (shown below).
GP Internal Device
[#INTERNAL]
LS0 USR0
GP
[LS] [USR]
Area Area
LS9999 USR29999
• [LS] Area
This is a user area that can be used freely, and an area used for running the GP.
)"A.1.4 LS Area (Direct Access Method)" (page A-9)
You can change the data storage order in the System Settings window’s [Device/PLC]
page, with the [Text Data Mode] property.
)"5.15.6 [System Settings] Setting Guide [Device/PLC] Setting Guide" (page 5-161)
You can also change the data storage order by defining the text data mode using address
LS9310.
)"20.10.5 CF File Operation/USB File Operation Label Settings Data Store
Mode" (page 20-115)
• [USR] Area
This area (30,000 words) can be accessed by users for running the GP.
The data storage order is fixed to L/H, no matter what the [Text Data Mode] property is
set to in the System Settings window’s [Device/PLC] page.
)"A.1.6.4 Restrictions when Using the USR Area" (page A-46)
Microcomputer board
GP Memory Link
Method
The Memory Link Method is used to connect with devices, or hosts, that do not contain a
communication protocol, such as a computer or a microprocessor board.
Usable Address
For the GP to get the necessary display data from the host, set an address that can reference
data and set the Parts or script features. There are two types of address inside the GP that can
be set as a reference destination.
Inside the GP
GP
System Area GP Internal Device
[#MEMLINK] [#INTERNAL]
LS0000
System Data Area
LS0020
Read Area
*1
(LS0276 )
User Area
LS2032
Special Relay Area
LS2048
Reserved
LS2096
User Area
LS9000
LS9000 Area
LS9999
• Do not set addresses for Parts which span the System Data Area and Read
Area, or the Read Area and User Area.
• When setting addresses for Parts in the System Data Area, set the data
length as 16 bit.
*1 The System Data Area can exclusively use a maximum of 20 words. The Read Area
can exclusively use a maximum of 256 words. The User Area's top address is the
Read Area's top address (20) + Read Area's size.
Address
Word
7 to 9 Unused
10 Backup Battery Low
Voltage
11 PLC Communication
Error
12 to 15 Unused
LS0002 +2 Clock's current - Last 2 digits of year (2 #H_CurrentYear
"Year" value BCD digits)
LS0003 +3 Clock's current - 01 to 12 (2 BCD #H_CurrentMonth
"Month" value digits)
LS0004 +4 Clock's current - 01 to 31 (2 BCD #H_CurrentDay
"Day" value digits)
Continued
Address
Word
LS0005 +5 Clock's current - Hour: 00 to 23, Time: #H_CurrentHour
"Time" value Minute: 00 to 59 Minute:
(4 BCD digits) #H_CurrentMinute
0 to 1 Reserved -
2 Printing #H_Status_Print
3 Data Display Part -
Write Setting Value
LS0006 +6 Status 4 to 7 Reserved -
Address
Word
0 Backlight OFF -
1 Buzzer ON #H_Control_Buzzer
2 Print Started #H_Control_HardcopyPrint
LS0014 +14 Control 3 Reserved -
4 Buzzer #H_Control_BuzzerEnable
5 AUX Output -
6 to 10 Reserved -
0 Window Display
0:OFF, 1:ON
LS0016 +16 Window Control 1 Window overlap order #H_GlobalWindowControl
change
0:Permitted, 1: Not
permitted
2 to 15 Reserved
LS0017 +17 Window Screens - Global Window's #H_GlobalWindowNo
registration number
selected indirectly:
1 to 2000 (BIN/BCD)
LS0018 +18 Window Display - Global Window's top- #H_GlobalWindowPosX
Position left
(X Coordinate) (Bin/BCD)
LS0019 +19 Window Display - #H_GlobalWindowPosY
Position
(Y Coordinate)
*1 When you do not specify [Reflect in Device/PLC] from the [System Settings] [Display
Unit] [Display] tab, you cannot return to the screen number from which you switched by
touch from the device/PLC. To force the screen to switch, turn ON bit 15 of the address
and then specify the screen number to which you want to switch from bits 0 -14. (Enter the
8000h + the value of screen number to which you want to switch in the address.)
For example, to enable forced screen switching:
8000(h)+1999(h)=9999(h) write "9999" to the address.
Caution)
• While forced screen switching is enabled (Bit 1 5 is ON), screen switching by touch is not
enabled.
• When the data format is BCD, you cannot change to screens numbered 2000 or higher.
• Normally, when turning OFF the Screen Display, do not use +14 [Control]
[Backlight OFF] bit. Use +9 [Screen Display ON/OFF].
Order
Decimal
Octal
3 Screen Memory
Checksum
4 SIO Framing
Low
5 SIO Parity
6 SIO Overrun
7 Unused
+3 +3 0 to 1 Unused
2 Backup Battery
Low Voltage
High
3 PLC
Communication
Error
4 to 7 Unused
LS0002 +4 +4 Clock's - Last two digits of #H_CurrentYear
+5 +5 current year
"Year" value (2 BCD digits)
Continued
Order
Decimal
Octal
LS0003 +6 +6 Clock's - 01 to 12 (2 BCD #H_CurrentMonth
+7 +7 current digits)
"Month"
value
LS0004 +8 +10 Clock's - 01 to 31 (2 BCD #H_CurrentDay
+9 +11 current digits)
"Day" value
LS0005 +10 +12 Clock's - Hours: 00 to 23, Hours: #H_CurrentHour
+11 +13 current Minutes: 00 to 59 Minutes:
"Time" (4 BCD digits) #H_CurrentMinute
value
LS0006 +12 +14 Status 0 to 1 Reserved -
2 Printing #H_Status_Print
Low
0: ON; 1:OFF
2 Backlight burnout -
detection
3 to 7 Reserved -
+15 +17
LS0008 +16 +20 Change-To - 1 to 9999 (BIN) #H_ChangeScreenNo
+17 +21 Screen 1 to 7999
(BCD)*1
LS0009 +18 +22 Screen - Turn Screen -
Order
Decimal
Octal
LS0011 +22 +26 Clock's - 01 to 12 (2 BCD #H_SetMonth
+23 +27 "Month" digits)
setting value
LS0012 +24 +30 Clock's - 01 to 31 (2 BCD #H_SetDay
+25 +31 "Day" digits)
setting value
LS0013 +26 +32 Clock's - Hours: 00 to 23; #H_SetHour
+27 +33 "Time" Minutes: 00 to 59 #H_SetMinute
setting value (4 BCD digits)
LS0014 +28 +34 Control 0 Backlight OFF -
1 Buzzer ON #H_Control_Buzzer
2 Print Started #H_Control_HardcopyPrint
Low
3 Reserved -
4 Buzzer #H_Control_BuzzerEnable
5 AUX Output -
6 to 7 Reserved -
+31 +37
LS0016 +32 +40 Window 0 Show Window #H_GlobalWindowControl
Control 0: OFF; 1: ON
1 Move the selected
Window on top of
Low
another Window
0: Enable; 1:
Disable
2 to 7 Reserved
+33 +41 0 to 7 Reserved
High
Order
Decimal
Octal
LS0018 +36 +44 Window - Global Window's #H_GlobalWindowPosX
+37 +45 Display top-left display
Position coordinate,
(X selected
Coordinate) indirectly (BIN/
LS0019 +38 +46 Window - BCD) #H_GlobalWindowPosY
+39 +47 Display
Position
(Y
Coordinate)
*1 When you do not specify [Reflect in Device/PLC] from the [System Settings] [Display
Unit] [Display] tab, you cannot return to the screen number from which you switched by
touch from the device/PLC. To force the screen to switch, turn ON bit 15 of the address
and then specify the screen number to which you want to switch from bits 0 -14. (Enter the
8000h + the value of screen number to which you want to switch in the address.)
For example, to enable forced screen switching:
8000(h)+1999(h)=9999(h) write "9999" to the address.
Caution)
• While forced screen switching is enabled (Bit 1 5 is ON), screen switching by touch is not
enabled.
• When the data format is BCD, you cannot change to screens numbered 2000 or higher.
• Normally, when turning the Screen Display OFF, do not use the Backlight OFF
control bit (Byte Address +28 in decimal format or Byte Address +34 in the octal
format.) Instead, use the Screen Display ON/OFF address (Byte Address +18 in
decimal format or Byte Address +22 in octal format.)
Description Detail
Error Status When an error occurs in the GP, the corresponding bit turns ON. After
the bit turns ON and the power turns OFF, the status is maintained until
the GP changes from offline mode back to active mode.
Clock Data (Current) Stored as BCD. [Year] is the 2 final digits of the year, [Month] is 2 digits
from 01 to 12, [Day] is 2 digits from 01 to 31, [Time] is 2 hour digits
from 00 to 23 and 2 minute digits from 00 to 59 for a total of 4 digits.
• The current value for the day is stored in LS9310. The day is calculated
from the Year, Month, and Day of the GP's onboard IC (RTC) clock.
Description Detail
Status Monitor only the bits that you need to monitor. Do not turn reserved bits
ON/OFF because they are sometimes used for GP system maintenance.
Bit Bit Description Details
(16 Bits) (8 Bits)
0, 1 0, 1 Reserved -
2 2 Printing Turns ON during printing. While this
bit is ON, there are cases when the
offline screen appears or when
output is disturbed.
3 3 Write Setting Value This bit is reversed each time a
write occurs from a Data Display
(Setting Value Input).
4 to 7 4 to 7 Reserved -
8 0 Data Display Part When Alarms are set for the Data
Input Error Display where you enter a value
outside of the alarm range, this bit
turns ON.
When you input a value inside the
alarm range or change screens, this
bit turns OFF.
9 1 Display ON/OFF This can detect whether to turn the
(0: ON, 1: OFF) GP's screen display ON/OFF from
the device/PLC.
This bit changes in the following
cases.
1. When FFFFh is written to the
System Data Area's Display ON/
OFF, the display turns OFF.
2. When the standby time passes,
the display turns OFF
3. If the screen changes or is
touched after the display turns
OFF, the display turns back ON.
Continued
Description Detail
Change-To Screen Set the Change-to Screen Number. The setting range differs depending
on whether or not [Data Type of Display Screen Numbers] and [Change
Screen from Main Unit - Reflect in Device/PLC] are set on the [System
Settings] [Display Unit] [Display] tab.
Screen Display ON/ Shows the screen when the value is "0h" and hides the screen when the
OFF value is "FFFFh". Values other than "0h" and "FFFFh" are reserved.
When the screen display is hidden, the next touch on the screen turns the
display on.
Clock Data (Present Set as BCD. [Year] is the 2 final digits of the year, [Month] is 2 digits
Value) from 01 to 12, [Day] is 2 digits from 01 to 31, [Time] is 2 hour digits
from 00 to 23 and 2 minute digits from 00 to 59 for a total of 4 digits.
Setting Example: October 19th, 2005, 21:57
(1) When the current Word Address "+10"'s data is "0000",
- "Month" - Write "0010" → Word Address "+11"
- "Day" - Write "0019" → Word Address "+12"
- "Time" - Write "2157" → Word Address "+13"
(2) When you write "8005" to Word Address "+10," bit 15 of "+10" turns
ON, and clock data is rewritten. For "8005," bit 15 is turned ON by the
"8000" portion, while the "Year" is set with "05".
Continued
Description Detail
Control
• Please make sure to write this address in bit units. In some cases, writing
with word data can change the value.
• "Reserved" bits are sometimes used for maintenance of the GP's system.
Turn them OFF.
Continued
Description Detail
Window Screens Stores the Global Window's registration number selected indirectly: 1 to
2000 (BIN/BCD).
Window Display Stores the Global Window's top-left display position, selected indirectly.
Position "+18" shows the X coordinate, "+19" shows the Y coordinate. The data
type is BIN or BCD.
The Special Relay is not write-protected. Do not turn it ON/OFF with Parts or write
Words.
Description Detail
Common Relay
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit
Information (LS2032)
Bit Description
0 Toggles ON/OFF every communication cycle.
1 After a Base screen or Window changes, turns ON until
communication with all the device addresses set in the screen has
succeeded and the Part operation or process has completed.
2 Turns ON only when a communication error occurs.
3 Turns ON while the initial screen displays at power ON.
4 Normally ON.
5 Normally OFF.
6 Turns ON when backup SRAM data is erased.
(Only onboard backup SRAM)
7 When using D-Scripts, turns ON when a BCD error occurs.
8 When using D-Scripts, turns ON when a zero error occurs.
9 Turns ON when a recipe could not be transferred to backup SRAM.
10 Turns ON when a recipe transferred according to the Control Word
Addresscould not be transferred from PLC → SRAM.
Also, if transferring between the PLC by means of a Special Data
Display (filing), when there is a Transfer Complete Bit Address, turns
ON when data could not be transferred from PLC → Area, or PLC →
SRAM.
11 Turns ON while transferring filing data between SRAM ←→ LS Area
by means of a Special Data Display (Filing).
12 When using D-Scripts, turns ON when a communication error occurs
from a memcpy ( ) or address offset designation read. Turns OFF
when data finishes reading normally.
13 In the [System Settings] [Script I/O] page, when no [D-Script/Global D-
Script] is set in the project, turns ON when the readout of the Send
function, Receive function, Control, Status variable, and Received
Data Size is executed in [SIO Port Operation]'s Label Settings.
14 In the [System Settings] [Script I/O] page, when [D-Script/Global D-
Script] is set in the project, turns ON when an extended script's [Text
Operation] function is executed. Also, in the [System Settings] [Script I/
O] page, when [Extended Script] is set in the project, turns ON even
when a D-Script/Global D-Script [SIO Port Operation]'s I/O function
(IO_WRITE, IO_READ) is executed.
15 Reserved
Base Screen
Information (LS2033)
15 1 0 Bit
Reserved
Continued
Description Detail
Reserved (LS2034, Reserved. Do not use.
LS2040 to LS2047)
1-Second Binary Increments once every second immediately after the power is turned ON.
Counter (LS2035) The data is binary.
Display Scan Time The display time taken starting from the first Part set on the display
(LS2036) screen to the end of the last Part. Data is stored in binary format, in ms
units. The data is updated when all processing for the target Parts has
finished. The data's initial value is 0.There is an error of ± 10 ms.
Communication One cycle's time is from the start to the end of the management of the
Cycle Time (LS2037) System Data Area allotted inside the device/PLC, and each type of
device. Data is stored in binary format, in 10 ms units. The data is
updated when all processing for the System Data Area and target device
has finished. The data's initial value is 0. There is an error of ± 10 ms.
LS Area Address
LS0 Start Address *1
System Data System Data
Area Area *2
LS20 +n
Data
Read Area
(Read Area)
LSx *4 +m *3
*1 Set up the start address with the process on the next page.
*2 n = 0 to 20. This depends on the number of selected items in the GP's set System Data
Area.
*3 This is the Read Area Size.
*4 ∗ = Read Area Start Address (20) + Read Area Size (m)
• When multiple devices/PLCs are connected to a single GP, the System Data
Area can only be allotted to one device/PLC.
• Do not set addresses for Parts which span the System Data Area and Read
Area, or the Read Area and User Area.
• When setting addresses for Parts in the System Data Area, set the data
length as 16 bit.
• The number of addresses that can be set in the System Data Area differs
depending on the device/PLC. For details, please refer to the GP-Pro EX
Device/PLC Connection Manual.
1 From the [Project (F)] menu, select [System Settings (C)] or click . In [System
Settings], select [Display Unit]. In [Display Unit], select the [System Area] tab. The
following dialog box appears.
2 Assign the addresses in the device/PLC you will communicate with. In [System Area
Device], select the device/PLC where you will assign addresses and set the start address of an
area that has 16 words or more of continuous addresses in [System Area Start Address].
• Data used in all common screens and Line Charts' block display data is
stored in the "Read Area." According to the needed capacity, set a [Read
Area Size] of up to 256 words. Use the LS area exclusively as the read area
starting from the address on the right and continuing for the designated
number of words.
3 Select the [Enable System Data Area] check box. Sixteen words are allocated from the start
address.
) "A.1.5.2 System Data Area" (page A-31)
• When using a Global Window, 4 Words are used for the [Window Control],
[Window Screen], and [Window Display Position].
) "12.6 Changing the Displayed Window on All Screens" (page 12-17)
4 The settings are complete.
0000
System Data Area
0020
User Area
2032
Special Relay Area
2048
Reserved
2096
User Area
9000
9000 Area
9999
• When setting addresses for Parts in the System Data Area, set the data
length as 16 bit.
• When the address has a bit designation, add a bit position after the Word
device. (Designate from 00 to 15.)
< > When bit 02 of the user area's 0020 address is designated
"002002"
Bit Position
Word Address
• The Word Addresses in this table appear when you select the [Enable System
Data Area] check box and all of the items.
Description Detail
Reserved Addresses "0", "2", "9", and "14" are reserved because they are used
within the GP; do not write data to them
Status Monitor only the necessary bits. Reserved bits are sometimes used for
GP system maintenance, so do NOT turn them ON/OFF.
Continued
Description Detail
Error Status When an error occurs in the GP, the corresponding bit turns ON. After
the bit turns ON and the power turns OFF, the status is maintained until
the GP changes from offline mode back to active mode.
Bit Description Detail
0 to 2 Unused
3 Screen Memory There is an error in the project file.
Checksum Transfer it again.
4 SIO Framing
5 SIO Parity
6 SIO Overrun
7 to 9 Unused
10 Backup Battery Low This turns ON when the voltage of the backup
Voltage lithium battery is low. The backup battery is
used by the clock and SRAM.
11 to 15 Unused
Because the addresses are used for system control, do not display
them by means of a Data Display.
Clock Data (Current) Whatever the value, it will be stored in BCD, in the highest-order bit to
bit 7.
[Year] is the 2 final digits of the year, [Month] is 2 digits from 01 to 12,
[Day] is 2 digits from 01 to 31, [Hour] is 2 digits from 00 to 23 and
[Minute] is 2 digits from to 59.
Setting Example: October 19th, 2005, 21:57
- "Year" - Write "0005" → Word Address "4"
- "Month" - Write "0010" → Word Address "5"
- "Day" - Write "0019" → Word Address "6"
- "Hour" - Write "0021" → Word Address "7"
- "Minute" - Write "0057" → Word Address "8"
Interrupt Output If writing to a Word Switch (16 bit), when you release your finger from
(When touch is OFF) the Switch, the lower 8 bits are output as an interrupt code. (Control code
"FFh" will not be outputted.)
Do not write control codes in the "00 to 1F" range. It can cause a
communication problem.
Continued
Description Detail
Control
• Please make sure to write this address in bit units. In some cases, writing
with word data can change the value.
• "Reserved" bits are sometimes used for maintenance of the GP's system.
Turn them OFF.
Bit Description Detail
0 Backlight OFF When ON, the backlight turns OFF. When OFF, the
backlight turns ON. (The parts placed on the screen
function while the LCD is lit.)
• When Status "Bit 2" (Printing) turns ON, turn it OFF manually.
3 Reserved 0 Fixed
4 Buzzer The following action occurs only when Control "Bit 1"
(Buzzer ON) is ON.
0:Sound, 1: Do not sound
To stop the buzzer sound, turn this bit ON.
5 AUX Output The following action occurs only when Control "Bit 1"
(Buzzer ON) is ON.
0:Sound, 1: Do not sound
To stop the AUX output, turn this bit ON.
6 Interrupt output (Interrupt code: FFh) 0: Do not output interrupt, 1:
for when a Output interrupt
screen is
changed from
OFF to ON by
touching a touch
panel
7 to 10 Reserved 0 Fixed
11 Print Canceled 0:Sound, 1: Do not sound
When the bit turns ON, all current printing is
canceled.
• After printing stops and Status "Bit 2" (Printing) turns OFF,
turn it OFF manually.
• Even when the Print Canceled bit turns ON, data previously
sent to the printer is printed.
12 to Reserved 0 Fixed
15
Continued
Description Detail
Screen Display ON/ Shows the screen when the value is "0h" and hides the screen when the
OFF value is "FFFFh". Values other than "0h" and "FFFFh" are reserved.
When the screen display is hidden, the next touch on the screen will turn
the display back ON.
Because the addresses are used for system control, do not display
them by means of a Data Display.
Because the addresses are controlled in Words, you cannot write
Bits.
When you write "FFFFh," the displayed screen disappears
momentarily. If you want the screen display to disappear for the
standby mode time designated in the GP offline mode's initial
settings, write "0000h."
Interrupt Output When writing to a Word Switch (16 bit), the lower 8 bits are output from
(When touch is ON) the GP to the host as an interrupt code.
Do not write control codes in the "00 to 1F" range. It can cause a
communication problem.
Because the addresses are used for system control, do not display
them by means of a Data Display.
Because the addresses are controlled in Words, you cannot write
Bits.
• When you write data with a Word Switch (16 bit), they are output as
interrupt data. Retrieve this byte of interrupt input in the host (with the
INPUT$ in BASIC, for example), and you can simplify the program by
using the retrieved interrupt output to jump to each subroutine.
Continued
Description Detail
Current Screen Set the Change-to Screen Number. The setting range differs depending
Number on whether or not [Data Type of Display Screen Numbers] and [Change
Screen from Main Unit - Reflect in Device/PLC] are set on the [System
Settings] [Display Unit] [Display] tab.
Because the addresses are used for system control, do not display
them by means of a Data Display.
Because the addresses are controlled in Words, you cannot write
Bits.
Window Control Controls the window display.
) "12.7.2 Word Action" (page 12-23)
Window Screens Stores the Global Window's registration number selected indirectly: 1 to
2000 (BIN/BCD).
Window Display Stores the Global Window's top-left display position, selected indirectly.
Position "+18" shows the X coordinate, "+19" shows the Y coordinate. The data
type is BIN or BCD.
The Special Relay is not write-protected. Do not turn it ON/OFF with Parts or write
Words.
Description Detail
Common Relay 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit
Information
Bit Description
0 Reserved
1 After a screen (Base, Window) changes, turns ON until the Part
handling is complete.
2 Reserved
3 Turns ON while the initial screen displays at power ON.
4 Normally ON.
5 Normally OFF.
6 Turns ON when backup SRAM data is erased.
(Only onboard backup SRAM)
7 When using D-Scripts, turns ON when a BCD error occurs.
8 When using D-Scripts, turns ON when a zero error occurs.
9 Turns ON when a recipe could not be transferred to backup SRAM.
10 Turns ON when filing data transferred according to the Control Word
Address could not be transferred from PLC*1 → SRAM.
Also, if transferring between the PLC by means of a Special Data
Display, when there is a Transfer Complete Bit Address, turns ON
when data could not be transferred from PLC *1 → Area, or PLC *1 →
SRAM.
11 Turns ON during filing data transfer between SRAM and ←→ LS Area
*1
by means of a Special Data Display (Filing).
12 When using D-Scripts, turns ON when a communication error occurs
from a memcpy ( ) or address offset designation read. Turns OFF
when data finishes reading normally.
13 In the [System Settings] [Script I/O] page, when no [D-Script/Global D-
Script] is set in the project, turns ON when the readout of the Send
function, Receive function, Control, Status variable, and Received
Data Size is executed in [SIO Port Operation]'s Label Settings.
14 In the [System Settings] [Script I/O] page, when [D-Script/Global D-
Script] is set in the project, turns ON when an extended script's [Text
Operation] function is executed. Also, in the [System Settings] [Script I/
O] page, when [Extended Script] is set in the project, turns ON even
when a D-Script/Global D-Script [SIO Port Operation]'s I/O function
(IO_WRITE, IO_READ) is executed.
15 Reserved
*1 For the Memory Link Method, represents the "User Area" inside the System Area.
Base Screen
15 1 0 Bit
Information (2033)
Reserved
Continued
Description Detail
Reserved Reserved. Do not use.
(2034, 2037, 2040 to
2047)
1-Second Binary Increments once every second immediately after the power is turned ON.
Counter The data is binary.
Display Scan Time The display time starts from the first Part set on the display screen to the
(2036) end of the last Part. Data is stored in binary format, ms units. The data is
updated when the targeted Parts' pre-processing completes. The data's
initial value is "0". There is an error of ±10 ms.
Display Scan The counter increments each time the Part set on the display screen
Counter processes. The data is binary.
A.1.6 Restrictions
• Data stored in the GP internal device, including Memory Link's System Area are deleted
when the GP enters offline mode. However, you can copy the User Area's data to backup
SRAM.
) "5.15.6 [System Settings] Setting Guide Mode •Backup Internal Device" (page 5-146)
A System Error may occur if a communication error continues for a long time. In this
case, reset the GP.
When you use the value of a 1-Second Binary Counter or Display Scan Counter as
the trigger bit for a Triggered Action part's Monitoring Bit or for the Script feature, a
System Error may occur if a communication error continues for a long time. In this
case, reset the GP.
The Special Relay is not write-protected. Do not turn it ON/OFF with Parts or write
Words.
A.1.6.3 Restrictions when Using Direct Access and Memory Link Together
Using Direct Access Method and Memory Link Method, andCommunicating with a
Device/PLC
GP
COM1 COM2
Direct Access Memory Link
Method Method
Microcomputer board
Company A's PLC
(PLC1)
• When setting addresses with Parts or the Script feature, separate them in the GP internal
device.For example, when setting a Word switch's [Word Address], you can select 2 types
of device code when you use the GP internal device, but the supported communication
method differs depending on the area.
- [#INTERNAL]LS
The User Area allocated in the Device/PLC
with the Direct Access Method. You cannot
use the Memory Link Method to
communicate.
- [#INTERNAL]USR
An area that can be arbitrarily set as a work
area. Can be used with both the Direct
Access Method and Memory Link Method.
- [#MEMLINK]
The User Area used only for communication
by Memory Link Method. You cannot use the
Direct Access Method to communicate.
• The Direct Access Method LS Area and the Memory Link Area (System Area) are
mutually linked, with the exception of some addresses.
Direct Access Method Memory Link Method
LS Area LS Area
LS0000 System Data Partly System Data 0000
Area Linked Area
LS0020 0020
Read
Area
(LS0276) User Area
User Area
LS2032 2032
Special Relay Special Relay
Linked
Area Area
LS2048 2048
Reserved Area Linked Reserved Area
LS2096 2096
User Area User Area
LS8192 8192
User Area User Area
LS9000 9000
LS9000 Area Linked LS9000 Area
LS9999 9999
• The System Data Area in the Direct Access Method (LS Area) and the System Data Area
in the Memory Link Area are partially linked. Please confirm the details in the
corresponding table.
• The storage order for text data is as follows. You cannot change the order.
USR100 5 2 4 5
R E
USR101 7 9 5 2
O R
USR102 0 0 5 2
R
ERROR
A.2.1 Detail
You can monitor the arbitrary device of a specified device/PLC on the GP screen and change
the arbitrary address value from the GP screen. This is useful for debugging.
The screen for the monitor is provided, therefore you do not need to create the base screens.
• A ladder monitor tool is available for reading the PLC ladder program and
monitoring on the GP screen. Please confirm whether your display model
supports the ladder model features and purchase the ladder monitor tool for
your PLC. Please refer to the "PLC Ladder Monitor Operation Manual" for
the ladder monitor operating instructions.
) "1.3 List of Supported Functions by Device" (page 1-5)
• If the [System Settings] tab does not display on the work space, select View]
menu, point to [Work Space], and then select [System Settings (S)].
2 Open the [Extended Settings] tab and select the [Device Monitor] check box.
• The device monitor screen displays using a global window on the GP screen.
Therefore, other global windows do not display while the device monitor
executes.
• Enable [Device Monitor] to automatically specify [Global Window
Operation] on the [Mode] tab as [Indirect].
2 The system menu displays. Touch [Device Monitor] to display the device monitor screen.
Touch [Device monitor] Device monitor
Device Monitor
Status:
Trigger Screen
Beep
Start with a Switch to start the device monitor.
Create and place the switch for device monitor start in advance.
Device monitor
Device Monitor
Monitor Status:
Trigger Screen
Beep
From the [Parts (P)] menu, point to [Switch/Lamp (C)] and select [Special Switch(P)] or
click to place the switch on the screen, and then set as follows.
Select a
monitoring
method.
Select to display/hide
Exit the device the device name.
monitor.
Write the value to the
arbitrary address.
(page A-57)
Exit the menu
screen.
• If text that is unusable on the GP is included in the device name, it will not
display correctly.
• For changing which device to monitor, next to the device/PLC name touch .
The names of devices you can monitor appears. Select the device to monitor.
3 Select the display method from [Big Lamp], [Small Lamp] or [0/1]. When you select lamp
display, indicates ON and indicates OFF.
2 Touch the Exit menu or touch . The Word Block Monitor screen appears.
3 Select the display format. The default setting is decimal. You can select from [Hexadecimal/
BCD], [Unsigned], [Signed] or [Octal]. For a 32-bit device, you can also select [Float].
Random Monitor
You can select and display the address that you want to monitor and the address that you
want to view from the bit address.
• In the random monitor, you can only view addresses that can display on one
video. The address numbers that can display depend on the size of the
display screen or device monitor screen.
• There is a limit to the number of characters you can display for the address.
This limit is dependent on the screen size.
5 Enter the address you want to display and touch [ENT]. The screens will switch.
Touch [OK] to display the input address on the random monitor screen.
1 Touch [Write to Optional Address] on the menu screen. The address input screen displays.
• You can display the address input screen by touching the arbitrary address on
each monitor screen.
2 Select [Word] from Type, specify the address as "D100", and touch [ENT].
3 Select the display method for data, set the value "100" that you want to write, and touch
[ENT].
Touch to move to
the address input
screen.
• When you write to a bit address, select [ON] or [OFF] and touch [ENT].
• You cannot use this feature when the display is the same size as the device
monitor.
Device Monitor
2 3
Status:
Trigger Screen Device Monitor
Status:
Trigger Screen
A.2.4 Restrictions
• The device monitor screen displays using a global window. You cannot display other
global windows while the device monitor displays.
• When you turn off the power on the display unit, the display position and size settings for
the device monitor or displayed items are lost.
• The bit display of a 32-bit device cannot display.
• The Word device cannot display binary.
• Do not write a value outside the range of the address. Doing so results in an error.
• The display language of the device monitor depends on the system language. If a
language other than Japanese is specified, it is displayed in English. If an unusable
language is set in the system language, the device/PLC name will not be displayed
correctly.
• While using the device monitor, depending on the protocol or current screen size, screen
updates could take longer than usual.
• For models that support only QVGA resolution, you cannot change the window size.
• The component tray displays registered trigger action parts in the order they
are created. To change the order of trigger action parts in the component tray,
change the ID number for registered parts, then from the [Edit] menu select
[Auto-Align Trays]. You can change ID settings by double-clicking parts in
the component tray to display the edit dialog box.
Bit Action
Operate the specified bit address according to the change of state of the trigger bit address.
Setting Description
Bit ON Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from OFF → ON.
Trigger Settings
Bit OFF Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from ON → OFF.
Bit Change Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from ON to OFF or from OFF to ON.
Trigger Bit Address Designate the bit address that triggers the action set in [Mode].
Destination Bit Designate the bit address to run the action.
Action
Address
Continued
GP-Pro EX Reference Manual A-61
Executing Multiple Actions (Programs) with a Switch Operation
Setting Description
Bit Set Turns ON the [Destination Bit Address] and maintains the ON
state.
Bit Reset Turns OFF the [Destination Bit Address] and maintains the OFF
state.
Flip Changes the ON/OFF state of the [Destination Bit Address].
Comparison When the comparison condition is satisfied, turns ON the
[Destination Bit Address]. Compares the Word Address data and a
constant.
Bit Action
Action
Word Action
Operate the specified bit address according to the change of state of the trigger bit address.
Setting Description
Bit ON Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from OFF → ON.
Trigger Settings
Bit OFF Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from ON → OFF.
Bit Change Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from ON to OFF or from OFF to ON.
Trigger Bit Address Designate the bit address that triggers the action set in [Mode].
Destination Word Designate the Word address to run the action.
Action
Address
Continued
Setting Description
Write Data Writes the constant in [Destination Word Address].
Bit Length Set the data length for the Word address to 16 bit or 32 bit.
Constant Designate the constant to write.
Data Type Designate the constant's data type.
Add Data Writes the value of the constant added to the [Addition Base Word
Address] into the [Destination Word Address].
Word Action
Action
Screen Change
Screen Change is executed according to the change of state of the trigger bit address.
Setting Description
Bit ON Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from OFF → ON.
Trigger Settings
Bit OFF Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from ON → OFF.
Bit Change Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from ON to OFF or from OFF to ON.
Trigger Bit Address Designate the bit address that triggers the action set in [Mode].
Change Panel The displayed screen changes to the specified screen.
Screen Change Action
Action
Change to Specify the number of the Screen you want to display from 1 to
Screen 9,999. This can only be set when [Screen Change Action] is set to
[Screen Change].
Continued
Setting Description
Hierarchical You can set a level hierarchy to the Screen Change. This can only be
Display set when [Screen Change Action] is set to [Screen Change]. A
Screen maximum of 32 levels can be set.
Change
Previous Screen Returns to the previously displayed screen. For screens that are
organized hierarchically, the parent screen appears.
Draw Action
When the trigger bit address turns OFF → ON, drawing is complete.
Setting Description
Bit ON Executes the action designated in [Mode] when the [Trigger Bit Address]
Trigger Settings
Setting Description
Read After Reads the draw data when the conditions in [Trigger Settings] are
Startup satisfied.
Action
• This action cannot be used when the [Data Storage Word Address] is an
internal device.
Graphical data
Graphical data starting from the Data Storage Start Address is as follows.
+0 Graphic Type
+1 Display Attributes
+2 Color Attributes
+3
Coordinate Data
+n (Max +7)
To draw a line
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Arrow
0 None
1 One Side
2 Both Ends
Line Type
Stored Value Line Type
To draw a rectangle
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Mode
Line Type/Fill Pattern
Mode
0 Draw Line
1 Fill
To draw a circle
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Mode
Line Type/Fill Pattern
Mode
0 Draw Line
1 Fill
The format used to store attribute data differs depending on the following display colors and
whether or not blink is set.
• 256-Color Display (No Blink)
• 64-Color Display + 3-Speed Blink
• Monochrome 16 Levels + 3-Speed Blink
As shown below, the display color's color code is stored in bit 0 to 7, and the background color's
color code is stored in bit 8 to 15. For information on color codes, refer to the following table.
Background Color Display Color
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
To draw a rectangle
Start Point (X, Y)
+3 Start Point X Coordinate
+4 Start Point Y Coordinate
+5 End Point X Coordinate
+6 End Point Y Coordinate End Point (X, Y)
To draw a circle
+3 Center X Coordinate
+4 Center Y Coordinate Radius
+5 Radius Center
Radius: 0 is invalid (X, Y)
To draw a dot
Special Action
Starts the application or exits WinGP depending on the change of state of the trigger bit
address when using WinGP.
Setting Description
Bit ON Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from OFF → ON.
Trigger Settings
Bit OFF Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from ON → OFF.
Bit Change Executes the action designated in [Mode] when the [Trigger Bit
Address] changes from ON to OFF or from OFF to ON.
Trigger Bit Address Designate the bit address that triggers the action set in [Mode].
Continued
Setting Description
Special Action Select the action from [Start Application] or [Exit WinGP].
Start Application Specify the start up application on the WinGP.
EXE path Input the absolute path of the executable file (.EXE) you want to
start. You can input up to 255 characters.
Parameter Input the argument of the executable file on start up. You can input
up to 255 characters.
Prevent multiple If the specified application has already started, enable so
instances application will not execute again if trigger conditions re-occur
while the application is running.
Action
• When you select a series other than the IPC Series, the trigger action in
[Special Action] will not operate regardless of your settings. To execute
[Special Action], you need to start WinGP.
• For the trigger bit's ON/OFF, leave an interval longer than the communication cycle
time*1 or display scan time*2, whichever is longer.
• After you turn ON the Trigger Bit Address, a screen change occurs before the drawing or
erasing is complete. The Trigger Bit Address is turned OFF.
• The only graphic data can be stored are Bin data. BCD data cannot be used.
• If the graphical data to be stored are outside the range, they will become the default value
of zero.
• For coordinate data, the top-left of the screen is coordinate (0, 0). For graphics in a
window, the top-left of the screen registered as a window is coordinate (0, 0).
• For the color attribute's background color, if you designate "Black + Medium Speed
Blink" or color code 255, the background color will become transparent.
• The following shows actions which occur immediately after a screen is changed or power
is turned ON.
Triggered Condition Direct Access Method Memory Link Method
Bit Value Bit Value Bit Value Bit Value
"0" "1" "0" "1"
0 → 1(Bit Rising) X O X X
1 → 0(Bit Falling) O X X X
0 ↔ 1(Bit Changing O O X X
State)
O: The operation is performed immediately after the screen is changed, or the power is
turned ON.
X: The operation is not performed immediately after the screen is changed, or the power
is turned ON.
*1 The communication cycle time is the time it takes to request and take in data from the
GP unit to the PLC. It is stored in the internal device LS2037 as binary data. The unit
is milliseconds (ms). There is an error of +/−10 ms.
*2 Display Scan Time is the time it takes to display/calculate one screen. It is stored in
the internal device LS2036 as binary data. The unit is milliseconds (ms). There is an
error of +/−10 ms.
A.4.1 Details
This section provides an example of how to create a switch label using a Chinese
(Simplified) stroke font.
In addition to Chinese (Simplified), GP-Pro EX supports languages that use the ASCII
character set, Chinese (traditional), Korean, Cyrillic, and Thai.
Follow the procedures below in the order that they are listed:
3." Inputting Chinese (Simplified) into Change Screen Switch Label" (page A-88)
2 On the [Languages] tab, in [Text services and input languages], click the [Details] button.
3 The [Text Services and Input Languages] dialog box appears. On the [Settings] tab, click
[Add...].
4 In the [Add Input language] dialog box, select [Chinese (PRC)] in [Input language]. In
[Keyboard layout/IME], select [Chinese (Simplified) - Microsoft Pinyin IME 3.0]. Click
[OK].
6 Click [OK] to close the [Regional and Language Options] dialog box.
• The dialog box below appears when adding Simplified Chinese for the first
time. Insert the Windows2000 CD-ROM into the PC and click [OK].
3 When the data has finished being copied from the CD, you must restart the PC.
The dialog box below appears. Click [Yes].
4 After restarting, from the [Control Panel] select [Keyboard] to open the [Keyboard
Properties] dialog box.
5 From the [Input Locales] tab, in the [Installed input locales] area, click [Add...].
6 The [Add Input Locale] dialog box appears. Select the language to add from the [Input
locale] drop-down menu and click [OK].
In this example, use [Chinese (PRC)] for [Input locale] and [Chinese (Simplified) - MS-
PinYin98] for [Keyboard layout/IME].
• If the [System Settings] tab is not displayed, from the [View (V)] menu, point
to [Work Space (W)] and select [System Settings (S)].
2 From [Font Used in Project], select the [Chinese (Simplified) Stroke Font] check box.
Click [Yes]. You can confirm that the User Screen Area is also used.
4 Clear the check box for the fonts you are not using. This allows more free space in the Font
Area.
• Japanese Standard Font, English Standard Font, and English Stroke Font are
all fixed. You cannot remove these fonts.
2 Launch GP-Pro EX. Double-click on the Change Screen Switch created with the process in
"11.2 Changing Screens by Touch" (page 11-4). Select the [Label] tab, set the [Font Type],
[Display Language], and enter the label using pin yin.
• When you select the [Stroke Font] in [Font Type] or change the [Display
Language], the following dialog box may appear. This confirms to add the
font type since a switch has been set before adding the font.
3 Click [OK] to close the [Switch/Lamp] dialog box. The Change Screen Switch's label
changes to Chinese (Simplified).
A.5.1 Detail
You can use the Special Data Display [File Manager] on the GP screen to copy or move data
from the CF Card to USB memory, or from USB memory to the CF card.
This function can be used for securing available space by transferring data not immediately
required in the CF Card to a USB memory device when the CF Card has limited available
space, or for making a backup of the data.
CF USB
MOVIE <DIR>
step1.SDX
step2.SDX
step3.SDX
CF Card
CUT COPY PAS DIPS ALL DEL
TE
File Manager
USB memory
CF USB
MOVIE <DIR>
step1.SDX
step2.SDX
step3.SDX
CF Card
CUT COPY PAS DIPS ALL DEL
TE
File Manager
USB memory
1 From the [Parts (P)] menu, point to [Special Data Display (P)] and select [File Manager (M)].
Place File Manager on the screen.
2 Double-click the Special Data Display [File Manager]. The following dialog box appears.
3 From [Action Mode], point to [File Operation], select [Target Data], and select [CF <-->USB
Storage].
4 Click the [Switch] tab. Select the [Display] check box. In [Select Shape], select the shape of
the switch, specify the label and color and then click [OK].
• You can check the approximate available space of the CF card and the USB
memory device by specifying the settings for [CF Card Available Space] and
[External Memory Available Space]. To access these options, from System
Settings, point to [Display Unit] and select [Mode].
Beep
Touch the display switch again to close the [File Manager].
The contents of the CF card are shown on the left and the contents of the USB memory are shown on the right.
Closes the File Manager.
Next Page
Information
Area
CUT COPY PAS DISP ALL DEL
TE
• Display Area
Displays the file name up to 19 characters. If the file name contains more than 19 characters, the file
name appears as "..." after the first 19 characters. (For example "ZR12345678901234...")
Displays the folder name up to 14 characters. If the folder name contains more than 14 characters,
the folder name appears as "..." after the first 14 characters. (For example
"ABCDEFGHIJK...<DIR>"). The full-path name can contain up to 100 characters (folder name +
file name).
• Information Area
Selecting a folder displays the folder creation date. Selecting a file displays the creation date and
size of the file.
• Do not connect more than 1 USB storage. If you do so, the USB devices may
not be recognized properly.
• If a CF Card or USB memory device is not inserted, File Manager will still
be displayed, however nothing appears in the Display Area. Immediately
after a CF Card or USB memory is inserted in the GP, first the root folder is
displayed.
3 To open a file in a child folder, touch the folder name then touch [DISP]. This displays the
files in the folder.
CF USB
MOVIE <DIR>
step1.SDX
step2.SDX
step3.SDX
4 Once you have selected the files, touch [CUT]. The [USB] is highlighted.
5 Touch [PASTE]. The message, "If a file already exists, it will be overwritten." is displayed.
Touch [OK] to paste the file to [USB].
CF USB
MOVIE <DIR> step1.SDX
step2.SDX
step3.SDX
The file was transferred from the CF Card to the USB memory device.
• While accessing a CF Card or a USB memory device, do not reset the
display unit or remove the CF Card or USB memory device.
CF USB 2 3
MOVIE <DIR>
step1.SDX
step2.SDX
step3.SDX
#L_RefreshEnable
When the address refresh is enabled, the bit is turned ON.
Enable Condition:
(1) First PLC communication scan is complete. (When more than one PLC is connected, all
first communication scans are complete.)
(2) PLC communication is normal.
Disable Condition:
(1) First PLC communication scan is not complete. (When more than one PLC is connected,
all first communication scans are not complete.)
(2) PLC communication failure is occurred. (When you connect more than one, more than
one of PLC communication failures are occurred.)
#L_BatteryErr (Battery malfunction)
Turns on when battery malfunction information is detected on the GP.
If this bit turns ON, the #L_BatteryErr bit does not turn OFF until the GP is reset or the
power turns OFF.
Because this is a read-only area, writing is not possible.
#L_Error (Logic error)
Turns ON if an error occurs in the logic operation.
If this bit turns ON, the #L_Error bit does not turn OFF until the GP display unit is reset or
the power turns OFF.
Because this is a read-only area, writing is not possible.
#L_StopPending (Logic stop wait flag)
The #L_StopPending bit remains ON Until #L_StopScans reaches 0.
Until #L_StopScans is zero, the #L_StopPending bit remains ON for the duration of the scans
until the logic stops.
Because this is a read-only area, writing is not possible.
#L_Fault (Error handler stop flag)
This flag is referenced at the end of the "error handler" subroutine to determine whether to
stop or continue the execution of the logic program.
The execution of the logic program on the GP will stop at the end of ERRH routine if the
#L_Fault bit is ON.
Reading and writing is possible in this area.
#L_Fault is not used without an "error handler" subroutine.
#L_IOFault (I/O error flag)
#L_IOFault turns ON if an I/O error occurs on the I/O driver.
The flag remains until another error occurs or until the GP is reset.
#L_ScanTime (The time from the start of step 0 of the current scan to the start
of step 0 of the next scan)
Stores the scan time of the previous scan just before the execution of the next scan.
Scan time is the time required for I/O reading, execution of the logic program, I/O output,
and display processing.
The unit is 0.1 ms.
Read Run
Scan
Mode
Display Write
Processing
Read Run
Scan
Mode
Display Write
Processing
Read Run
Scan
Mode
Display Write
Processing
Byte 0 (latch)
Total errors Scan error Reserved Read Error Overflow I/O error Minor errors Major errors
Bit 7 6 5 4 3 2 1 0
Byte 1 (latch)
Total errors Scan error Reserved Read Error Overflow I/O error Minor errors Major errors
Bit 15 14 13 12 11 10 9 8
Byte 2 (latch)
Reserved Awaiting Standby Stopped Pause Force change I/O available In RUN
Communication Enable/
Disable
Bit 23 22 21 20 19 18 17 16
Byte 3 (latch)
Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved
Bit 31 30 29 28 27 26 25 24
Format Code
AGP-3302B 0x00020404
AGP-3301 0x00020504
AGP-3300 0x00020514
AGP-3400 0x00020614
AGP-3500 0x00020714
AGP-3600 0x00020814
AGP-3450 0x00020634
AGP-3550 0x00020734
AGP-3650 0x00020834
AGP-3750 0x00020934
AGP-3510 0x00020A14
AGP-3560 0x00020A34
LT-3201A 0x00030204
LT-3301 0x00030504
LT-3300 0x00030514
) "28.13.3 Logic To adjust Scan Time Fixed Scan Time" (page 28-132)
) "28.13.3 Logic To adjust Scan Time CPU Scan Percentage" (page 28-133)
byte 0
I/O Reserved Pause Continue 1 scan Reset Run Stop
Enable/
disable
Bit 7 6 5 4 3 2 1 0
Byte 0
Reserved Reserved Reserved Reserved Reserved Reserved Logic Address
monitor monitor
startup: 1 startup: 1
Bit 7 6 5 4 3 2 1 0
Byte 1
Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved
Bit 15 14 13 12 11 10 9 8
Byte 2: 2
Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved
Bit 23 22 21 20 19 18 17 16
Byte 3: 3
Running: 1 Reserved Reserved Reserved Reserved Reserved Reserved Reserved
Stopped: 0
Bit 31 30 29 28 27 26 25 24
Verifications
When the I/O attribute of the specified unit is the same as that of the actually connected unit,
but the points differ, "1" is set.
Settings
When the I/O attribute of the specified unit is different from that of the actually connected
unit, "1" is set.
Critical Failure
When a failure that stops the logic such as an auxiliary board ID conflict or project data
failure is found, "1" is set.
Error Messages
#L_CalcErrCode
The calculation error state can be identified in #L_CalcErrCode. The area is cleared to 0
when reset.
H
Stores the calculation error codes.
L
#L_FaultStep
Stores the program step Number when abnormal processing occurs.
#L_FaultLogicScreen
Stores the logic screen Number when abnormal processing occurs.
INIT : 1
MAIN : 2
ERRH : 3
SUB-01: 32 to SUB-32: 63
#L_StopScans
Enter a numeric value to execute scanning for the specified number of times. The logic scan
continues until the setting reaches 0. Meanwhile, the #L_StopPending bit is ON. When this
bit turns OFF, the logic stops.
#L_BackupCmd
When you backup the data of the variables specified to be kept, it triggers backup and restore.
0 Bit: When backup is executing, the lower 16 bits are turned OFF automatically.
1 Bit: When restore in executing, the lower 16 bits are turned OFF automatically.
8 Bit: When backup is complete (normal completion), it is turned ON. When an error occurs, it is
turned OFF.
9 Bit: When restore is complete (normal completion), it is turned ON. When an error occurs, it is
turned OFF.
The other bits are reserved.
H 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
L 0 0 0 0 Keep Variable 0 0 0 0 Keep Variable
Backup Backup Request
Completion Bit Bit
Bit OFF ON
Backup Execution None Request (Backup of variable)
Restore Execution None Request (Restore of variable)
After execution, it is turned OFF automatically.
When the request bits are simultaneously turned ON, restore is executed after the backup.
Bit OFF ON
Backup Completion None Completion Notice
Restore Completion None Completion Notice
*1 WinGP does not operate. #H_Status_USBUsing is in the OFF state at all times. When
#H_Control_USBDetachTrigger is turned ON, nothing operates.
The operation to insert and remove a USB storage device is as follows.
When you connect a USB storage device to the display, #H_Status_USBUsing is ON.
When you remove a USB storage device, turn ON #H_Control_USBDetachTrigger.
When the USB storage device can be removed, #H_Status_USBUsing turns OFF
automatically.
When #H_Control_USBDetachTrigger is ON while writing the data from the USB
storage device, #H_Status_USBUsing does not turn OFF until data writing is complete.
Turns OFF automatically
Turn ON
ON OFF
#H_Control_USBDetachTrigger
OFF ON OFF
#H_Status_USBUsing
When #H_Status_USBUsing is OFF, you cannot access the USB storage device. Remove the
USB storage device and insert again.
Do not transfer to offline mode, transfer data to the display, or insert and remove the USB
storage device while writing data to the USB storage. This may result in an incomplete file
or damage to the USB storage device.
*2 To start the ladder monitor, refer to the "PLC Ladder Monitor Operation Manual" provided
with your PLC's ladder monitor product (sold separately).
Integer type
Variable Name Description Read Write
#H_BackLightColor 2-color Backlight Switching*1 O O
#H_ChangeScreenNo Change To Screen Number O O
#H_CounterbySecond 1-Second Binary Counter O X
#H_CurrentDay Day Data (Current Value) O X
#H_CurrentDayofTheWeek Day (Current Value)*2 O X
#H_CurrentHour Hour Data (Current Value) O X
#H_CurrentMinute Minute Data (Current Value) O X
#H_CurrentMonth Month Data (Current Value) O X
#H_CurrentScreenNo Current Screen Number O X
#H_CurrentSecond Second Data (Current Value) O X
#H_CurrentYear Year Data (Current Value) O X
#H_DispScanCounter Display Scan Counter O X
#H_DispScanTime Display Scan Time O X
#H_GlobalWindowControl Window Control O O
#H_GlobalWindowNo Window Screens O O
#H_GlobalWindowPosX Window Display Position (X) O O
#H_GlobalWindowPosY Window Display Position (Y) O O
#H_JpegCaptureFileNo Screen Capture File O O
#H_LoginUserID User ID for current user O X
#H_SetDay Day Data (Setting Value) O O
#H_SetHour Hour Data (Setting Value) O O
#H_SetMinute Minute Data (Setting Value) O O
#H_SetMonth Month Data (Setting Value) O O
#H_SetSecond Second Data (Setting Value) O O
#H_SetYear Year Data (Setting Value) O O
*1 It operates only on models that support 2-color backlight switching.
"1.3 List of Supported Functions by Device" (page 1-5)
When you write "0", it is amber and "1" is red. Do not set other colors.
*2 The current value for the day is stored in LS9310. Please refer to [ A.1.4.2 System Data
Area] Clock Data (Current) in (page A-18) for the stored value.