
13.6.4.2.2
Programming
1.
Click in the
Project tree
within the CPU at
‘PLC program’
,
‘Program blocks’
at
‘Add
New block’
.
ð
The dialog
‘Add block’
is opened.
2.
Select the block type
‘OB block’
and add OB 57, OB 82 and OB 86 to your project.
3.
In the
‘Catalog’
, open the
‘Simple Motion Control’
library at
‘Blocks’
and drag and
drop the following blocks into
‘Program blocks’
of the
Project tree
:
n
Inverter
EtherCAT:
–
UDT 886 - VMC_ConfigInverterEC_REF
–
FB 886 - VMC_KernelInverter_EC
–
FB 887 - VMC_InitInverter_EC
n
Axis Control
–
UDT 860 - MC_AXIS_REF
–
Blocks for your movement sequences
1.
Add a new DB as your
axis DB
to your project. Click in the
Project tree
within the
CPU at
‘PLC program’
,
‘Program blocks’
at
‘Add New block’
, select the block type
‘DB block’
and assign the name "Axis01" to it. The DB number can freely be
selected such as DB 10.
ð
The block is created and opened.
Copy blocks into project
Create axis DB
VIPA SPEED7
Motion control - Simple Motion Control Library
Usage inverter drive via EtherCAT > Usage in VIPA SPEED7 Studio
HB00 | OPL_SP7 | Operation list | en | 18-30
523