Showing posts with label Wago. Show all posts
Showing posts with label Wago. Show all posts

Tuesday, December 10, 2024

Setting up Wago PLC in Codesys and writing first program

 


1.      Make sure you have Wago Ethernet Setting, WAGO-IO-CHECK, Codesys V3.5 installed in the PC.

2.      Check your PC’s IP address by going to Control Panel àNetwork and Internet.

One can also check IP address using command prompt and typing “ipconfig”.

3.   Now open Wago Ethernet Settings and press “READ”. It will display the connected PLC if the controller IP address is in same segment.


4.      If the PLC is not detected, it may be due to improper LAN connection or different IP settings. One may use the Wago PLC programming cable (Wago 750-923 Service cable)  and Wago IO Check to set the PLC IP. Note that default IP address of Wago PFC200 controller is 192.168.1.17.


5               Open WAGO-IO-CHECK.


 6.      Go to SettingsàCommunication


7.      In the Communication setting window, choose suitable COM port (check Device Manager for knowing the COM port to which PLC is connected). Set the PLC IP address in same segment as PC using Network tab.



8.     I encountered problem when selecting Cockpit as Runtime System, so I selected Codesys V3. It worked for me.



9.      Now ping the PLC IP address using command prompt and it should reply. Also check using WAGO-IO-CHECK to identify the PLC and its modules.


10.  After successful ping and device identification, launch Codesys. Once Codesys is launched, create “New Project” à Standard Project and save it to a desired location in computer.




11.  Select suitable Target. If no PLC is connected and user want to run in Simulation mode, select “CODESYS Control Win V3” from the dropdown menu. I have 750-8212 connected.



12.  Then do a Gateway connectivity confirmation. Put PLC IP address if needed. When both the LEDs are green, it means connection is successful.



 13.  Since I have actual PLC connected, it is required to create a K-Bus. First do a hardware scan to detect the connected IO modules.



14.  The above error means the application must be logged in.



15.  After that scan for device and it should show the connected IO modules. Select “Copy All Devices to Project”.


16.  Once the devices are added to project, do K-Bus mapping.


17.  Write your first PLC program.




 


 

 

The steps followed may work even if after slight difference in sequence.

Monday, September 23, 2024

Getting Started with Codesys v3.5 and Wago PFC200 (750-8212)

 

 

Step 1: Search for Codesys v3.5 in any search engine.


Step 2: When you click on the link, it redirects you to following page. Click on the download button. It will redirect you to a new webpage with Codesys v 3.5 descriptions.



 

 

Step 3: Click on Open Page link, which open a new webpage.


Step 4: User can download the software along with dependencies as a bundle download or selecting individual dependency as per his/her requirement.






Step 5: Click on Codesys 3.5 setup file to initiate installation.







Once installation is complete, launch the Codesys to check if installation is correct.

After this, you have to install Wago Licensing, Wago Solution Builder, Wago codesys Download Server, Wago Device and Libraries which are downloaded in Step 4 as a bundle.

Step 6: Again Launch Codesys 3. Create a New Project from Basic Operations.



Create a standard project and then choose suitable Name and Location where you want to save the project file.



Once done, you have to select the Device and Programming Language from drop down menu.


          

I have selected 750-8212 as my PLC device and Ladder Logic Diagram as my programming language. You will see the device list only if Wago Device and Libraries are properly installed.

 

Selected target system is different from the connected device

Once you connect a Wago PFC 750-8212 device with PC and develop a ladder program, you will have to download the program into the PLC.

In some cases, it may display “selected target system is different from the connected device” error message. This happens due to firmware incompatibility between the codesys wago device library and PLC firmware. The user will have to update the firmware of the device in that case.

 

 

PLC Firmware update



In the softwares downloaded in Step-1, you will find Firmware also which needs to be uploaded to the PLC. The firmware can be uploaded using Wagoupload. WAGOupload is a stand-alone PC software for transferring, backing up and restoring PLC applications on WAGO 750 Series controllers.




RF PCB Design-Part 4: Ground Plane

Ground Plane in PCB Design A ground plane is a large, continuous layer of copper in a PCB, used as a reference point for electrical signals ...