Radio Inspire

How To Learn Sign Language

Configure tags and communication in iX Developer, Video 3 by Beijer Electronics


Welcome to this iX instruction video, it will focus
on how to import tags and establish
communication to a controller. We will start by clicking on the Tags icon in the
Project Explorer. Tags can be renamed and added manually, in
this case we rename the default tag, to
“MyTag”. The next step is to select which address in the
PLC that should be accessed. The syntax
depends on the selected controller. Controllers can be added and configured under
the Controllers tab. When clicking on the Controller button a list
appears. We will select Codesys driver. The driver needs to be configured in order to
work properly. Therefore we click on the Settings
button. In the Stations tab it’s possible to define the IP-
addresses that the driver should connect to. In this case address “127.0.0.1” is used. If you are unsure about settings or addressing,
the driver’s help file can be accessed by clicking
on the Help button. Each communication driver has a unique help
file. It contains information such as Release
notes, Settings and Addressing. Many of the drivers have an import module. This means that tags can be imported from the
tag files generated by the PLC programming
software. Tags are imported by clicking on the Import
button followed by the controller that tags should
be imported to. An open file dialog will appear when clicking in
the textbox. Then we need to navigate to the file
that contains the tag definitions. iX will present all tags in a treeview. By
expanding and selecting nodes or tags we can
decide which tags to import. The imported tags will appear in the tag list
when finalized. The tags have now been imported and can be
used. Next step is to build a simple process picture
and connect tags to the different objects. The screen will visualize a small tank park. We
will start by adding all static graphics. We need to add two rectangles, these are
dragged and dropped from the Component
Library. Next we select the tank picture and add it to the
screen. One additional pipe is added and resized. Finally we select the small tank picture and add
it to the screen. The next step is to add dynamic objects to
visualize pumps, valves and tank levels. We start by adding a MultiPicture object, this
will represent a pump. The tag which controls the picture is selected
from the tag selector list. Now we need to select which pictures that
should be displayed. The first picture will be displayed when the tag
value equals 0. The second picture will be displayed when the
tag value equals 1. By adding a Toggle Tag action we will allow the
operator to start and stop the pump by clicking
on the pump icon. We selected Use Connected Tag. This means
that the action will be carried out on the tag that
controls which picture that is displayed. There should be two valves, therefore we simply
copy and paste the pump icon. The object’s position is moved to the second
pipe. By selecting the General ribbon tab and the
Configure Pictures button we will be able to
replace all the pictures and tag connection. We select the Valve1 tag.
The pump pictures are replaced with Valve
pictures instead. The first picture will show a closed valve. The second picture will show an open valve. Again, right click on the object and select Copy. Right click again and select Paste. We move the object and place it to the right of
the second tank. Finally we connect the object to the Valve2 tag. To visualize the tank levels, we add a Linear
Meter object. We need to change the orientation to vertical. The object is then connected to a tag, in this
case TankLevel1. Finally the object is made transparent and we
remove the scale. We also resize the object slightly to make it
easier to see the current tank level. The object is then copied and pasted. The size is adjusted so it fits the smaller tank. The meter is then connected to another tag, in
this case TankLevel2. To test the application we can select the Project
tab and click on the Run icon. The simulator will start and communicate to the
configured controller(s). The simulator is now running and it
communicates with Codesys runtime. When the operator clicks on the pumps or
valves, tank levels will start to increase and
decrease.

4 Replies to “Configure tags and communication in iX Developer, Video 3 by Beijer Electronics”

  • Can I have a question? Where does your component library come from? I've just started studying this software and the default library doesn't have symbols as beautiful as your. Hope to see your answer soon! thanks in advance!

  • I would also like to get the component library so I can follow the tutorials properly. Can someone respond here?

Leave a Reply

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