Virtual Communication

<< Click to Display Table of Contents >>

Manual > Server Creation Guide > Tag Edition > Function Explanation >

Virtual Communication

About Virtual Communications

When the unit is set to "virtual communication", no communication with PLC takes place and values are always read and written to the internal cache.

 

Virtual communication can be used when debugging in an environment where PLC is not available.

 

 

When you run FA-Server as an online debug (red arrow), all PLC are in virtual communication.

 

c_tag_0132

 

Additionally, if you want to have more granular virtual communication, you can set virtual communication individually for the entire driver, unit, folder, or tag.

 

In addition, you can switch the virtual communication mode from outside using the system property "Virtual". For details, please refer to System Properties.

 

■ Driver

c_tag_0067

 

■ Unit

c_tag_0068

 

■ Folder

c_tag_0069

 

■ Tags

c_tag_0070

 

 

 

attention

When using online debugging, please note the following:

 

・In the case of virtual communication, you can write any value regardless of the tag or PLC settings. For example, even if the tag type is an integer, you can write a value that includes a decimal point, or you can write a value that exceeds the address range on PLC.

- In the case of virtual communication, the filter function will be disabled even if a tag filter is set.

 

The above points should also be kept in mind when using virtual devices. For example, with normal settings, online debugging will result in virtual communication for virtual devices as well. Since virtual devices are units that do not communicate with PLCs in the first place, in cases where a tag filter has been set for the tag of a virtual device, you may want to exclude the virtual device from virtual communication during online debugging. In such cases, you can exclude the virtual device from virtual communication during online debugging by checking "Do not use virtual communication during online debugging" in "Advanced settings 2" of the unit properties.

 

c_tag_0071