31
2
In the programming area of the
prog1.pmc tab page, write a
program as shown on the right.
This example program rotates a
motor in the normal direction,
stops the rotation, then repeats
rotation in the reverse direction
and stops.
3
Creating the PLC program
In the Solution Explorer pane,
open
Project name
–
PMAC
Script Language
–
PLC
Programs
–
plc1.plc
.
&1;
#1->131072X;
OPEN PROG 1
INC;
TA800;
TS300;
LINEAR;
While (1 < 2)
{
TA800;
TS300;
TM3000;
X20;
DWELL2000;
X-20;
DWELL2000;
}
CLOSE
Содержание R88M-K Series
Страница 11: ...11 6 5 2 Motor Setup 6 5 3 Creation of Operation Check Programs 6 5 4 Project Data Transfer and Operation Check...
Страница 13: ...13 5 From the File menu select New then Project 6 Enter a project name and location and select OK...
Страница 46: ...46 10 Revision History Revision code Revised date Revised content A 5 Apr 2019 First edition...
Страница 47: ...2019 0419 0419 O038 E1 01 Note Do not use this document to operate the Unit...