MATLAB SIMULINK PLC CODER 1 Instrukcje Operacyjne

Przeglądaj online lub pobierz Instrukcje Operacyjne dla Nie MATLAB SIMULINK PLC CODER 1. MATLAB SIMULINK PLC CODER 1 Operating instructions Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 40
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
Machine Automation Controller NJ-series
Startup Guide
for Simulink
®
PLC Coder™ &
Sysmac Studio
SYSMAC-SE20□□
NJ501-□□□□
NJ301-□□□□
R88D-KN-ECT
GX-AD0471/DA0271
W529-E1-01
Przeglądanie stron 0
1 2 3 4 5 6 ... 39 40

Podsumowanie treści

Strona 1 - Sysmac Studio

Machine Automation Controller NJ-series Startup Guide for Simulink® PLC Coder™ & Sysmac Studio SYSMAC-SE20□□ NJ501-□□□□ NJ301-□□□□ R

Strona 2 - ©OMRON, 2013

CONTENTS Introduction... 1 Intended Audie

Strona 3 - Introduction

1. System to Construct and Configuration Devices 1.1. System Configuration and Configuration Devices This section describes the system configurati

Strona 4

10 The models of the devices that are described in this Guide are given in the following table. When selecting devices for an actual application, refe

Strona 5

1.2. The Servo System Constructed in this Guide This guide describes the procedure to start up the system for single-axis positioning with a Servo Dr

Strona 6 - Precautions

2. Before You Begin 2.1. Wiring the Devices and Installing the Software You wire the devices and install the software on the computer as described

Strona 7 - Related Manuals

Additional Information Set the sampling time of the Controller so that it matches the task period of the Sysmac Studio. (Primary periodic task perio

Strona 8

14 3. Setting up the System 3.1. System Setup Procedures The operation procedure of Simulink and Sysmac Studio is given below. 3.2.1 Outputting t

Strona 9 - W529-E1-01

3.2. Simulink PLC Coder & Sysmac Studio Operation Procedure 3.2.1. Outputting the Code using the Simulink PLC Coder You make a setting for out

Strona 10 - CONTENTS

4 Select the Generate testbench for subsystem check box. 5 Click the Apply Button. 6 Click the Generate Code Button. 16

Strona 11

7 The PLCCoderDemoMC.xml file is saved into the plcsrc folder specified in Code Output Directory. Additional Information When you adjust the paramet

Strona 12

©OMRON, 2013 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any

Strona 13

3.2.2. Importing the Code into the Sysmac Studio You import the code outputted by the Simulink PLC Coder into the Sysmac Studio. Additional Informat

Strona 14 - 2. Before You Begin

3 Select Import ST Program from the Tools Menu. 4 Select the PLCCoderDemoMC.xml file that was outputted in the previous section in the Import ST Progr

Strona 15

3.2.3. Checking the Calculation Accuracy You confirm that the code has the same calculation accuracy as the Simulink (within the acceptable error ran

Strona 16 - 3. Setting up the System

4 Select Run from the Simulation Menu of the Sysmac Studio. 5 Double-click TestBench in the Multiview Explorer to display the program. 6 Confirm that

Strona 17

Additional Information The initial value of the acceptable error depends on the data type as shown below. Set an appropriate value according to the

Strona 18 - Click the Apply Button

3.2.4. Creating the EtherCAT Network Configuration You register a R88D-KN01L-ECT Servo Drive that operates as axis 0 on the EtherCAT network configura

Strona 19

3.2.5. Setting the Axis You add an axis to control the Servo Drive, assign the Servo Drive to the axis, and make the axis parameter settings. 1 Doub

Strona 20

4 Make the Unit Conversion Settings according to the mechanical configuration. Unit of display: mm Command pulse count per motor rotation: 1048576 pul

Strona 21

3.2.6. Creating Programs You create a program for calling the function blocks whose code was outputted by the Simulink PLC Coder and a program for ou

Strona 22

2 Create the PositionControl program for the following processing. - Servo ON (by executing an MC_Power instruction) - Home definition (by executing a

Strona 23

Introduction The NJ-series Startup Guide for Simulink® PLC Coder™ and Sysmac Studio (hereinafter, may be referred to as “this Guide”) describes the

Strona 24

Assigning the PositionControl program that you created to a task. 3 Double-click the Task Settings in the Multiview Explorer to display the Task Sett

Strona 25

3.2.7. Synchronization (Download) You transfer the programs and parameter settings to the physical CPU Unit. 29 1 Select Online from the Controll

Strona 26 - 3.2.5. Setting the Axis

3.2.8. System Operation Check You execute the operation according to the programs transferred to the physical CPU Unit and check the operation using

Strona 27

3 Make the trace settings as shown below. Trigger condition: Rising edge of PositionControl.Smv_Ex Trace target variables: PositionControl.i_Controll

Strona 28 - 3.2.6. Creating Programs

5 Double-click PositionControl in the Multiview Explorer to display the program. 6 Change the value of StartPg variable for execution conditions o

Strona 29

4. Appendix 4.1. Programming in Ladder Diagram Language To call a function block from a program written in the ladder diagram language, the functi

Strona 30

2 When the code is imported to the Sysmac Studio, the BOOL variables are added as shown below. 3 The program to call the function block is written in

Strona 31

35 4.1. Sample File List The following sample files are related to this Guide. We provide the sample files separately. No. File Name Description

Strona 33

Terms and Conditions of Sale1. Offer; Acceptance. These terms and conditions (these "Terms") are deemedpart of all quotes, agreements, purc

Strona 34

2 Terms and Conditions Agreement Read and understand this catalog. Please read and understand this catalog before purchasing the products. Please co

Strona 35 - 4. Appendix

OMRON CANADA, INC. • HEAD OFFICEToronto, ON, Canada • 416.286.6465 • 866.986.6766 • www.omron247.comOMRON ELECTRONICS DE MEXICO • HEAD OFFICEMéxico D

Strona 36

3 and limitations of use which apply to the Product. This information by itself is not sufficient for a complete determination of the suitability o

Strona 37 - 4.1. Sample File List

4 Precautions • When building a system, check the specifications for all devices and equipment that will make up the system and make sure that the O

Strona 38

5 Related Manuals The following manuals are related to the NJ-series Controllers. Use these manuals for reference. Manual name Cat. No. Model n

Strona 39 - Terms and Conditions of Sale

6 Manual name Cat. No. Model numbers Application Description NJ-series Instructions Reference Manual W502 NJ501-□□□□ NJ301-□□□□ Learning detailed

Strona 40

Revision History A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual. 7 Cat. No. W529-E1

Komentarze do niniejszej Instrukcji

Brak uwag