In order to use a PC to access a Vision controller via Ethernet:
The Vision PLC must contain an Ethernet port. Ethernet ports for V2xx Vision OPLCs are available by special order.
Both the PC and PLC must be connected to an Ethernet network, and be assigned valid IP addresses; the PLC must be assigned a unique name via the Set PLC Name.
The PLC must be defined in either TCP\IP's Ethernet Project Settings or in TCP\IP Favorites.
In VisiLogic's Vision Communication - PC Settings:
- Ethernet must be selected
- the target PLC must be selected from either Favorites or TCP\IP Project Settings.
These conditions enable VisiLogic to access a PLC via Ethernet in order to download programs and carry out other tasks.
TCP/IP Project Settings enable VisiLogic to access a Vision PLC via an Ethernet connection. Each PLC included in the project will be accessed according to the protocol and port number assigned to it.
TCP/IP Project Settings contain IP addresses and settings that are specific to a particular VisiLogic project. However, you can add any of the IP addresses it contains to the Favorites file, which is a common, global file that can be accessed from any VisiLogic project.
Select TCP/IP Settings from the Project menu.
Open the IP Address Selector in order to enter the IP of the PLC s in the project.
Enter an IP address either by:
- Typing it,
- Importing any IP addresses you may have defined in your project within TCP/IP Init FBs
- Importing the IP of a PLC currently linked to your PC via a valid communication connection.
If you import a Vision's IP, its protocol type (UDP or TCP) and port number are also imported.
Before exiting TCP/IP Project Settings, you must set the PLC name. This is a unique name that is assigned to the controller via the Set PLC Name FB.
You can add any PLC defined in TCP/IP Project Settings to the Ethernet Favorites file.
Favorites is a common, global file that can be accessed from any VisiLogic project, as well as by other programs such as Remote Access.
Favorites is a file that is created by VisiLogic after you have added a PLC to the favorites list. It is a global file stored in the Program\Common files\Unitronics folder as Eth_Favorites.evb.
Ethernet Favorites is located on the Connection menu.
Once Favorites have been created, you can access them in order to:
Import the definitions into TCP/IP Project Settings.
Select a PLC listed in Favorites to enable VisiLogic to access a PLC via Vision Communication - PC Settings.
Once the conditions above have been met, VisiLogic can access a selected PLC via Ethernet.
Select Communication and OS from the Connection menu.
Under Connection Type, select TCP/IP (Call), and then select the target PLC from either Project Settings or Favorites.
VisiLogic is now ready to communicate via Ethernet.