Creating a user-defined tag FB
The following shows the procedure to create a user-defined tag FB.
Operating procedure
(5)
(6)
A tag access FB available in a user-defined tag FB differs depends on the tag type. For the available tag
access FBs, refer to the following.
Page 585 Correspondence table of tag types and tag access FBs
1.
Create a new function block.
2.
Set the items of "Program Configuration" as
follows on the "New Data" window.
(1)
(1) Select "FBD/LD".
(2)
(2) Select "Yes".
(3)
(3) Select a tag type.
3.
Create a program in a user-defined tag FB by
combining tag access FBs, standard functions,
or standard FBs.
4.
Declare an instance of the user-defined tag FB
on the "Tag FB Setting" window. Select the
"User-defined FB" tab on the "Select Tag FB
Type" window, and select the user-defined tag
FB (4).
5.
Enter a tag name (5) and click the [Apply]
(4)
button.
6.
In a FBD/LD program for process control,
select an instance of the declared user-defined
tag FB. Drag and drop it to the desired point on
the FBD/LD editor (6).
2 PROCEDURE BEFORE USING PROCESS CONTROL FUNCTION BLOCK
2.4 Editing an FBD/LD Program for Process Control
2
37