background image

 

 

 

Right choice for ultimate yield 

LSIS strives to maximize customers' profit in gratitude of choosing us for your partner. 

Programmable Logic Controller 

XGK CPU Module

User’s Manual

z

 

Read this manual carefully before
installing, wiring, operating, servicing
or inspecting this equipment.   

 

z

 

Keep this manual within easy reach
for quick reference. 

XGK-CPUU

XGK-CPUH

XGK-CPUA

XGK-CPUS

XGK-CPUE

 

XGT Series

 

http://eng.lsis.biz 

Summary of Contents for XGK-CPUA

Page 1: ...r your partner Programmable Logic Controller XGK CPU Module User s Manual z Read this manual carefully before installing wiring operating servicing or inspecting this equipment zKeep this manual within easy reach for quick reference XGK CPUU XGK CPUH XGK CPUA XGK CPUS XGK CPUE XGT Series http eng lsis biz ...

Page 2: ...he meaning of the terms 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 slight injury or damage to products if some applicable instruction is violated The marks displayed on the product and in the user s manual have the following meanings Be careful Danger may be expected Be careful E...

Page 3: ...be turned off and stopped for system safety However in case CPU error if caused on output device itself such as relay or TR can not be detected the output may be kept on which may cause serious problems Thus you are recommended to install an addition circuit to monitor the output status Never connect the overload than rated to the output module nor allow the output circuit to have a short circuit ...

Page 4: ... module be sure PLC power is off If not electric shock or damage on the product may be caused Be sure that each module of PLC is correctly secured If the product is installed loosely or incorrectly abnormal operation error or dropping may be caused Be sure that I O or extension connecter is correctly secured If not electric shock fire or abnormal operation may be caused If lots of vibration is exp...

Page 5: ... of each product and the arrangement of terminals If not fire electric shock or abnormal operation may be caused Secure the screws of terminals tightly with specified torque when wiring If the screws of terminals get loose short circuit fire or abnormal operation may be caused Surely use the ground wire of Class 3 for FG terminals which is exclusively used for PLC If the terminals not grounded cor...

Page 6: ...ed short or soldered Heat explosion or ignition may cause injuries or fire Warning Don t remove PCB from the module case nor remodel the module Fire electric shock or abnormal operation may occur Prior to installing or disassembling the module let all the external power off including PLC power If not electric shock or abnormal operation may occur Keep any wireless installations or cell phone at le...

Page 7: ...3 2 Max configuration of basic system Point fixed 2 7 2 3 3 Max configuration of basic system Point variable 2 8 2 3 4 Terminator connections 2 9 2 4 Network System 2 10 2 4 1 Network systems 2 10 2 4 2 Remote I O system 2 11 CHAPTER 3 General Specifications 3 1 3 1 General Specifications 3 1 CHAPTER 4 CPU Module 4 1 4 7 4 1 Technical Specifications 4 1 4 2 Part Names and Functions 4 3 4 3 Battery...

Page 8: ...ation Mode 5 13 5 3 1 RUN mode 5 13 5 3 2 STOP mode 5 14 5 3 3 DEBUG mode 5 14 5 3 4 Changing operation mode 5 15 5 4 Memory 5 16 5 4 1 Program memory 5 16 5 4 2 Data memory 5 17 5 5 Configuration Diagram of Data Memory 5 19 5 5 1 XGK CPUE 5 19 5 5 2 XGK CPUS 5 20 5 5 3 XGK CPUA 5 21 5 5 4 XGK CPUH 5 22 5 5 5 XGK CPUU 5 23 5 5 5 Data Latch Area settings 5 24 CHAPTER 6 Functions of CPU Module 6 1 6...

Page 9: ... O no allocation 6 16 6 11 2 Variable I O no allocation 6 16 6 11 3 Module reservation function 6 17 6 12 Program Modification during Operation 6 17 CHAPTER 7 I O Module 7 1 7 24 7 1 Notice in selecting module 7 1 7 2 Digital Input Module Specifications 7 3 7 2 1 8 point DC24V Input module Source Sink Type 7 3 7 2 2 16 point DC24V Input module Source Sink Type 7 4 7 2 3 16 point DC24V Input module...

Page 10: ...le Source Type 7 20 7 3 10 64 point Transistor Output module Source Type 7 21 7 4 Digital IO Module 7 22 7 4 1 32 point I O Combination module 7 22 7 5 Event Input Module 7 23 7 5 1 Event Input Module 7 23 7 5 Smart Link 7 24 7 5 1 Smart Link connectable module 7 24 7 5 2 Smart Link connection 7 24 CHAPTER 8 Power Module 8 1 8 5 8 1 Selection Method 8 1 8 2 Specifications 8 3 8 3 Part Names 8 4 8 ...

Page 11: ... 21 10 6 1 Various PID based control methods 10 21 10 6 2 Operation and function of anti wind up 10 21 10 6 3 Operation and function of Auto tuning AT 10 21 10 6 2 Operation and function of cascade CAS 10 21 10 7 How to Use PID Instructions 10 22 10 7 1 Hardware Configuration 10 22 10 7 2 Program example 1 10 21 10 7 3 PID controlling 10 26 10 7 4 How to start up using AT Auto tuning 10 32 10 7 5 ...

Page 12: ...rol Panel 13 2 13 1 3 Cables 13 3 13 2 Requirement to Conform to the Low voltage Directive 13 4 13 1 1 Standard Applied for MasterLogic 200 Series 13 4 13 1 2 XGT Series PLC Selection 13 4 CHAPTER 14 Troubleshooting 14 1 14 16 14 1 Basic Procedure for Troubleshooting 14 1 14 2 Troubleshooting 14 1 14 2 1 Action when Power LED is OFF 14 2 14 2 2 Action when ERR LED is blinking 14 3 14 2 3 Action wh...

Page 13: ...12 14 5 1 Error code during CPU operation 14 12 14 5 2 Error code of program operation 14 15 Appendix 1 Flag List App 1 1 App 1 14 App 1 1 Special Relay F List App 1 1 App 1 2 Communication Relay L List App 1 9 App 1 3 Link Register N List App 1 12 Appendix 2 Dimensions App 2 1 App 2 3 Appendix 3 Compatibility with MASTER K App 3 1 App 3 5 Warranty ...

Page 14: ...lag list modified Ch1 1 Ch2 3 1 Ch2 4 1 Ch4 1 Ch1 3 Ch5 1 3 Ch7 1 Ch6 2 Ch6 7 Ch6 8 Ch6 9 Ch2 2 Ch4 1 Ch7 5 Appendix 1 V1 6 2010 3 1 Product list modified 2 Supported functions according to OS version 3 Description on Reset D Clear switch added 4 Wiring diagram of Smart Link added 5 Flag added indicated version to decimal places _OS_VER_PATCH 6 Typos fixed Ch2 2 Ch2 4 2 Ch4 1 Ch4 2 Ch7 6 3 App1 1 ...

Page 15: ...l 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 User s Manuals Title Description No of User s Manual XGK XGB Instructions Programming It is the user s manual for programming to explain how to use commands that are used PLC system with X...

Page 16: ...er 10 Built in PID Describes on the built in PID function Chapter 11 Installation and Wiring Describes the installation wiring method and notices to secure the reliability of PLC system Chapter 12 Maintenance Repair Describes the checking items and methods to run the PLC system normally for a long time Chapter 13 EMC Directive Summarizes the precautions on conformance to the EMC Directive of the m...

Page 17: ... O module data processing 0 20 μs 0 80 μs Analog 1 channel data processing 0 20 μs 0 80 μs 1 Kbyte communication module data processing 12 8 μs Parallel processing by I O data automatic refresh during program operation 3 Convenience to use Analog Data Analog module enforced the precision and stability and provides the convenience as below Program simplification by providing analog data dedicated U...

Page 18: ...e program writing time by providing the convenience of programming and available to complete the control system of equipment without stopping the system by enforcement of online function Compatibility of ladder and text Mnemonic method Enforcement of symbolic program Automatic conversion of MASTER K program Available to modify the program during operation and secure the stability Available to inst...

Page 19: ...able the control by user program XG 5000 Graphic loader to carry out program writing editing and debug function I O image area Internal memory area of CPU module installed to maintain the input and output state Rnet Remote Network Remote dedicated network Fnet Field bus Network RAPIEnet Real time Automation Protocols for Industrial Ethernet Cnet Computer Network FEnet Fast Ethernet Network Pnet Pr...

Page 20: ...lows from PLC input terminal to the switch when input signal is ON Sink output The mode that the current flows from load to output terminal when PLC output contact is ON Source output The mode that the current flows from output contact when PLC output contact is ON Z Power PLC Switch Common Current Z Power PLC Current Switch Common Power PLC Current Output contact Common Load Power PLC Current Out...

Page 21: ...ion method of each system and its features 2 1 XGT Series System Configuration XGT series system configuration is as below CPUModule Battery RS 232C USBCable XG5000 MainBase XGB M A Diskette PowerModule XGP X G P P A F 1 X G K C P U H ExpandedBase XGB E A ExpandedCable XGC E X G K C P U H X G K C P U H I OModule XGI XGQ SpecialModule XGF A X G L D M E A CommunicationModule XGL X G F P O 3 A Termin...

Page 22: ...t source input XGI A12A AC 110V input 16 point Digital Input Module XGI A21A AC 220V input 8 point XGQ RY1A Relay output 8 point for 2A single COM XGQ RY2A Relay output 16 point for 2A XGQ RY2B Relay output 16 point for 2A Varistor attached XGQ TR2A Transistor output 16 point for 0 5A Sink output XGQ TR4A Transistor output 32 point for 0 1A Sink output XGQ TR8A Transistor output 64 point for 0 1A ...

Page 23: ... channels XGF AD4S Voltage Current Input 4 channels Insulation between channels XGF AD16A Voltage Current Input 16 channels Analog input Module XGF AW4S 2 wire voltage current input 4 channel insulation between channels 2 wire transmitter driver power supported XGF DV4A Voltage Output 4 channels DC 1 5V 0 5V 0 10V 10 10V XGF DC4A Current Output 4 channels DC 4 20mA 0 20mA XGF DV4S Current Output 4...

Page 24: ...lector type 2 axes XGF PO1H Pulse output Open Collector type 1 axes XGF PD4H Pulse output Line Drive type 4 axes XGF PD3H Pulse output Line Drive type 3 axes XGF PD2H Pulse output Line Drive type 2 axes Positioning Module XGF PD1H Pulse output Line Drive type 1 axes Motion Control Module XGF M16M Motion dedicated net M II type 16 axes Event input Module XGF SOEA DC 24V input 32 point Sequence of E...

Page 25: ...Profibus DP Module XGL PMEA XGL PMEC Profibus DP Master module DeviceNet Module XGL DMEA DeviceNet Master module Ethernet IP Module XGL EIPT EtherNet IP electric 100 10 Mbps support Fnet I F module XGL FMEA FieldBusmastermodule 40 point connector 1473381 1 40 point connector For I O special module Notes 1 For Active coupler optical converter repeater and block type remote module as network device ...

Page 26: ... P440 P47F I input O output Allocation of I O no variable type The point is allocated according to the assignment of installation module per slot If assigned installation module by I O parameter the assigned point is allocated The slot not assigned by I O parameter shall be allocated automatically according to actual installation slot Note 8 point module shall be allocated by 16 point The empty sl...

Page 27: ...31F P1320 P135F Power P1360 P139F P1400 P143F P1440 P147F P1480 P151F P1520 P155F P1560 P159F Slotno 0 1 2 3 5 4 6 7 P1920 P195F P1960 P199F Power P2000 P203F P2040 P207F P2080 P211F P2120 P215F P2160 P219F P2200 P223F Slotno 0 1 2 3 5 4 6 7 P2560 P259F P2600 P263F Power P2640 P267F P2680 P271F P2720 P275F P2760 P279F P2800 P283F P2840 P287F Slotno 0 1 2 3 5 4 6 7 P3200 P323F P3240 P327F Power P32...

Page 28: ...3 5 4 6 7 P0160 P016F P0170 P017F Power P0180 P018F P0190 P019F P0200 P020F P0210 P021F P0220 P022F P0230 P023F Slotno 0 1 2 3 5 4 6 7 P0240 P024F P0250 P025F Power P0260 P026F P0270 P027F P0280 P028F P0290 P029F P0300 P030F P0310 P031F Slotno 0 1 2 3 5 4 6 7 P0320 P032F P0330 P033F Power P0340 P034F P0350 P035F P0360 P036F P0370 P037F P0380 P038F P0390 P039F Slotno 0 1 2 3 5 4 6 7 P0400 P040F P04...

Page 29: ...of the last expansion base 2 3 4 1 Structure 2 3 4 2 Installation Position Extension cable Main base No 0 Expansion base No 1 SlotNo 0 1 2 3 5 4 6 7 CPU P0000 P000F P0010 P001F Power P0020 P002F P0030 P003F P0040 P004F P0050 P005F P0060 P006F P0070 P007F SlotNo 0 1 2 3 5 4 6 7 P0080 P008F P0090 P009F CPU P0100 P010F P0110 P011F P0120 P012F P0130 P013F P0140 P014F P0150 P015F Terminator ...

Page 30: ... constraints per function are shown on the table as below Classification per purpose XGK CPUE XGK CPUS XGK CPUA XGK CPUH XGK CPUU No of max high speed link setting module 12 No of max P2P service module 8 No of max dedicated service module 24 Note 1 P2P service 1 1 communication 2 4 1 2 Computer Link Cnet I F System Cnet I F system is the system to carry out the data communication between computer...

Page 31: ...talled together in Rack type Remote one remote master module shall use 1 high speed link and 1 P2P 2 4 2 2 Block Type Remote I O System 1 System Configuration This system is configured by Profibus DP DeviceNet and Rnet and it is available to use block type Remote I O regardless of the series Profibus DP and DeviceNet were developed based on International Standard which enables to connect with Smar...

Page 32: ...t discharge IEC61131 2 IEC61000 1 2 Radiated electromagnetic field noise 80 1 000 MHz 10V m IEC61131 2 IEC61000 1 3 Segm ent Power supply module Digital analog input output communication interface 7 Noise resistance Fast transient bust noise Voltage 2kV 1kV IEC61131 2 IEC61000 1 4 8 Environment Free from corrosive gasses and excessive dust 9 Altitude Up to 2 000 ms 10 Pollution degree 2 or less 11...

Page 33: ...tep Processing speed Basic instruction Real number operation 1 442 S 2 87 D x 1 948 S 4 186 D 1 974 S 4 2 D 0 602 S 1 078 D x 1 106 S 2 394 D 1 134 S 2 66 D S Single real number D Double real number Programming memory capacity 16kstep 32kstep 32kstep 64kstep 128kstep I O point setting available 1 536 3 072 3 072 6 144 P P00000 P2047F 32 768 point M M00000 M2047F 32 768 point K K00000 K2047F 32 768...

Page 34: ...s 3 stages 7 stages Max 15m Internal consumption current 940mA 960mA Weight 0 12kg Note Supported functions according to CPU OS version the following OS version and XG500 version is needed for each function CPU OS XG5000 Function Remark V3 0 V3 0 SFC ST language Automatic assignment variable V3 1 V3 1 Event input module XGF SOEA V3 2 V3 2 Effective conversion value alarm function of analog input m...

Page 35: ...ration y Red ON indicates in operation by STOP mode state STOP operation by RUN STOP mode switch REMOTE STOP operation in the state that mode switch is at STOP y Red blink indicates warning or error during STOP operation In case that the error to stop the operation is detected b REM LED y ON Yellow indicates remote enabled In case that REMOTE switch is On y OFF indicates remote disabled In case th...

Page 36: ...indicates in case arithmetic error occurs during Program Proceeding is set y OFF indicates during operation by standard setting a Boot Nor switch Used when downloading the O S before releasing y On right executes control action in normal operation mode y Off left used for manufacturing user s operation prohibited Download mode of O S y Note Boot Nor switches should be both set in On right side If ...

Page 37: ...rn to center General data area and retain area M Automatic variable will be cleared move to left Æ keep 3 seconds or above Æ return to center General data area retain area M Automatic variable and R area will be cleared y Note DATA CLEAR acts only in STOP operation mode USB connector A connector to connect with peripherals XG5000 etc USB 1 1 support RS 232C connector A connector to connect with pe...

Page 38: ...urability of battery depends on power out time ambient temperature etc However these CPUs are designed to use the battery around 10 years under normal circumstances If the voltage of battery is lowered CPU module occurs Battery voltage drop warning It is available to check it through CPU module LED and flag or error message of XG5000 As the battery works for an amount of time normally even after b...

Page 39: ...t for 30 minutes by super capacity but it is required to change the battery as fast as possible The battery change procedure is as below Start to change the battery Open the battery built in cover Draw the battery in use from the holder and remove the connector Insert new battery into the holder to the correct direction and connect the connector Check if BAT LED of CPU module is OFF BAT LED OFF Po...

Page 40: ...ut image area refresh END y A stage to start the scan processing which is executed once when power is applied or Reset is executed as below I O module reset Self diagnosis execution Data clear Address allocation of I O module and type register y Performs the operation in order from the program start to last step y If the operation of program is completed it prints out the contents saved in output ...

Page 41: ...e where the standby time is deducted In case that scan time is bigger than constant _CONSTANT_ER F0005C flag shall be ON 5 1 2 Operation Processing during Momentary Power Failure CPU module detects the momentary power failure when input power voltage supplied to power module is lower than the standard If CPU module detects the momentary power failure it carries out the operation processing as foll...

Page 42: ...I O module 32 points 1module Analog module 8 ch 1module Communication module basic extension 200 byte 1 block CPUH 0 896 ms 0 6 ms CPUS 2 688 ms 0 8 ms 20 us 75 us 170 44 200byte 1 block 2 Calculation of scan time The CPU module executes controls along the following steps A user can estimate the control performance of a system that the user is to structure from the following calculation 1 Scan tim...

Page 43: ...e of connected USB Normal Write 1 6ms Task Program process time sum of task processing time that occurs within a scan the time calculation by task programs are as same as that of scan program 2 Example The scan time of a system consisting of CPUH program 16kstep six 32 point I O modules six analog modules four communication modules 200 byte 8 blocks per module Scan time ladder execution time syste...

Page 44: ...required processing time condition is as below In case that the faster processing than 1 scan average processing time is required In case that the longer time interval than 1 scan average processing time is required In case that program is processed with the appointed time interval Subroutine program Only when some condition is satisfied in case that input condition of CALL instruction is On 5 2 2...

Page 45: ...rogram stops the operation of scan program and then processes the related function in prior to process the internal external signal occurred periodically non periodically 2 Type Task program is divided as below a Time driven task program available to use up to 32 b Internal device task program available to use up to 32 Time driven task program Performs the program according to the fixed time inter...

Page 46: ...is an XGT programming S W For further information of XG5000 please refer to XG5000 user s manual Scan Program Notes When power On all Interrupts are in the state Disable Interrupt 1 Program 1 Interrupt 1 occur Interrupt 2 Program 2 Interrupt 2 occur Interrupt 3 Program 3 Interrupt 3 occur Interrupt 2 occur Interrupt 2 Program 2 Interrupt 4 occur Interrupt 4 Program 4 END ...

Page 47: ... Detection delay time Max 0 2 ms delay Delay as much as max scan time Execution priority 2 7 level setting 2 level is highest in priority Same as left Task no Within 0 31 range without user duplication With 64 95 range without user duplication 3 Processing Method of Task Program Here describes common processing method and notices for Task Program 1 Features of Task Program y Task Program is execut...

Page 48: ... time may extend abnormally Cares should be taken in case of task condition setting 5 Protection of Program in execution from Task Program y In case that the continuity of program execution is interrupted by high priority Task Program during program execution it is available to prohibit the execution of Task Program partially for the part in problem In this case it is available to perform the prog...

Page 49: ...al Device Task Processing y After completing the scan program execution in CPU module if the condition of device that becomes the start condition of internal device task program is met according to the priority it shall be executed 3 Precautions in using internal Device Task Program y Accordingly even if the execution condition of internal device task program occurs in Scan Program or Task Program...

Page 50: ...specially when writing the cyclic task program write the execution time so that the task program can be executed within 10 cycle of the shortest task among several tasks 4 Is program protection for the high priority task needed during program execution If other task is inserted during task program execution complete the task in execution and operate the standby tasks in the order of high priority ...

Page 51: ...12 20 P1 execution completed and continues the stopped P0 20 22 P1 execution demand P0 stopped and P1 executed 22 25 P1 execution completed and the stopped P0 execution finished 25 P2 execution demand check at the completion time of Scan Program P0 and P2 executed 25 30 Program P2 executed 30 32 P1 execution demand P2 stopped and P1 executed 32 34 P1 execution completed and the stopped P2 executio...

Page 52: ...peration Processing Contents Execute I O refresh and Program operation 1 Detects the start condition of Interrupt Program and executes Interrupt Program 2 Examines the normal operation or missing of built in module 3 Communication service and other internal processing RUN mode first scan start Initialize data area Examine Program effectiveness and judge the possibility of execution Execute input r...

Page 53: ...ation by the end of Program execute output refresh 4 Examine the normal operation or missing of built in module 5 Executes communication service or other service 3 Debug Operation Condition There are 4 conditions for Debug operation and in case that it reaches break point it is available to set other type of break point Operation condition Description Execute by one operation unit step over With o...

Page 54: ...mode setting is as follows Operation mode switch Remote enabled switch XG5000 instruction Operation mode RUN X X Run RUN Remote Run STOP Remote Stop ON Debug Debug Run STOP OFF Mode change execute Previous operation mode RUN STOP X Stop 1 Remote mode conversion is available only in the state of Remote Enabled On Mode switch Stop 2 In case of changing the Remote RUN mode to STOP by switch operate t...

Page 55: ...y Capacity Items CPUU CPUH CPUA CPUS CPUE Parameter Setting area Basic parameter area I O parameter area Special module parameter area Communication module parameter area User Event parameter area Data Trace parameter area 320Kbyte 320Kbyte Program Save area Scan Program area 1 Scan Program area 2 Variable Explanation sentence area 704KByte 352KByte System area User Event Data area Data Trace Data...

Page 56: ...ule M00000 M2047F I O device M 32 768 points Internal Memory provided to save Bit Data in Program L00000 L11263F I O device L 180 224 points Device to indicate high speed link P2P service state information of communication module K00000 K2047F I O device K 32 768 points Device area to preserve the data during power shutdown which is used without setting power shutdown preservation parameter separa...

Page 57: ...ed in the slot Bit expression possible N00000 N21503 Communication Data Register N 21 504 words P2P Service Save area of communication module Bit expression impossible Z000 Z127 Index Register Z 128 words Dedicated device to use Index function Bit expression impossible T0000 T2047 Timer Current Value Register T 2048 words Area to indicate the current value of timer C0000 C2047 Counter Current Valu...

Page 58: ...ter 20000 word D D00000 D19999 Timer setting value 2048 words T0000 T2047 T0000 Timer current value 2048 words T2047 C0000 C2047 C0000 C2047 Parameter area User Program area 16K step Timer 2048 points T Comm Data Register N21504 words N T0000 N00000 N21503 Step Controller 128 x 100 step S00 00 S127 99 S S00 S127 0 F 0000 FFFF Counter 2048 points C C0000 C2047 File Register 32K word 1 bank R R00000...

Page 59: ...0000 D19999 Timer setting value 2048 words T0000 T2047 T0000 Timer current value 2048 words T2047 C0000 C2047 C0000 C2047 Parameter area User Program area 32K step Timer 2048 points T Comm Data Register N21504 words N T0000 N00000 N21503 Step Controller 128x100step S00 00 S127 99 S S00 S127 0 F 0000 FFFF Counter 2048 points C C0000 C2047 File Register 32K word 1 bank R R00000 R32767 Counter settin...

Page 60: ...0000 D32767 Timer setting value 2048 words T0000 T2047 T0000 Timer current value 2048 words T2047 C0000 C2047 C0000 C2047 Parameter area User Program area 32K step Timer 2048 points T Comm Data Register N21504 words N T0000 N00000 N21503 Step Controller 128x100step S00 00 S127 99 S S00 S127 0 F 0000 FFFF Counter 2048 points C C0000 C2047 File Register 32K word 1 bank R R00000 R32767 Counter settin...

Page 61: ...ds D D00000 D32767 Timer setting value 2048 words T0000 T2047 T0000 Timer current value 2048 words T2047 C0000 C2047 C0000 C2047 Parameter area User Program area 64K step Timer 2048 points T Comm Data Register N21504 words N T0000 N00000 N21503 Step Controller 128x100step S00 00 S127 99 S S00 S127 0 F 0000 FFFF Counter 2048 points C C0000 C2047 File Register 32K words 1bank R R00000 R32767 Counter...

Page 62: ...000 D19999 Timer setting value 2048 words T0000 T2047 T0000 Timer current value 2048 words T2047 C0000 C2047 C0000 C2047 Parameter area User Program area 128k step Timer 2048 points T Comm Data Register N21504 words N T0000 N00000 N21503 Step Controller 128x100step S00 00 S127 99 S S00 S127 0 F 0000 FFFF Counter 2048 points C C0000 C2047 File Register 32k words 1Bank R R00000 R32767 Counter settin...

Page 63: ...vice state during power shutdown F X X System flag area T O O Timer related area Bit words both C O O Counter related area Bit words both S O O Relay for step control D O O General words data save area U X X Analog Data Register latch disabled L X X High speed link P2P Service state device of communication module latch enabled N X X P2P Service address area of communication module latch enabled Z ...

Page 64: ... this time if returning the switch even latch 2 area shall be cleared For keep or reset clear operation of latch area data according to PLC operation please refer to the below table No Classification Detailed operation Latch 1 Latch 2 Remarks 1 Power change Off On Keep Keep Reset Keep Keep 2 Reset switch Overall reset Reset Keep Clear Latch 1 Reset Keep 3 D CLR switch Clear Latch 2 Reset Reset 4 P...

Page 65: ...ion setting time while watching the elapsed time of scan during operation it stops the operation of PLC immediately and makes the output all off 3 If the excess of Scan Watchdog Time is expected in the program processing of specific part while performing the user program FOR NEXT instruction CALL instruction clear the timer by using WDT instruction WDT instruction initializes the elapsed time of S...

Page 66: ...roper action if the error occurs Refer to 6 6 1 Error History This is the function to save each error code in special relay F0006 Notes All results of self diagnosis shall be recorded in F device area For further information of self diagnosis comments and error actions please refer to Chapter 12 Trouble shooting 12 5 Error Code List 6 1 5 Troubleshooting 1 Classification of Error The error occurs ...

Page 67: ...erforming the operation if the operation time exceeds the scan watchdog time or the built in I O module can not be controlled normally the system stops Notes 1 The operation process is determined by selecting Basic Parameters Error Operation Setup Continue running when an arithmetic error occurs 2 The default is set to Continue running when an arithmetic error occurs 4 Error detection by external ...

Page 68: ...ng from XG5000 Click PLC RTC from PLC information of online mode The time of PLC RTC is displayed If the time of PLC RTC is wrong you can adjust the time correct by setting the time directly to transmit to PLC or selecting Synchronize with PC clock that transmits the time of PC connected to PLC 2 RTC Read by Device It is available to monitor RTC by special device as shown on the table below RTC Re...

Page 69: ... is not allowed to write But if the week does not match it shall be set as it is without error detection Monitor the RTC read device after writing RTC data and check if it is modified correctly 4 Weekday Expression Method No 0 1 2 3 4 5 6 Day Sunday Monday Tuesday Wednesday Thursday Friday Saturday 5 Time Tolerance RTC tolerance depends on ambient temperature Time tolerance according to temperatur...

Page 70: ... is in the STOP position 2 Convenient function in case that CPU module is installed in the position difficult to operate or CPU module inside control panel is controlled by RUN STOP from outside 3 Remote DEBUG 1 Remote DEBUG is the function to perform DEBUG operation in the state that Deep switch of CPU module is in REMOTE position and the RUN STOP switch is in the STOP position DEBUG operation me...

Page 71: ...and data check box of P device To set the value 1 select the correspond bit data and flag To set the value 0 select the flag only not bit data The setting is applied when forced input or output is enabled For further information of setting method please refer to the XG5000 user s manual Notes 1 The Forced I O setting is only available for the local I O module 2 It is not available for the remote I...

Page 72: ...ng 3 Notices in using forced I O function y It operates from the point setting enable of each input output after setting the forced data y It is available to set the forced input even if actual I O module is not built in y Even if there are power Off On change of operation mode or operation by reset key On Off setting data set in before is kept in CPU module y Forced I O data shall not be cleared ...

Page 73: ... date time error detailed contents etc Saves up to max 2048 Automatic release in case that memory backup is broken by battery voltage falling etc 6 6 2 Mode Conversion History This saves the changed mode information and time in case of operation mode change Saves the date time mode conversion contents Saves up to max 1024 6 6 3 Power Shutdown History This saves the time that the power is ON or OFF...

Page 74: ...6 Function of CPU Module 6 10 Notes 1 The saved information will not be deleted before selecting the menu from XG5000 to delete 2 If the index number saved is over 100 select Read All to check previous history ...

Page 75: ...rror defined by the user and write the value except 0 in the system flag _ANC_ERR and set system flag _CHK_ANC_ERR System representative error flag _ANNUN_ER of _CNF_ER is set PLC shall shut off all output module and becomes the error state same as PLC own error detection 2 If the error occurs the user can find the cause of error by using a XG5000 or by monitoring _ANC_ERR flag 3 It is available t...

Page 76: ...Chapter 6 Function of CPU Module 6 12 Example If P10003 is on inputs 100 at _ANC_WAR and sets system flag _CHK_ANC_WAR And _ANNUM_WAR is set and stops PLC ...

Page 77: ...ng is available on the online menu of XG5000 For further information please refer to XG5000 user s manual The Fault Mask Setting is also available by setting the Fault Mask flag by program Please refer to Appendix 1 Flag List 3 Release of Fault Mask The Fault Mask is released only by the same method as the setting Setting release from online menu of XG5000 Automatic release in case that memory bac...

Page 78: ...case of skip setting but output Q image area is changed according to the user program operation regardless of skip setting It is not allowed to operate output value of output module by forced On Off after skip setting The execution of skip function when using direct I O function is same 3 Release of Skip Function The skip of I O module shall be released only by the same method as setting Setting r...

Page 79: ...ng If not it may cause the system shutdown 2 Module Change Method There are 2 kinds of module change method 1 By using XG5000 Module Change Wizard function For further information please refer to XG5000 user s manual 2 By using CPU module switch 1 Set Module change switch M XCHG in front of CPU module as right ON 2 Remove the module PS LED is ON 3 Setup the new module in case of normal module setu...

Page 80: ...ts shall be allocated to each slot regardless of setup module In this case I O parameter shall be applied only to judge whether the module type installed in the system corresponds but not applied to point allocation For example of point allocation please refer to 2 3 Basic System 6 11 2 Variable I O No Allocation By releasing Assign fixed points to I O slot from basic parameter the variable type t...

Page 81: ...parameter without stopping the control operation during PLC operation For further information please refer to XG5000 user s manual The items available to modify during operation are as below Program modification Communication parameter modification Notes 1 If a module greater than 16 point is mounted on without reservation the I O number will become different and an abnormal operation will occur 2...

Page 82: ...the durability of Relay Output Module shall be reduced 4 For output module to run the conductive L load max open close frequency should be used by 1second On 1 second Off 5 For output module in case that counter timer using DC DC Converter as a load was used Inrush current may flow in a certain cycle when it is ON or during operation In this case if average current is selected it may cause the fai...

Page 83: ...cable varies the allowable current by insulation thickness cares should be taken 10 The attachment torque of fixed screw of module and the screw of terminal block should be within the range as below Attachment part Attachment Torque range I O module terminal block screw M3 screw 42 58 N I O module terminal block fixed screw M3 screw 66 89 N 11 Transistor output module XGQ TR4A XGQ TR8A has Thermal...

Page 84: ...lt 3ms Response time On Off 1ms 3ms 5ms 10ms 20ms 70ms 100ms set by CPU parameter Default 3ms Insulation pressure AC560V rms 3 Cycle altitude 2000m Insulation resistance 10 or more by megger Common Method 8 point COM Proper cable size Twisted pair 0 3 0 75 external diameter 2 8mm or less Proper compressed terminal R1 25 3 not allowed to use a sleeve attached compressed terminal Current consumption...

Page 85: ...PU parameter Default 3ms Insulation pressure AC560V rms 3 Cycle altitude 2000m Insulation resistance 10 or more by megger Common Method 16 point COM Proper cable size Twisted pair 0 3 0 75 external diameter 2 8mm or less Proper compressed terminal R1 25 3 not allowed to use a sleeve attached compressed terminal Current consumption 30mA Operation indicator Input On LED On External connection method...

Page 86: ... parameter Default 3ms Insulation pressure AC560V rms 3 Cycle altitude 2000m Insulation resistance 10 or more by megger Common Method 16 point COM Proper cable size Twisted pair 0 3 0 75 external diameter 2 8mm or less Proper compressed terminal R1 25 3 not allowed to use a sleeve attached compressed terminal Current consumption 30mA Operation indicator Input On LED On External connection method 1...

Page 87: ...Insulation resistance 10 or more by megger Common Method 32 point COM Proper cable size 0 3 Current consumption 50mA Operation indicator Input On LED On External connection method 40 point connector Weight 0 1 kg Circuit configuration No Cont act No Cont act B20 P00 A20 P10 B19 P01 A19 P11 B18 P02 A18 P12 B17 P03 A17 P13 B16 P04 A16 P14 B15 P05 A15 P15 B14 P06 A14 P16 B13 P07 A13 P17 B12 P08 A12 P...

Page 88: ...sulation resistance 10 or more by megger Common Method 32 point COM Proper cable size 0 3 Current consumption 50mA Operation indicator Input On LED On External connection method 40 point connector Weight 0 1 kg Circuit configuration No Cont act No Cont act B20 P00 A20 P10 B19 P01 A19 P11 B18 P02 A18 P12 B17 P03 A17 P13 B16 P04 A16 P14 B15 P05 A15 P15 B14 P06 A14 P16 B13 P07 A13 P17 B12 P08 A12 P18...

Page 89: ...ration No Cont act No Cont act No Cont act No Cont act 1B20 P00 1A20 P10 2B20 P20 2A20 P30 1B19 P01 1A19 P11 2B19 P21 2A19 P31 1B18 P02 1A18 P12 2B18 P22 2A18 P32 1B17 P03 1A17 P13 2B17 P23 2A17 P33 1B16 P04 1A16 P14 2B16 P24 2A16 P34 1B15 P05 1A15 P15 2B15 P25 2A15 P35 1B14 P06 1A14 P16 2B14 P26 2A14 P36 1B13 P07 1A13 P17 2B13 P27 2A13 P37 1B12 P08 1A12 P18 2B12 P28 2A12 P38 1B11 P09 1A11 P19 2B1...

Page 90: ...ion No Cont act No Cont act No Cont act No Cont act 1B20 P00 1A20 P10 2B20 P20 2A20 P30 1B19 P01 1A19 P11 2B19 P21 2A19 P31 1B18 P02 1A18 P12 2B18 P22 2A18 P32 1B17 P03 1A17 P13 2B17 P23 2A17 P33 1B16 P04 1A16 P14 2B16 P24 2A16 P34 1B15 P05 1A15 P15 2B15 P25 2A15 P35 1B14 P06 1A14 P16 2B14 P26 2A14 P36 1B13 P07 1A13 P17 2B13 P27 2A13 P37 1B12 P08 1A12 P18 2B12 P28 2A12 P38 1B11 P09 1A11 P19 2B11 P...

Page 91: ...essure AC1780V rms 3 Cycle altitude 2000m Insulation resistance 10 or more by megger Common Method 16 point COM Proper cable size Twisted pair 0 3 0 75 external diameter 2 8mm or less Proper compressed terminal R1 25 3 not allowed to use a sleeve attached compressed terminal Current consumption 30mA Operation indicator Input On LED On External connection method 18 point terminal block connector M3...

Page 92: ...me On Off 25 ms or less AC200V 50 60 Insulation pressure AC2830V rms 3 Cycle altitude 2000m Insulation resistance 10 or more by megger Common Method 8 point COM Proper cable size Twisted pair 0 3 0 75 external diameter 2 8mm or less Proper compressed terminal R1 25 3 not allowed to use a sleeve attached compressed terminal Current consumption 20mA Operation indicator Input On LED On External conne...

Page 93: ... AC200V 1 5A AC240V 1A COSΨ 0 7 100 000 times or more AC200V 1A AC240V 0 5A COSΨ 0 35 100 000 times or more Service life Electrical DC24V 1A DC100V 0 1A L R 7ms 100 000 times or more Off On 10 ms or less Response time On Off 12 ms or less Common method 1 point 1COM independent contact Current consumption 260mA when all point On Operation indicator Output On LED On External connection method 18 poi...

Page 94: ...00 000 times or more AC200V 1A AC240V 0 5A COSΨ 0 35 100 000 times or more Service life Electrical DC24V 1A DC100V 0 1A L R 7ms 100 000 times or more Off On 10 ms or less Response time On Off 12 ms or less Common method 16 point 1COM Current consumption 500mA when all points On Operation indicator Output On LED On External connection method 18 point terminal block connector M3 X 6screw Weight 0 17...

Page 95: ...5A AC240V 1A COSΨ 0 7 100 000 times or more AC200V 1A AC240V 0 5A COSΨ 0 35 100 000 times or more Service life Electrical DC24V 1A DC100V 0 1A L R 7ms 100 000 times or more Off On 10 ms or less Response time On Off 12 ms or less Common method 16 point 1COM Current consumption 500mA when all points On Operation indicator Output On LED On External connection method 18 point terminal block connector ...

Page 96: ...bsorber Varistor 387 473V C R Absorber Off On 1 ms or less Response time On Off 0 5 Cycle 1 ms or less Common method 16 point 1 COM Current consumption 300 mA when all points On Operation indicator Output On LED On External connection method 18 point terminal block connector M3 X 6screw Weight 0 2 kg Circuit configuration Terminal block Contact TB1 P0 TB2 P1 TB3 P2 TB4 P3 TB5 P4 TB6 P5 TB7 P6 TB8 ...

Page 97: ...l power supply Off not detected Fuse cutoff Off On 1 ms or less Response time On Off 1 ms or less Rated load resistive load Common method 16 point 1COM Current consumption 70mA when all points On Voltage DC12 24V 10 ripple voltage 4 Vp p or less External power supply Current 10mAor less DC24V connection Operation indicator Output On LED On External connection method 18 point terminal block connect...

Page 98: ...24V 10 ripple voltage 4 Vp p or less External power supply Current 10mA or less DC24V connection Operation indicator Input On LED On External connection method 40 Pin Connector Proper cable size 0 3 Weight 0 1 kg Circuit configuration No Cont act No Cont act B20 P00 A20 P10 B19 P01 A19 P11 B18 P02 A18 P12 B17 P03 A17 P13 B16 P04 A16 P14 B15 P05 A15 P15 B14 P06 A14 P16 B13 P07 A13 P17 B12 P08 A12 P...

Page 99: ...rcuit configuration No Cont act No Cont act No Con tact No Cont act 1B20 P00 1A20 P10 2B20 P20 2A20 P30 1B19 P01 1A19 P11 2B19 P21 2A19 P31 1B18 P02 1A18 P12 2B18 P22 2A18 P32 1B17 P03 1A17 P13 2B17 P23 2A17 P33 1B16 P04 1A16 P14 2B16 P24 2A16 P34 1B15 P05 1A15 P15 2B15 P25 2A15 P35 1B14 P06 1A14 P16 2B14 P26 2A14 P36 1B13 P07 1A13 P17 2B13 P27 2A13 P37 1B12 P08 1A12 P18 2B12 P28 2A12 P38 1B11 P09...

Page 100: ...it the signal to CPU Off On 1 ms or less Response time On Off 1 ms or less rated load resistive load Common method 16 point 1COM Current consumption 70mA when all points On Voltage DC12 24V 10 ripple voltage 4 Vp p or less External power supply Current 10mA or less DC24V connection Operation indicator Output On LED On External connection method 18 point terminal block connector Weight 0 12kg Circu...

Page 101: ...10 ripple voltage 4 Vp p or less External power supply Current 10mA or less DC24V connection Operation indicator Input On LED On External connection method 40 Pin Connector Proper cable size 0 3 Weight 0 1 kg Circuit configuration No Cont act No Cont act B20 P00 A20 P10 B19 P01 A19 P11 B18 P02 A18 P12 B17 P03 A17 P13 B16 P04 A16 P14 B15 P05 A15 P15 B14 P06 A14 P16 B13 P07 A13 P17 B12 P08 A12 P18 B...

Page 102: ...ircuit configuration No Con tact No Cont act No Con tact No Cont act 1B20 P00 1A20 P10 2B20 P20 2A20 P30 1B19 P01 1A19 P11 2B19 P21 2A19 P31 1B18 P02 1A18 P12 2B18 P22 2A18 P32 1B17 P03 1A17 P13 2B17 P23 2A17 P33 1B16 P04 1A16 P14 2B16 P24 2A16 P34 1B15 P05 1A15 P15 2B15 P25 2A15 P35 1B14 P06 1A14 P16 2B14 P26 2A14 P36 1B13 P07 1A13 P17 2B13 P27 2A13 P37 1B12 P08 1A12 P18 2B12 P28 2A12 P38 1B11 P0...

Page 103: ... time On Off 1ms 3ms 5ms 10ms 20ms 70ms 100ms set by CPU parameter Default 3ms Response time On Off 1 ms or less rated load resistive load Common 16 point 1 COM Common method 16 points 1 COM Operation indicator Input On LED On Operation indicator Output On LED On Current consumption 110mA when all points On External connection 40 pin Connector 1 Weight 0 1 kg No Cont act No Cont ac B20 P00 A20 P10...

Page 104: ...y 50 Working voltage AC560V rms 3 Cycle Altitude 2000m Insulation resistance Insulation resistance 10 or above DC500V COMM method 32 point COM Current consumption A 0 7 MAX Operation indicator LED is on when input is on External connection method 40 pin connector Size 27x98x90 Weight 0 2 kg Circuit configuration No Cont act No Cont act B20 0 A20 16 B19 1 A19 17 B18 2 A18 18 B17 3 A17 19 B16 4 A16 ...

Page 105: ...nnector 1 XGQ TR8A 64 point TR output module sink type 40 pin Connector 2 XGQ TR8B 64 point TR output module source type 40 pin Connector 2 XGH DT4A 16 point DC input 16 point TR output combination module 40 pin Connector 1 Some models are ready for Smart Link For details refer to the attached data sheet that comes with the Smart Link module Classification Model Specification Terminal board SLP T4...

Page 106: ...B11 B10 A10 A11 B12 B09 A09 A12 B13 B08 A08 A13 B14 B07 A07 A14 B15 B06 A06 A15 B16 B05 A05 A16 B17 B04 A04 A17 B18 B03 A03 A18 B19 B02 A02 A19 B20 B01 A01 A20 SLP RY4A B terminal block No I O module connector No SLP RY4A B terminal block No P0 B20 A20 P10 P1 B19 A19 P11 P2 B18 A18 P12 P3 B17 A17 P13 P4 B16 A16 P14 P5 B15 A15 P15 P6 B14 A14 P16 P7 B13 A13 P17 P8 B12 A12 P18 P9 B11 A11 P19 P0A B10 ...

Page 107: ... DV4A 190 250 CPU module XGK CPUU 960 XGF DC4A 190 400 XGI D21A 20 XGF DC4S 200 200 XGI D22A 30 XGF DV8A 190 250 XGI D22B 30 XGF DC8A 190 400 XGI D24A 50 Analog output module XGF DV4S 200 500 XGI D24B 50 XGF HO2A 270 XGI D28A 60 High speed counter module XGF HD2A 330 DC12 24V input module XGI D28B 60 XGF PO3A 400 AC110V input module XGI A12A 30 XGF PO2A 360 AC220V input module XGI A21A 20 XGF PO1A...

Page 108: ...Chapter 8 Power Module 8 2 Power CPU Constant voltage transformer AC power 100V 240V COM COM OUT IN SPE DC5 DC24 Load I out I in I 5V I 24V AC power 100V 240V DC power 24V ...

Page 109: ... 1 Response time Off On On Off 10 or less 12 or less Relay Output Life Mechanical More than 20 000 000 times Electrical More than 100 000 times at rated switching voltage current RUN signal output Relay output Rating DC24V 0 5A Voltage indicator Output voltage normal LED On Cable specification 0 75 2 mm2 Compressed terminal RAV1 25 3 5 RAV2 3 5 Weight 0 4 kg 0 6 kg 0 5 kg Notes 1 Allowable Momenta...

Page 110: ...t module XGP ACF2 XGP ACF3 does not print out DC24V 3 RUN terminal Indicates RUN state of system Off when CPU STOP error occurs Off when CPU mode is ch anged to STOP mode 4 FG terminal Ground terminal for electric shock prevention 5 LG terminal Ground terminal of power filter 6 Power input terminal Power input terminal XGP ACF1 XGP ACF2 XGP ACF3 AC100 240V connection XGP DC42 DC24V connection 7 Te...

Page 111: ...24V CPU module XGK CPUH 1 0 96A 12 Slot main base XGB B12M Input module XGI D24A 4 0 2A Output module XGQ RY2A 4 2 0A FDEnet module XGL EDMF 2 1 3A Profibus DP XGL PMEA 2 1 12A Calculation 0 96 0 2 2 1 3 1 12 Current consumption Result 5 58A Calculation 5 58 5V Energy consumption Result 27 9W As the value of 5V current consumption is 5 58A use XGP ACF2 5V 6A or XGP AC23 5V 8 5A If used XGP ACF1 5V...

Page 112: ...eight kg 0 54 0 42 0 34 0 28 9 1 2 Expansion Base Expansion base installs Power Module I O Module and Special Communication Module Model Items XGB E12A XGB E08A XGB E06A XGB E04A I O module setup 12 module 8 module 6 module 4 module Dimension mm 426 X 98 X 19 318 X 98 X 19 264 X 98 X 19 210 X 98 X 19 Hole distance for panel attachment 406 X 75 298 X 75 244 X 75 190 X 75 Hole spec for panel attachm...

Page 113: ...erminal Ground terminal connected to the shielded pattern of PCB board Power module connector I O module built in connecto CPU module connector I O module built in connector Base attached guide hole Hole to attach the main base to the panel in control panel Power module connector I O module built in connector Module built in connector I O module built in connector FG terminal Ground terminal conne...

Page 114: ...les PID control by the Auto tuning function 10 Enables the cascade PID control 10 2 PID Control PID control is a control method to keep the state of the control object at the Set Value In case there exists an error between the preset Set Value and the value measured by the detector current value the controller operates to adjust the output control signal so that the current value can reach the Set...

Page 115: ...nt of MV 10 3 2 PID expressions PID expressions are as follows 5 3 10 4 3 10 3 3 10 2 3 10 1 3 10 d i p d p d i p i p p MV MV MV MV dt dE T K MV dt E T K MV E K MV PV SV E An error is a mathematical expression that tells about how far the current system is from the state desired by the user Here is an example a user wants the water in a electric pot to be kept at 50 and the current water temperatu...

Page 116: ...tual system below is designed for better understanding by the user but may be different from an actual temperature system In the simulation above SV is 50 0 the K_p value is properly adjusted to obtain the PV development above Four seconds after the operation starts at the initial temperature of 20 the system settles into the stable state and thereafter remains constant at 46 2 The offset is 3 8 a...

Page 117: ...It should be noted that the integral time constant Ti is the denominator of the integral term therefore the smaller the Ti value the larger the integral effect The following graph shows the result of PI control of the previously described P controlled system As a result of adding the integral effect the offset disappears and the system converges exactly to 50 At the initial control however there o...

Page 118: ...ystem sensor is not clean or mixed with noise however an undesired derivative effect is created and causes an unstable operation of the heater or pump To be sure that the derivative effect is not caused by such trivial changes as noise in the system it is required to install a filter at the sensor input and set the derivative coefficient to a low value in case of an actual system it is common to s...

Page 119: ... the changed settings are all applied since each scan operation is executed independently If the contact in front of the PIDRUN instruction is set to On or if the PIDRUN instruction exists on the ladder program and PIDxx_REM_RUN is set to On then it is possible to enter into PIDRUN 4 PIDCAS is a state in which twoo loops master and slave loops execute a control operation Setting the two loops in t...

Page 120: ...ntrol Operand S has the range 0 31 constants and means the loop number 2 PIDCAS PIDCAS is a instruction to implement a cascade control using two loops Operand M is the master loop with the range 0 31 constants and means the loop number Operand S is the slave loop with the range 0 31 constants and means the loop number Note Operands M and S in PIDCAS cannot be the same Operand M means the number of...

Page 121: ...p T_i T_d are simultaneously changed to the values set by the user Make sure that each of the 5 setting values holds its respective data type as shown the table below Device Parameter Data Type Setting Ex Actual Unit S 0 SV WORD 5000 S 1 Ts WORD 1000 0 1 msec S 2 Kp REAL 3 32 sec S 4 Ti REAL 9 3 sec S 6 Td REAL 0 001 sec Operand S represents the first word address of the place the parameter to be ...

Page 122: ...m 3 1 MV Variation Limited Loop n K10374 320n _PIDn_ALARM4 Bit PID Alarm 4 1 MV Maximum Value Limited Loop n K10375 320n _PIDn_ALARM5 Bit PID Alarm 5 1 MV Manimum Value Limited Loop n K10376 320n _PIDn_ALARM6 Bit PID Alarm 6 1 AT Abnormal Cancel Loop n K10377 320n _PIDn_ALARM7 Bit PID Alarm 7 Loop n K10378 320n _PIDn_STATE0 Bit PID State 0 0 PID_STOP 1 PID_RUN Loop n K10379 320n _PIDn_STATE1 Bit P...

Page 123: ..._max MV_man T_s Kp Ti Td MV_max MV_min dMV_max and while the PID function is performed the states for PID Loop 0 PV ETC MV MV_rvs ERR MVp Mvi MVd PV By writing data into the set memory area the user can change the PID setting at any time even during operation and obtain the corresponding results in the next cycle K1056 K2047 is the memory part of Loops 1 31 that are in the same form as Loop 0 Each...

Page 124: ...y produce an unexpected result So be very careful when using the the PAUSE function If the corresponding bit is Off Default PAUSE is cleared 3 _PIDn_REV PID REVerse operation Setting Area K DEVICE AREA K10040 m Unit Bit This allows you to set the control system as Forward system or Reverse system If the system state rises as the system input value rises it is defined as Forward system If the syste...

Page 125: ...to a stable state when using PV than when using ERR under the unstable instantaneous control due to initial response or disturbance This implies that the change in output is slow and a heavy load is not imposed on the driver But with the change in the range of the internal operation value the Anti Wind up function does not operate If the corresponding bit is Off PID performs P operation on the ERR...

Page 126: ...is function shows an algorithm difference between single operation and cascade operation but both operations are performed by this bit If the corresponding bit in cascade operation the corresponding bit of the master loop is On Bumpless changeover is performed If it is Off The Default Bumpless changeover function is Disabled Note _PIDn_AT_EN This bit is initialized as Off when the PLC changes to R...

Page 127: ... assigned for each 0 1ms If 100ms of sampling time is required 1000 is input to _PIDn_T_s If the user sets the sampling time to 0 the scan cycle control mode is also set In this case as a control operation occurs in each scan a full speed control operation is performed in the current environment When the current scan speed is exceeeded due to the too short sampling time The ALARM bit of _PIDn_STAT...

Page 128: ...PID delta PV MAXimum limit Setting Area K DEVICE AREA K1032 32n Unit WORD 0 65535 This limits the PV variation of the corresponding loop In actual control PV does not always reflect the exact system state Unwanted signals caused by sensor malfunction noise or disturbance can be mixed and reflected in PV Like this PV often undergoes a sudden change and causes a large change in PID output It is a pr...

Page 129: ... is located at the address K1037 32n and each of the 16 bits has its own meaning Only some of the 16 bits are currently in use STATE turns On when the corresponding operation occurs and returns Off when it is cleared The upper 8 bits of STATE _PIDn_ALARM 0 _PIDn_ALARM 7 display abnormalities of the loop The lower 8 bits of STATE _PIDn_STATE 0 _PIDn_STATE 7 displays the control state of the loop Ea...

Page 130: ... in 12 this values is transferred at each scan to the U device using a instruction such as MOV and then used as a system startup input via an output device such as D A conversion module Please refer to the program examples in the latter part of this manual 15 _PIDn_MV_BMPL_val PID MV BuMPLess changeover VALue Setting Prohibited K DEVICE AREA K1041 32n Unit WORD 0 65535 This stores the information ...

Page 131: ...nit REAL 3 40282347e 38 1 17549435e 38 0 1 17549435e 38 3 40282347e 38 This displays the integral control value of the corresponding loop 19 _PIDn_MV_d PID MV Derivative component Setting Prohibited K DEVICE AREA K1048 32n K1049 32n Unit REAL 3 40282347e 38 1 17549435e 38 0 1 17549435e 38 3 40282347e 38 This displays the derivative control value of the corresponding loop 20 _PIDn_DB_W PID DeadBand...

Page 132: ..._PIDn_AT_HYS_val is described in 10 7 4 23 _PIDn_AT_SV PID Auto Tuning SV Setting Area K DEVICE AREA K1053 32n Unit INT 32768 32767 This separately sets AT_SV to be used as SV for AT of the corresponding loop AT enables PV to vibrate 3 times up and down around AT_SV 24 _PIDn_AT_step PID Auto Tuning step Setting Prohibited K DEVICE AREA K1054 32n Unit INT 32768 32767 This displays the AT operation ...

Page 133: ...d into a digital signal by means of an AD device much of the signal is mixed with noise The PID control instruction executes Auto tuning using this converted value it enables PV to increase and dedcrease 3 times up and down at SV In the course of this process if noise is input at the time when SV equals PV a single up and down conversion is incorrectly perceived as multiple conversions This is the...

Page 134: ...This operates by limiting Mvi the integral term results using _PIDn_MV_max _PIDn_MV_min Aniti Wind up 2 is organically connected to MVp the proportional term results In case MV reaches 土 _PIDn_MV_max on MVp only regardless of the MVi and MVd values due to a large system error Mvi does not perform a calculation but keeps the previous value In case the error is large PV is brought near SV operating ...

Page 135: ...e loop The slave loop sets the flow value MV_mst transferred from the master loop as the Set Value SV_slv and measures the fuel injection amount PV_slv in a more frequent manner than the master loop in order to control the valve opening and closing MV_slv Cascade therefore functions to transfer MV MV_mst of the master loop to SV SV _slv of the slave loop when two loops are in operation If the slav...

Page 136: ...tput modules are used for input and output respectively 2 Analog Input Module XGF AV8A This functions to receive the state of the control object from the sensor and transfer it to the CPU The analog input module channel 0 enables to receive a voltage of 0 V 5 V as input and transfer its digital value to the PLC as output There are 8 channels CH 0 CH 7 in XGF AV8A The setting for XGXGF AV8A can be ...

Page 137: ...igure shows the screen of XGF DV4A setting in XG5000 4 Sensor and Driver Along with the analog output module and analog input module the sensor and driver respectively function as the media to transfer the state of the control object to the controller and transfer the controller output to the control object The output generated from the sensor should be able to be used as the input of the analog i...

Page 138: ...tflow of water The water in the tank flows out at a constant rate The decision to increase or decrease the water level is based on the water inflow The structure of a water level control system is shown below Pump Inflow Outflow Water level Water level sensor Driver Water tank 10 7 2 Program example 1 The following figure shows a program example of performing PID control using analog modules In th...

Page 139: ...ompleted 10 7 3 PID controlling 1 Variable Registration Control settings is performed by registering PID variables in the Variable Monitor window Clicking the right button of the mouse and then selecting Register in Variable Description in the Variable Monitor window allows you to see the Variable Device Select window Selecting PID in the List box and deselecting All and then entering 0 loop numbe...

Page 140: ...r output value was 3250 The reasons for such an error are the inaccurary of the sensor the error of the measuring base point etc So the actually measured value of 8250 should be used as the state value when the water level is 250mm This value will be used as the SV value for control of 250mm 3 Control Setting After the previously developed program is downloaded to the PLC then monitoring begins Th...

Page 141: ...vation of Control States Using the Trend Monitor You can enable the trend monitor one of the monitor functions of XG5000 The trend monitor can be properly arranged by allowing its docking Data to be observed are registered through the trend setting ...

Page 142: ...d as INT 5 Program Run Here an example is given to show how to find a parameter manually For auto tuing refer to the method below When the contact M00000 is turned On the system starts up After increasing K_p to 100 the system is started again Because K_p is set too large the system vibrates in a permanent and regular manner Settings are made as follows K_p 20 T_i 100 ...

Page 143: ...normal state offset lasts long and there occurs a slight overshoot Settings are mede as follows K_p 10 T_i 1 Because T_i is too small PV fluctuates slowly Settings are made as follows K_p 10 T_i 5 This is a satisfactory result After changing T_d to 0 1 the system is started again ...

Page 144: ... Functions 10 31 The system rocks and the error increases Since the current system is a slow system that can be fully controlled by PI only PI control is required Therefore the tuning results are as follows K_p 10 T_i 5 T_d 0 ...

Page 145: ...s _PIDn_AT_SV should be set the same with _PIDn_SV The _PIDn_AT_SV value is used only during AT and upon completion of AT the system is automatically started based on _PIDn_SV Next _PIDn_MV_min and _PIDn_MV_max are set During AT the _PIDn_MV_min and _PIDn_MV_max values are respectively considered as the minimum maximum output of the system During AT the two values differ each other in 3 cycles dep...

Page 146: ... rectangular waveform does not appear 3 times in MV a correct AT operation cannot be guranteed Setting _PIDn_HYS_val too large may cause system slowdown 10 7 5 Program example 2 The following figure shows the screen of the PID constant value and SV value settings in the 10 7 2 program that performs PID control using the A D and D A conversion modules ...

Page 147: ...dule input data are transferred to PIDRUN Loop 0 PV Step 7 If the user turns the P00700 bit On control operation of PIDRUN Loop 0 is performed Step 12 If PIDRUN Loop 0 is in stop mode the PWM On time is set to 0 and the output to OFF Step 17 PIDRUN Loop 0 MV output 0 10000 is divided by 5 into 0 2000 using the regular On contact D00510 is used as the PWM On time and D00520 the remaining time subtr...

Page 148: ...Chapter 10 Built in PID Functions 10 35 10 7 7 Cascade startup The ladder program above is a cascade startup program based on the block diagram below Driver ...

Page 149: ...able gas 2 Installation Construction 1 In case of processing of screw hole or wiring do not enter the wiring fragments into PLC 2 Select the installation place good for operation 3 Do not install the equipment in the same panel with high voltage device 4 Keep more than 50mm from wiring duct or surrounding module 5 Grounding at the place where surrounding noise environment is good 3 Heat Protection...

Page 150: ...n of simultaneous On point Not available in case that DC24V is supplied from outside or power module without DC24V output is used 2 Sum of DC5V circuit current consumption DC5V output circuit current of power module is the sum of current consumption of each module W5V I5V X 5 W 3 DC24V Average current consumption current consumption of simultaneous On point DC24V output circuit average current of ...

Page 151: ...t added the current consumption calculated per each block is total current consumption of PLC system W WPW W5V W24V Wout Win Ws W Calculate the radiation amount according to this total current consumption W and review the temperature rising in control panel The calculation formula of temperature rising in control panel is shown as below T W UA C W Total current consumption of PLC system the value ...

Page 152: ...t and min spec of cable should be more than AWG22 0 3mm2 3 Environment In case of wiring I O module if it is too close to the equipment with high heat or the wiring is directly touched to the oil for a long time it may cause the short circuit or occur the breakage or abnormal operation 4 Polarity For the module having the polarity in terminal block it is required to check the polarity before apply...

Page 153: ...udinal connection or horizontal attachment considering a ventilation 3 Use the panel different from the vibration sources of large sized electronic contactor or no fuse breaker etc or keep the clearance when installing 4 Install the wiring duct if necessary But cares should be taken for the following notices in case the dimension of the upper or lower part of PLC is smaller than that of Figure 11 ...

Page 154: ...on and Wiring 11 6 6 Do not install PLC to the direction as below 7 When installing PLC or other equipment Relay electronic contactor keep the distance to avoid radiant noise or heat 100mm or more 50mm or more 50mm or more ...

Page 155: ...module fixed hole of the base Slide the upper part of module to fix to the base and then fit it to the base by using the module fixed screw Pull the upper part of module to check if it is installed to the base completely Notes 1 For Module installation it is required to insert the fixed projection of module into the module fixing hole and then fix it If forced to attach it module may be broken Mod...

Page 156: ...e upper part of module from the axis of the lower part of module By lifting the module upward remove the fixed projection of module from the fixing hole Notes 1 In case of detachment of module press the hook and remove the module from the base and then remove the fixed project of module from the fixed hole of module In this case if forced to detach the module a hook or the fixed projection of modu...

Page 157: ... connect the voltage regulated transformer 2 Connect the power having the small noise between cables or between earths In case of having lots of noise connect the insulation transformer 3 For PLC power I O machine and power machine divide the system as below Power CPU AC power Constant Voltage transformer AC power 100V 240V Power CPU AC220V Main power Constant Voltage transformer PLC power Main ci...

Page 158: ...age high current cable or I O signal cable Keep more than 100mm if possible 7 Use the surge absorber against lightning as shown in the figure below 8 Use the shielded insulation trans or noise filter when a noise invasion is expected 9 The wiring of each input power should be twisted shortly if possible and the shielded trans or noise filter wiring should be done without passing the duct Notes 1 S...

Page 159: ...f DC24V from AC110V cable or AC220V cable For the long distance wiring more than 200m as it is expected to have problem by leakage current caused by the capacity between cables please refer to 12 4 Various Cases 11 2 3 Earth Wiring 1 As this PLC has a sufficient measures against noise it is possible to use it without earth except the case having specially lots of noises 2 Use the dedicated earth i...

Page 160: ...e abnormal operation is found according to the earth separate FG of the base from the earth 11 2 4 Cable Specification for Wiring The specification of cable used for wiring is as below Cable specification mm2 Type of External Connection Low limit High limit Digital Input 0 18 AWG24 1 5 AWG16 Digital Output 0 18 AWG24 2 0 AWG14 Analog I O 0 18 AWG24 1 5 AWG16 Communication 0 18 AWG24 1 5 AWG16 Main...

Page 161: ... of each module No shaking All module should not be shaken Loosening of terminal screw No loosening Tighten the loosened screw Spare parts The possessing amount and preservation state Fill the lack and improve the preservation state 12 2 Daily Checking The items to check daily are as follows Checking items Contents Judgment Basis Action Base attachment state Check the loosening of attached screw C...

Page 162: ...ography No attachment Screw loosening Tighten by driver No loosening Tighten Approach of compressed terminal Macrography Proper interval Adjust Connection state Connector loosening Macrography No loosening Tighten connector screw Power voltage checking Check the power voltage of the power input terminal using a tester AC100 240V AC85 264V DC24V DC19 2 28 8V Change the power supply Battery Check th...

Page 163: ...13 1 Specification Test item Test details Standard value EN55011 Radiated noise 2 Electromagnetic emissions from the product are measured 30 230 QP 50 m 1 230 1000 QP 57 m EN50081 2 EN55011 Conducted noise Electromagnetic emissions from the product to the power line is measured 150 500 QP 79 Mean 66 500 230 QP 73 Mean 60 EN61000 4 2 Electrostatic immunity Immunity test in which static electricity ...

Page 164: ...st have the following features 1 Use SPCC Cold Rolled Mild Steel for the control panel 2 The steel plate should be thicker than 1 6mm 3 Use isolating transformers to protect the power supply from external surge voltage 4 The control panel must have a structure which the radio waves does not leak out For example make the door as a box structure so that the panel body and the door are overlapped eac...

Page 165: ...from acting as an antenna 13 1 3 Cables 1 Extension cable connection The extension cables contain a high frequency noise Therefore a ferrite core is attached to the extension cable as shown in the picture below to meet the CE conformance Model Manufacturer Remarks CU1330D E TECH ELECTRONICS ZCAT3035 1330 TDK 2 Cable connection method for the inside control panel In the case that the extension cabl...

Page 166: ...s control rooms or laboratories And the XGK series modules which operate at the rated voltage of AC50V DC75V or above are also developed to conform the above standard 13 2 2 XGK Series PLC Selection 1 Power module There are dangerous voltages voltages higher than 42 4 peak inside the power supply modules of the AC110 220V rated I O voltages Therefore the CE mark compliant models are enhanced in in...

Page 167: ... checking the indication state of each indicator Power LED Run LED Stop LED I O LED etc connect the peripheral device and check PLC operation state and program contents 2 Trouble Checking Examine how the trouble is changed by the following action Place the key switch on STOP position and apply the power ON OFF 3 Limit range Estimate what is the trouble cause using the above method Is it from PLC i...

Page 168: ...ower module fixed Is the over current protection operating After wiring the trouble shooting questionnaire contact A S center or agent Supply the power Is Power LED ON Meet the power supply with the regular range Change the fuse Fix the power module completely Is Power LED ON Is Power LED ON Is Power LED ON 1 Check the current capacity and reduce the over current 2 After input power OFF then power...

Page 169: ...ht error PLC system does not stop but you should check the error contents promptly and take an action If not it may cause the heavy error Notes ERR LED is blinking Yes No No Connect XG5000 and check the error code contents After writing the trouble shooting questionnaire and contact A S center or agent Refer to Appendix 1 Flag and remove the error cause End Yes Is it light error _CNF_WAR Does ERR ...

Page 170: ...top LED is OFF Here describes the action procedure when RUN STOP LED is OFF in case of power supply when operation starts or during operation RUN STOP LED is OFF No Yes Contact A S center or agent nearest from you End Power module OFF ON Is RUN STOP LED OFF ...

Page 171: ... by XG5000 Is output LED of SOL1 ON No Change the connector of terminal block Measure SOL1 terminal voltage by the tester Make the correct wiring Yes Is the measured value normal Is the output wiring correct Is the contact state of terminal block connector good Is it normal After removing the external wiring check the transmission state of module output Is it normal Check the output device SOL1 st...

Page 172: ...eck the input device SWITCH 1 2 state Change the input module Measure the terminal voltage of SWITCH 1 2 by the tester Is the measured value normal Is the tightening state of terminal good Is input wiring correct Make the correct wiring Tighten the terminal screw completely Change the terminal block connector Change the input module Check all from the beginning again Is the contact state of termin...

Page 173: ...m Write does not work Yes Put the key switch to Remote STOP mode and run Program Write Is the Run Stop switch set as STOP Remote stop mode No Is STOP LED blinking After releasing PLC connection Off read the error code indicated when connected and modify it according to the contents Yes End No After Remote DIP S W ON run Program Write Yes No Is DIP S W of CPU Module ON ...

Page 174: ...ersion Serial no of product XG5000 version no used in program compile 4 Brief description of control object machine and system 5 Using module of CPU module Operation by key switch Memory module operation XG5000 or operation by communication 6 STOP LED of CPU module ON Yes No 7 Error message content by XG5000 8 Action trial status for the error code of item 7 on the above 9 Trouble shooting method ...

Page 175: ... 0 47Uf R 47 120 Ω 1 2W or make the circuit independently and install a separate circuit Input signal not OFF Leakage current by capacity between wiring cables y Install the power on the external device as below Input signal not OFF Leakage current of external device run by switch with LED indicator y Connect the proper resistance as below so that the voltage between input module terminal and comm...

Page 176: ...ed with output element in parallel y Connect CR with several dozens kΩ or equivalent impedance to the load in parallel Note If wiring length is long from output module to the load leakage current by capacity between cables Time trouble in case the load is C R type timer y Leakage current by surge absorption circuit connected with output elements in parallel y Run C R type timer by Relay y Use the ...

Page 177: ... than 1 second may be delayed according to the load y Insert the magnetic contactor that time constant is small and run the load by the contact as below Output transistoris destroyed Inrush current of incandescent light When light ON more than 10 times of inrush current may flow y To control the inrush current it need to flow 1 3 1 5 dark current of rated current of incandescent light Output Load ...

Page 178: ...formation error If it occurs repeatedly when power reinput request service center Stop ERR ON Power input RUN mode switching 22 Poor Backup Flash program Reoperate after modifying the backup flash program Fail ERR On Reset RUN mode switching 23 Program to execute is abnormal Start after reloading the program Change battery if it has a problem Check the preservation status after program reloading a...

Page 179: ...of special link module data during operation not available After checking the position of slot that access error occurred by XG5000 change the module and restart acc to parameter Reference flag special link module interface error Stop Run ERR On P S On Scan end 39 Abnormal stop of CPU or malfunction Abnormal system end by noise or hard ware error 1 If it occurs repeatedly when power reinput reques...

Page 180: ...rts E_STOP function in program power reinput Stop RUN On ERR On While running the program 61 Operation error STOP after checking the detailed information of operation error by XG5000 modify the program RUN refer to error step Stop Run ERR On P S On While running the program 500 Data memory backup not possible If not error in battery power reinput Remote mode is switched to STOP mode Stop ERR On Re...

Page 181: ...ver than 8 Correct the set value 25 DIS UNI error The value of N is over 4 Correct the N value 26 Data control error Over the range Correct the range 27 Time data error Time data error Correct the time data 28 MUX error Set value error Correct the set value 29 Data table error Set value error Correct the set value 30 SEG error Number of conversion data is greater than 4 Correct the set value 31 AS...

Page 182: ...1 If the basic parameter is set to Continue running when error occurs the program operation error code can be checked using XG5000 system history 2 If Continue running when error occurs is removed it can be checked with XG5000 error history ...

Page 183: ...N F0000C BIT _CMOD_KEY Operation mode Operation mode changed by key F0000D BIT _CMOD_LPADT Operation mode Operation mode changed by local PADT F0000E BIT _CMOD_RPADT Operation mode Operation mode changed by Remote PADT F0000F BIT _CMOD_RLINK Operation mode Operation mode changed by Remote communication module F00010 BIT _FORCE_IN Forced input Forced input state F00011 BIT _FORCE_OUT Forced output ...

Page 184: ...error F00030 BIT _WDT_ER Scan watchdog Scan watchdog operated F0004 DWORD _CNF_WAR System warning Reports light error state of system F00040 BIT _RTC_ER RTC error RTC data error F00041 BIT _DBCK_ER Backup error Data backup error F00042 BIT _HBCK_ER Restart error Hot restart not possible F00043 BIT _ABSD_ER Operation shutdown error Stop by abnormal operation F00044 BIT _TASK_ER Task collision Task ...

Page 185: ...0ms 200ms cycle Clock F00093 BIT _T1S 1s 1s cycle Clock F00094 BIT _T2S 2s 2s cycle Clock F00095 BIT _T10S 10s 10s cycle Clock F00096 BIT _T20S 20s 20s cycle Clock F00097 BIT _T60S 60s 60s cycle Clock F00099 BIT _ON Ordinary time On Always On state Bit F0009A BIT _OFF Ordinary time Off Always Off state Bit F0009B BIT _1ON 1scan On First scan ON Bit F0009C BIT _1OFF 1scan Off First scan OFF bit F00...

Page 186: ...tended base 2 step Put Get error F0018 WORD _PUTGET_ERR3 PUT GET error 3 Extended base 3 step Put Get error F0019 WORD _PUTGET_ERR4 PUT GET error 4 Extended base 4 step Put Get error F0020 WORD _PUTGET_ERR5 PUT GET error 5 Extended base 5 step Put Get error F0021 WORD _PUTGET_ERR6 PUT GET error 6 Extended base 6 step Put Get error F0022 WORD _PUTGET_ERR7 PUT GET error 7 Extended base 7 step Put Ge...

Page 187: ... step Saves error step F0060 DWORD _REF_COUNT Refresh Increase when module Refresh F0062 DWORD _REF_OK_CNT Refresh OK Increase when module Refresh is normal F0064 DWORD _REF_NG_CNT Refresh NG Increase when module Refresh is abnormal F0066 DWORD _REF_LIM_CNT Refresh Limit Increase when module Refresh is abnormal Time Out F0068 DWORD _REF_ERR_CNT Refresh Error Increase when module Refresh is abnorma...

Page 188: ... Extended base 4 step module detach error F0109 WORD _IO_DEER5 Module detach 5 error Extended base 5 step module detach error F0110 WORD _IO_DEER6 Module detach 6 error Extended base 6 step module detach error F0111 WORD _IO_DEER7 Module detach 7 error Extended base 7 step module detach error F0112 WORD _FUSE_ER0 Fuse cutoff 0 error Main base fuse cutoff error F0113 WORD _FUSE_ER1 Fuse cutoff 1 er...

Page 189: ...es Saves the times of error occur F0144 DWORD _MOD_HIS_CNT Mode conversion times Saves the times of mode conversion F0146 DWORD _SYS_HIS_CNT History occur times Saves the times of system history F0148 DWORD _LOG_ROTATE Log Rotate Saves log rotate information F0150 WORD _BASE_INFO0 Slot information 0 Main base slot information F0151 WORD _BASE_INFO1 Slot information 1 Extended base 1step slot infor...

Page 190: ...t mask information BASE 6 F0945 WORD _SLOT_EMASK_INF O_7 Slot fault mask Slot fault mask information BASE 7 F0946 WORD _SLOT_SKIP_INFO _0 Slot skip Slot skip information BASE 0 F0947 WORD _SLOT_SKIP_INFO _1 Slot skip Slot skip information BASE 1 F0948 WORD _SLOT_SKIP_INFO _2 Slot skip Slot skip information BASE 2 F0949 WORD _SLOT_SKIP_INFO _3 Slot skip Slot skip information BASE 3 F0950 WORD _SLOT...

Page 191: ... error warning Indicates light error information of external device F1034 WORD _MON_YEAR_DT Month year Clock information data month year F1035 WORD _TIME_DAY_DT Time day Clock information data time day F1036 WORD _SEC_MIN_DT Sec min Clock information data sec min F1037 WORD _HUND_WK_DT Hundred year weekday Clock information data hundred year weekday ...

Page 192: ...ion set in the parameter or 3 The communication state of data block set in the parameter is not good LINK TROUBLE shall be ON if the above 1 2 3 conditions occur and if the condition return to the normal state it shall be OFF again L000020 L00009F _HS1_STATE k k 000 127 Bit Array High speed link parameter 1 k block general state Indicates the general state of communication information for each dat...

Page 193: ...ollows by a simple calculation formula Calculation formula L area address L000000 500 x High speed link no 1 In case of using high speed line flag for Program and monitoring you can use the flag map registered in XG5000 conveniently k means block no and appears 8 words by 16 per 1 word for 128 blocks from 000 127 For example mode information _HS1MOD appears from block 0 to block 15 for L00010 and ...

Page 194: ...Indicates P2P parameter 1 0 Block service normal count L00629 _P2P1_ERRCNT00 Double word P2P parameter 1 00 Block service abnormal count Indicates P2P parameter 1 0 Block service abnormal count L006310 _P2P1_NDR01 Bit P2P parameter 1 01 Block service normal end P2P parameter 1 1 Block service normal end L006311 _P2P1_ERR01 Bit P2P parameter 1 01 Block service abnormal end P2P parameter 1 1 Block s...

Page 195: ...ize 3 to read P2P parameter 1 00 block N00016 N00019 _P1B00RD4 Device structure Area device 4 to read P2P parameter 1 00 block Saves area device 4 to read P2P parameter 1 00 block N00020 _P1B00RS4 Word Area size 4 to read P2P parameter 1 00 block Saves area size 4 to read P2P parameter 1 00 block N00021 N00024 _P1B00WD1 Device structure Area device 1 to save P2P parameter 1 00 block Saves area dev...

Page 196: ...ead P2P parameter 1 01 block Saves area size 4 to read P2P parameter 1 01 block N00062 N00065 _P1B01WD 1 Device structure Area device 1 to save P2P parameter 1 01 block Saves area device 1 to save P2P parameter 1 01 block N00066 _P1B01WS1 Word Area size 1 to save P2P parameter 1 01 block Saves area size 1 to save P2P parameter 1 01 block N00067 N00070 _P1B01WD 2 Device structure Area device 2 to s...

Page 197: ...Appendix 2 Dimensions App 2 1 Appendix 2 Dimensions Unit mm 1 CPU Module XGK CPUE XGK CPUS XGK CPUA XGK CPUH XGK CPUU 2 I O Module I O Module Terminal Block type I O Module Connector type ...

Page 198: ...Appendix 2 Dimensions App 2 2 3 Power Module Power Module 4 Main Expansion Base Main Base ...

Page 199: ...Appendix 2 Dimensions App 2 3 Expansion Base Classification A B XGB M04A XGB E04A 190 210 XGB M06A XGB E06A 244 264 XGB M08A XGB E08A 298 318 XGB M12A XGB E12A 406 426 ...

Page 200: ...N_EDIT_END F000B Edit end during RUN F000C N A _CMOD_KEY F000C Operation mode change by KEY F000D N A _CMOD_LPADT F000D Operation mode change by PADT F000E N A _CMOD_RPADT F000E Operation mode change by Remote PADT F000F STOP command execution _CMOD_RLINK F000F Operation mode change cause by remote communication module F0010 Ordinary time On _FORCE_IN F0010 Forced input F0011 Ordinary time Off _FO...

Page 201: ... module parameter error _CPPRM_ER F002B Communication module parameter error _PGM_ER F002C Program error _CODE_ER F002D Program Code error _SWDT_ER F002E System watchdog error F0025 F002F N A _BASE_POWER _ER F002F Base power error F0030 Heavy error _WDT_ER F0030 Scan watchdog F0031 Light error F0031 F0032 WDT error F0032 F0033 I O combination error F0033 F0034 Battery voltage error F0034 F0035 Fus...

Page 202: ... error _P2P_WAR2 F0055 P2P parameter 2 error _P2P_WAR3 F0056 P2P parameter 3 error _P2P_WAR4 F0057 P2P parameter 4 error _P2P_WAR5 F0058 P2P parameter 5 error F0040 F005F N A _P2P_WAR6 F0059 P2P parameter 6 error F0040 F005F N A _P2P_WAR7 F005A P2P parameter 7 error F0040 F005F N A _P2P_WAR8 F005B P2P parameter 8 error F0040 F005F N A _Constant_ER F005C Constant error F0040 F005F N A F005D F005F N...

Page 203: ...lag F0112 Carry flag _Carry F0112 Carry flag F0113 Full output Off _All_Off F0113 Full output Off F0114 Common RAM R W error F0114 N A F0115 Operation error flag latch _Ler_Latch F0115 Operation error flag latch F0116 F011F F0116 F011F N A F0120 LT flag _LT F0120 LT flag F0121 LTE flag _LTE F0121 LTE flag F0122 EQU flag _EQU F0122 EQU flag F0123 GT flag _GT F0123 GT flag F0124 GTE flag _GTE F0124 ...

Page 204: ...V F0574 Invalid operation error latch flag F0575 F0579 N A _FPU_Flag_I F057A Incorrect error flag _FPU_Flag_U F057B Underflow error flag _FPU_Flag_O F057C Overflow error flag _FPU_Flag_Z F057D Zero divide error flag _FPU_Flag_V F057E Invalid operation error flag _FPU_Flag_E F057F Irregular value Input error flag F0570 F058F N A _ERR_STEP F0580 F058F Error step save F0590 F059F Error step save F059...

Page 205: ...86 20 8326 6287 e mail chenxs lsis com cn LS Industrial Systems Chengdu Office _ Chengdu China Address 12FL Guodong Buiding No 52 Jindun Road Chengdu 610041 P R China Tel 86 28 8612 9151 9226 Fax 86 28 8612 9236 e mail comysb lsis biz LS Industrial Systems Qingdao Office _ Qingdao China Address YinHe Bldg 402 Room No 2P Shandong Road Qingdao City Shandong province 266071 P R China Tel 86 532 8501 ...

Reviews: