Instruction Manual(XGI XGR XEC 090312)

Click here to load reader

  • date post

    29-Nov-2014
  • Category

    Documents

  • view

    91
  • download

    3

Embed Size (px)

Transcript of Instruction Manual(XGI XGR XEC 090312)

Right choice for ultimate yieldLSIS strives to maximize customers' profit in gratitude of choosing us for your partner.

Programmable Logic Controller

XGI/XGR/XEC Instructions & ProgrammingXGT SeriesUsers Manual

Read this manual carefully before installing, wiring, operating, servicing or inspecting this equipment. Keep this manual within easy reach for quick reference.

Safety Instruction

Before using the product For your safety and effective operation, please read the safety instructions thoroughly before using the product. Safety Instructions should always be observed in order to prevent accident or risk with the safe and proper use the product. Instructions are separated into Warning and Caution, and the meaning of the terms is as follows;

Warning Caution

This symbol indicates the possibility of serious injury or death if some applicable instruction is violated This symbol indicates the possibility of slight injury or damage to products if some applicable instruction is violated

The marks displayed on the product and in the users manual have the following meanings. Be careful! Danger may be expected. Be careful! Electric shock may occur. The users manual even after read shall be kept available and accessible to any user of the product.

1

Revision History

Revision HistoryVersionV 1.0 V 1.1 V 1.2 V 2.0 V 2.1

Date07. 3 07. 6 07. 12 08. 3 09. 3 First Edition

Remark-

Page

Adding Process Control Library Adding ST (Structured Text) Adding XGR CPU 1. Adding XEC 2. Adding Function for XEC (1) APM_SSSB (2) PIDAT (3) PIDHBD

Chapter 13 Chapter 14 Entire Entire

11-31 13-4 13-8

The number of Users manual is indicated right part of the back cover.

LS Industrial Systems Co., Ltd

2007

All Rights Reserved.

2

About Users Manual

About Users ManualCongratulations on purchasing PLC of LS Industrial System Co.,Ltd. Before use, make sure to carefully read and understand the Users Manual about the functions, performances, installation and programming of the product you purchased in order for correct use and importantly, let the end user and maintenance administrator to be provided with the Users Manual.

The Users Manual describes the product. If necessary, you may refer to the following description and order accordingly. In addition, you may connect our website(http://eng.lsis.biz/) and download the information as a PDF file.

Relevant Users Manuals Title Description It describes how to use XG5000 software, which it is applied to the IEC standard XG5000 IEC Users Manual language, especially about online functions such as programming, printing, monitoring and debugging by using XGT series products. XGK/XGB Instructions & Programming Users Manual It is the users manual for programming to explain how to use commands that are used PLC system with XGK/XGB CPU. It describes CPU specifications and technical XGI-CPUU Users Manual terms for the XGT PLC system using a series of XGI-CPUU module. It describes CPU specifications and technical XGR-CPUH Users Manual terms for the XGT PLC system using a series of XGR-CPUH module. 10310000855 10310000832 10310000833 10310000834 No. of Users Manual

Table of Contents

Ch 1. Introduction ...................................................................................................................... 1-11.1 Characteristics of IEC 61131-3 Language......................................................................................................................1-1 1.2 Types of Language ...........................................................................................................................................................1-1

Ch 2. The Structure of Software ......................................................................................... 2-1~2-22.1 Introduction ........................................................................................................................................................................2-1 2.2 Project ................................................................................................................................................................................2-1 2.3 Global/Direct Variable .......................................................................................................................................................2-1 2.4 Parameter..........................................................................................................................................................................2-1 2.5 User Data Type .................................................................................................................................................................2-1 2.6 Scan Program ...................................................................................................................................................................2-2 2.7 User Function/Function Block..........................................................................................................................................2-2 2.8 Task Program ....................................................................................................................................................................2-2

Ch 3. Common Elements................................................................................................... 3-1~3-143.1 Expression.........................................................................................................................................................................3-1 3.1.1 Identifiers.................................................................................................................................................................3-1 3.1.2 Data Expression.....................................................................................................................................................3-1 3.2 Data Type...........................................................................................................................................................................3-3 3.2.1 Basic Data Type .....................................................................................................................................................3-3 3.2.2 Data Type Hierarchy Chart....................................................................................................................................3-4 3.2.3 Initial Value..............................................................................................................................................................3-4 3.2.4 Data Type Structure ...............................................................................................................................................3-5 3.3 Variable ..............................................................................................................................................................................3-7 3.3.1 Variable Expression ...............................................................................................................................................3-7 3.3.2 Variable Declaration...............................................................................................................................................3-8 3.3.3 Reserved Variable................................................................................................................................................3-10 3.3.4 Reserved Word ....................................................................................................................................................3-10 3.4 Program Type..................................................................................................................................................................3-11 3.4.1 Function.................................................................................................................................................................3-11 3.4.2 Function Block......................................................................................................................................................3-11 3.4.3 Program ................................................................................................................................................................3-11 3.5 Command Selection.......................................................................................................................................................3-12 3.5.1 Internally Determined Command........................................................................................................................3-12 3.5.2 Command Selection Rules .................................................................................................................................3-14

4

Table of Contents

Ch 4. SFC (Sequential Function Chart) .........................................................................4-1~4-124.1 Introduction ........................................................................................................................................................................4-1 4.2 SFC Structure....................................................................................................................................................................4-2 4.2.1 Step..........................................................................................................................................................................4-2 4.2.2 Transition.............................................................................................................................