VA Motion Controller Programming Manual
115
(
1
) Project creation and configuration
Reference "on Qi Zhang works of creation and configuration." Follow the steps to
complete :
7 .1
create projects
7 .3
physical communication
parameters
7 . 4 IO
configuration , which will not be repeated herein.
(
2
) Writing a program
Step 1: Enter the programming interface, select the “ MC _ AXIS_REF ” block in
the
FB_FU_LIB
motion control library , hold down the left mouse button and drag to the
programming interface, then let go, the module's properties will pop up, you need to name the
module. in general keep the default, click "OK", as shown, insert two "FIG
the
MC _ AXIS_REF-
'block ;
Step 2: Double-click the module input pin (blue dot), and the“Variable Properties”box will
pop up to define the variable name, data type, usage, initial value, etc., as shown in the figure ;