manual xgk xgb instruction

Download Manual XGK XGB Instruction

Post on 31-Dec-2015

65 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

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

    Programmable Logic Controller

    XGK/XGB Instructions and Programming

    Users Manual

    z Read this manual carefully beforeinstalling, wiring, operating, servicingor inspecting this equipment.

    z Keep this manual within easy reach

    for quick reference.

    XGT Series

    http://eng.lsis.biz

  • 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. Precautious measures can be categorized as Warning and Caution, and

    each of the meanings is as follows.

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

    This symbol indicates the possibility of severe or slight injury, and damages in products if some applicable instruction is violated

    Moreover, even classified events under its caution category may develop into serious accidents depending on situations. Therefore we strongly advise users to observe all precautions in a proper way just like warnings. 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. After reading this users manual, it should be stored in a place that is visible to product users.

    Warning

    Caution

  • Revision History

    version Date Remark Revised position

    V 1.0 2006.3 1. First Edition -

    V 1.3 2006.8 1. XGB instructions added. -

    V 1.4 2008.3 1. Contents added (1) Safety Instruction added. (2) About Users Manual added. (3) LOAD4(8) instruction added. (4) AND4(8) instruction added. (5) OR4(8) instruction added. (6) R2L(P) instruction added. (7) L2R(P) instruction added. (8) LOAD4 X, LOAD8 X instruction added. (9) AND4 X, AND8 X instruction added. (10) OR4X, OR8 X instruction added. (11) Sample Programs added (12) Data Control instruction added 2. Contents modified (1) Instructions modified.

    - - 3-18 3-19 3-20 4-76 4-77 4-98 4-99 4-100 4-49, 4-53, 4-126, 4-191, 4-193, 4-194, 4-195, 4-196 4-261, 4-265 4-78, 4-95, 4-96, 4-97, 4-105, 4-147, 4-149, 4-153, 4-167, 4-172, 4-173, 4-185, 4-187, 4-218, 4-228, 4-230, 4-232, 4-245, 4-266, 4-272, 4-274, 4-275, 4-278, 4-287, 4-289, 4-292, 4-298, 4-301, 4-306, 4-310, 4-315, 4-362

    V 1.5 2009.12 1. Contents added (1) SFC language added (2) ST language added (3) 16 instructions for converting real data added (4) 6 instructions for comparing input added (5) 4 instructions for moving added (6) 4 instructions for exchanging added (7) 16 instructions for logical operation added (8) Instructions related with XPM added

    Ch.5 Ch.6

    Ch4.13.7~4.13.10 Ch4.15.19~4.15.21 Ch4.18.9~4.18.10 Ch4.19.5~4.19.6

    Ch4.22.9~4.22.16 Ch4.42

  • version Date Remark Revised position

    2. Contents modified (1) Available languages added (2) G X, GD X instruction modified (3) POR, FLT instructions modified (4) STP, PIDINIT instructions modified

    (5) Instruction list modified (6) Special relay list modified

    Ch3.1

    Ch4.14.4 Ch4.41.4, Ch.4.41.2 Ch4.41.10, Ch4.28.7

    Ch3.4 Appendix 3

    V 2.0 2010.09 1. Contents added or modified (1) XPM dedicated instructions added or modified (2) 4 positioning instructions added (3) Description on ST language user function/function

    block added (4) Special relay (F) added:_OS_VER_PATCH (5) TRAMP, RTRAMP instructions added

    Ch3.5.4, Ch.4.42

    Ch3.5.4 Ch.4.41~4.42

    Ch6.5

    App.3 Ch3.4.12, Ch4.24.19

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

    2006 LS Industrial Systems Co., Ltd All Rights Reserved.

  • About Users Manual

    About Users Manual

    Congratulations 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 Uses 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

    XGK-CPUA/CPUE/CPUH/CPUS

    Users Manual

    It describes specifications, system structure and EMC spec.

    correspondence of CPU module, Power module, Base, I/O module and

    Extension cable

    XGB Hardware Users Manual It describes XGB specifications regarding Power, I/O, Extension,

    System structure, built-in High Speed Counter etc.

    XGB Analog Users Manual It describes XGB analog input, analog output, temperature input, built-

    in PID control etc.

    XG5000 Users Manual

    It describes how to use XG5000 software especially about online

    functions such as programming, printing, monitoring and debugging by

    using XGT series products.

    XGK/XGB Series

    Instructions & Programming

    Users Manual

    It is the users manual for programming to explain how to use

    commands that are used PLC system with XGK CPU and XGB.

  • Contents Chapter 1 Summary and Characteristic .............................................................................................. 1-1

    1.1 Summary .......................................................................................................................................... 1-1 1.2 Characteristics................................................................................................................................. 1-1

    Chapter 2 Function.......................................................................................................................2-1~2-55

    2.1 Performance Specification ............................................................................................................. 2-1 2.2 Data Types and Application Methods............................................................................................ 2-5

    2.2.1 Data types............................................................................................................................. 2-5 2.2.2 Bit data (Bit) .......................................................................................................................... 2-5 2.2.3 Nibble/Byte data (Nibble/Byte) ............................................................................................. 2-7 2.2.4 Word data (Word) ................................................................................................................. 2-8 2.2.5 Double word data (Dword).................................................................................................... 2-9 2.2.6 Real data (REAL,LREAL) ..................................................................................................... 2-9 2.2.7 String data ......................................................................................................................... 2-11

    2.3 Device Area .................................................................................................................................... 2-12 2.3.1 Classification of devices ..................................................................................................... 2-12 2.3.2 Input range per device........................................................................................................ 2-13 2.3.3 I/O P.................................................................................................................................... 2-14 2.3.4 Auxiliary relay M.................................................................................................................. 2-15 2.3.5 Keep relay K ....................................................................................................................... 2-15 2.3.6 Link relay L ......................................................................................................................... 2-15 2.3.7 Timer T................................................................................................................................ 2-16 2.3.8 Counter C ........................................................................................................................... 2-17 2.3.9 Data register D.................................................................................................................... 2-18 2.3.10 Step control relay S........................................................................................................... 2-19 2.3.11 Special relay F .................................................................................................................. 2-20 2.3.12 Special module register U (Refresh area) ........................................................................ 2-20 2.3.13 File register R ................................................................................................................... 2-21 2.3.14 Communication register N ................................................................................................ 2-23

    2.4 Comprehension of Instructions ................................................................................................... 2-24 2.4.1 Types of instructions ...

Recommended

View more >