5.5
How to Use the FB Library
Select an FB registered in the library from "Element Selection" window, and drag and drop it to the program editor. Create an
input ladder and an output ladder of the pasted FB to create a program.
Arrange the FB input ladder to the left side, and output ladder to the right side of the window in the same manner as standard
ladder programs.
1.
Select [Library] tab of the "Element Selection" window. Select [Library] [MotionControl_CCLinkIEFBasic] [FB]. From
[FB], select an FB to be used, and drop it in the program editor. When the "Undefined Label Registration" window
appears, input the label name and comment and click [OK]. The following table lists the FBs to be used in this manual.
FB
MC_Power_CCLinkIEFBasic_F
MCv_Home_CCLinkIEFBasic_F
MC_MoveRelative_CCLinkIEFBasic_F
When the program editor is not displayed, in the "Navigation" window, select [Program] [Scan] [MAIN]
[ProgPou] [ProgramBody], and double-click [ProgramBody].
2.
The FB is pasted to the program editor.
5 CREATING PROGRAMS
45
5.5 How to Use the FB Library
Label Name
MC_Power_CCLinkIEFBasic_F_1
MC_Power_CCLinkIEFBasic_F_2
MCv_Home_CCLinkIEFBasic_F_1
MCv_Home_CCLinkIEFBasic_F_2
MC_MoveRelative_CCLinkIEFBasic_F_1
MC_MoveRelative_CCLinkIEFBasic_F_2
Input the comment.
Comment
Ready to operate FB1
Ready to operate FB2
OPR FB1
OPR FB2
Relative positioning FB1
Relative positioning FB2