The display unit makes a request to the device/PLC. The device/PLC then responds to the request from the display unit.
The communication format that minimizes the program load on the device/PLC is called "Direct Access".
Setup Process
In the [Device/PLC] page, select the device/PLC to connect.
For the display unit to get the necessary display data from the device/PLC, in the Parts and script features, set up an address you can reference. There are two types of addresses that you can reference.
Device/PLC Addresses
The display unit can reference the device/PLC data. For usable addresses and device codes, refer to the "GP-Pro EX Device Connection Manual".
Select the device/PLC name (for example, "PLC1") that will communicate with the display unit, and input that address (for example, "D00000").
For example, an Input Address screen on a [Word Switch].
To connect multiple devices/PLCs from the same series, in addition to connecting directly to the device/PLC you can set up virtual devices/PLCs by defining Indirect Devices. For more details, please refer to the following.
7.5 Changing the Device/PLC at Runtime (Indirect Device)
These are temporary storage locations for saving data such as the values operated on or controlled in the display unit. When referencing data, select [#INTERNAL] as the [Device/PLC], and input the associated address. [#INTERNAL] refers to the display unit's internal device.
For example, an Input Address screen on a [Word Switch].
The display unit's internal device [#INTERNAL], has two structured areas. The [LS] area and the [USR] are shown below.
[LS] Area
This contains free user areas and an area for operating the display unit.
A.1.1 LS Area (Direct Access Method Area)
The data storage order changes depending on the [Text Data Mode] properties on the System Settings, [Device/PLC] page.
7.9.1 System Settings [Device/PLC] Settings Guide
You can also change the data storage order by defining the text data mode using address LS9130.
22. Programming (Scripts)
[USR] Area
You may use all areas as you like, up to 30,000 Words.
The text 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.
Data stored in the display unit's internal devices is deleted when the display unit is turned off or enters offline mode, such as when transferring. To retain internal device data, you can copy the User Area's data to backup memory (SRAM).
5.4.4.3 Display Unit [Mode] - Backup Internal Device
Device Codes and Address Ranges of Display Unit Internal Devices (LS/USR)
Device Operations |
Device Code |
Address Range |
---|---|---|
LS |
0x0000 |
0 to 9999 |
USR |
0x0001 |
0 to 29999 |