EasyManuals Logo
Home>Omron>Controller>CK5M-CPU1 1 Series

Omron CK5M-CPU1 1 Series Startup Guide

Omron CK5M-CPU1 1 Series
76 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 #31 background imageLoading...
Page #31 background image
31
3
Creating the PLC program
In the Solution Explorer, open
Project name PMAC Script
Language PLC Programs
plc1.plc.
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.
open plc 1
while(sys.ecatMasterReady==0){};
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

Other manuals for Omron CK5M-CPU1 1 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CK5M-CPU1 1 Series and is the answer not in the manual?

Omron CK5M-CPU1 1 Series Specifications

General IconGeneral
BrandOmron
ModelCK5M-CPU1 1 Series
CategoryController
LanguageEnglish

Related product manuals