Xgb built-in positioning programmable logic controller xgt series (315 pages)
Summary of Contents for LSIS Master-K K200S
Page 1
K200S MASTER-K K300S K1000S Programmable Logic Controller Read this manual carefully before installing, wiring, operating, servicing or inspecting this equipment. Keep this manual within easy reach for quick reference.
Page 2
Chapter 1 Introduction Introduction......................1-1 Guide to the user’s manual ..................1-1 Features ........................1-2 Terminology....................... 1-3...
Chapter 1 Instruction MASTER-K 1 Introduction 1.1 Guide to the user’s manual This user’s manual contains specifications, performance, and handling instructions for each of unit of MASTER-K 200S/300S/1000S series PLC system. The following table shows the configuration of this user’s manual. Chapter Item Description...
Chapter 1 Instruction MASTER-K 1.2 Features The features of MASTER-K 200S/300S/1000S series are as following; 1) Program compatibility with previous MASTER-K series 2) Support various and easy-to-use programming devices ① KGL-WIN : Graphic loader for Windows 95 / 98 ② KLD-150S : Hand-held loader 3) Open network by supporting communication protocol complying with international standard.
Chapter 1 Instruction MASTER-K 1.3 Terminology The following table shows the definition of terms used in this manual. Terms Definition Remark Example) A standard element that has a specified function which CPU module, Module configures a system. Devices such as CPU or I/O, which Power module, mounted on the base board or base unit.
Page 6
Chapter 1 Instruction MASTER-K Terms Definition Remark Current flows in from the input switch to the input terminal of PLC when an input signal is turned on. Input Switch terminal Z: Input Sink input impedance Current Power – Common Current flows out from the input terminal of PLC to the input switch when an input signal is turned on.
Chapter 2 System configuration MASTER-K 2 System configuration The MASTER-K 200S/300S/1000S series has various modules suitable to configuration from the basic to a large network system. This chapter describes the configuration and features of each systems. 2.1 Overall configuration 2.1.1 K200S series The overall system configuration of K200S series is as following;...
Chapter 2 System configuration MASTER-K 2.1.2 K300S / 1000S series The overall system configuration of K300S/1000S series is as following; Battery RS232-C Cable IBM compatible PC KGL-WIN K7P-30AS Memory Module CPU Module Power Supply Module Fuse Main Base Input Module Output Module Expansion Cable Special Function Module...
Chapter 2 System configuration MASTER-K 2.2 Product list The product list of K200S/300S/1000S are as following; 2.2.1 K200S Items Model No. Description Remark Max. I/O points : 512 points K3P-07AS Special functions : RS-232C Max. I/O points : 512 points K3P-07BS modules Special functions : RS-422/485, RTC, PID control...
Page 11
Chapter 2 System configuration MASTER-K (continued) Items Model No. Description Remark Voltage / Current input, 4channels A/D conversion G6F-AD2A 1 ~ 5VDC / 0 ~ 10VDC / -10 ~ 10VDC modules DC 4 ~ 20mA Voltage output, 4 channels G6F-DA2V -10 ~ 10VDC D/A conversion modules...
Chapter 2 System configuration MASTER-K 2.3 System configuration types System configuration is classified into 3 types such as basic, computer link, and network system. 2.3.1 Basic system configuration The basic system consists of a main base and expansion base(s). The main and expansion base(s) are connected via expansion cable.
Chapter 2 System configuration MASTER-K 2.3.2 Computer link system When a CPU module is connected with external devices (such as computer or printer, etc.) via RS-232C or RS-422/485 protocol by using computer link module, it is called as computer link system. For details about computer link system, please refer user’s manual of MK computer link modules.
Chapter 2 System configuration MASTER-K 2.3.3 Network system In network system, user can access and control I/O module of remote station through a network I/F and remote I/F module. MASTER-K series uses the Fnet system to consist a network system. Besides, in 3.0 or higher CPU O/S version and in 3.2 or higher KGL-WIN version, user who want to use other network system can use the Dnet I/F system or I/F to construct a network...
Page 21
Chapter 3 General specifications 3 General specifications................3-1...
Page 22
Chapter 3 General specifications MASTER- 3 General specifications The following table shows the general specifications of MASTER-K series. Item Specifications Remark Operating ambient 0 ~ 55℃ (32 ~ 131 °F) temperature Storage ambient -25 ~ 70℃ (-13 ~ 158 °F) temperature Operating ambient 5 ~ 95%RH, non-condensing...
Page 23
Chapter 4 CPU modules 4 CPU modules..................... 4-1 4.1 Performance specifications ..................4-1 4.2 Operation processing of CPU.................. 4-2 4.2.1 Operation method ....................4-2 4.2.2 The operation during momentary power failure............. 4-3 4.2.3 Scan time ....................... 4-4 4.2.4 Watchdog timer ...................... 4-4 4.2.5 Timers ........................
Chapter 4 CPU modules MASTER- 4 CPU modules 4.1 Performance specifications The performance specification of K200S / 300S / 1000S series is shown as following table; Specifications K300S Item Remarks K200S K1000S 2.X or lower 3.X or higher CPU O/S version CPU O/S version Program control Cycle execution of stored program, Time-driven interrupt,...
Chapter 4 CPU modules MASTER- 4.2 Operation processing of CPU 4.2.1 Operation method 1) The repetitive operation The repetitive operation method repeats execution of a series of operations. The CPU repeats the operation processing as following; Step Description Start of operation The preparation step to execute scan operation Executed only 1 time when power is turned on or CPU is reset.
Chapter 4 CPU modules MASTER- 2) Interrupt operation When the CPU detects an interrupt signal, it stops the current operation and execute the corresponding interrupt routine. After the interrupt routine is completed, the CPU resumes to execute the previous operation from the stopped point. The MASTER-K 200S/300S/1000S has two interrupt types that are time-driven interrupt (TDI) and process-driven interrupt (PDI).
Chapter 4 CPU modules MASTER- 4.2.3 Scan time The series of steps from step 0 to the next step 0 or from an END instruction to the next END instruction is called a scan. The scan time is total time spent to execute a scan. 1) The calculation of scan time The scan time is calculated as a total of the processing time of sequence program (step 0 to the END), interrupt routine, and internal processing of CPU.
Chapter 4 CPU modules MASTER- 4.2.5 Timers The MASTER-K 200S/300S/1000S series uses upcount timers. There are 5 timer instructions such as on-delay (TON), off-delay (TOFF), integral (TMR), monostable (TMON), and re-triggerable (TRTG) timer. The measuring time range of 100msec timer is 0.1 ~ 6553.5 sec, and that of 10msec timer is 0.01 ~ 655.35 sec.
Page 29
Chapter 4 CPU modules MASTER- 3) Integral timer In general, its operation is same as on-delay timer. Only the difference is the current value will not be clear when the input condition of TMR instruction is turned off. It keeps the elapsed value and restart to increase when the input condition is turned on again.
Page 30
Chapter 4 CPU modules MASTER- 5) Retriggerable timer The operation of retriggerable timer is same as that of monostable timer. Only difference is that the retriggerable timer is not ignore the input condition of TRTG instruction while the timer is operating (decreasing). The current value of retriggerable timer will be set as preset value whenever the input condition of TRTG instruction is turned on.
Chapter 4 CPU modules MASTER- 4.2.6 Counter The counter counts the rising edges of pulses driving its input signal and counts once only when the input signal is switched from off to on. MASTER-K series have 4 counter instructions such as CTU, CTD, CTUD, and CTR. The maximum counter setting value is hFFFF ( = 65535).
Page 32
Chapter 4 CPU modules MASTER- 3) Up-down counter The current value is increased with the rising edge of up-count input signal, and decreased with the rising edge of down-count input signal. The counter output relay is turned on when the current value is equal or greater than the preset value. Cxxx <S>...
Chapter 4 CPU modules MASTER- 4.3 Program structure 4.3.1 Classification of program All functional elements need to execute a certain control process are called as a ‘program’. In MASTER-K series, a program is stored in the RAM mounted on a CPU module or flash memory of a external memory module.
Chapter 4 CPU modules MASTER- 4.3.3 Interrupt processing When an interrupt occurs, the CPU module will stop the current operation and execute the corresponding interrupt routine. After finish the interrupt routine, the CPU resume the sequence program from the stopped step. MASTER-K series provides 2 types of interrupt.
Page 35
Chapter 4 CPU modules MASTER- 1) Parameter setting K200S K300S K1000S Priority Type Period Priority Type Period Priority Type Period TDI0 10ms TDI0 10ms TDI0 10ms TDI2 25ms TDI2 25ms TDI2 25ms TDI5 100ms TDI5 100ms TDI5 100ms INT7 INT7 INT15 Remark Period is the interval of time driven interrupt occurring.
Page 36
Chapter 4 CPU modules MASTER- 2) TDI (Time driven interrupt) TDI occurs periodically with the constant interval assigned in parameter setting. The interrupt routine of TDI starts with the TDINT instruction and ends with the IRET instruction. When multiple interrupt factors occur simultaneously, interrupt routines are executed according to the priority given to the each interrupt.
Page 37
Chapter 4 CPU modules MASTER- 3) PDI (Process driven interrupt) PDI occurs when the input status of interrupt module is changed from OFF to ON or from ON to OFF. (Select by DIP switch setting) Since K200S does not have interrupt module, PDI will occur when the input assigned as interrupt input by parameter setting is changed from OFF to ON.
Chapter 4 CPU modules MASTER- 4.3.4 Error handling 1) Error classification Error occurs due to various causes such as PLC system errors, system configuration fault or abnormal operation result. Errors are classified into fatal error that stops system operation for safety, and ordinary error that continue system operation with informing the user of error warning.
Chapter 4 CPU modules MASTER- 4.4 Operation mode The operation mode of CPU module can be classified into 4 modes such as RUN, STOP, PAUSE, and DEBUG modes. 4.4.1 RUN mode In the RUN mode, the CPU process user programs normally. Start RUN mode Clear the non-latched memory area Check user program...
Chapter 4 CPU modules MASTER- 4.4.2 Stop mode In the STOP mode, the CPU does not execute program. Program change through KGL- WIN is possible in the remote STOP mode only. External wiring check is also possible with the forced I/O on/off function. Start STOP mode Turn all outputs off Self-diagnosis...
Chapter 4 CPU modules MASTER- 4.4.3 PAUSE mode In PAUSE mode, the CPU stops executing user program, but keeps the status of output and internal memory. When the mode is changed to RUN mode, the CPU restart executing user program from the step at which the user program is stopped.
Chapter 4 CPU modules MASTER- 4.4.4 DEBUG mode For debugging of user program, the MASTER-K 200S/300S/1000S provides the DEBUG mode. In the DEBUG mode, the CPU executes user program according to the execution condition as following; ① Step over : Executes just an operation unit (one instruction) ②...
Chapter 4 CPU modules MASTER- Remark It is forbidden to enter DEBUG mode from RUN or PAUSE mode. Remark In DEBUG mode, each interrupt program can be enabled / disabled separately. 4.4.5 Operation mode change 1) The operation mode of CPU can be change by following methods; ①...
Page 44
Chapter 4 CPU modules MASTER- 3) Remote mode change To change operation mode with KGL-WIN or KLD-150S, the mode key switch should be in the remote STOP mode. (Mode key setting : STOP PAU / REM) Mode key Mode change KGL-WIN FAM / Cnet switch...
Chapter 4 CPU modules MASTER- 4.5 Special functions of CPU module 4.5.1 RTC (Real Time Clock) function MASTER-K 200S/300S/1000S series includes RTC function. (K200S-A does not have RTC function) Clock operation by the RTC function is continued with a battery or super capacitor when the CPU is powered off.
Page 46
Chapter 4 CPU modules MASTER- 3) Read / write RTC data ① Read RTC data The current RTC data Description Data Memory Area (Word) (BCD format) Upper byte Lower byte F053 Lower 2 digits of year Month h9812 F054 Hour h2219 F055 Minute...
Page 47
Chapter 4 CPU modules MASTER- M1904 : RTC data change bit When the M1904 bit is switched on, the new data in D4990 ~ D4993 (K1000S : D9990 ~ D9993) will be moved to F53 ~ F56. After data is moved, M1904 has to be switched off immediately because current data will be updated every scan while M1904 is on.
Chapter 4 CPU modules MASTER- 4.5.2 Forced I/O setting It is possible to output a designated data regardless of the result of operation. This function is useful to check operation of the output modules and wiring between the output modules and external devices. K200S K300S K1000S...
Chapter 4 CPU modules MASTER- Example 2) Switch On/Off the last bit of P07 word (K1000S) a) Write the forced I/O data (h0001) to the corresponding data word. P10 is matched to the D9807 word. <D9807 word> b) Write the forced I/O address (last bit = h0001) to the corresponding address word. Write h0001 to the D9707.
Chapter 4 CPU modules MASTER- 4.5.4 Self-diagnosis 1) WDT (Watch dog timer) function The watch dog timer is an internal timer of a PLC to detect the error of hardware and a sequence program. The default value is set as 200msec, and it is changeable with parameter setting.
Chapter 4 CPU modules MASTER- 4.5.5 Direct I/O refresh To read or write the operation result immediately, MASTER-K 200S/300S/1000S provides ‘IORF’ instruction. When the IORF instruction is executed, the CPU refreshes I/O image data area immediately. Please refer the MASTER-K instruction manual for details. 4.5.6 System error history When the system is stopped by error occurrence, the CPU stores the error occurrence...
Chapter 4 CPU modules MASTER- 4.6 Memory configuration 4.6.1 Memory map of K200S / K300S Bit Data Area Word Data Area User Program Area 0000 FFFF D0000 I/O relay Data Register Parameter setting area “P” Word (See the remark “D” D4500 Reserved for special usage ∴...
Chapter 4 CPU modules MASTER- 4.6.2 The memory map of K1000S Bit Data Area Word Data Area User Program Area 0000 FFFF D0000 I/O relay Data Register Parameter setting area Word “P” (1,024 points “D” D9500 Reserved for special usage M000 D9999 Auxiliary relay...
Chapter 4 CPU modules MASTER- 4.7 Assign I/O address To read / write data I/O and special function modules, the CPU assigns I/O address (P area) to each modules according to the module type. I/O address starts from P00 (word), and it is assigned from left to right.
Chapter 4 CPU modules MASTER- 4.8 Parts names K7P-30AS K4P-15AS MK300S MK200S MK1000S Name Description Shows the operation status of CPU module On : the CPU is on the Local RUN or remote RUN mode RUN LED Off : the CPU detects improper power supply the CPU is not on the RUN mode (STOP or PAUSE mode) the CPU detects an fatal error that stop the operation Shows the operation status of CPU module...
Page 56
Chapter 4 CPU modules MASTER- Name Description Set a operation mode of CPU module RUN : Executes user program Mode key switch STOP : Stop executing user program PAU / REM : Pause or remote mode Manual reset Restart the CPU module ( Available in K1000S only) switch Connector for peripheral devices uses RS-232C protocol.
Page 58
Chapter 5 Battery MASTER- 5 Battery 5.1 Specifications Item Description Rated voltage 3.0VDC Lifetime 5 years Purpose User program and data back-up, RTC operation during power-off Type Lithium battery, 3VDC φ 14.5 × 26 Dimension (mm) 5.2 Handling instructions 1) Do not heat or solder the terminals of battery. 2) Do not measure its voltage with a tester, or short circuit.
Page 59
Chapter 5 Battery MASTER- 5.3 Replacement procedure Replacement battery Open the cover of CPU module Remove the battery from CPU module Connect a new battery Check the STOP LED of CPU module Is it flicking with 2sec period? The battery is defected. Done...
Page 60
Chapter 6 Memory module 6 Memory module..................6-1 6.1 Structure ........................6-1 6.2 Specifications......................6-1 6.2.1 K300S / K1000S ....................6-1 6.2.2 K200S ........................6-2 6.3 How to use the memory module................6-2 6.3.1 Write a program into memory module ..............6-2 6.3.2 Execute the program of memory module...............
Chapter 6 Memory module MASTER- 6 Memory module In this chapter, it is described how to store user program in the memory module and run a PLC system with memory module. The memory module of MASTER-K 200S/300S/1000S series uses flash memory. To read / write of memory module, insert a memory module into the memory module socket on the CPU module.
Chapter 6 Memory module MASTER- 6.2.2 K200S The K200S series includes a flash memory, and the operation mode (RAM mode / Flash memory mode) can be selected by setting DIP switch on the front of CPU module. DIP switch setting Description 1: Off, 2: Off ROM MODE...
Chapter 6 Memory module MASTER- 6.3.2 Execute the program of memory module The CPU module checks the memory module is mounted or not when the CPU starts RUN mode. Then, if the memory module is mounted, the CPU module reads the program and parameter of memory module and writes it to the internal RAM of CPU module to execute the program of memory module.
Chapter 7 I/O modules MASTER- 7 I/O modules 7.1 Notes on selecting I/O modules When selects I/O module for K200S/300S/1000S PLC system, please refer the following instructions. 1) The digital input module is classified as current sink input and current source input. The external wiring with input device is various according to the type of digital input module.
Chapter 7 I/O modules MASTER- 7.3.9 64 points transistor output module (sink type) Type K1000S Item G3Q-TR8A Output points 64 points Insulation method Photo coupler Rated load voltage 12 / 24 VDC Operating load voltage 10.2 ~ 26.4 VDC Per 1 point 0.1 A / 1 point Maximum load current...
Page 91
Chapter 7 I/O modules MASTER- Type K300S Item G4Q-TR8A Output points 64 points Insulation method Photo coupler Rated load voltage 12 / 24 VDC Operating load voltage 10.2 ~ 26.4 VDC Per 1 point 0.1 A / 1 point Maximum load current Per 1 COM 2 A / 1COM...
Chapter 8 Power supply modules MASTER- 8 Power supply modules In this chapter, it will be described that the power supply modules of MASTER-K series. 8.1 Selection of power supply module When select a power supply module of PLC system, it should be considered that the total current consumption of CPU module, digital I/O modules, special purpose modules, and communication modules.
Chapter 8 Power supply modules MASTER- 8.2.2 K300S series Item GM4-PA1A GM4-PA2A GM4-PA1B GM4-PA2A GM4-PD3A Rated voltage 110VAC 220VAC 110VAC 220VAC 24VDC Rated frequency 50 ~ 60 Hz Rated current 1.3 A 0.8 A 0.65 A 0.35 A 1.2A Inrush current Max.
Chapter 8 Power supply modules MASTER- 8.3 Parts names and descriptions [ K1000S ] [ K300S ] [ K200S ] ① ③ ④ ⑥ ⑤ Name Descriptions Power LED Indicates the status of 5VDC output Fuse and fuse holder Protection fuse and holder ( K200S : mounted on the PCB ) Power input terminal Connect incoming power source ( AC or DC power ) LG terminal...
Page 105
Chapter 9 Base boards and cables 9 Base boards and cables ................9-1 9.1 Specifications......................9-1 9.1.1 Main base ......................9-1 9.1.2 Expansion base ..................... 9-2 9.1.3 Expansion cable..................... 9-2 9.2 Parts names and descriptions................. 9-3 9.2.1 Main base ......................9-3 9.2.2 Expansion base .....................
Chapter 9 Base boards and cables MASTER- 9 Base boards and cables 9.1 Specifications 9.1.1 Main base 1) K200S series Type GM6-B04M GM6-B06M GM6-B08M GM6-B12M Item No. of slots 4 slots 6 slots 8 slots 12 slots 244 × 110 × 62 314 ×...
Chapter 9 Base boards and cables MASTER- 9.2 Parts names and descriptions 9.2.1 Main base 1) K200S Guide hole for panel mounting Locking part for hook Guide rail I/O module connector CPU module connector Power supply module connector 2) K300S...
Page 109
Chapter 9 Base boards and cables MASTER- 3) K1000S...
Chapter 9 Base boards and cables MASTER- 9.2.2 Expansion base 1) K300S 2) K1000S...
Page 111
Chapter 10 Installation and wiring 10 Installation and wiring ..................10-1 10.1 Installation............................10-1 10.1.1 Installation environment .....................10-1 10.1.2 Precaution during installation ...................10-1 10.1.3 Heat protection design of control box................10-1 10.1.4 Calculation of the capacity of power supply..............10-2 10.1.5 Handling Instructions......................10-4 10.2 Mounting / dismounting of module ..................10-7 10.2.1...
Chapter 10 Installation and wiring MASTER- 10 Installation and wiring 10.1 Installation 10.1.1 Installation environment The MASTER-K series is designed to have good reliability and durability in any installation environment. However, please avoid installing the PLC at the following locations to assurance the reliability and durability of PLC system.
Chapter 10 Installation and wiring MASTER- 10.1.4 Calculation of the capacity of power supply The following shows the procedure for calculating the PLC system power consumption. 1) PLC system power consumption block diagram 2) Power consumption of each part ① Power consumption of a power supply module Approximately 70% of the power supply module curr ent is converted into power and 30% of that 70% dissipated as heat, i.e., 3/7 of the output power is actually used.
Page 114
Chapter 10 Installation and wiring MASTER- ④ Average power consumption by voltage drop of output modules (with points simultaneously switched ON) • Wout = Iout × Vdrop × output points × the rate of points switched on simultaneously (W) Iout : output current (actual operating current) (A) Vdrop : voltage dropped across each output load (V) ⑤...
Chapter 10 Installation and wiring MASTER- 10.1.5 Handling Instructions to installing the temperature-measuring resistor input module, be sure to check the following: • Do not drop it off, and make sure that strong shock should not be applied. • Do not unload the PCB from its case. It can cause faults. •...
Page 116
Chapter 10 Installation and wiring MASTER- ⑥ Terminal block Check its fixing. During drilling or wiring, do not allow any wire scraps to enter into the PLC. It can cause malfunction and fault. ⑦ Be cautious that strong shock does not appl ied to the I/O module. Do not separate the PCB from its case.
Page 117
Chapter 10 Installation and wiring MASTER- [Fig.10.2] Clearance from the front device [Fig. 10.3] Vertical mounting [Fig 10.4] Horizontal mounting 10-6...
Chapter 10 Installation and wiring MASTER- 10.2 Mounting / dismounting of module 10.2.1 Mounting a module on a base 1) K200S Insert a module to an empty slot along the guide rail until the hook is locked with the base board. Check that the module is firmly locked into the base board.
Page 119
Chapter 10 Installation and wiring MASTER- 2) K300S Insert the module fixing projections in the upper part into the module fixing hole in the base board. Install the module onto the base board by pushing the bottom forward and fix it onto the base board with module fixing screws.
Page 120
Chapter 10 Installation and wiring MASTER- 3) K1000S Insert the module fixing projections in the lower part into the module fixing hole in the base board. Install the module onto the base board by pushing the top forward. Check that the module is firmly mounted onto the base board by pulling the upper part of the module.
Chapter 10 Installation and wiring MASTER- 10.2.2 Dismounting a module from base board 1) K200S Press the locking hook and pull a module as following figure. ② 10-10...
Page 122
Chapter 10 Installation and wiring MASTER- 2) K300S First, release the module fixing screws in the bottom from the base board. While pushing the hook latch, pull the upper part of the module toward you. While lifting the module upwards and remove the module hook from the module fixing hole.
Page 123
Chapter 10 Installation and wiring MASTER- 3) K1000S First, push the hook latch fully. While pushing the hook latch, pull the upper part of the module toward you. Lift upwards and remove the module hook from the module fixing hole. 10-12...
Chapter 10 Installation and wiring MASTER- 10.3 Wiring The followings explains the wiring instructions for use of the system. 10.3.1 Power Supply Wiring 1) When voltage fluctuations are larger than the specified value, connect a constant-voltage transformer. 2) Use a power supply which generates minimal noise across wire and across PLC and ground.
Page 125
Chapter 10 Installation and wiring MASTER- 4) Notes on using 24 VDC output of the power supply module To protect the power supply modules, do not supply one I/O module with 24 VDDC from several power supply modules connected in parallel. If 24 VDC output capacity is sufficient for one power supply module, supply 24 VDC from the external 24 VDC power supply as shown below.
Chapter 10 Installation and wiring MASTER- 10.3.2 Input and Output Devices Wiring 1) Applicable size of wire for I/O wiring is 0.3 to 2 mm . However, it is recommended to use wire of 0.3mm for convenience. 2) Separate the input and output lines. 3) I/O signal wires must be at least 100 mm away from high voltage and large current main circuit wires.
Chapter 10 Installation and wiring MASTER- (A) Independent grounding : Best (B) Joint grounding : Good (C) Joint grounding : Not allowed 4) Use 2 mm or more wire for grounding line. Make the distance as short as possible with the grounding point located to nearest to the PLC.
Chapter 11 Maintenance MASTER- 11 Maintenance Be sure to perform daily and periodic maintenance and inspection in order to keep the PLC system in the best conditions. 11.1 Maintenance and inspection The most of parts of PLC modules are consist of semiconductor devices, and their service life is semi-permanent.
Chapter 11 Maintenance MASTER- 11.2 Daily inspection Perform daily inspections everyday as following table; Corrective Check Items Check points Judgment Actions Base unit The base unit should be Retighten Check for loose mounting screws mounting securely mounted Screws conditions • Check if the hook is securely engaged Mounting Securely The hook should be...
Chapter 11 Maintenance MASTER- 11.3 Periodic inspection Check the following items once or twice every six months, and perform the needed corrective actions. Check Items Checking Methods Judgment Corrective Actions temperature 0 to 55°C Measure with Ambient thermometer and 5 to 95% RH humidity hygrometer Measure corrosive gas...
Page 132
Chapter 12 Troubleshooting 12 Troubleshooting ....................12-1 12.1 Basic procedure for troubleshooting .................12-1 12.2 Troubleshooting ...........................12-2 12.2.1 The power L ED is turned off.....................12-2 12.2.2 The STOP LED is flickering ....................12-3 12.2.3 RUN and STOP LED are off.....................12-4 12.2.4 The load of the output module is not operating............12-5 12.2.5 Program download is unable ....................12-6 12.3...
Chapter 12 Troubleshooting MASTER- 12 Troubleshooting This chapter explains the types of conditions that might cause an error to be reported and gives suggestions on how to resolve the problem. 12.1 Basic procedure for troubleshooting The reliability of PLC system not only depends on reliable equipment but also on fast and suitable corrective actions when an error occurs.
Chapter 12 Troubleshooting MASTER- 12.2 Troubleshooting 12.2.1 The power LED is turned off Power LED is off Is power supplied to Supply the power power module? Is power LED turned on? Is the line voltage Adjust the line voltage within the rated value? Is power LED turned on?
Chapter 12 Troubleshooting MASTER- 12.2.2 The STOP LED is flickering STOP LED is flickering Read the error code from system error flag Is it a program Revise program error? Change the operation mode to STOP mode Download program to the PLC Perform a corrective action according to the error code Change the operation mode to...
Chapter 12 Troubleshooting MASTER- 12.2.3 RUN and STOP LED are off RUN and STOP LED are off Check the power module of Is an expansion main base base connected? Disconnect an expansion base Is the power module and cycle the power of main of expansion base power module Check the power module of...
Chapter 12 Troubleshooting MASTER- 12.2.4 The load of the output module is not operating Load is not operating Monitor the internal status with Is the LED of output handy loader or KGL -WIN module turned on? Is the internal status Check the voltage Check the input condition between output and...
Chapter 12 Troubleshooting MASTER- 12.2.5 Program download is unabl e Program download is unable Set the key switch at the Is the key switch on remote stop mode and remote stop mode? download the program Contact the nearest LGIS Is the STOP LED representative flickering? Read the error flag and...
Chapter 12 Troubleshooting MASTER- 12.3 Troubleshooting questionnaire If you need to contact LGIS for assistance, please fill the following questionnaire form before call or fax to the nearest LGIS representative. If you have a problem with special function module or communication module, fill the questionnaire form included the module also.
Chapter 12 Troubleshooting MASTER- 12.4 Troubleshooting examples This chapter shows some typical examples 12.4.1 Input circuit troubles and corrective actions Condition Cause Corrective Action • Connect an appropriate register and Input signal Leakage current of external device (such does as a drive by non-contact switch) capacity which will make the voltage across turn OFF the terminals of the input module lower than...
Chapter 12 Troubleshooting MASTER- 12.4.2 Output circuit troubles and corrective actions Condition Cause Corrective Action • Load is half-wave rectified inside • Connect registers of tens to When the output is Off, excessive (in some cases, it is true of a solenoid) hundreds kΩ...
Page 142
Chapter 12 Troubleshooting MASTER- (Continued) Condition Cause Corrective Action • Sneak current due to the use of two • Use only one power supply The load does not turn OFF different power supplies • Connect a sneak current prevention diode(Figure below) •...
Chapter 12 Troubleshooting MASTER- 12.5 Error code list Error Corrective Error CPU state Message Cause Code Actions Fault of some area of Internal SYSTEM Contact the service 0001h Stop operating ROM, or H/W system error ERROR center. defect OS ROM OS ROM Internal system ROM is Contact the service...
Page 144
Chapter 12 Troubleshooting MASTER- (Continued) Error Corrective Error CPU state Message Cause Code Actions FMM 2 I/F FMM 2 I/F Contact the 0015h Stop FMM 2 I/F Error error ERROR service center. FMM 3 I/F FMM 3 I/F Contact the 0016h Stop FMM 3 I/F Error...
Page 145
Chapter 12 Troubleshooting MASTER- (Continued) Error Corrective Error CPU state Message Cause Code Actions CODE Code Check An instruction unreadable Correct the error 0040h Stop CHECK Error by the CPU is included. step. ERROR Missing the Insert the END MISS END The program does not instruction at the 0041h...
Page 146
Chapter 13 RS-232C function of K200S 13 RS-232C function of K200S................13-1 13.1 Introduction............................ 13-1 13.2 System configuration.........................13-2 13.2.1 Connection with PC ( without handshake function )............ 13-2 13.2.2 Connection with monitoring unit ( with handshake function ) ........13-2 13.3 Pin assignment ..........................13-3 13.3.1 Pin -out of K200S RS-232C connector ................13-3...
Chapter 13 RS-232C function of K200S MASTER- 13 RS-232C function of K200S 13.1 Introduction The K200S A and C type (K3P-07AS and K3P-07CS) have built-in RS -232C communication function and those CPU modules can perform RS-232C communication without external Cnet I/F module.
Chapter 13 RS-232C function of K200S MASTER- 13.2 System configuration The system configuration can be divided in 2 types as following; 13.2.1 Connection with PC ( without handshake function ) With this system configuration, a computer program for communication can be a user’s own program ( it may be written with C or other programming language ), or commercial MMI programs such as FAM, CIMON, or etc.
Chapter 13 RS-232C function of K200S MASTER- 13.3 Pin assignment 13.3.1 Pin-out of K200S RS-232C connector Function Function number number N.C. N.C. Rx for loader communication Tx for built - in Cnet function Tx for loader communication N.C. RX for built - in Cnet function N.C.
Chapter 13 RS-232C function of K200S MASTER- 13.4 Frame structure 13.4.1 General structures 1) Request frame ( External devices à CPU ) (Max. 256byte) Frame Header Instruction Tail Data check (ENQ) type (EOT) (BCC) 2) ACK response frame (CPU à External devices, when normal data is received) (Max.
Chapter 13 RS-232C function of K200S MASTER- 13.5 Instruction list The following table shows instructions used in K200S dedicated built-in Cnet communication. Instruction Main instruction Instruction type Item Description ASCII ASCII Symbol Symbol code code Read a single bit or word from Single r (R) h5353...
Chapter 13 RS-232C function of K200S MASTER- 13.6 Data address structure This chapter describes how to assign the address of device when performs read / write function. [ Example of data structure ] Device number Data type Device type Start of data 13.6.1 Start of data The ‘%’...
Chapter 13 RS-232C function of K200S MASTER- Remark When read or write S device, address should be assigned in word type although step controllers are handled as bit. See following examples for details. 1. Turn on S00.07 : Write 07 to the %SW0000 2.
Chapter 13 RS-232C function of K200S MASTER- 13.7 Examples of command execution 13.7.1 Read single device ( RSS ) 1) Introduction This command is used for reading single devices. Max. 16 separated devices can be read with a command. See the chapter 13.6 for accessible device type. 2) Request format ( External device à...
Page 155
Chapter 13 RS-232C function of K200S MASTER- 3) Response format ( PLC à External device : ACK response ) Format Station Main Instruction Number of Length of Frame Header Data Tail name number instruction type blocks data check Frame R (r) hA9F3 …...
Page 156
Chapter 13 RS-232C function of K200S MASTER- 4) Response format ( PLC à External device : NAK response ) Format Station Main Instruction Error code Header Tail Frame check name number instruction type (Hex 2 byte) Frame R (r) h2232 example ASCII value h3230...
Chapter 13 RS-232C function of K200S MASTER- 13.7.2 Read continuous devices (RSB) 1) Introduction This command is used for reading continuous devices by assigning start address and word number. Only word data type is available for this command, and Max. 60 words can be read with one command.
Page 158
Chapter 13 RS-232C function of K200S MASTER- 3) Response frame (PLC à External device : ACK response) Format Station Main Instruction Number Frame Header Data Tail name number instruction type of data check Frame R (r) h12345678 example ASCII h3130 h52 (h72) h5342 h3034...
Page 159
Chapter 13 RS-232C function of K200S MASTER- 5) Example Read the contents of 2 words from the first word of M area (M000), and the station number of PLC is 10 (h0A). Assume that the content of M000 is h1234 and M0001 is h5678.
Chapter 13 RS-232C function of K200S MASTER- 13.7.3 Write single device (WSS) 1) Introduction This command is used for writing single devices. Max. 16 separated devices can be written with a command. 2) Request format ( External device à PLC ) Length of Format Station...
Page 161
Chapter 13 RS-232C function of K200S MASTER- Remark 1. The ‘h’ is added to show the numeric data is hexadecimal format. When you write frame, please do not add ‘h’ to actual numeric data. 2. All blocks in one frame should have same data type. If the data type of first block is bit and that of second is word, an error will occurs.
Page 162
Chapter 13 RS-232C function of K200S MASTER- 5) Example Write h1234 to the first word of P area ( P000 ) of the PLC of that station number is h01. ( No BCC check ) ① Request format (External device à PLC) Length of Format Station...
Chapter 13 RS-232C function of K200S MASTER- 13.7.4 Write continuous device (WSB) 1) Introduction This command is used for writing continuous devices by assigning start address and word number. Only word data type is available for this command, and Max. 120 words can be written with one command.
Page 164
Chapter 13 RS-232C function of K200S MASTER- 3) Response format (PLC à External device : ACK response) Format Header Station number Main instruction Instruction type Tail Frame check name Frame W (w) example ASCII h3130 h57 (h77) h5342 value ① Station number, main instruction, and instruction type are same as the request format ②...
Page 165
Chapter 13 RS-232C function of K200S MASTER- 5) Example Write hAA15 and h056F to the P000 and P001 of station number h01. (Without BCC) ① Request format (External device à PLC) Length of Format Station Main Instruction Device Number Header Data Tail device...
Chapter 13 RS-232C function of K200S MASTER- 13.7.5 Register monitoring number 1) Introduction The monitoring number registration function is executed with the reading device command (RSS, RSB). User can register maximum 10 monitoring numbers, and execute registered monitoring number with the monitoring execution command. 2) Request format (External device à...
Page 167
Chapter 13 RS-232C function of K200S MASTER- 3) Response format (PLC à External device : ACK response) Format Station Main Registration Header Tail Frame check name number instruction number Frame X (x) example ASCII h3031 h58 (78) h3036 value ① Station number, main instruction, and registration number are same as the request format.
Page 168
Chapter 13 RS-232C function of K200S MASTER- 5) Example Register monitoring number 1 (Read D000 of station number 1) ① Request format (External device à PLC) Registration format Format Station Main Registration Frame Length of Header Tail Number Device name number instruction number...
Chapter 13 RS-232C function of K200S MASTER- 13.7.6 Execute monitoring 1) Introduction This command used for executing the pre-registered monitoring number. When this command is executed, the PLC returns the contents of devices that are registered with monitoring number. 2) Request format (External device à PLC) Format Station Main...
Page 170
Chapter 13 RS-232C function of K200S MASTER- 4) Response format (PLC à External device : NAK response) Format Station Main Registration Fra me Header Error code Tail name number instruction number check Frame Y (y) h1132 example ASCII h3031 h59 (79) h3031 h31313332 value...
Chapter 13 RS-232C function of K200S MASTER- 13.7.7 Read the status of PLC (RST) 1) Introduction This command is used for reading the status of PLC such as operation status, er ror information, etc. 2) Request format (External device à PLC) Format Main Instruction...
Page 172
Chapter 13 RS-232C function of K200S MASTER- [ Data configuration of status data ] à Byte Error Key / Not used Not used Not used mode Flash code version type CPU type CPU type Code K200S A (K3P-07AS) K200S B (K3P-07BS) K200S B (K3P-07CS) K300S A (K4P-15AS) K300S B (K4P-07AS)
Page 173
Chapter 13 RS-232C function of K200S MASTER- 4) Response format (PLC à External device : NAK response) Format Main Instruction Frame Header Station number Error code Tail name instruction type check Frame R (r) h1132 example ASCII h3031 h52 (72) h5354 h31313332 value...
Chapter 13 RS-232C function of K200S MASTER- 13.8 Error code list The following table shows the error code list that PLC returns when NAK error occurs. Error Error type Description Corrective action code h0001 PLC system error It is unable to interface with PLC Cycle the power of PLC Make sure that there is no characters other than...
Page 175
Chapter 13 RS-232C function of K200S MASTER- Error Error type Description Corrective action code Revise the frame not to h6040 Syntax error The size of frame is over 256 byte exceed 256 byte h6050 Syntax error BCC error Check the BCC value 13-29...
Page 176
Chapter 14 RS-422/485 function of K200S 14 RS-422/485 function of K200S ..............14-1 14.1 Introduction............................ 14-1 14.2 Features ............................14-1 14.3 Specification ..........................14-1 14.4 Wiring ..............................14-2 14.4.1 Wiring diagram of RS-422 network..................14-2 14.4.2 Wiring diagram of RS-485 network..................14-2 14.5 Pin-out of RS-422/485 ........................14-3 14.6 Parameter setting ........................14-4...
Chapter 14 RS-422/485C function of K200S MASTER- 14 RS-422/485 function of K200S This chapter will describe the built-in RS -422/485 communication function of K200S-B type. (A and C type don’t support RS-422/485 communication) 14.1 Introduction 1) The K200S B -type (K3P-07BS) includes the RS-422/485 communication function, and it supports 1:N (master : slave) network between PLCs and external devices such as PC.
Chapter 14 RS-422/485C function of K200S MASTER- 14.4 Wiring When construct a RS-422/485 network using K200S B type CPU module, please connect a terminal resistor at the both ends of network. It prevent the signal from distortion by reflected wave. The resistance value of terminal resistor should be equal to the characteristic impedance of network cable (usually 120Ω, 1/2W resistor) 14.4.1 Wiring diagram of RS-422 network RS-422...
Page 179
Chapter 14 RS-422/485C function of K200S MASTER- 14.5 Pin-out of RS-422/485 The K200S B type CPU has 5-pin connector for RS -422/485 interface. The following table shows functions of each pin and connection with external device. 1) RS-422 network Signal direction External device number RDA + (receive signal)
Chapter 14 RS-422/485C function of K200S MASTER- 14.6 Parameter setting 1) The CPU module should be K200S B type (K3P-07BS) 2) Set station number, baud rate, and etc. at the basic parameter setting window 3) Set parameters related to data access block at the high speed link setting window. 4) Download parameter to the CPU.
Chapter 14 RS-422/485C function of K200S MASTER- 14.6.2 High speed link parameter setting 1) The high speed link 1 is used for RS-422/485 communication. 2) Max. 64 data access blocks can be established, and remain block number as blank. 3) Data size can be set within 0 ~ 60 words, and do not set the period. 4) All device can be set as Tx or Rx device, but F area can not be Rx device.
Chapter 14 RS-422/485C function of K200S MASTER- 14.7 Communication status flag The D4400 ~ D4454 (55 words) are reserved for special register and they contain the error code, error count, and error information. 14.7.1 Error code (D4400 ~ D4415) The error code of all stations (32 stations) are stored in the D4400 ~ D4415 (16 words). Each error code occupies 1 byte, and 1 word contains 2 error codes.
Page 183
Chapter 14 RS-422/485C function of K200S MASTER- 14.7.3 Error information of slave PLC (D4432 ~ D4447) The error information is stored in the special D area as following table. Station number Device Station number Device Remark 0, 1 D4432 16, 17 D4440 2, 3 D4433...
Chapter 14 RS-422/485C function of K200S MASTER- 14.7.5 Transmission period (D4449 ~ D4454) The maximum, minimum, and previous period time of the first parameter setting is stored in the D4449 ~ D4454. The period time means the interval from the start of previous transmission to the start of current transmission.
Page 185
Chapter 15 The PID function of K200S 15 The PID function of K200S ................15-1 15.1 Introduction............................ 15-1 15.2 Control actions ..........................15-2 15.2.1 Proportional oper ation (P operation) .................15-2 15.2.2 Integral operation (I action) ....................15-4 15.2.3 Derivative operation (D action) ....................15-6 15.2.4 PID action...........................15-7 15.2.5 Forward / reverse action......................15-8...
Chapter 15 The PID function of K200S MASTER- 15 The PID function of K200S 15.1 Introduction This chapter provides information about the built-in PID (Proportional Integral Differential) control function of K200S B and C type CPU module (K3P -07BS and K3P-07CS). The K200S series does not have separated PID module like K300S and K1000S series, but the PID function is integrated into the CPU module B and C type.
Chapter 15 The PID function of K200S MASTER- 15.2 Control actions 15.2.1 Proportional operation (P operation) 1) P action means a control action that obtain a manipulate value which is proportional to the deviation (E: the difference between SV and PV) 2) The deviation (E) is obtained by multiplying a reference value to the actual difference between SV and PV.
Page 188
Chapter 15 The PID function of K200S MASTER- Fig. 15.2 When the proportional constant (Kp) is large Fig. 15.3 When the proportional constant (Kp) is small 15-3...
Chapter 15 The PID function of K200S MASTER- 15.2.2 Integral operation (I action) 1) With integ ral operation, the manipulate value (MV) is increased or decreased continuously in accordance time in order to eliminate the deviation between the SV and PV. When the deviation is very small, the proportional operation can not produce a proper manipulate v alue and an offset remains between PV and SV.
Page 190
Chapter 15 The PID function of K200S MASTER- 5) Integral action is used in either PI action in which P action combines with I action or PID action in which P and D actions combines with I action. Figure 15.5 The system response when a long integration time given Fig.
Chapter 15 The PID function of K200S MASTER- 15.2.3 Derivative operation (D action) 1) When a deviation occurs due to alteration of SV or external disturbances, D action restrains the changes of the deviation by producing MV which is proportional with the change velocity (a velocity whose deviation changes at a constant interval) in order to eliminate the deviation.
Chapter 15 The PID function of K200S MASTER- 15.2.4 PID action 1) PID action controls the control object with the manipulation quantity produced by PID action (P + I + D). 2) PID action with a constant deviation is shown as the following figure 15.8. Fig.
Chapter 15 The PID function of K200S MASTER- 15.2.5 Forward / reverse action 1) PID control has two kinds of action, forward action and reverse action. The forward action makes the PC reaches to SV by outputting a positive MV when the PV is less than SV. 2) A diagram is which forward and reverse actions are drawn using MV, PV, and SV is shown as figure 15.9.
Chapter 15 The PID function of K200S MASTER- 15.2.6 Reference value In general feedback control system shown as the figure 15.11, the deviation value is obtained by the difference of PV and SV. P, I, and D operations are performed based on this deviation value.
Chapter 15 The PID function of K200S MASTER- The figure 15.12 shows the variation of PV according to the several different reference values ( b ). As shown in the figure 15.12, the small reference value produces small deviation value, and it makes the control system response be slow. In general, control system is required to be adaptable to various external or internal changes.
Page 196
Chapter 15 The PID function of K200S MASTER- The figure 15.13 shows the PV and MV of PI control system when the windup occurs. As shown as the figure 15.13, the actuator is saturated because of the large initial deviation. The integral term increase until the PV reaches to the SV (deviation = 0), and then start to decrease while the PC is larger than SV (deviation <...
Page 197
Chapter 15 The PID function of K200S MASTER- There are several methods to avoid the windup of actuator. The most popular two methods are adding another feedback system to actuator, and modeling the actuator. The figure 15.14 shows the block diagram of the anti -windup control system using the model of actuator.
Chapter 15 The PID function of K200S MASTER- 15.3 Realization of PID control on the PLC In this chapter, it will described that how to get the discrete formula of the P, I, and D terms. Then, the pseudo code of PIF control will be introduced. 15.3.1 P control The discrete formula of P control is as following;...
Chapter 15 The PID function of K200S MASTER- 15.3.3 D control The continuous formula of derivative term is as following; × − N : high frequency noise depression ration y : the object to be controlled (PV) The digitized formula is as following (Use Tustin approximation method) −...
Chapter 15 The PID function of K200S MASTER- 15.4 PID control instructions The MASTER-K series has 2 instructions for PID control as following table. Instruction Description PIDCAL Execute PID operation PIDTUN Execute auto tuning operation Remark The PID instructions (PIDCAL, PIDTUN) are available only K200S B and C type. (K3P-07BS and K3P-07CS) With the K200S A type (K3P-07AS), these instructions are ignored.
Page 201
Chapter 15 The PID function of K200S MASTER- (Continued) Device Name Description Range offset + 11 EN_I Enable / disable the integral operation 0 or 1 + 12 EN_P Enable / disable the proportional operation 0 or 1 + 13 BIAS The bias value for offset compensation 0 ~ 4000...
Page 202
Chapter 15 The PID function of K200S MASTER- 2) MVMAN In this area, the data that are output when the manual operation is enabled. When the MAN is set as 1, the PIDCAL instruction output the MVMAN to MV regardless the PID operation result.
Page 203
Chapter 15 The PID function of K200S MASTER- Remark The other control modes other than P, PI, PID, and On/off operation are not allowed. For example, PD or I operation is not available. 10) BIAS The BIAS data is used for the compensati on of offset in the proportional control. The range is 0 ~ 4000.
Page 204
Chapter 15 The PID function of K200S MASTER- 15.4.2 PIDTUN (PID auto tuning) The PIDAUT instruction is used for getting PID parameters automatically. It calculates optimal K (proportional gain constant), Ti (Integral time constant), and Td (Derivative time constant), and returns the result. It occupies 19 words for its execution, so make sure the other instructions use those devices.
Page 205
Chapter 15 The PID function of K200S MASTER- 2) SV (Set value) SV (setting value : the designated value) and PV (p rocess value : present value) of K200S PID operation have the range 0 ~ 4000. The range is set with the consideration of the resolution of A/D and D/A module of K200S series (12 bits) and offset value.
Page 206
Chapter 15 The PID function of K200S MASTER- 15.4.3 Error code list 1) PIDCAL instruction ① Bit 0 : Done Turn on when the execution of PIDCAL instruction is completed. ② Bit 1 ~ Bit 5 : Not used ③ Bit 6 : Q_MIN Turn on when an error is detected with MV_MIN value.
Page 207
Chapter 15 The PID function of K200S MASTER- 2) PIDAUT instruction ① Bit 0 ~ Bit 6 : Not used ② Bit 7 : Done Turns on when the auto -tuning operation is completed. ③ Bit 8 ~ Bit 15 : Error code (See following table for details) Error code Description Countermeasure...
Chapter 15 The PID function of K200S MASTER- 3) A/D module setting ① Channel setting : use channel 0 ② Output data type : – 48 ~ 4047 ③ Input processing : Sampling 4) D/A module setting Channel setting : use channel 0 15.5.3 Program description 1) Use only PID operation (without auto-tuning function) ①...
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16 B u i l t -i n h i gh speed counter of K200S 16.1 Introduction This chapter describes the specification, handling, and programming of built-in high speed counter of K200S C type CPU module (K3P-07CS).
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16.3 Input specifications 16.3.1 Pin -out of input term i nal Items Specifications Rated input 24VDC (13mA) A / B On voltage 14VDC or higher phase...
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16.3.3 External i nterface circuit No. of Internal circuit Signal type Operation voltage terminal 14 ~ 26.4 VDC A-phase 3.3KΩ pulse input Less than 24VDC...
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16.4 W i r i n g 16.4.1 W irin g instructions A high speed pulse input is sensitive to the external noise and should be handled with special care.
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16.5 H S C instruction 16.5.1 Introduction When use the built-in high speed counter of K200S, the HSC instruction should be used. The instruction format of HSC is as following;...
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16.5.2 Operation m o d e ( D4999) Input terminal Multipli- Operation mode Description cation A phase B phase Preset U/D : Set by sequence program Pulse h1000...
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16.6 Exam ple of program 16.6.1 1-phase operation m o d e (D4999 = h1010) 1) U/D : set by sequence program (M001) 2) PR : set by external PR input 3) Ladder diagram MOV h1010 D4999...
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16.6.2 1-phase operation m o d e (D4999 = h1100) 1) U/D : set by external input (B-phase input) 2) PR : set by sequence program (M002) 3) Ladder diagram MOV h1100 D4999 M000...
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16.6.3 2-phase operation m o d e (D4999 = h2011) 1) U/D : set automatically by the phase difference between A and B phase 2) PR : set by external PR input 3) Multiplication : 1 4) Ladder diagram...
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16.6.4 2-phase operation m o d e ( D4999 = 2012) 1) U/D : set automatically by the phase difference between A and B phase 2) PR : set by external PR input 3) Multiplication : 2 times 4) Ladder diagram...
C h a p t er 16 Bui l t-in high speed counter of K 2 0 0 S MASTER- 16.6.5 2-phase operation m o d e (D4999 = h2014) 1) U/D : set automatically by the phase difference between A and B phase 2) PR : set by external PR input 3) Multiplication : 4 times 4) Ladder diagram...
Page 225
Appendix A. Flag list........................A-1 A.1 Special relay (F/M) ..........................A-1 A.1.1 F relay............................... A-1 A.1.2 M relay..............................A-3 A.2 Special data register (D area) ......................A-4 A.2.1 Flags related to communication module................A-4 A.2.2 Flags related to the high speed link..................A-6 A.3 Link relay (L area) ..........................A-8 A.3.1 When Cnet module is mounted ....................
Appendix MASTER- A. Flag list A.1 Special relay (F/M) A.1.1 F relay Relay Function Description F0000 RUN mode Turns on when the CPU in the RUN mode. F0001 Program mode Turns on when the CPU in the Program mode F0002 Pause mode Turns on when the CPU in the Pause mode F0003...
Page 227
Appendix MASTER- (Continued) Relay Function Description F003A RTC data error Turns on when the RTC data setting error has occurred. F003B During program Turns on during program edit while running the program. edit Turns on when a program edit error has occurred while running F003C Program edit error the program.
Appendix MASTER- (Continued) Relay Function Description F0120 LT flag Turns on if S < S when using the CMP instruction. ≤ S F0121 LTE flag Turns on if S when using the CMP instruction. F0122 EQU flag Turns on if S when using the CMP instruction.
Appendix MASTER- A.2 Special data register (D area) A.2.1 Flags related to communication module The following flags shows communication modules (Fnet/Cnet) mounted on the m ain base. Use can monitor those flags with the flag monitor function of KGL -WIN or use in sequence program.
Page 230
Appendix MASTER- (Continued) Keyword Address Name Description Indicates that the communications module can _CnINRING Dx510.E In-ring (IN_RING = 1) communicates with other station or not. Indicates that operation mode of Operation mode _CnLNKMOD Dx510.F communications module is in the normal (RUN=1) operation mode or test mode.
Page 231
Appendix MASTER- A.2.2 Flags related to the high speed link The following table shows the flags when the m is 0. x : K200S/300S = 4, K1000S = 9 m : the number of high speed link setting Keyword Name Description Address Indicates that all stations are normally...
Page 232
Appendix MASTER- Remark The ‘k’ indicates the number of block. The status of 16 block is stored in a word. Therefore, total 4 words are used for storing the status of 64 blocks (k: 0 ~ 63). For example, the status of mode status of block 55 is stored in the Dx608.7 bit.
Appendix MASTER- A.3 Link relay (L area) The L area is used when the computer link module (Cnet) or data link module (Fnet) is mounted on the system. See the user’s manual of Cnet or Fnet for detail information. A.3.1 When Cnet module is mounted (When the Cnet module is mounted on the slot 0) Slot Protocol...
Appendix MASTER- A.3.2 When the Fnet module is mounted x : slot number n : station number of other station Device number Key word Description This flag indicates that the other station on network are L0000 ~ L003F _NETx_LIV[n] active or not. (read only) This flag indicates tur ns on when the communication with L0040 ~ L007F _NETx_RST[n]...
Need help?
Do you have a question about the Master-K K200S and is the answer not in the manual?
Questions and answers