<< Click to Display Table of Contents >> Manual > Device Connection Guide > Memory > Connection Procedure (Virtual Communication) > Virtual Devices |
About Virtual Devices
Virtual devices are our own proprietary devices that use the memory address space of the Server application. Virtual devices are devices that simulate the address space of a PLC (M, D, X, Y, etc.) and can be handled in the same way as standard PLC devices. For example, the device values of special relays (SM) and special registers (SD) change automatically and periodically. The values of these tags can be logged demo-wise and used as demo data for trend graphs and other screens.
Since the virtual device tag entity exists on the server side, data can be shared between clients via this device even in a system configuration with multiple PCs. However, the virtual device only expands the data in memory while the server is running, and the tag value is not retained. Therefore, if the Server application is restarted or the Server duplication is switched, the virtual device tag value will return to the initial value. If you want to continue using the tag value while retaining it when Server is restarted or duplication is switched, use "Memory Device" (set it to "Retain Value").
Device List
The compatible devices are as follows (see here for how to view the device list).
device |
keyword |
Start address |
explanation |
unit |
reading |
Writing |
Input Relay |
X |
0000 |
Decimal |
bit |
○ |
○ |
Output Relay |
Y |
0000 |
Decimal |
bit |
○ |
○ |
Internal Relay |
M |
0000 |
Decimal |
bit |
○ |
○ |
Special Relay |
SM |
0000 |
Decimal |
bit |
○ |
○ |
Data Register |
D |
0000 |
Decimal |
word |
○ |
○ |
Special Registers |
SD |
0000 |
Decimal |
word |
○ |
○ |
Data registers can only handle integers and cannot handle decimals. If you want to handle decimals, use the "Numeric Tag" of the "Memory Device". |
Device details
This device can be used as a memory tag. It simulates the PLC address map (M, D, etc.). It can also be used as a shared area when you want to share data between multiple clients.
■ Special Relays (SM)
SM0000 |
On/Off every 10ms |
SM0001 |
On/Off every 50ms |
SM0002 |
On/Off every 100ms |
SM0003 |
On/Off every 500ms |
SM0004 |
On/Off every 1000ms |
SM0005 |
On/Off every 2000ms |
SM0006 |
On/Off every 3000ms |
SM0007 |
On/Off every 5000ms |
■ Special registers (SD)
SD0000 |
A ring counter from 0 to 9999 that increments by 1 every 10 ms |
SD0001 |
Ring counter from 0 to 9999 that increments by 1 every 50 ms |
SD0002 |
A ring counter from 0 to 9999 that increments by 1 every 100 ms |
SD0003 |
A ring counter from 0 to 9999 that increments by 1 every 500 ms |
SD0004 |
A ring counter from 0 to 9999 that increments by 1 every 1000 ms |
SD0005 |
A ring counter from 0 to 9999 that increments by 1 every 2000 ms |
SD0006 |
A ring counter from 0 to 9999 that increments by 1 every 3000 ms |
SD0007 |
A ring counter from 0 to 9999 that increments by 1 every 5000ms |
SD0008 |
Using the value of SD0000, the sine curve value is between 0 and 100. |
SD0009 |
Using the value of SD0001, the value of the sine curve is between 0 and 100. |
SD0010 |
Using the value of SD0002, the sine curve value is between 0 and 100. |
SD0011 |
Using the value of SD0003, the sine curve value is between 0 and 100. |
SD0012 |
Using the value of SD0004, the sine curve value is between 0 and 100. |
SD0013 |
Using the value of SD0005, the value of the sine curve is between 0 and 100. |
SD0014 |
Using the value of SD0006, the sine curve value is between 0 and 100. |
SD0015 |
Using the value of SD0007, the value of the sine curve is between 0 and 100. |
The values of special relays and special registers do not change during online debugging or when the unit is in virtual communication mode. |