From P&ID to PLC in 10 Minutes [Video]

In this video, learn how to go from designing a P&ID to allocating the I/Os to the controllers in just 10 minutes with Engineering Base. The complete transcript is provided below.


Hello my name is Pouria Bigvand, product manager at Aucotec. In this movie I’m going to show you show we can start from designing a P&ID and end up by allocating the I/Os to the controllers in just 10 minutes.

I’m going to realize this infrastructure. From the left side, we have the P&ID with three tanks and three feed instruments. Then we have the function box and all the wires in between. We have the marshalling, we have the I/Os, and then we have the PLC controller.

I’m going to design the P&ID, I’m going to define the control infrastructure, I’m going to do the wiring of the field instruments, I’m going to design the junction box, design of the marshalling, loops, I/O location, and finally reports like lists of devices, instrument index, bill of material, wiring and cabling lists, and I/O allocation we’ve regenerated. All this will be designed only in 10 minutes.

To start from scratch, I have a project with a field area, which is completely empty; a plant; and a P&ID with one sheet, which is already opened and is empty. For designing the P&ID I would go to my ascending modules library, and then I’ll select some of the modules that I need, and drag and drop them on the P&ID. We can see that by drag and drop of the items, all the devices are numbered automatically. Now that I have all my modules I can connect them. My P&ID design is finished.

I can come back to my project and now you can see that all the devices are in my field area hundred. For the next step, I want to get a list of the sensors that I have on my P&ID. I can open a worksheet of my instruments level control sensors, and these are the sensors that I have on my P&ID. I will select all of them and I will assign a tag for them. For assignment of a tag I will create a new subplant, for example, water supply 001. Now they all have their own tags.

Now that I have the tags and I have the sensors, I have to build the infrastructure for control and instrumentation of my plant. For that reason, I will use typical manager to give me a typical infrastructure that I can use in my project. I can select my subfunction. I can go to the infrastructures in my typical project. I can use a typical for the junction box and marshalling cabinet. And I can use Siemens or AVB, or any other controller that I have with options and variants that I have to be my controller.

I will select the typical unit 1 to be my field area, so the cables which are connected to a junction box will be copied to the field area. Now you can see that I have the controller, the cabinet mounting plate, and all the controllers with their terminals. I have the junction box with two junction blocks and the cables connecting to the junction box, and then connecting to the field area. The marshalling connecting with marshalling cabinet 1 and marshalling cabinet 2 with two cables connecting the junction box to the marshalling.

Now that I have the infrastructure and I have the sensors, the next step is that I have to connect my sensors to the wires that are coming from the junction box. For that reason, I can go to my cable inside the field area. You can see that there is a new cable in my field area. I can use wire manager, and wire manager is telling me that this cable from the right side is connected to the junction box 1, and from the left side is empty. I can add the sensors that I have added and I connect them to my wires. 1 and 2, 3 and 4, and 5 and 6.

Now that I have connected my sensors to the wires that are connected to the junction box, the next step is to design the loops. For that I will select my tag numbers and then select the typical loop from my typical project. I can select the two wires with the digital input. Also for the second one. And I can copy.

Now that you can see that three loops are created, and when I open each of these loops you can see that the sensor is merged. Wires are numbered 1, 2. Junction box terminals are numbered 1, 2. Wire and cable between the junction box and marshalling cabinet, the wires are there.

Each wire can be opened, and you can see the destinations are there. The terminals and floating I/O have been created. If I open the second one, this is the second sensor, you see that here junction box terminal 3 and 4, wire 3 and 4, and then marshalling cabinet 3 and 4 are assigned. We can see that all the wiring between the sensor up to the I/O is done completely automatically in a Engineering Base. 5 and 6, 5 and 6.

Now that I completed the wiring between the field device to the junction box and marshalling and into the I/O, the next step is to assign this I/O, which is floating somehow, to a controller. For that reason I will close my P&ID and then I will open a loop diagram, and also I will open the controller which I copied before with the infrastructure. I can put them both in parallel. Left side is my I/O and the right side is my controller. My target is to assign this I/O to this controller. For that reason I will use my merge I/O resort. I will ask the resort to give me all the floating I/Os from the left, and give me all the controllers on the right.

From the left you can see that I can select an I/O and from the right I selected already minus 1A4, which is this controller. I will select the first terminal to be used for this I/O. If I put it a little bit to side, you can see that this is assigned, and the controller is assigned. For the next one I will select the next 2s, and merge them both together. Now my three loops are assigned to the controller.

You can see that from the scratch P&ID, I designed and completed the complete wiring to the controller and assignment to the controller. By the way, all the reports that I needed, and I created some templates for them, are generated completely automatically. For example the sensors list, wires list, bill of material, cable list, or I/O allocation list.

Thank you very much.

Leave a Reply

Your email address will not be published. Required fields are marked *