Posts

SET & RESET Command for Latching or Unlatching in Siemens TIA Portal V16 with PLC Sim

Image
  SET & RESET Command for Latching or Unlatching in Siemens TIA Portal V16 with PLC Sim Behaviour of Set and Reset Here’s how outputs behave under different input conditions: Both Set and Reset inputs are OFF → Output holds its last state (ON or OFF). Set is ON, Reset is OFF → Output is turned ON. Set is OFF, Reset is ON → Output is turned OFF. Both Set and Reset are ON → Output is OFF (Reset has higher priority than Set). This priority behavior ensures that if both instructions are triggered at the same time, the output is forced to a safe OFF condition.   Using PLC SIM to provide user inputs Setting Up PLC SIM PLC SIM SIM Table   Imagine you want to control two indicator lights (Q0.0 and Q0.1) using two push buttons: Button A (I0.0) → Latches both outputs ON. Button B (I0.1) → Unlatches (resets) both outputs OFF. ...

Simple XOR Circuit in Siemens TIA Portal V16 with PLC Sim

Image
  Simple XOR Circuit in Siemens TIA Portal V16 with PLC Sim Public Designing an XOR Gate Using Ladder Logic in Siemens TIA Portal What is an XOR Gate? An XOR gate gives a  True (1)  output  only if one of the two inputs is True . If  both inputs are False (0,0)  → Output = False If  first input is True, second is False (1,0)  → Output = True If  first input is False, second is True (0,1)  → Output = True If  both inputs are True (1,1)  → Output = False This makes the XOR gate slightly different from a standard OR gate, which is True if  any input  is True—even if both are. Step 1: Translating XOR Logic to Ladder Contacts To implement this in ladder logic, we can use a combination of  Normally Open (NO)  and  Normally Closed (NC)  contacts. For input  A (I0.0) , we’ll use an  NO contact . For input  B (I0.1) , we’ll us...

Simple Gantry Loader in Siemens Tecnomatix Plant Simulation

Image
  Simple Gantry Loader in Siemens Tecnomatix Plant Simulation Project Files ( GitHub ) : nachikethboin/Simple-Gantry-Loader-in-Siemens-Tecnomatix-Plant-Simulation Open Plant Simulation and Manage Libraries Start Plant Simulation and select Manage Library from the ribbon. In the Libraries tab, check Standard Libraries (free of charge). Tick the checkbox for Crane, then click OK to add it to your class library. Prepare Your Model Frame In the planning view, insert a Source object (where parts are created), four Stations (machines to be loaded/unloaded), and a Drain (where finished parts exit). Insert and Configure the GantryLoader Go to the Crane tab in your toolbox and drag a GantryLoader into your model frame. When the dialog appears, note that defining more than two anchor points will reduce to two. Reposition stations so th...

Simple Latch Circuit in Siemens TIA Portal V16

Image
  Simple Latch Circuit in Siemens TIA Portal V16 Step 1: Configuring the PLC Hardware in TIA Portal Open your project in TIA Portal and access the  Project View . Your configured PLC appears here. To add more hardware slots/modules, click the slot addition option in the project view and select your module. It will appear attached to your PLC overview. Enlarge the PLC view to 400% for better visibility of inputs, outputs, and the LAN interface.   Step 2: Setting IP Addresses for Network Communication Double-click the LAN interface in your PLC project to see its IP address. Check your computer’s Ethernet LAN card IP address via network settings. Example: PLC IP = 192.168.0.1; PC LAN card IP = 192.168.0.2 Ensure your PC IP address is either greater or lesser than the PLC’s to maintain proper networking basics. This setup enables communication between your PLC and PC over Eth...

Simple Multi Portal Crane in Siemens Tecnomatix Plant Simulation

Image
  Simple Multi Portal Crane in Siemens Tecnomatix Plant Simulation Project Files ( GitHub ) : nachikethboin/Simple-Multi-Portal-Crane-in-Siemens-Tecnomatix-Plant-Simulation Step 1: Add the Crane Library Begin by starting Plant Simulation and selecting  Manage Library . In the Libraries tab, find  Standard Libraries  and select  free of charge . Then, check the box for the  Crane  library and click OK. This action adds the Crane library to your class library, enabling access to the specialized crane objects for your project. Step 2: Set Up Your Model Insert the Source and Stations:  Add a Source object, three processing Stations, and a Drain object to your model. Add the Multi-Port Crane:  Go to the  Crane  tab and select the  multi-port crane . This opens the dialog to insert length-oriented objects. Position the Crane:  Place the crane so that it covers two of your sta...

Pick and Place Robot in Siemens Tecnomatix Plant Simulation

Image
Pick and Place Robot in Siemens Tecnomatix Plant Simulation Project Files ( GitHub ) :  nachikethboin/Pick-and-Place-Robot-in-Siemens-Tecnomatix-Plant-Simulation     1. Building a Simple Pick and Place Robot Model Insert Basic Elements: Place a  Source  and a  Conveyor . Select both (plus connector), copy, and paste to duplicate (now you have two sources and conveyors). Add a  Pick and Place Robot , a  Station , another  Conveyor , and a  Drain . Connect the conveyors and station to the pick and place robot so the robot can transfer parts between them. Optimize Robot Workflow: Reduce the processing time of the station so the robot doesn’t have to wait and always has a free spot to place the part. Run the simulation to see the robot pick up parts from the conveyor and place them at the station. 2. Understanding the ...