{"id":20820535,"url":"https://github.com/tdr-void/plc-filling-machine","last_synced_at":"2026-03-17T13:20:50.028Z","repository":{"id":255611978,"uuid":"850915220","full_name":"TDR-VOID/PLC-Filling-Machine","owner":"TDR-VOID","description":"This project automates a paint filling machine using a Fatek FBS series PLC, managing the process of filling buckets with yellow and blue paint through different operational modes.","archived":false,"fork":false,"pushed_at":"2024-09-13T05:53:40.000Z","size":309,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T16:36:28.636Z","etag":null,"topics":["plc-programming"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TDR-VOID.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-02T04:38:51.000Z","updated_at":"2024-09-18T10:03:20.000Z","dependencies_parsed_at":"2025-01-18T16:33:54.095Z","dependency_job_id":"d9de5345-f9b1-491a-bca5-06ac65b321c6","html_url":"https://github.com/TDR-VOID/PLC-Filling-Machine","commit_stats":null,"previous_names":["tdr-void/plc-filling-machine"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TDR-VOID%2FPLC-Filling-Machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TDR-VOID%2FPLC-Filling-Machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TDR-VOID%2FPLC-Filling-Machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TDR-VOID%2FPLC-Filling-Machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TDR-VOID","download_url":"https://codeload.github.com/TDR-VOID/PLC-Filling-Machine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243166815,"owners_count":20246975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plc-programming"],"created_at":"2024-11-17T22:09:30.143Z","updated_at":"2025-12-25T13:55:01.039Z","avatar_url":"https://github.com/TDR-VOID.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# PLC-Filling-Machine\n\n\n## General Information\n\n### PLC Used: Fatek FBS Series PLC\n\nThis project used the Fatek FBS series PLC, a versatile and powerful programmable logic controller ideal for automation tasks. The Fatek FBS series offers a range of features that make it suitable for various industrial applications.\n\nFor more detailed information about the Fatek FBS series PLC, including specifications and usage instructions, please refer to the [FBs-PLC User's Manual](https://www.fatek.com/en/download.php?act=list\u0026cid=58).\n\n### Programming Software: WinProLadder\n\nThe programming for this PLC was done using the WinProLadder software, which is designed specifically for Fatek PLCs. WinProLadder provides a user-friendly interface for creating and managing PLC programs.\n\nFor more information about using WinProLadder, please refer to the [WinProLadder User Manual](https://www.fatek.com/en/download.php?act=list\u0026cid=141).\n\n### Setting Up WinProLadder\n\nTo begin programming the PLC, follow these steps to set up WinProLadder:\n\n1. Open WinProLadder.\n2. Navigate to File → New Project.\n3. Under the Project Information section:\n  - Project Name: Enter a name for your project.\n  - Model Name: Edit the model name to FBS-24MA.\n4. Click OK to create your new project.\n\n### Simulating and Testing the Program\n\nBefore uploading the program to the PLC, you can simulate and test it to ensure everything is working as expected:\n\n1. In the WinProLadder interface, navigate to the PLC menu.\n2. Select Simulate.\n3. Choose RUN PLC to start the simulation.\n   \nThis will allow you to verify the program's behaviour before deployment.\n\n### Installing the Program to the PLC\n\nOnce you have verified that the program works as expected, you can install it onto the PLC:\n\n1. Connect the PLC: Ensure the PLC is connected to power and the data cable is connected to your USB port.\n2. Install Drivers: Make sure the necessary drivers for the PLC are installed on your computer.\n3. Navigate to the PLC menu.\n4. Select Online → Autocheck and choose the appropriate COM port.\n   \nThis will upload the program to the PLC, making it ready for operation.\n\n\n\n## Project Information\n\n### Overview\n\nThis project involves automating a painting filling machine with two different paint colors: Yellow and Blue. The system is controlled by a Fatek FBS series PLC and uses various sensors and valves to manage the paint filling process. The machine operates in three distinct modes, each defining a specific sequence of operations.\n\n### Components and Sensors\n\n- Paint Valves: Two valves control the flow of paint:\n    - Valve_Yellow: Controls Yellow paint.\n    - Valve_Blue: Controls Blue paint.\n      \n- Conveyor Sensors:\n    - Job_In_Sensor: Detects when a job (paint bucket) enters the conveyor.\n    - Job_Out_Sensor: Detects when a job exits the conveyor.\n      \n- Filling Sensors:\n    - Yellow_Filling_Sensor: Ensures the paint bucket is correctly positioned under the Yellow         filling valve.\n    - Blue_Filling_Sensor: Ensures the paint bucket is correctly positioned under the Blue              filling valve.\n      \n- Push Buttons:\n    - Start_PB: Starts the filling process.\n    - Stop_PB: Stops the process (emergency button).\n      \n- Mode Switch: A 3-position switch to select the operating mode.\n\n\u003c/br\u003e\n\n### Operating Modes\n\u003c/br\u003e\n\n**Mode 1: Yellow Paint Filling**\n\u003c/br\u003e\n\n1. Start Process:\n    - When Start_PB is pressed, the conveyor starts moving.\n    - The conveyor continues until the Yellow_Filling_Sensor is activated and the                    Job_In_Sensor is triggered.\n\n2. Filling Process:\n    - The conveyor stops, and after a 10-second delay, the Valve_Yellow opens to start filling.\n    - The filling process lasts for 20 seconds.\n    - After filling, there is an additional 10-second delay before the conveyor resumes              movement.\n      \n3. End Process:\n    - The conveyor moves until the Job_Out_Sensor is triggered, stopping the conveyor.\n    - When the Job_Out_Sensor is triggered again, the system resets, ready for the next job.\n\n\u003c/br\u003e\n\n**Mode 2: Blue Paint Filling**\n\u003c/br\u003e\n\n- Similar to Mode 1, but with the Blue_Filling_Sensor and Valve_Blue controlling the process instead of the Yellow components.\n\n\u003c/br\u003e\n\n**Mode 3: Dual Paint Filling (Yellow and Blue)**\n\u003c/br\u003e\n\n1. Start Process:\n    - When Start_PB is pressed, the conveyor starts moving.\n    - The conveyor moves until the Yellow_Filling_Sensor is activated.\n\n2. Yellow Filling:\n    - After a 1-second delay, the Valve_Yellow opens and fills for 10 seconds.\n    - There is a 2-second delay after the Yellow filling is complete.\n\n3. Blue Filling:\n    - The conveyor moves until the Blue_Filling_Sensor is activated.\n    - After a 1-second delay, the Valve_Blue opens and fills for 10 seconds.\n      \n4. End Process:\n\n    - After a 2-second delay, the conveyor continues moving until the Job_Out_Sensor is              triggered, stopping the conveyor and resetting the system.\n\n## Ladder Diagram\n\n[Ladder Diagram (WinProladder)](Ladder_Diagrams/All_Modes_Final.pdw)\n\u003c/br\u003e\n\n[Ladder Diagram (PDF)](Screenshot/ladder-diagram(2).pdf)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdr-void%2Fplc-filling-machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftdr-void%2Fplc-filling-machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdr-void%2Fplc-filling-machine/lists"}