Simple ways to use Portal and precautions

        A few months ago, I was helping my junior high school student write a thesis, and I happened to use the Portal software to make ladder diagrams. Finally, when the junior high school student graduated, I was able to delete this memory-hogging software, hahaha. But before deleting it, let’s simply record it so that you can have a backup plan for future installations and for your reference.

Portal software icon: , I installed the V14 version, the first picture is the software, the second picture is the certification certificate, don’t worry about the second one, just use the first one.

The following is the Portal software interface:

The minimum configuration requirement of the Portal software is an i5. The blogger himself installed a 256G solid state in an i3 notebook and then ran the software. The startup was slower and occasionally stuck, but it was okay. There was no delay in drawing the ladder diagram. .

The above is starting, and the following is the interface after successful startup.

On the right side is the PLC project in the computer. You can open the corresponding project by double-clicking it. There is an option to create a new project on the left, click to create a new project. Let me show you how to create a new project:

Click to create a new project, the interface is as follows:

Edit your project name on the right, select the path, write the author, and add a comment to the project if necessary. Then click Create.

The created project interface is as follows:

Click "Configure Device" - "Add New Device". At this time, you can add the corresponding device. According to the actual addition, the interface is as follows:

Click Configure Network to start drawing the ladder diagram. The interface is as follows:

Adding a new device on the left can change the previous device configuration:

The controller chosen here is this one:

The HMI and PC system are chosen at will, because the ladder diagram design of the paper does not involve such specific options, so the blogger can choose them casually. In actual application, he needs to choose according to his own hardware configuration. Note here that you need to select all three items before clicking OK, otherwise the "OK button" in the lower right corner will not be selectable. After selecting, the configuration of the port points of the device you selected will appear, as follows:

Double-click software plc_1...Click "Program Block" in the drop-down option, double-click main[OB1] to enter the programming interface, and start designing the ladder diagram, as follows:

Drag the program block to the line of the program segment to draw a ladder diagram. The simplest self-locking circuit can be drawn directly using normally open switches, normally closed switches and downward branches. For more complicated ones, you can use the basic instructions on the right. (Bit logic operations, timer operations, etc.) and extended instructions, click to open and drag directly to the location that needs to be executed.

With program instructions, you also need to specify variables for the program instructions. Please see the figure below:

 

One normally open switch and two normally closed switches are added to the ladder diagram, and a program segment is added. Different program segments can perform different parts of the operation. This can be done according to your actual plan. It should be noted that the execution sequence of the PLC is from top to bottom and from left to right, and there is a certain time difference. From the program in the picture above, you can see that the instruction block needs to define attributes (Q1.1) and names (demo). If not defined, will it be displayed? ? ? and prompt an error. You can set variables first and then add program blocks, or you can draw program blocks first and then set variables. Click the "Default Variable Table" below to edit. The default variable table interface is as follows:

Click on each bar below to switch interfaces. main(OB1) is the program interface just now. Once you understand these, you can program simply. The next article will write about the installation method of Botu V14 software. This article will introduce it here.

 

 

 

Guess you like

Origin blog.csdn.net/shijizai/article/details/106871943