EasyManuals Logo

Omron G5 Series Startup Guide

Omron G5 Series
47 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #32 background imageLoading...
Page #32 background image
32
4
In the programming area of the
plc1.plc tab page, write a
program as shown on the right.
This example program turns a
servo ON, starts user program 1
for the motor, then exits periodic
execution of the PLC user
program.
5
Setting the start of the user
program
In the Solution Explorer pane,
open Project name
Configuration
pp_disable.txt.
6
In the programming area of the
pp_disable.txt tab page, add the
program shown on the right to
the last line.
The pp_disable.txt program is
automatically executed when the
Controller starts.
This example program runs the
PLC1 script.
open plc 1
while(sys.ecatMasterReady==0){};
P1000=Sys.Time+1;
while(P1000>Sys.Time){};
ECAT[0].Enable=1;
P1000=Sys.Time+1;
while(P1000>Sys.Time){};
cmd"&1enable";
P1000=Sys.Time+5;
while(P1000>Sys.Time){};
cmd"&1b1r";
disable plc 1;
close
enable plc 1;

Other manuals for Omron G5 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron G5 Series and is the answer not in the manual?

Omron G5 Series Specifications

General IconGeneral
FeedbackIncremental Encoder, Absolute Encoder
CommunicationEtherCAT
Safety FunctionSTO (Safe Torque Off)
Protection FunctionsOvervoltage, Undervoltage, Overcurrent
Vibration Resistance4.9 m/s² (10 to 55 Hz)

Related product manuals