Omron G5 Series Startup Manual page 31

Programmable multi-axis controller, servo drivers, idev4
Hide thumbs Also See for G5 Series:
Table of Contents

Advertisement

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
31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents