# Target Settings

Hide Show

1. Target
2. FTP

## Target

Property | Description | Data Type | Minimum Value | Maximum Value | Read | Write
DateAndTime.Date | Stores the date on the target.*1 | Date | 01/01/1970 00:00:00 | 12/31/2037 15:00:00 |  |
DateAndTime.Time | Stores the time on the target.*1 | TimeOfDate | 01/01/1970 00:00:00 | 12/31/2037 15:00:00 |  |
DateAndTime.DateTime | Stores the date and time on the target.*1 | DateAndTime | 01/01/1970 00:00:00 | 12/31/2037 15:00:00 |  |
DateAndTime.Year | Stores the year on the target.*1 | Integer | 1970 | 2037 |  |
DateAndTime.Month | Stores the month on the target.*1 | Integer | 1 | 12 |  |
DateAndTime.Day | Stores the date on the target.*1 | Integer | 1 | 31 |  |
DateAndTime.Hour | Stores the hours on the target.*1 | Integer | 0 | 23 |  |
DateAndTime.Minute | Stores the minutes on the target.*1 | Integer | 0 | 59 |  |
DateAndTime.Second | Stores the seconds on the target.*1 | Integer | 0 | 59 |  |
DateAndTime.DayOfTheWeek | Stores the day of the week on the target. | Integer | 0 | 6 |  | -
Preferences.ScreenID | Stores the ID of the current screen. | Integer | 1 | 9999 |  |
Preferences.ScreenDescription | Stores the description of the current screen. Note: To use the data at runtime, enable [Preferences] - [Transfer Screen Description] property for Target01. | String | - | - |  | -
Preferences.ColorSetID | Stores the project theme's color set.
1 | Blue-Dark
2 | Blue-Light
3 | Green-Light
4 | Green-Simple
5 | Silver-Dark
6 | Alarm
7 | Test
8 | Universal
9 | Plasma
10 | High Contrast
| Integer | 1 | 1000 |  |
Preferences.Brightness | Stores the touch panel brightness. Range:
GP-4100 Series ST6000 Series STM6000 Series | 0 to 15 (0 is bright).
SP5000 Series Power Box SP5000X Series | 0 to 100 (0 is bright).
(Except the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series and PC/AT) |  |  |  |  |
Preferences.LanguageID | Stores the current language ID. See the Language Table editor for list of languages and associated IDs. |  |  |  |  |
Preferences.BacklightOff | If you set this property ON, the back light of the touch panel turns off. (Except the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series and PC/AT) |  |  |  |  |
Preferences.USBStorage.Status | Displays the USB memory status. (Except the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series and PC/AT) |  |  |  |  |
Preferences.SDCard.Status | Displays the SD card status. (SP5000 Series Power Box only) |  |  |  |  |
Preferences.SystemKeypad.Status | Displays the system keypad status. |  |  |  |  |
Preferences.KeepRuntimeData.UserManagement | Stores the setting for keeping or overwriting user management data settings during File System transfer. |  |  |  |  |
Preferences.KeepRuntimeData.EthernetSettings | Stores the setting for keeping or overwriting Ethernet settings during File System transfer. (Ethernet supported models except the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series and PC/AT) |  |  |  |  |
Preferences.SerialNumber | Displays the serial number of the display unit. (ST6000 Series, STM6000 Series, and GP-4100 Series only) |  |  |  |  |
Preferences.FileManagement.Status | Displays the File Management status. When copy and paste is in operation, the value of this property is ON. (Except the GP-4100 Series) |  |  |  |  |
Preferences.WebViewer.ConnectedClients | Displays the number of Web Viewer clients connected to the HMI server (display unit). (Except the GP-4100 Series) |  |  |  |  |
Preferences.WebViewer.RemainedLockoutSeconds | A Web Viewer client is interacting with the HMI and therefore locking out other clients. After the client is idle, this property counts down the number of seconds until the lockout is released. (Except GP-4100 Series) |  |  |  |  |
Preferences.InputCompletedFromUSBBarcodeReader | Displays the data input status of a USB barcode reader. The value of this source property is set ON when data read by a USB barcode reader is input to a variable. After this source property value is set ON, manually turn it back OFF so you can confirm completion of the next input. (This property value is NOT turned OFF automatically.) Connecting a USB Barcode Reader |  |  |  |  |
Preferences.UWF.Status | Displays the status of the Windows® Unified Write Filter. 0: UWF is either not installed or UWF is disabled. 1: UWF is enabled (and the volume is protected from write operations). (SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series and PC/AT only) Note: This property is updated at startup. If the operating system on the display unit is Windows Embedded Standard 7, the value of this property may not update properly. |  |  |  |  |
Ethernet1.MACAddress | Displays the MAC address for Ethernet port 1. (Models with Ethernet port 1, except the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series, PC/AT and models without Ethernet) | String |  |  |  | -
Ethernet2.MACAddress | Displays the MAC address for Ethernet port 2. (Models with Ethernet port 2, except the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series and PC/AT) | String |  |  |  | -
Ethernet1.IPv4Address | Displays the IP address of Ethernet port 1. (Models with Ethernet port 1, except the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series, PC/AT and models without Ethernet) | DWORD |  |  |  | -
Ethernet2.IPv4Address | Displays the IP address of Ethernet port 2. (Models with Ethernet port 2, except the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series and PC/AT) | DWORD |  |  |  | -
Ethernet1.IPv4SubnetMask | Displays the Subnet Mask of Ethernet port 1. (Models with Ethernet port 1, except the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series, PC/AT and models without Ethernet) | DWORD |  |  |  | -
Ethernet2.IPv4SubnetMask | Displays the Subnet Mask of Ethernet port 2. (Models with Ethernet port 2, except the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series and PC/AT) | DWORD |  |  |  | -
SecuritySettings.CurrentUserName | Displays the current user name. |  |  |  |  |
SecuritySettings.CurrentUserGroupName | Displays the current group name. |  |  |  |  |
SecuritySettings.CurrentSecurityLevel | Displays the current security level. |  |  |  |  |
SecuritySettings.UserNameEnter | Set the user name used for login. Setting value is cleared after login operation. |  |  |  |  |
SecuritySettings.PasswordEnter | Set the password used for login. Setting value is cleared after login operation. |  |  |  |  |
SecuritySettings.CurrentUserAvailableDay | Displays the number of days remaining until you have to change the password. |  |  |  |  |
SecuritySettings.AutoPopupDialog | Displays the login screen when you touch an object that has a security level higher than the logged-in user. |  |  |  |  |
SecuritySettings.ShowSecurityIcon | Displays an icon on objects that have a higher security level than the logged-in user. |  |  |  |  |
SecuritySettings.LockStatus | Displays the lock status. |  |  |  |  |
WebFunction.WebViewer.PageSettings.NodeName | Displays the node name of the Web Viewer server. You can configure the node name in the [Node Name] property. [Node Name] (Except GP-4100 Series) |  |  |  |  |

*1 When writing to the SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series or PC/AT, operate with the user rights that allow you to change the system time.

## FTP

Property | Description | Data Type | Minimum Value | Maximum Value | Read | Write
Client.Status.ActiveClients | The number of sessions currently connected to the FTP server. | Integer | 0 | 1 |  | -
Connection[*].LastStatus Note: * is the ID of the FTP connection. | Results of [Remote File Management] operations for each FTP connection. See List of LastStatus values below for more information. This value is initialized to 0 when performing the [Remote File Management] operation. | Integer | - | - |  | -
Connection[*].Terminate Note: * is the ID of the FTP connection. | Forcibly terminates the FTP connection with the server. Changing the value from 0 (OFF) to 1 (ON) forces the connection to terminate. Even if you change the value from 1 to 0 in the middle of the forced termination, the termination process cannot stop. This value is initialized to 0 when performing the [Remote File Management] operation. | Bool | 0 | 1 |  |

### List of LastStatus values

Value | Content | Solution
1 | Login or logout successful. | -
100 | Login failed. Unable to access the FTP server. | Check the address of the FTP server. Also, check the state of the network.
110 | Login failed. SSL/TLS connection failed. | Check if the FTP server supports FTPS. Check that the TLS version of the FTP server is compatible with the display unit version. Check that the encryption suite of the FTP server is compatible with the display unit version. Confirm that SSL/TLS is not blocked on the communication path.
120 | Login failed. The SSL/TLS connection failed. (The root certificate is invalid.) | Check the contents of the root certificate file and retransfer the project.
130 | Login failed. SSL/TLS connection failed. (Certificate validation failed.) | Check that the server certificate is within the validity period. Check if the date and time of the display unit system are correct. Check that the certificate on the FTP server is correct.
160 | Login failed. The user name or password is incorrect or has expired. | Check your user name and password.
200 | Failed to copy file from the FTP server to the display unit. Server error. (For example, the specified file does not exist) | Check the file path. Also check the file on the FTP server.
205 | Failed to copy files from the display unit to the FTP server. Server error. (For example, you do not have write permission.) | Check the file path. Check if the file is writable on the FTP server.
210 | Failed to copy files from the FTP server to the display unit. Communication error. (For example, the network is disconnected.) | Check the status of the network and the FTP server.
215 | Failed to copy files from the display unit to the FTP server. Communication error. (For example, the network is disconnected.) | Check the status of the network and the FTP server.
220 | Failed to copy files from the FTP server to the display unit. Display unit error. (For example, there is not enough space to write to.) | Check if you have enough space to write to. Check that the path to the file you are writing to is correct. Check if the destination is write protected.
225 | Failed to copy files from the display unit to the FTP server. Display unit error. (For example, the specified file does not exist.) | Check if the read file exists. Check if the read file path is correct.
230 | The file operation failed. The number of files exceeded 1000. | Check the number of target files specified in the [Remote File Management] operation.
300 | Transfer was forcibly terminated with the FTP connection's [Terminate] source property. | -
400 | File operation failed. There is a resource conflict. | Check if multiple [Remote File Management] or [File Management] operations are running at the same time.
410 | File operation failed. An unsupported file operation was run. | Check if the source and destination are the same attribute (folder or file). Check that the specified file is in a supported file format. Check if the folder or file is an absolute path.
420 | File operation failed. The external storage does not exist. Note: Error code 420 appears when the display unit is not an SP5000 Series Open Box (Windows 10 IoT Enterprise model), IPC Series, or PC/AT. Error code 220 or 225 appears when the display unit is an SP5000 Series Open Box (Windows 10 IoT Enterprise model), IPC Series, or PC/AT. | Check if the external storage is installed on the display unit.