background image

Cat. No. W462-E1-06

CP1L CPU Unit

SYSMAC CP Series
CP1L-L_0D_
CP1L-M_0D_

OPERATION MANUAL

Summary of Contents for CP1L CPU UNIT - 03-2009

Page 1: ...Cat No W462 E1 06 CP1L CPU Unit SYSMAC CP Series CP1L L_0D_ CP1L M_0D_ OPERATION MANUAL...

Page 2: ......

Page 3: ...CP1L L10D CP1L L14D CP1L L20D CP1L M30D CP1L M40D CP1L M60D CP1L CPU Unit Operation Manual Revised March 2009...

Page 4: ...iv...

Page 5: ...on some OMRON products often means word and is abbreviated Wd in documentation in this sense The abbreviation PLC means Programmable Controller PC is used how ever in some CX Programmer displays to m...

Page 6: ...U Unit with 10 I O points CX Programmer version 7 1 or higher can be used to confirm the unit version of the CP1L CPU Unit with 14 20 30 40 or 60 I O points Note CX Programmer version 7 2 or lower can...

Page 7: ...s Button by the Device Type Field and when the Device Type Settings Dialog Box is displayed set the CPU Type Field to J L L10 or M 3 Go online and select PLC Edit Information The PLC Information Dialo...

Page 8: ...rectly to the CPU Unit with a serial connection If you don t know the device type and CPU type that are connected directly to the CPU Unit on a serial line select PLC Auto Online to go online and then...

Page 9: ...s required to use CP1H Y with unit version 1 1 Note 1 The unit version for the CP1H X XA begins at 1 0 2 The unit version for the CP1H Y begins at 1 1 3 CX Programmer version 7 11 or higher is require...

Page 10: ...x...

Page 11: ...2 Nomenclature and Specifications 37 2 1 Part Names and Functions 38 2 2 Specifications 43 2 3 CP1L CPU Unit Operation 73 2 4 CPU Unit Operation 81 2 5 CPU Unit Operating Modes 85 2 6 Power OFF Opera...

Page 12: ...SECTION 6 Advanced Functions 337 6 1 Interrupt Functions 338 6 2 Quick response Inputs 362 6 3 Serial Communications 366 6 4 Analog Adjuster and External Analog Setting Input 393 6 5 Battery free Ope...

Page 13: ...ns 558 9 6 Part Names 560 9 7 Comparison with Previous Models 561 9 8 Installation and Initial Setup 562 9 9 Memory Allocations 569 9 10 Web Browser Setup and Display 575 9 11 Trouble Shooting 586 9 1...

Page 14: ...rams 635 C Auxiliary Area Allocations by Function 643 D Auxiliary Area Allocations by Address 665 E Memory Map 713 F Connections to Serial Communications Option Boards 715 G PLC Setup 741 H Specificat...

Page 15: ...for inputs and outputs CS1H CPU H CS1G CPU H CS1 H CPU Units CS series Power Supply Units Note Products specifically for the CS1D Series are required to use CS1D CPU Units CS series Basic I O Units CS...

Page 16: ...Expansion I O Units Section 8 gives an outline of the LCD Option Board explains how to install and remove the LCD Option Board and describes the functions including how to monitor and make settings f...

Page 17: ...M40D CP1L M60D SYSMAC CP Series CP1L CPU Unit Intro duction Manual Describes basic setup methods of CP1L PLCs Basic configuration and component names Mounting and wiring Programming data transfer and...

Page 18: ...SCB V1 CJ1G H CPU H CJ1G CPU P CJ1M CPU CJ1G CPU CJ1W SCU V1 SYSMAC CS CJ CP NSJ series Communi cations Commands Reference Manual Describes commands addressed to CS series CJ series and CP series CPU...

Page 19: ...S DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE...

Page 20: ...that the uses listed may be suitable for the products Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this manual Nuclear...

Page 21: ...onfirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufacturing purposes even when tolerances are shown PERFORMANC...

Page 22: ...xxii...

Page 23: ...tand the information contained before attempting to set up or operate a PLC system 1 Intended Audience xxiv 2 General Precautions xxiv 3 Safety Precautions xxiv 4 Operating Environment Precautions xxv...

Page 24: ...amming and operating the Unit Be sure to read this manual before attempting to use the Unit and keep this man ual close at hand for reference during operation WARNING It is extremely important that a...

Page 25: ...lfunction or fire Caution Execute online edit only after confirming that no adverse effects will be caused by extending the cycle time Otherwise the input signals may not be readable Caution Confirm s...

Page 26: ...is ON 4 Operating Environment Precautions Caution Do not operate the control system in the following locations Locations subject to direct sunlight Locations subject to temperatures or humidity outsid...

Page 27: ...e Unit only after checking the connectors and terminal blocks completely Be sure that all the terminal screws and cable connector screws are tight ened to the torque specified in the relevant manuals...

Page 28: ...et value in memory Do not pull on the cables or bend the cables beyond their natural limit Doing either of these may break the cables Do not place objects on top of the cables Doing so may break the c...

Page 29: ...lified persons to replace batteries Also always follow the replacement procedure provided in the manual Never short circuit the positive and negative terminals of a battery or charge disassemble heat...

Page 30: ...C Directives To ensure that the machine or device in which the CP1L PLC is used complies with EC Directives the PLC must be installed as follows 1 2 3 1 The CP1L PLC must be installed within a control...

Page 31: ...ent that flows into the load when the circuit is closed again The dielectric strength of the capacitor must be 200 to 300 V If the circuit is an AC circuit use a capacitor with no polarity No Yes The...

Page 32: ...W 40EDR CPM1A 40EDR CP1W 32ER CP1W 16ER or CPM1A 16ER with a CP1W CN811 I O Connecting Cable are given below Recommended Ferrite Core Ferrite Core Data Line Filter 0443 164151 manufactured by Nisshin...

Page 33: ...00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 02 COM 05 07 IN OUT CH NC NC NC NC NC NC COM COM COM COM COM COM COM 03 06 01 03 06 00 02 04 06 08 10 00 01 02 04 05 07 00...

Page 34: ...xxxiv Conformance to EC Directives 6...

Page 35: ...1 Features and Main Functions 2 1 1 1 CP1L Overview 2 1 1 2 Features 7 1 2 System Configuration 15 1 2 1 Basic System 15 1 2 2 System Expansion 18 1 2 3 Restrictions on System Configuration 21 1 3 Co...

Page 36: ...O points by using CP series Expansion I O Units The PLC can be expanded to a maximum total of 160 I O points by using CP series Expansion I O Units 36 built in inputs Functions can be assigned See not...

Page 37: ...rrupt input quick response input or high speed counter The instruction used to control each output point determines whether it is used as a normal output pulse output or PWM output CPU Units with 30 I...

Page 38: ...inputs Functions can be assigned See note Normal inputs 12 Interrupt inputs 6 Quick response inputs 6 High speed counter 4 counters 2 axes 100 kHz single phase 8 built in outputs Functions can be ass...

Page 39: ...ut interrupt input quick response input or high speed counter The instruction used to control each output point determines whether it is used as a normal output pulse output or PWM output CPU Units wi...

Page 40: ...D 24 V DC Program capacity 10K steps 5K steps Maximum number of I O points 180 See note 1 160 See note 1 150 See note 1 60 See note 2 54 See note 2 10 See note 3 Normal I O I O points 60 40 30 20 14...

Page 41: ...The error counter is then used to output a speed command to the inverter to control positioning This enables positioning with high capacity motors as well as low cost positioning with small capacity m...

Page 42: ...inputs 4 counters 2 axes are provided as a standard feature See note Note Settings in the PLC Setup determine whether each input point is to be used as a normal input interrupt input quick response in...

Page 43: ...ol by a pulse input servo driver is enabled by out putting fixed duty ratio pulse output signals from the CPU Unit s built in out puts Pulse outputs for 2 axes at 100 kHz maximum are provided as stand...

Page 44: ...or deceleration Lighting and Power Control by Outputting Variable Duty Ratio Pulses Operations such as lighting and power control can be handled by outputting variable duty ratio pulse PWM output sig...

Page 45: ...rea This enables applications that require on site adjustment of settings that do not demand a particularly high degree of accuracy such as for example a setting based on changes in out door temperatu...

Page 46: ...0 or 14 I O points With a total of up to three ports including the USB port this makes it possible to simultaneously connect a computer PT CP1L and or various components such as an Inverter Temperatur...

Page 47: ...ata can be automatically saved to the CPU Unit s built in flash memory Moreover DM Area data can be saved to the flash memory and then used as initial data when the power is turned ON This allows prog...

Page 48: ...prevent unau thorized copy of ladder programs If an attempt is made to read a ladder pro gram from a CX Programmer access to the program is denied if the password that is entered does not match the re...

Page 49: ...nts 100 to 240 VAC CP1L M40DR A 24 DC inputs 16 relay outputs 675 g max 24 VDC CP1L M40DR D 590 g max 100 to 240 VAC CP1L M40DT A 16 transistor sinking outputs 645 g max 24 VDC CP1L M60DT D 550 g max...

Page 50: ...4DR A 8 DC inputs 6 relay outputs 380 g max 24 VDC CP1L L14DR D 350 g max 100 to 240 VAC CP1L L14DT A 6 transistor sinking outputs 360 g max 24 VDC CP1L L14DT D 335 g max CP1L L14DT1 D 6 transistor so...

Page 51: ...on Inverter etc Appearance Name Model Port Serial communications modes RS 232C Option Board CP1W CIF01 One RS 232C port D Sub 9 pins female Host Link NT Link 1 N or 1 1 Link Master 1 1 Link Slave No p...

Page 52: ...sion I O Units CP1L CPU Unit with 30 40 or 60 I O Points A maximum of three CP series Expansion I O Units or Expansion Units can be added CP1L CPU Unit with 20 or 14 I O Points One CP series Expansion...

Page 53: ...ay outputs 300 g max CP1W 20EDT CPM1A 20EDT 8 transistor outputs sinking CP1W 20EDT1 CPM1A 20EDT1 8 transistor outputs sourcing CP1W 16ER CPM1A 16ER None 16 relay outputs 280 g max CP1W 16ET 16 transi...

Page 54: ...DA041 4 analog outputs 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to 20 mA Temperature Sensor Units CP1W TS001 CPM1A TS001 2 inputs Thermocouple input K J 250 g max CP1W TS002 CPM1A TS002 4 inputs CP...

Page 55: ...nits with 30 40 or 60 I O Points and AC Power CP1L M DR A and CP1L M DT A When CP1W or CPM1A Expansion Units or Expansion I O Units are con nected to a CPU Unit with 30 40 or 60 I O Points and AC Powe...

Page 56: ...d by Ambient Temperature There are restrictions in the power supply voltage and output load current imposed by the ambient temperature for CPU Units with DC power Use the CPU Unit within the following...

Page 57: ...es CP1L PLCs with 10 I O points The CX Programmer ver sion 7 1 or higher which runs on Windows can be used with CP series CP1L PLCs with 14 20 30 40 or 60 I O points Computers running Support Software...

Page 58: ...USB cable First return the Support Software to offline status and then reconnect the USB cable Then perform the online connection procedure for the Support Software Windows 98 If the USB cable is dis...

Page 59: ...device and the following message will be displayed 1 2 3 1 If the following window appears select the No not this time Option and then click the Next Button This window is not always displayed 2 The f...

Page 60: ...clude this location in the search Field specify C Program Files OMRON CX Server USB win2000_XP Inf and then click the Next Button The driver will be installed C indicates the installation drive and m...

Page 61: ...Windows 2000 Turn ON the power supply to the CP1L and connect USB cable between the USB port of the computer and the peripheral USB port of the CP1L After the cable has been connected the computer wi...

Page 62: ...on and then click the Next Button The following window will be displayed From the list in the window select the Specify location Checkbox and then click the Next Button 4 Click the Browse Button speci...

Page 63: ...ck the Next Button The driver will be installed 6 After the driver has been successfully installed the following window will be displayed Click the Finish Button Connection Setup Using the CX Programm...

Page 64: ...ger at the computer 2 Click USB Universal Serial Bus Controller and confirm that OMRON SYSMAC PLC Device is displayed Re installing the USB Driver If the USB driver installation fails for some reason...

Page 65: ...f the CP1W CIF01 Option Board by XW2Z 200S CV 500S CV RS 232C cable Connection Method Connect the Programming Device using the Connecting Cable that is appro priate for the serial communications mode...

Page 66: ...SW4 Serial Port 1 and SW5 Serial Port 2 on the DIP switch on the front panel of the CPU Unit These settings enable connection by peripheral bus regardless of the serial port settings in the PLC Setup...

Page 67: ...User memory parameters such as PLC Setup DM initial values comment memory etc can be saved in the CPU Unit s built in flash memory Memory Cassette Data saved in the CPU Unit s built in flash memory ca...

Page 68: ...n Blocks Function blocks allow complex programming units to be reused easily Once standard program sections have been created as function blocks and saved in files they can be reused just by placing a...

Page 69: ...ed as they do when copying and reusing a program section Creating Libraries Processes that are independent and reusable such as processes for individ ual steps machinery equipment or control systems c...

Page 70: ...36 Function Blocks Section 1 5...

Page 71: ...4 2 I O Refreshing and Peripheral Servicing 82 2 4 3 I O Refresh Methods 82 2 4 4 Initialization at Startup 84 2 5 CPU Unit Operating Modes 85 2 5 1 Operating Modes 85 2 5 2 Status and Operations in...

Page 72: ...ion or a hard ware error WDT error has occurred CP1L opera tion will stop and all outputs will be turned OFF Flashing A non fatal error has occurred including FAL execu tion CP1L operation will contin...

Page 73: ...ogrammer CPU Units with 10 14 or 20 I O Points No Setting Description Application Default SW1 ON User memory write protected See note Used to prevent pro grams from being inad vertently overwritten OF...

Page 74: ...he PLC before mounting or removing an Option Board 10 Input Indicators The input indicators light when input terminal contacts turn ON SW2 ON Data automatically transferred from Memory Cassette at sta...

Page 75: ...tion Boards An RS 232C Option Board can be mounted to an Option Board slot on the CPU Unit With a CPU Unit with 30 40 or 60 I O points either Option Board slot may be used When mounting an Option Boar...

Page 76: ...s it in until it snaps into place Caution Always turn OFF the power supply to the PLC before mounting or removing an Option Board RS 422A 485 Terminal Block Pin Abbr Signal name Signal direction 1 FG...

Page 77: ...ON RS control enabled RS control selection for SD See note 3 OFF RS control disabled Data always sent O N 1 2 3 4 5 6 Power supply AC power supply DC power supply Model numbers 60 I O points CP1L M60D...

Page 78: ...n X Y and Z directions for 80 minutes each time coefficient of 8 minutes coefficient factor of 10 total time of 80 minutes Shock resistance 147 m s2 three times each in X Y and Z directions Ambient op...

Page 79: ...me so in those cases the inrush current values may be higher as much as two times higher than those shown above Always allow for this when selecting fuses and breakers for external cir cuits 2 Use the...

Page 80: ...5 A 0 14 A CP1L M60DT A 0 39 A 0 03 A 0 3 A max CP1L M60DT D 0 39 A 0 03 A CP1L M60DT1 D 0 39 A 0 03 A 40 I O points CP1L M40DR A 0 22 A 0 08 A 0 3 A max CP1L M40DR D 0 22 A 0 08 A CP1L M40DT A 0 31 A...

Page 81: ...A MAD11 0 083 A 0 110 A Temperature Sen sor Units K or J thermocou ples CP1W CPM1A TS001 0 040 A 0 059 A CP1W CPM1A TS002 Pt or JPt platinum resistance ther mometers CP1W CPM1A TS101 0 054 A 0 073 A C...

Page 82: ...ts Incrementing counter or decrementing counter Quick response inputs 6 points 4 points 2 points Min input pulse width 50 s max High speed counters 4 inputs 2 axes 24 VDC Single phase pulse plus direc...

Page 83: ...ash memory User programs and parameters such as the PLC Setup are automatically saved to the flash memory It is also possible to save and read data memory initial data The data is automatically transf...

Page 84: ...1500 to CIO 1899 15 360 bits 960 words CIO 2000 00 to CIO 2959 15 words CIO 2000 to CIO 2959 9 600 bits 600 words CIO 3200 00 to CIO 3799 15 words CIO 3200 to CIO 3799 37 504 bits 2 344 words CIO 3800...

Page 85: ...ut 4 Interrupt input 0 Quick response input 0 Counter 0 phase Z reset input Counter 0 phase Z reset input 05 Normal input 5 Interrupt input 1 Quick response input 1 Counter 1 phase Z reset input Count...

Page 86: ...hase differential phase x4 up down or pulse direction CIO 1 00 Normal input 12 01 Normal input 13 02 Normal input 14 03 Normal input 15 04 Normal input 16 05 Normal input 17 06 Normal input 18 07 Norm...

Page 87: ...1 Pulse output 0 CCW Pulse output 0 direction PWM output 0 02 Normal output 2 Pulse output 1 CW Pulse output 1 pulse 03 Normal output 3 Pulse output 1 CCW Pulse output 1 direction PWM output 1 04 Nor...

Page 88: ...or ORG is executed When origin searches are enabled in the PLC Setup and an origin search is executed with ORG instruction When the PWM instruction is executed Word Bit Normal outputs Fixed duty ratio...

Page 89: ...A phase up or count input 03 Normal input 3 Counter 3 incre ment input Counter 1 B phase down or direction input 04 Normal input 4 Interrupt input 0 Quick response input 0 Counter 0 phase Z reset inpu...

Page 90: ...s High speed counters Origin searches Word Bit Normal inputs Interrupt inputs See note Quick response inputs Operation settings High speed counters enabled Phase Z reset Origin searches enabled for pu...

Page 91: ...l output 0 Pulse output 0 CW Pulse output 0 pulse 01 Normal output 1 Pulse output 0 CCW Pulse output 0 direction PWM output 0 02 Normal output 2 Pulse output 1 CW Pulse output 1 pulse 03 Normal output...

Page 92: ...nt input Counter 1 B phase down or direction input 04 Normal input 4 Interrupt input 0 Quick response input 0 Counter 0 phase Z reset input Counter 0 phase Z reset input 05 Normal input 5 Interrupt in...

Page 93: ...s used PWM output CIO 100 00 Normal output 0 Pulse output 0 CW Pulse output 0 pulse 01 Normal output 1 Pulse output 0 CCW Pulse output 0 direction PWM output 0 02 Normal output 2 Pulse output 1 CW Pul...

Page 94: ...3 Counter 3 increment input Counter 1 B phase down or direction input 04 Normal input 4 Interrupt input 0 Quick response input 0 Counter 0 phase Z reset input Counter 0 phase Z reset input 05 Normal...

Page 95: ...put CW CCW Pulse plus direction When the origin search function is used PWM output CIO 100 00 Normal output 0 Pulse output 0 CW Pulse output 0 pulse 01 Normal output 1 Pulse output 0 CCW Pulse output...

Page 96: ...ter 2 incre ment input Counter 1 A phase up or count input Pulse output 0 Ori gin proximity input signal 03 Normal input 3 Counter 3 incre ment input Counter 1 B phase down or direction input Pulse ou...

Page 97: ...Input operation settings High speed counters Origin searches Word Bit Normal inputs Interrupt inputs See note Quick response inputs Operation settings High speed counters enabled Phase Z reset Origin...

Page 98: ...1 Pulse output 0 CCW Pulse output 0 direction PWM output 0 02 Normal output 2 Pulse output 1 CW Pulse output 1 pulse 03 Normal output 3 Pulse output 1 CCW Pulse output 1 direction Origin search 0 Err...

Page 99: ...CIO 0 10 to CIO 0 11 and CIO 1 00 to 1 11 See note 2 IN IN COM 3 0 k 4 3 k 1000 pF 3 0 k 1000 pF IN IN COM 910 IN IN COM 4 7 k 750 Input bits CIO 0 04 to CIO 0 11 Input bits CIO 0 00 to CIO 0 03 CIO...

Page 100: ...IO 0 03 90 10 50 s min 50 s min ON OFF ON OFF ON OFF ON OFF T1 T2 T3 T4 T1 T2 T3 T4 2 5 s min 90 50 10 90 50 10 90 50 10 2 5 s min 2 5 s min 20 0 s min 10 0 s min Up down input mode Differential phase...

Page 101: ...I O Units are not connected OFF delay 15 ms max Circuit configuration Item Specification COM OUT OUT Output LED Internal circuits Maximum 250 VAC 2 A 24 VDC 2 A CP1L L14DR D CP1L L20DR D CP1L M30DR D...

Page 102: ...ee note 2 Min switching capacity 4 5 to 30 VDC 1 mA Leakage current 0 1 mA max Residual voltage 0 6 V max 1 5 V max ON delay 0 1 ms max OFF delay 0 1 ms max 1 ms max Fuse 1 fuse output See note 1 Circ...

Page 103: ...s value For the CP1W 40EDR EDT EDT1 and CPM1A 40EDR EDT EDT1 a fixed value of 16 ms must be added 2 Do not apply voltage in excess of the rated voltage to the input terminal Output Specifications Rela...

Page 104: ...ce life of relay See note Electrical Resistive load 150 000 operations 24 VDC Inductive load 100 000 operations 240 VAC cos 0 4 Mechanical 20 000 000 operations ON delay 15 ms max OFF delay 15 ms max...

Page 105: ...1L M60DR D Added to CP1L L14DT D or CP1L L20DT D Added to CP1L M30DT D Added to CP1L M40DT D or CP1L M60DT D Ambient temperature C 55 Simultaneously ON points 75 0 50 100 55 C 40 45 0 Ambient temperat...

Page 106: ...5 to 30 VDC 0 3 A output 0 9 A common 3 6 A Unit 0 9 A common 7 2 A Unit 0 9 A common 1 8 A Unit 0 9 A common 3 6 A Unit 0 9 A common 1 8 A Unit Leakage current 0 1 mA max 0 1 mA max 0 1 mA max 0 1 m...

Page 107: ...om RAM to the built in flash memory The PLC Setup can be set so that DM Area initial values are trans ferred from the built in flash memory to RAM when the power supply is turned ON 3 CX Programmer op...

Page 108: ...erformed and then the cyclic tasks are executed again starting from the one with the lowest task number This is called the cyclic scan method I O Memory The I O memory area is a RAM area read and writ...

Page 109: ...automatically backed up to the flash memory whenever it is written in any way other than by instructions in the user program e g when the CX Programmer or PT is used to transfer or edit data edit the...

Page 110: ...or is lit Memory Cassette Memory Cassettes can be used as required in system operation and mainte nance For example they can be used to save programs data memory con tents PLC Setup data or I O commen...

Page 111: ...memory data This data is written to flash memory when a project is trans ferred from the CX Programmer and transferring comment memory is specified Function block source data This data is written to f...

Page 112: ...d as a destination to transfer the comment memory data to built in flash memory Function block source data When a project that contains function blocks is transferred from the CX Programmer the functi...

Page 113: ...e data Either of both of the following can be transferred to the Memory Cassette Data in the built in flash memory Data in RAM DM Area data RAM DM Area data from RAM User program area Parameter area I...

Page 114: ...erred to the built in flash memory DM Area data DM Area data originally from the built in flash memory is transferred back to the flash memory and DM Area data originally from RAM is trans ferred to R...

Page 115: ...O memory Check user memory Clear forced status etc Check the Battery Read DIP switch settings Check I O bus Check user program memory Overseeing processing Program execution Operation processing Execu...

Page 116: ...ime same time for all services rather than a percentage under execute time settings in the PLC Setup 2 4 3 I O Refresh Methods I O for CPU Unit built in I O and I O on CP CPM1A series Expansion Units...

Page 117: ...s of the 16 I O points allocated to the specified word will be refreshed 3 Refresh Timing Input or source operands are read just before the instruction is execut ed Output or destination results opera...

Page 118: ...memory is held or cleared according to the status of the IOM Host Bit and the setting for IOM Hold Bit Status at Startup in the PLC Setup read only when power is turned ON Note When the mode is chang...

Page 119: ...forced set reset and changes to present values in I O memory are enabled for trial operation and other adjust ments RUN Programs are executed and some operations are disabled 2 5 2 Status and Operati...

Page 120: ...en it obtains the right to execute A status will go to Standby status WAIT if a READY task is put into Standby status by a TASK OFF TKOF instruction Executed if inter rupt condition is met MONITOR Mod...

Page 121: ...ts will turn OFF despite the status of the I O Memory Hold Bit or I O Memory Hold Bit at power ON settings in the PLC Setup 2 AC Power 85 of the rated voltage 85 V or less for a 100 to 240 V AC system...

Page 122: ...ted voltage or less for AC power 90 of the rated voltage or less or DC power 0 to 10 ms for AC 0 to 2 ms for DC Momentary power interruption not detected and operation continues Greater than 10 ms for...

Page 123: ...n status Checks hardware and user program memory Executes user program i e executes READY cyclic tasks Waits until the set cycle time has elapsed Calculates cycle time Sets error flags Performs I O re...

Page 124: ...PLC to perform the five opera tions given in the following tables Cycle time 1 2 3 4 5 1 Overseeing 2 Program Execution 3 Cycle Time Calculation 4 I O Refreshing Details Processing time and fluctuati...

Page 125: ...ng time hasn t been set in the PLC Setup for this servicing 8 of the previous cycle s cycle time calculated in step 3 will be allowed for peripheral servicing If a uniform peripheral servicing time ha...

Page 126: ...t do not need to be exe cuted Name Settings Default Enable Watch Cycle Time Setting 0 Default 1 s 1 User setting 0000 hex Watch cycle time of 1 s Watch Cycle Time 001 to FA0 10 to 40 000 ms 10 ms incr...

Page 127: ...s CP1W 40EDT1 CPM1A 40EDT1 0 39 ms CP1W 32ER 0 33 ms CP1W 32ET CP1W 32ET1 0 33 ms CP1W 20EDT CPM1A 20EDT 0 18 ms CP1W 20EDT1 CPM1A 20EDT1 0 18 ms CP1W 16ER CPM1A 16ER 0 25 ms CP1W 16ET CP1W 16ET1 0 25...

Page 128: ...fect system operation Note When there is one task online editing is processed all in the cycle time follow ing the cycle in which online editing is executed written When there are mul tiple tasks cycl...

Page 129: ...elay Cycle time Output ON delay Note The input and output ON delays depend on the type of terminals used on the CPU Unit or the model number of the Unit being used Maximum I O Response Time The I O re...

Page 130: ...with other interrupts As a guideline the wait time will be 6 to 169 s 2 I O interrupt tasks can be executed during execution of the user program even while an instruction is being executed by stopping...

Page 131: ...interrupts how ever are not executed during execution of other interrupt tasks even if the interrupt conditions are satisfied Instead the interrupts are executed in order of priority after the curren...

Page 132: ...me ms Slave communications time Number of participating slave nodes 10 Number of non participating slave nodes Slave communica tions time ms Communications time set to Standard 0 4 0 286 No of slaves...

Page 133: ...Supply and Ground Lines 111 3 4 2 Wiring Built in I O 113 3 4 3 Wiring Safety and Noise Controls 116 3 5 Wiring CPU Unit I O 118 3 5 1 I O Wiring for CPU Units with 60 I O Points 118 3 5 2 I O Wiring...

Page 134: ...r that stops PLC operation Note When a fatal error occurs all outputs from Output Units will be turned OFF even if the IOM Hold Bit has been turned ON to protect the contents of I O memory When the IO...

Page 135: ...the PLC to water oil or chemical reagents Always enclose or protect the PLC sufficiently in the following locations Locations subject to static electricity or other forms of noise Locations subject to...

Page 136: ...inals while power is being supplied or immediately after power has been turned OFF Doing so may result in burns Caution After the power supply has been turned OFF wait until the PLC has suffi ciently...

Page 137: ...ce installation or DIN Track installation Surface Installation Even if a DIN Track is not used a CP1L CPU Unit and CP CPM1A series Expansion Units or Expansion I O Units can be mounted using M4 screws...

Page 138: ...COM COM 05 07 COM 02 COM 05 07 IN OUT CH NC NC NC NC NC NC COM COM COM COM COM COM COM 03 06 01 03 06 00 02 04 06 08 10 00 01 02 04 05 07 00 02 04 05 07 00 02 04 06 08 10 01 03 05 07 09 11 01 03 05 07...

Page 139: ...N COM 01 03 05 07 09 11 01 03 05 07 09 11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 07 COM 05 07 OUT POWER ERR ALM BKUP RUN INH PRPHL PERIPHERAL 20...

Page 140: ...d 3 3 2 Connecting Expansion Units and Expansion I O Units Leave approximately 10 mm of space between the CPU Unit and the Expan sion Units or Expansion I O Units Mounting Method CP1L L14D 86 76 CP1L...

Page 141: ...0 5 30 I O points 120 0 5 20 I O points 76 0 5 14 I O points 76 0 5 10 I O points 56 0 5 Expansion I O Unit 40 I O points 140 0 2 32 outputs 140 0 2 20 I O points 76 0 2 16 outputs 76 0 2 8 inputs 56...

Page 142: ...COM COM COM COM 03 06 01 03 06 00 02 04 06 08 10 00 01 02 04 05 07 00 02 04 05 07 00 02 04 06 08 10 01 03 05 07 09 11 01 03 05 07 09 11 IN 40EDR OUT CH CH CH CH EXP CH CH CH 11 10 09 08 07 06 05 04 0...

Page 143: ...ottom 3 Press in all of the DIN Track mounting pins to securely lock the Units in place DIN Track Mount the DIN Track in the control panel with screws in at least three places DIN Track PFP 50N 50 cm...

Page 144: ...and other foreign mat ter from entering the Unit during wiring procedures 2 Remove the label after the completion of wiring to ensure proper heat dis sipation 15 10 4 5 25 25 25 10 25 15 1000 1000 500...

Page 145: ...range Note 1 Before connecting the power supply make sure that the CPU Unit re quires an AC power supply and not a DC power supply The CPU Unit s internal circuitry will be damaged if AC power is mist...

Page 146: ...her reduced by providing the power supply through a 1 1 isolating transformer Leave the iso lating transformer s secondary side ungrounded CPU Units with DC Power Supply DC Power Supply Wiring Use cri...

Page 147: ...d wire for wiring Do not connect bare stranded wires directly to terminals Tighten the terminal block screws to the torque of 0 5 N m Use crimp terminals M3 having the dimensions shown below Wiring Wi...

Page 148: ...dual voltage VON VCC VR 2 Relation between current when the PLC is ON and sensor control output load current IOUT min ION IOUT max ION VCC VR 1 5 PLC internal residual voltage RIN When ION is smaller...

Page 149: ...he sensor s power supply voltage is provided to input bit CIO 0 00 and a 100 ms timer delay the time required for an OMRON Proximity Sensor to stabilize is created in the program After the Completion...

Page 150: ...ds When an inductive load is connected to an I O Unit connect a surge suppres sor or diode in parallel with the load as shown below Note Use surge suppressors and diodes with the following specificati...

Page 151: ...e placed in the same duct they must be shielded from each other using grounded steel sheet metal Surge Suppressor Specifications Resistance 50 Capacitance 0 47 F Voltage 200 V Diode Specifications Bre...

Page 152: ...nd CP1L M60DR D AC power supply models have a 24 VDC output terminals on the lower terminal block They can be used as a DC power supply for the input circuit L1 L2 N COM 01 03 05 07 09 01 03 05 07 09...

Page 153: ...mon Use power lines with sufficient cur rent capacity for the COM terminals L L L L L L L L L L L L 00 01 04 07 00 02 04 05 07 00 02 05 07 COM COM COM 03 COM 06 COM 01 03 COM 06 COM 01 03 COM 06 L L L...

Page 154: ...t terminals on the lower terminal block They can be used as a DC power supply for the input circuit Sourcing Transistor Outputs CP1L M40DT1 D 00 01 02 03 04 06 00 01 03 04 06 CO M COM COM COM 05 07 CO...

Page 155: ...s Output Wiring Lower Terminal Block Relay Outputs CP1L M30DR A and CP1L M30DR D AC power supply models have a 24 VDC output terminals on the lower terminal block They can be used as a DC power supply...

Page 156: ...O Wiring for CPU Units with 20 I O Points Input Wiring Upper Terminal Block The input circuits have 12 points common Use power lines with sufficient cur rent capacity for the COM terminals L L L L L L...

Page 157: ...king Transistor Outputs CP1L L20DT A and CP1L L20DT D AC power supply models have a 24 VDC output terminals on the lower terminal block They can be used as a DC power supply for the input circuit Sour...

Page 158: ...r rent capacity for the COM terminals Output Wiring Lower Terminal Block Relay Outputs CP1L L14DR A and CP1L L14DR D AC power supply models have a 24 VDC output terminals on the lower terminal block T...

Page 159: ...it Sourcing Transistor Outputs CP1L L14DT1 D 3 5 6 I O Wiring for CPU Units with 10 I O Points Input Wiring Upper Terminal Block The input circuits have 6 points common Use power lines with sufficient...

Page 160: ...supply for the input circuit Sinking Transistor Outputs CP1L L10DT A and CP1L L10DT D AC power supply models have a 24 VDC output terminals on the lower terminal block They can be used as a DC power...

Page 161: ...ut transistor is OFF For a direction output OFF indicates that CCW output is in progress Do not use the same power supply for both pulse output 24 VDC 5 VDC power and other I O power Black White Orang...

Page 162: ...er CP1L DT D ON OFF CW CW CCW CCW CW CCW Output transistor Pulse output in progress CW and CCW Pulse Outputs Pulse and Direction Outputs Pulses Direction Output ON Output OFF CP1L CPU Unit 24 VDC powe...

Page 163: ...tor driver and yet is sufficient to turn it ON Take into account the power derating for the 1 6 k resistance Connection Example 2 1 6 k Approx 12 mA 100 02 1 6 k Approx 12 mA COM 100 03 CP1L CPU Unit...

Page 164: ...32ET 32 transistor outputs sinking CP1W 32ET1 32 transistor outputs sourcing 20 point I O Units CP1W 20EDT1 CPM1A 20EDR1 12 24 VDC inputs 8 relay outputs CP1W 20EDT CPM1A 20EDT 8 transistor outputs si...

Page 165: ...ourcing Transistor Outputs NC 00 01 02 04 05 07 00 02 04 05 07 NC COM COM COM 03 COM 06 COM 01 03 COM 06 L L L L L L L L L L L L L L L L NC 00 01 02 04 05 07 00 02 04 05 07 NC COM COM COM 03 COM 06 CO...

Page 166: ...OM COM COM COM COM 05 07 NC NC NC 01 03 01 04 Upper Terminal Block Lower Terminal Block NC COM COM COM COM COM COM 05 07 02 05 07 NC NC NC 00 02 04 06 00 01 03 04 06 NC NC NC CIO n 1 CIO n 2 L L L L L...

Page 167: ...W 20ED CPM1A 20ED Output Wiring CP1W 20EDR1 CPM1A 20EDR1 Relay Outputs CP1W 20EDT CPM1A 20EDT Sinking Transistor Outputs COM 01 03 05 07 09 11 NC 00 02 04 06 08 10 CIO m 1 CIO m 1 24 VDC 250 VAC 24 VD...

Page 168: ...stor Outputs 00 01 02 04 05 07 COM COM COM 03 COM 06 L L L L L L L L Unit Upper Terminal Block Unit Lower Terminal Block NC COM COM COM 04 06 COM NC 00 01 02 03 05 07 NC 00 02 04 05 07 NC NC COM 01 03...

Page 169: ...0 01 02 03 05 07 L L CIO n 1 CIO n 1 L L L L L L NC NC NC NC L 00 02 04 05 07 COM 01 03 COM 06 L L L L L L L CIO n 2 CIO n 2 Upper Terminal Block Lower Terminal Block L Unit Upper Terminal Block 24 VD...

Page 170: ...iring CP1W 8ET1 CPM1A 8ET1 Sourcing Transistor Outputs Unit Upper Terminal Block Unit Lower Terminal Block 04 06 COM 05 07 COM 01 03 00 02 L L L L L L L L 4 5 to 30 VDC Unit Upper Terminal Block Unit...

Page 171: ...148 4 2 3 I O Allocation Examples with Expansion I O Units 150 4 2 4 I O Word Allocations to Expansion Units 151 4 3 1 1 Link Area 152 4 4 Serial PLC Link Area 153 4 5 Internal Work Area 153 4 6 Holdi...

Page 172: ...199 OK OK OK OK OK OK 1 1 Link Area 1 024 bits 64 words CIO 3000 to CIO 3063 1 1 Links OK OK OK OK OK OK Serial PLC Link Area 1 440 bits 90 words CIO 3100 to CIO 3189 Serial PLC Links OK OK OK OK OK...

Page 173: ...ss in the CIO Area The CIO Area is generally used for data exchanges such as I O refreshing with PLC Units Words that are not allocated to Units may be used as work words and work bits in the program...

Page 174: ...ersions of the CPU Units The parts of the CIO Area that are labelled Not used are functionally identical to the Internal I O Area Work Area W Words in the Work Area can be used in programming they can...

Page 175: ...n Flags and the timer Present Values PVs Up to 4 096 timers with timer numbers T0 to T4095 can be used Timer Completion Flags These flags are read as individual bits A Completion Flag is turned ON by...

Page 176: ...K A Task Flag will be ON when the corresponding cyclic task is in executable RUN status and OFF when the cyclic task hasn t been executed INI or is in standby WAIT status Index Registers IR Index regi...

Page 177: ...M Hold Bit OFF IOM Hold Bit ON IOM Hold Bit OFF IOM Hold Bit ON IOM Hold Bit OFF IOM Hold Bit ON CIO Area I O Area Cleared Retained Retained Retained Cleared Retained Cleared Cleared Cleared Retained...

Page 178: ...ng mode is changed between PROGRAM and RUN MONITOR or when the power is cycled OFF I O memory is cleared to 0 when the operating mode is changed ON I O memory is retained when the operating mode is ch...

Page 179: ...2 and higher and outputs bits in CIO 102 and higher would be automatically allocated in order to any Expan sion Units or Expansion I O Units connected to the CPU Unit When the power to the CPU Unit is...

Page 180: ...Do not use Can be used as work bits 6 input bits 4 output bits 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Output bits Input bits 8 inputs CIO 0 CIO 0 00 to CIO 0 07 CIO 100 CIO 100 00 to CIO 100...

Page 181: ...IO 1 00 to CIO 1 05 CIO 100 CIO 100 00 to CIO 100 07 CIO 101 CIO 101 00 to CIO 101 03 Input bits Output bits CIO 0 CIO 100 18 inputs Do not use Can be used as work bits CIO 1 CIO 101 15 14 13 12 11 10...

Page 182: ...sistors CP1W 16ET None None 16 bits 2 words CIO n bits 00 to 07 CIO n 1 bits 00 to 07 Sourcing transistors CP1W 16ET1 None None 16 bits 2 words CIO n bits 00 to 07 CIO n 1 bits 00 to 07 Unit with 20 I...

Page 183: ...D Twelve input bits are allocated in one word bits 00 to 11 in CIO m Eight out put bits are allocated in one word bits 00 to 07 in CIO n One input word 12 bits and one output word 8 bits are allocated...

Page 184: ...03 02 01 00 m m 1 Do not use n n 1 Can be used as work bits Input bits Output bits 24 input points 16 output points 24 input points 16 output points 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 CIO...

Page 185: ...2 4 words CIO m to CIO m 3 None CP1W TS101 CPM1A TS101 2 words CIO m to CIO m 1 None CP1W TS102 CPM1A TS102 4 words CIO m to CIO m 3 None DeviceNet I O Link Units CPM1A DRT21 2 words CIO m to CIO m 1...

Page 186: ...bits Do not use CIO 0 00 to CIO 0 11 CIO 1 00 to CIO 1 11 CIO 100 00 to CIO 100 07 CIO 101 00 to CIO 101 07 CPU Unit 40 I O points CIO 2 to CIO 5 No outputs No inputs CIO 2 to CIO 6 11 CIO 7 to CIO 7...

Page 187: ...e IOM Hold Bit is OFF 2 When the power is cycled 3 When the Serial PLC Link Area is cleared from the CX Programmer 4 When PLC operation is stopped when a fatal error other than an FALS 007 error occur...

Page 188: ...a Holding Area bit the self maintaining bit won t be cleared even when the power is reset Note 1 If a Holding Area bit is not used for the self maintaining bit the bit will be turned OFF and the self...

Page 189: ...ay Area The TR Area contains 16 bits with addresses ranging from TR0 to TR15 These temporarily store the ON OFF status of an instruction block for branch ing and are used only with mnemonics TR bits a...

Page 190: ...er number accesses the Completion Flag of the timer When a timer number is used in an operand that requires word data the timer number accesses the PV of the timer Timer Completion Flags can be used a...

Page 191: ...Completion Flags can be force set and force reset Timer PVs cannot be force set or force reset although the PVs can be refreshed indirectly by force setting resetting the Completion Flag Restrictions...

Page 192: ...ows when counter PVs and Completion Flags will be reset Forcing Bit Status Counter Completion Flags can be force set and force reset Counter PVs cannot be force set or force reset although the PVs can...

Page 193: ...changed from BCD mode 0000 to 9999 to binary method 0000 to FFFF using the CX Programmer This setting is made in common for all tasks for all timers and counters 1 Right click New PLC in the project...

Page 194: ...ddress the content of that DM word is treated as binary and the instruction will operate on the DM word at that binary address The entire DM Area D0 to D32767 can be indirectly addressed with hexadeci...

Page 195: ...re details on PLC memory addresses Indirect Addressing When an Index Register is used as an operand with a prefix the instruction will operate on the word indicated by the PLC memory address in the In...

Page 196: ...ed as the PLC memory address of a bit or word The constant may be any integer from 2 048 to 2 047 Constant IR Include a or in the constant LD 5 IR0 Adds 5 to the contents of IR0 and loads the bit at t...

Page 197: ...OVR 560 0000 IR2 MOV 021 D0 IR2 When the operand is treated as a word the contents of the Index Register are used as is as the PLC memory address of a word In this example MOVR 560 sets the PLC memory...

Page 198: ...tly addressed in any other instructions although they can usually be used for indirect addressing The SRCH 181 MAX 182 and MIN 183 instructions can output the PLC memory address of the word with the d...

Page 199: ...ting or decrementing for the Index Register is performed using one of the following methods Each Type of Indirect Addressing for Index Registers Auto increment IR or IR auto decrement IR or IR constan...

Page 200: ...PLC memory addresses for each T0 s PV Completion Flag and W0 00 are set in Index Registers IR0 IR1 and IR2 using a MOVRW or MOVR instruction The TIM instruction is executed for the timer number timer...

Page 201: ...ress for the PV area for TO is set in IR0 IR1 IR2 MOVR T0 IR1 The PLC memory address for the Completion Flag for TO is set in IR1 MOVR W0 00 IR2 The PLC memory address for W0 00 is set in IR2 MOV 100...

Page 202: ...n tasks This setting will be enabled uniformly for all Index Regis ters and Data Registers Sharing Index Registers The following setting can be made from the PLC Properties Dialog Box on the CX Progra...

Page 203: ...dress of a bit or word in I O memory Data Registers contain signed binary data so the content of an Index Register can be offset to a lower or higher address D1001 and D1000 stored in IR0 or Actual me...

Page 204: ...n t be cleared when a FALS error occurs or the operating mode is changed from PROGRAM mode to RUN MONITOR mode or vice versa If the IOM Hold BIt A500 12 is ON and the PLC Setup s IOM Hold Bit Status a...

Page 205: ...Condition Flags are cleared when the program switches tasks so the sta tus of the ER and AER flags are maintained only in the task in which the error occurred Forcing Bit Status The Condition Flags c...

Page 206: ...N when the first operand of a Comparison Instruction is greater than the second or a value exceeds a specified range Equals Flag P_EQ Turned ON when the two operands of a Comparison Instruction are eq...

Page 207: ...treats condition flags as global symbols beginning with P_ CMP CCS CCL Instruction A Instruction B Stores result of comparison in the Condition Flags This will enable loading the results to use with I...

Page 208: ...t be overwritten from instructions or the CX Programmer The Clock Pulses are cleared at the start of operation Using the Clock Pulses The following example turns CIO 100 00 ON and OFF at 0 5 s interva...

Page 209: ...rch and Origin Return Functions 220 5 2 6 Origin Return 237 5 2 7 Pulse Output Procedures 239 5 2 8 Instructions Used for Pulse Outputs 241 5 2 9 Variable Duty Factor Pulse Outputs PWM 891 Outputs 250...

Page 210: ...unction used Description Receive incremental rotary encoder inputs to calculate length or position High speed counter function Built in input terminals can be used for high speed counter inputs The PV...

Page 211: ...rightmost 4 digits High speed counter 1 A273 leftmost 4 digits and A272 rightmost 4 digits High speed counter 2 A317 leftmost 4 digits and A316 rightmost 4 digits High speed counter 3 A319 leftmost 4...

Page 212: ...Flag A274 02 A275 02 A320 02 A321 02 Range 4 Comparison Condition Met Flag A274 03 A275 03 A320 03 A321 03 Range 5 Comparison Condition Met Flag A274 04 A275 04 A320 04 A321 04 Range 6 Comparison Con...

Page 213: ...se input Only up differentiated pulses rising edges can be counted Increment Mode The increment mode counts single phase pulse signal inputs This mode only increments the count Conditions for Incremen...

Page 214: ...p Lower and Upper Limits of the Range The following diagrams show the lower limit and upper limit values for incre ment mode and up down mode Circular Ring Mode Input pulses are counted in a loop with...

Page 215: ...ome effective until the next PLC cycle Software Reset The high speed counter s PV is reset when the corresponding High speed Counter Reset Bit goes from OFF to ON The CPU Unit recognizes the OFF to ON...

Page 216: ...re reset Software reset Phase Z Software reset continuing comparing Software reset continuing comparing High speed Counters 0 to 3 Counting Mode Linear mode Ring mode Program the interrupt task with a...

Page 217: ...tem Setting Use high speed counter 0 to 3 Use counter Counting mode Linear mode Circular mode ring mode Circular Max Count max ring count 0 to 4 294 967 295 0 to FFFF FFFF hex Reset method Phase Z and...

Page 218: ...et input Upper Terminal Block Example AC Power Supply Modules L1 L2 N COM 01 03 05 00 02 04 Upper Terminal Block Example AC Power Supply Modules High speed counter 0 Phase A Increment or Count input H...

Page 219: ...11 10 01 03 05 07 09 11 00 02 04 06 08 10 High speed counter 0 Phase A Increment or Count input High speed counter 0 Phase Z or Reset input High speed counter 1 Phase A Increment or Count input High s...

Page 220: ...ed counter 0 Increment High speed counter 2 Increment High speed counter 3 Phase Z or Reset input High speed counter 2 Phase Z or Reset input High speed counter 0 Phase Z or Reset input COM L1 L2 N 01...

Page 221: ...ounter 1 Increment High speed counter 2 Increment High speed counter 3 Increment High speed counter 0 Phase Z or Reset input High speed counter 1 Phase Z or Reset input High speed counter 3 Phase Z or...

Page 222: ...ion input 02 Normal input 2 High speed counter 2 Increment High speed counter 1 Phase A Increment or Count input Pulse output 0 Origin proximity input signal 03 Normal input 3 High speed counter 3 Inc...

Page 223: ...ncrement input Counter 1 B phase down or direction input 04 Normal input 4 Normal input 4 Normal input 4 Normal input 4 Counter 0 phase Z reset input Counter 0 phase Z reset input 05 Normal input 5 No...

Page 224: ...ece fails If the workpiece passes output CIO 100 00 is turned ON by an interrupt and the indicator PL1 is lit If the workpiece fails output CIO 100 01 is turned ON by an interrupt and indicator PL2 is...

Page 225: ...11 Not used normal input Output terminal Usage Word Bit CIO 100 00 Normal input PL1 Dimension pass output 01 Normal input PL2 Dimension fail output 02 to 07 Normal input Not used CIO 101 00 to 07 Nor...

Page 226: ...ed counter 0 phase A Upper Terminal Block Example AC Power Supply Modules 00 01 06 COM 05 07 CIO 100 CIO 101 CIO 100 CIO 101 PL1 OK indicator PL2 NG indicator Bottom terminal block PL1 PL2 COM COM COM...

Page 227: ...ed counters are operating in Incrementing or Up Down Input Modes When a high speed counter is being used enabled in the PLC Setup the input cannot be used as a general purpose normal input interrupt i...

Page 228: ...values between 1 and 48 can be registered in the com parison table A different interrupt task can be registered for each target value The target value comparison is performed on all of the target val...

Page 229: ...cycle The next interrupt task in the table will be executed in the next cycle Note The range comparison table can be used without starting an interrupt task when the comparison condition is met The r...

Page 230: ...eed counter 0 Option in the PLC Setup 2 Pulse Input Mode Setting Required Set the High speed Counter 0 Pulse Input Mode Input Setting in the PLC Setup 3 Counting Mode Setting Required Set the High spe...

Page 231: ...the High speed Counter 0 Counting Mode in the PLC Setup If ring mode counting is selected set the Circular Max Count max ring count in the PLC Setup 4 Reset Method Setting Required Set the High speed...

Page 232: ...ving a specified amount to be executed when specific conditions occur Change Target Speed and Acceleration Deceleration Rate during Acceleration or Deceleration When trapezoidal acceleration decelerat...

Page 233: ...PLS2 887 instruction is in progress another ACC 888 independent or PLS2 887 instruction can be executed to change the acceleration rate or deceleration rate Perform fixed distance feed interrupt Execu...

Page 234: ...FFF hex 2147483648 to 2147483647 Pulse output PV s relative absolute coordinate specification Absolute coordinates are specified automatically when the origin location has been determined by setting t...

Page 235: ...ulse NC 00 01 02 NC COM COM COM 03 Lower Terminal Block Example Transistor Outputs Pulse output 0 CCW direction PWM output 0 Pulse output 0 CW pulse CIO 100 Origin search 0 Error counter reset output...

Page 236: ...se output 0 CCW direction PWM output 0 Pulse output 0 CW pulse CIO 100 Pulse output 1 CW pulse Origin search 0 Error counter reset output Origin search 1 Error counter reset output CIO 101 Pulse outpu...

Page 237: ...fixed Pulse output 0 pulse fixed 01 Normal output 1 Pulse output 0 CCW fixed Pulse output 0 direction fixed PWM output 0 02 Normal output 2 Pulse output 1 CW fixed Pulse output 1 pulse fixed 03 Norma...

Page 238: ...imity input signal Pulse 1 Origin proximity input signal Pulse output 0 Origin input signal Pulse output 1 Origin input signal Upper Terminal Block Example DC Power Supply Models Pulse 0 Origin proxim...

Page 239: ...block Default setting High speed counter operation settings Origin searches Word Bit Single phase increment pulse input Two phase differential phases x4 up down or pulse direction Origin searches ena...

Page 240: ...input Counter 0 phase Z reset input 05 Normal input 5 Normal input 5 Normal input 5 Normal input 5 Counter 1 phase Z reset input Counter 1 phase Z reset input 06 Normal input 6 Normal input 6 Normal i...

Page 241: ...underflow A280 01 A281 01 Output Amount Set Flags ON when the number of output pulses has been set with the PULS instruction 0 No setting 1 Setting made A280 02 A281 02 Output Completed Flags ON when...

Page 242: ...edure Instruction Settings Change speed in one step Changing the speed during oper ation Changes the fre quency higher or lower of the pulse output in one step SPED 885 Continu ous SPED 885 Continu ou...

Page 243: ...othly Decelerate to a stop Decelerates the pulse output to a stop Note If ACC 888 started the operation the original acceleration deceleration rate will remain in effect If SPED 885 started the operat...

Page 244: ...888 Indepen dent Number of pulses Relative or absolute pulse spec ification Port CW CCW or Pulse direction Indepen dent Accelera tion and decelera tion rate Target fre quency Complex trapezoidal cont...

Page 245: ...d during positioning to change the acceler ation rate decelera tion rate and target frequency Note To prevent the target position from being changed intentionally the original target posi tion must be...

Page 246: ...CW CCW or Pulse direction Accelera tion rate Decelera tion rate Target fre quency Starting frequency Change the acceleration and deceler ation rates during posi tioning mul tiple start function PLS2 8...

Page 247: ...he pulse out put immediately and clears the num ber of output pulses setting PULS 886 ACC 888 or SPED 885 Indepen dent INI 880 Stop pulse output PLS2 887 INI 880 Stop pulse output Number of pulses set...

Page 248: ...xecution will be ignored and the previ ous opera tion will be continued ACC 888 Continu ous PLS2 887 Port Acceleration rate Deceleration rate Target frequency Number of pulses Note The starting fre qu...

Page 249: ...f pulses setting The pulse output PV after instruction execution Number of movement pulses Number of pulses setting Note The pulse output PV is reset to 0 just before pulses are output After that the...

Page 250: ...s setting 100 Number of movement pulses Number of pulses setting Pulse output PV when instruc tion is executed The movement direction is determined automat ically Pulse output PV when instruction is e...

Page 251: ...celeration can be used for pulse output instructions involving acceleration deceleration When there is leeway in the maximum allowable speed S curve accelerations decelerations will help control shock...

Page 252: ...ation rates a cubic polynomial approximation The curve s parameters cannot be changed The maximum acceleration will be 1 5 times that of trapezoidal acceleration deceleration for the same acceleration...

Page 253: ...he source clock frequency by an integer ratio The source clock frequency for ports 0 and 1 is 20 MHz and the frequency for ports 2 and 3 is 16 4 MHz Consequently there may be a slight difference betwe...

Page 254: ...om the following 3 kinds of position input signals Origin input signal Origin proximity input signal CW limit input signal and CCW limit input signal Source clock frequency Dividing ratio Clock freque...

Page 255: ...he current position to 0 5 2 5 1 Origin Search When ORG 889 executes an origin search it outputs pulses to actually move the motor and determines the origin position using the input signals that indi...

Page 256: ...to 1 Limit Input Signal Settings Limit Input Signal Operation and Undefine Origin Settings Acceleration Deceleration Curve Setting Other Parameter Settings 1 Operation Mode Set the best operation mode...

Page 257: ...the Origin Input Signal after the Origin Proximity Input Signal goes from OFF ON 2 Just read the Origin Input Signal with out using the Origin Proximity Input Signal Start of operation Origin search d...

Page 258: ...the Origin Input Signal will be detected if it is received during this deceleration and an Origin Input Signal Error error code 0202 will be generated In this case the motor will decelerate to a stop...

Page 259: ...this operating mode the motor will stop at the Origin Input Signal after deceleration is completed Operating Mode 1 with Origin Proximity Input Signal Reverse Origin Detection Method Setting 0 When th...

Page 260: ...tting is long enough longer than the deceleration time Origin Input Signal is ignored during deceleration Motor stopped by an Origin Input Signal received after deceleration Starts when ORG 889 is exe...

Page 261: ...the origin search direction reverse and continue operation 1 Reversal mode 2 When the limit input signal is received in the origin search direction generate an error and stop operation Setting Descrip...

Page 262: ...rection would be different for an origin search in the CCW direction 1 1 0 0 CCW CW Origin Proximity Input Signal Origin Input Signal Pulse output Deceleration starts when Origin Proximity Input Signa...

Page 263: ...x imity Input Sig nal not used Note When the direction of operation is reversed it is reversed immediately without deceleration or acceleration 1 1 0 0 CCW CCW CCW CW CW CW Origin Proximity Input Sign...

Page 264: ...put Signal reversal not required Note When the limit input signal is received the motor stops without deceleration 1 1 0 0 CCW CCW CCW CW CW CW Origin Proximity Input Signal Origin Input Signal Pulse...

Page 265: ...d Sets the motor s speed after the Origin Proximity Input Signal is detected Specify the speed in the number of pulses per second pps Origin Search Acceleration Rate Sets the motor s acceleration rate...

Page 266: ...ignal after the positioning opera tion has been completed i e the pulse output has been completed A Posi tioning Timeout Error error code 0300 will be generated if the motor driver s Positioning Compl...

Page 267: ...ction Operation Function Pulse output number 0 1 Output Stopped Error Flags ON when an error occurred while outputting pulses in the ori gin search function 0 No error 1 Stop error occurred A280 07 A2...

Page 268: ...Input Signal is already being input in the origin search direction When a non regional origin search is being performed the Origin Input Signal and the Limit Input Signal in the oppo site direction fr...

Page 269: ...ion when the limit input signal is input in the origin search direction Origin detection method 0 Reads the Origin Input Signal after the Origin Input Signal goes OFF ON OFF Origin search direction 0...

Page 270: ...able 1 hex Enabled Pulse Output 0 Origin Search Operating Mode 1 hex Mode 1 Pulse Output 0 Origin Search Operation Setting 0 hex Reverse mode 1 Pulse Output 0 Origin Detection Method 0 hex Origin dete...

Page 271: ...hex 0000 hex Pulse Output 0 Origin Search Acceleration Rate 0032 hex 50 Hz 4 ms Pulse Output 0 Origin Search Deceleration Rate 0032 hex 50 Hz 4 ms Pulse Output 0 Limit Input Signal Type 1 NO Pulse Ou...

Page 272: ...determined relative coordinate system when ORG 889 is executed to perform an origin return operation 1 Starting Speed for Origin Search and Origin Return 2 Origin return target speed 3 Origin return...

Page 273: ...1 Output frequency 1 Hz to 100 kHz 1 Hz units Wire the outputs PLC Setup settings Enable disable the origin search function Set the various origin search parameters if the origin search function is en...

Page 274: ...d Ladder program PULS 886 Specify port number and set the number of output pulses ACC 888 Specify port number and set the output method CW CCW method or Pulse direction method and pulse output control...

Page 275: ...e the pulse output method output frequency and port Wire the outputs PLC Setup settings Enable disable the origin search function Set the various origin search parameters if the origin search function...

Page 276: ...of pulses must be set in advance with PULS 886 Used Used ACC 888 ACCELERATION CONTROL Performs pulse output con trol with acceleration and deceleration When positioning the number of pulses must be s...

Page 277: ...output N First number of pulses word N and N 1 contain the number of pulses setting N contains the rightmost 4 digits and N 1 contains the leftmost 4 digits Relative pulse output 0000 0000 to 7FFF FF...

Page 278: ...target frequency acceleration rate or deceleration rate Operand Contents P Port specifier 0000 hex Pulse output 0 0001 hex Pulse output 1 M Output mode Bits 0 to 3 Mode 0 hex Continuous 1 hex Independ...

Page 279: ...he increase or decrease in the frequency per pulse control period 4 ms S 1 Deceleration rate 0001 to FFFF hex 1 to 65 535 Hz Specify the increase or decrease in the frequency per pulse control period...

Page 280: ...et Flag Pulse Output Completed Flag Pulse Output Flag No origin Flag At Origin Flag Pulse Output Stopped Error Flag Operand Contents P Port specifier 0000 hex Pulse output 0 0001 hex Pulse output 1 C...

Page 281: ...sti nation word Reading PV D and D 1 After the pulse output PV is read the 8 digit hexadecimal data is stored in D and D 1 D contains the rightmost 4 digits and D 1 contains the leftmost 4 digits Read...

Page 282: ...0 1 Hz units 1001 hex Pulse output 1 duty factor set in 0 1 units frequency 0 1 Hz units 0100 hex Pulse output 0 duty factor set in 1 unit fre quency 1 Hz units 0101 hex Pulse output 1 duty factor set...

Page 283: ...changed The rate can even be changed during acceleration or deceleration The output mode and direction cannot be switched 6 ACC 888 Independent to PLS2 887 The number of pulses can be changed The set...

Page 284: ...at high frequencies because of limitations in the output circuit at high frequencies 5 2 10 Example Pulse Output Applications Outputting Pulses after a Preset Delay This example program waits for a p...

Page 285: ...upt Starts the scheduled interrupt PULS 886 Sets the number of output pulses SPED 885 Starts the pulse output Preparation PLC Setup Built in Input Settings Pulse Output 0 Settings MSKS PULS SPED Pulse...

Page 286: ...252 Pulse Outputs Section 5 2 Scheduled Interrupt Time Unit Setting PLC Setup setting details Data Set the scheduled interrupt time units to 0 1 ms 0002 hex...

Page 287: ...0 04 Unmask Enable interrupts MSKS 690 0005 0014 A280 04 Pulse Output 0 Output In progress Flag Scheduled interrupt 2 Reset start Scheduled interrupt time 5 x 0 1 ms 0 5 ms 0000 0000 100000 SPED 885 M...

Page 288: ...es where the acceleration rate is substantially greater than the deceleration rate the operation won t be true triangular control The motor will be operated at a constant speed for a short time betwee...

Page 289: ...tarts and stops immediate stop the low speed jog operations ACC 888 Starts and stops decelerate to a stop the high speed jog opera tions Preparation PLC Setup There are no settings that need to be mad...

Page 290: ...1 04 W0 01 0 01 SPED 885 SPED 885 SPED 885 0000 D0 SET W0 00 0000 RSET W0 00 0010 D0 SET W0 01 SPED 885 0010 RSET W0 01 Low speed CW Start Pulse Output in Progress Pulse output 1 Specifies CW CCW outp...

Page 291: ...010 D00010 SET W0 03 ACC 888 0010 D13 RSET W0 03 END 001 0 04 A281 04 W0 02 0 04 0 05 A281 04 W0 03 0 05 High speed CW Start Pulse Output in Progress Pulse output 1 Specifies CW CCW output method CW s...

Page 292: ...imes 6 When the operation has been completed the Cutting Operation Finished Output OUT 100 03 is turned ON The feeding operation can be canceled and operation stopped at any point using the Emergency...

Page 293: ...D20 0100 SPED 885 0000 0000 D0 0 00 SET W0 00 A280 04 SPED 885 0000 0000 D2 0 00 RSET W0 00 W0 00 PLS2 887 0000 0000 D10 D16 0 01 0 02 CNT 0000 D20 A280 03 100 02 A280 03 0 01 C0000 100 03 INI 880 000...

Page 294: ...ications and Operation Outline 1 2 3 1 PCBs with components mounted are stored in a stocker 2 When a stocker becomes full it is moved to the conveyance point Positioning Operation for Vertical Conveyo...

Page 295: ...Stocker Moving CIO 100 02 PCB Storage Enable CIO 100 03 SmartStep A series Servo Driver R88A CPU00 S and resistor 1 2 5 6 8 13 14 18 10 35 34 7 CW CW ECRST ECRST INP 33 ZCOM 32 Z 24VIN RUN RESET OGND...

Page 296: ...Area Settings Settings for PLS2 887 for Fixed distance Positioning D0 to D7 Settings for PLS2 887 to Return to Start D10 to D17 Setting details Enable origin search function for pulse output 0 Settin...

Page 297: ...ning Operation D20 Number of output pulses 10 000 15 pulses D14 49F0 D15 0002 Starting frequency 100 Hz D16 0000 D17 0000 Setting details Address Data Setting details Address Data Number of repeats of...

Page 298: ...rogress No Origin Flag Origin Search Completed Origin Search Completed Lift positioning start PCB Storage enabled PCB Stored PCB storage completed Lift positioning start PCB Storage enabled Positionin...

Page 299: ...ker movement is completed Lift positioning completed Stocker full Stocker Moving Stocker Moving Lower positioning start Stocker moving output Stocker moving output Stocker movement completed Lower pos...

Page 300: ...grasped at one position and moved back and forth to sev eral assembly positions Note The X and Y axes are moved independently i e interpolation is not per formed X axis Y axis Cylinder Workpieces gras...

Page 301: ...Example Using SmartStep A series Servo Driver Origin Search Switch CIO 0 00 Emergency Stop Switch CIO 0 01 SMARTSTEP A series Servo Driver X axis SMARTSTEP A series Servo Driver Y axis R88A CPU00 S an...

Page 302: ...p switch CIO 0 01 CW CW ECRST ECRST CCW CCW 1 6 k 1 6 k 1 6 k Shell Servo Driver RUN input Servo Driver alarm reset input 1 2 5 6 8 13 14 18 10 35 34 7 CW CW ECRST ECRST INP 33 ZCOM 32 Z 24VIN RUN RES...

Page 303: ...ations are performed continuously Move to A Move to B and return to A Move to C and return to A Move to D and return to A 3 An emergency stop can be performed using the Emergency Stop Input CIO 0 01 P...

Page 304: ...celeration rate 2 000 Hz 4 ms D11 07D0 Target frequency 100 000 Hz D12 86A0 D13 0001 Number of output pulses 5 000 pulses D14 1388 D15 0000 Y axis Acceleration rate 2 000 Hz 4 ms D20 07D0 Deceleration...

Page 305: ...ency 100 000 Hz D52 86A0 D53 0001 Number of output pulses 35 000 pulses D54 88B8 D55 0000 Y axis Acceleration rate 2 000 Hz 4 ms D60 07D0 Deceleration rate 2 000 Hz 4 ms D61 07D0 Target frequency 100...

Page 306: ...0 01 a08 a12 000003 000008 W0 01 W1 00 Positioning to A start W001 00 a54 W2 00 Positioning to A completed RSET W0 01 W000 01 a08 a12 000004 000012 Operation 2 Positioning to B W0 01 SET W0 02 W000 02...

Page 307: ...eted RSET W0 05 W000 05 a32 a36 000012 000036 Operation 4 Positioning to D W0 05 SET W0 06 W000 06 a38 a42 000013 000038 W0 06 W1 03 Positioning to D start W001 03 a75 W2 03 Positioning to D completed...

Page 308: ...P4 cD00002 c65 c71 c77 A280 03 Pulse output completed A281 03 pulse output completed W2 00 Positioning to A completed W002 00 a10 a22 a34 a46 000018 000063 Positioning to B Start and Completion for X...

Page 309: ...W1 03 Positioning to D start PLS2 887 0 1 D70 D0 OP1 OP2 OP3 OP4 cD00000 c58 c64 c70 PLS2 887 1 1 D80 D2 OP1 OP2 OP3 OP4 cD00002 c59 c65 c71 A280 03 Pulse output completed A281 03 pulse output comple...

Page 310: ...ting 0 04 Built in input A540 08 CW limit input signal X axis 000023 000086 0 05 Built in input A540 09 CCW limit input signal X axis 000024 000088 0 08 Built in input A541 08 CW limit input signal Y...

Page 311: ...al position when the Start Switch CIO 0 00 is activated 2 When the Marker Sensor Input 0 04 is received PLS2 887 is executed in interrupt task 140 3 Fixed distance positioning is executed with PLS2 88...

Page 312: ...rapping Material Setting details Enable using built in input IN0 as an interrupt input Setting details Address Data Acceleration rate 1 000 Hz 4 ms D0 03E8 Target frequency 10 000 Hz D1 2710 D2 0000 S...

Page 313: ...ning completed W0 00 Material being fed W000 00 a03 W0 00 Material being fed ACC 888 0 0 D0 OP1 OP2 OP3 A280 03 A280 04 W0 01 Material positioning completed W000 01 b04 000002 000010 Emergency Stop Pu...

Page 314: ...s are detected to trigger changes in the speed Pulses are read from the encoder and compared to set values during positioning to enable determining when a position requiring a speed change has been re...

Page 315: ...ng error occurs Positioning error occurs Command output Setting Actual Changing the speed is delayed Time If Positioning Accuracy Is Increased Frequency Calculated speed change point Points where spee...

Page 316: ...on your inverter and motor for details 2 The corresponding pulse output number 0 or 1 cannot be used for the PULSE WITH VARIABLE DUTY FACTOR instruction PWM if inverter positioning 0 or 1 is used The...

Page 317: ...2 N COM 01 03 05 07 09 11 01 03 05 07 09 11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 02 COM 05 07 IN OUT COMM CP1L SYSMAC CP1L L1 L2 N COM 01 03 0...

Page 318: ...y Area in increments of 0 01 Hz 6 The frequency command value output to the Auxiliary Area is output to the inverter from the ladder program according to the inverter command meth od i e RS 485 commun...

Page 319: ...uxiliary Area will turn ON By writing the ladder program to output a reverse operation com mand to the inverter for the Reverse Command Flag a command in the oppo site direction of motor shaft movemen...

Page 320: ...ruction Error counter present value Error counter error setting Error Counter Error Flag Output value cleared Error Counter Reset Bit Error counter cleared Motor shaft turned manually Error counter er...

Page 321: ...resent values for pulse output instructions Origin searches Motor driver and signal wire modes 3 modes Origin search modes 2 modes Origin detection methods 3 methods Feedback pulse input ports High sp...

Page 322: ...e the system Set inverter parameters Set PLC Setup Write ladder program Determine applicability Determine instructions to use PLS2 PULS SPED PULS ACC Etc For example the control method V f control or...

Page 323: ...n be used as input conditions to execute scaling to inverter frequency commands and to execute stop commands 5 3 6 Instruction Specifications The normal pulse output instructions are used PLS2 PULS SP...

Page 324: ...885 SPEED OUTPUT Controls pulse output without acceleration or deceleration The number of internal pulses must be set in advance with PULS 886 Applicable ACC 888 ACCELERATION CONTROL Controls pulse o...

Page 325: ...rt specifier 0020 hex Inverter positioning 0 0021 hex Inverter positioning 1 T Pulse type 0000 hex Relative 0001 hex Absolute N Number of pulses N lower 4 digits Relative pulses 0000 0000 to 7FFF FFFF...

Page 326: ...on Deceleration Rate 1 to 65 535 Hz 0001 to FFFF hex S 1 lower 4 digits Target Frequency in Hz Pulse output 0 to 3 0000 0000 to 0001 86A0 hex 0 to 100 kHz S 2 upper 4 digits Operand Description Operan...

Page 327: ...0020 hex Inverter positioning 0 0021 hex Inverter positioning 1 C Control data Bits 0 to 3 Not used Always set to 0 hex Bits 4 to 7 Not used Always set to 0 hex Bits 8 to 11 Not used Always set to 0...

Page 328: ...n position Flag Internal Pulse Output Flag Internal Pulse Acceleration Deceleration Flag Error Counter Error Flag Error Counter Alarm Flag Error Counter Sign Flag Operand Description P Port specifier...

Page 329: ...D Bit 0 Operation Command Flag ON Operation command in progress OFF Stopped Bit 1 Forward Command Flag ON Forward command in progress OFF Reverse command in progress or stopped Bit 2 Reverse Command F...

Page 330: ...LC Setup Gear ratio between motor and encoder shafts 1 4 machine specification Calculations The factor goes into the formula as shown below For example to output a power supply frequency of 10 Hz to t...

Page 331: ...Points origin searches cannot be used Origin searches are possi ble even if inverter position ing 0 is used Use Do not use Do not use When CPU Unit power is turned ON Setting Description Set value Def...

Page 332: ...mum output value the minimum output value will be output Set the minimum output value so that it is equal to or smaller than the maximum output value 1 to 65 535 Setting 0 is the same as setting 1 0 1...

Page 333: ...on Refresh timing Error counter cycle The calculation cycle of the error counter can be set If the cycle is too short when using a motor with a slow response pulses may easily accumulate in the error...

Page 334: ...for one motor revolution is 1 000 4 1 4 1 000 0 to 65 535 0 This setting is used when con verting the out put value to an inverter fre quency com mand When CPU Unit power is turned ON Setting Descript...

Page 335: ...0 6 0 01 incre ments This coefficient can be used to restrict the output range to prevent excessive values based on the internal pulse output value when the motor response is slow even if a large erro...

Page 336: ...tor specifications For example with a 1 800 r min 60 Hz motor 30 r s the power supply frequency for one revolution per second would be calculated as follows 60 Hz 30 r s 2 Hz 2 The encoder resolution...

Page 337: ...3 Modbus RTU Easy Master Function and to the inverter manual for details on Modbus RTU communications Note If the frequency command unit set in the inverter is 0 1 Hz divide the com mand frequency in...

Page 338: ...red analog output value Inverter frequency command value Hz Inverter s max output frequency Hz 6 000 CP1L Automatic calculations Inverter frequency command value Auxiliary Area A23 A33 6 000 Inverter...

Page 339: ...l inputs Origin search CIO 0 See note 1 00 Normal input 0 High speed counter 0 Phase A 01 Normal input 1 High speed counter 0 Phase B 02 Normal input 2 Pulse output 0 Origin proximity input signal CPU...

Page 340: ...owing times When power to CPU Unit is turned ON At start of operation When an error counter error occurs Updated at following times Cyclically according to error counter cycle This value can be used w...

Page 341: ...value is used when signed data is not required i e when using com munications or nor mal I O to specify the direction A24 00 to 15 Lower 4 digits of present value of signed output value output value p...

Page 342: ...sent value is greater than 0 i e positive Turned OFF at following times When error counter present value is less than 0 i e negative or zero When power to CPU Unit is turned ON When CPU Unit operation...

Page 343: ...tput OFF Pulse output stopped Turned ON at following times When pulse output to error counter is started Turned OFF at following times When pulse output to error counter is stopped including immediate...

Page 344: ...ack pulse from the encoder Operation is the same as for a high speed counter Use as the abso lute position of the workpiece posi tioned with inverter positioning A271 00 to 15 Upper 4 digits of high s...

Page 345: ...efresh timing Application examples Word Bits Function Data range Refresh timing Application examples A30 00 to 15 Lower 4 digits of present value of unsigned output value output value present value of...

Page 346: ...value is used when signed data is not required i e when using com munications or nor mal I O to specify the direction A34 00 to 15 Lower 4 digits of present value of signed output value output value p...

Page 347: ...sent value is greater than 0 i e positive Turned OFF at following times When error counter present value is less than 0 i e negative or zero When power to CPU Unit is turned ON When CPU Unit operation...

Page 348: ...tput OFF Pulse output stopped Turned ON at following times When pulse output to error counter is started Turned OFF at following times When pulse output to error counter is stopped including immediate...

Page 349: ...s turned ON When operation is started Updated at following times Cyclically on error counter cycle This value can be used to monitor the present value of the internal pulse output as an abso lute valu...

Page 350: ...n is started Updated at following times Cyclically on error counter cycle This value can be used to monitor the present value of the internal pulse output as an abso lute value when using absolute coo...

Page 351: ...for the for mula to convert the frequency and use the converted internal pulse frequency The number of output pulses is calculated from the encoder specifications and the high speed counter multiplie...

Page 352: ...4 06 COM COM COM COM 05 07 COM 02 COM 05 07 IN OUT COMM CP1W CIF11 CIF12 Speed Command via Serial Communications CP1L RS 485 communications Modbus RTU Inverter Standard motor Encoder 3G3MV 3G3RV Feedb...

Page 353: ...2 1 2 OFF ON Encoder Power supply 24 VDC Black Phase A White Phase B Orange Phase Z Brown Vcc Blue COM 24 VDC power supply 0 V 24 V Vcc 24 V 0 00 0 01 0 04 COM Differential phase Input Error counter 0...

Page 354: ...cations parameters must be set in the Inverter The settings of parameters n152 to n157 cannot be changed while communications are in progress Always set them before start ing communications RS 422A 48...

Page 355: ...ection 0 Decelerates to stop 1 Coasts to stop 0 0 n006 Reverse rotation prohibit selection 0 Reverse enabled 1 Reverse disabled 0 0 n011 Maximum frequency FMAX 50 0 to 400 0 Hz 0 1 Hz increments 60 0...

Page 356: ...communications Slave address Setting range 0 to 32 00 Communications disabled 01 to 32 Slave address 0 1 n154 RS 422A 485 baud rate selec tion 0 2 400 bps 1 4 800 bps 2 9 600 bps 3 19 200 bps 2 2 n15...

Page 357: ...er positioning 0 Set high speed counter 1 when using inverter positioning 1 2 Use linear mode for inverter positioning Inverter Positioning Settings on Inverter Positioning 0 or 1 Tab Page Ladder Prog...

Page 358: ...or counter is reset PLS2 887 0020 0000 D200 D300 0 05 Start input Inverter positioning 1 CW relative pulses Target frequency No of output pulses Starting frequency Setting details Address Data Acceler...

Page 359: ...Motor Revolution Error Counter Cycle x 4 ms The inverter frequency command value in A23 is accessed The value is stored in 0 01 Hz increments Internal Work Addresses Error counter Operation Inverter...

Page 360: ...2 frequency command value to bits 00 to 07 of D32206 register 0001 ORs D15 and D32206 register 0001 and stores the result in D32206 Reflect bit 09 of D15 in D32206 register 0001 Moves bit 00 of D10 Fo...

Page 361: ...erted internal pulse frequency The number of output pulses is calculated from the encoder specifications and the high speed counter multiplier Address Usage D1 Bits 00 to 03 Run Stop Command D2 Bits 0...

Page 362: ...1 01 03 05 07 09 11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 02 COM 05 07 IN OUT CH I OUT1 I OUT3 I OUT2 VOUT1 VOUT2 VOUT3 COM1 COM2 I OUT4 VOUT4...

Page 363: ...put word CIO 101 CH I OUT1 I OUT3 I OUT2 VOUT1 VOUT2 VOUT3 COM1 COM2 I OUT4 VOUT4 COM4 NC NC COM3 I OUT1 I OUT3 I OUT2 VOUT1 VOUT2 VOUT3 COM1 COM2 I OUT4 VOUT4 COM4 NC NC COM3 OUT SW1 PNP NPN S5 S6 S7...

Page 364: ...COM 24 V CP1L DT D Vcc Encoder Power supply 24 VDC Black Phase A White Phase B Orange Phase Z Brown Blue 0 V COM 24 V DC power supply 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 02 COM...

Page 365: ...l terminal 4 to 20 mA 4 Frequency reference control terminal 0 to 20 mA 5 Pulse train reference control terminal 6 Frequency reference through RS 422A RS 485 7 Multi function analog voltage input 0 to...

Page 366: ...ings on Built in Input Tab Page Note 1 Set high speed counter 0 when using inverter positioning 0 Set high speed counter 1 when using inverter positioning 1 2 Use linear mode for inverter positioning...

Page 367: ...ll not be accepted until the error counter is reset Execut ing a pulse output instruction will cause an error PLS2 887 0020 0000 D200 D300 0 05 Start input Inverter positioning 1 CW relative pulses Ta...

Page 368: ...results of U and UL are 1 so the value in A23 is moved directly to D102 with MOV Error counter Operation Inverter Inductive motor Encoder Outputs not accepted Forward Reverse Command Bit turned ON The...

Page 369: ...analog con version trigger T0 Address Usage D1010 Holds the frequency command value converted for the analog output resolution D1011 D1020 Holds the frequency command value converted from 0 01 Hz incr...

Page 370: ...g If stopping quickly is more important than precision increase the in position range The error counter cycle also affects the conversion between the output value and the inverter frequency command va...

Page 371: ...Links 387 6 3 9 Host Link Communications 388 6 4 Analog Adjuster and External Analog Setting Input 393 6 4 1 Analog Adjuster 393 6 4 2 External Analog Setting Input 393 6 5 Battery free Operation 394...

Page 372: ...t task when the count reaches the SV The maximum input response frequency for input interrupts in counter mode is 5 kHz Scheduled Interrupts This function executes an interrupt task at a fixed time in...

Page 373: ...lled task A processing will not be interrupted Task B processing will be started when task A is completed If two different types of interrupt occur simultaneously they are executed in the following or...

Page 374: ...just after the instruction to enable interrupts again a The following example shows duplicate processing by an interrupt task which interrupts processing of a B instruction between the first and third...

Page 375: ...OFF In the end 2 the D0 and D10 both contain 1234 and match but the correct comparison result is not reflected in comparison result output A B D0 0001 D0 DI EI Cyclic task Disables execution of inter...

Page 376: ...ts The 2 input bits CIO 0 04 to CIO 0 05 can be used for input interrupts Input Terminal Block of CPU Units with 14 I O Points The 4 input bits CIO 0 04 to CIO 0 07 can be used for input interrupts BS...

Page 377: ...erminal Block Example CPU Unit with AC Power Supply L1 L2 N COM 01 03 05 07 09 11 01 03 05 00 02 04 06 08 10 00 02 04 Input interrupt 0 Input interrupt 2 Input interrupt 3 Input interrupt 1 Input inte...

Page 378: ...interrupt 0 Interrupt task 140 05 Normal input 5 Normal input 5 Normal input 5 Normal input 5 Normal input 5 Normal input 5 Input interrupt 1 Interrupt task 141 06 Normal input 6 Normal input 6 Norma...

Page 379: ...ettings The MSKS 690 instruction must be executed in order to use input interrupts The settings made with MSKS 690 are enabled with just one execution so in general execute MSKS 690 in just one cycle...

Page 380: ...he CX Programmer to create the program to use for interrupt pro cessing and allocate the program to interrupt task 140 4 Use the CX Programmer to write MSKS 690 in the program Input interrupt number I...

Page 381: ...errupts Refer to 6 1 2 Input Interrupts Direct Mode for details The counter input mode can be set to up or down incrementing or decre menting with MSKS 690 The counter mode input interrupts start the...

Page 382: ...uted in order to use input interrupts The settings made with MSKS 690 are enabled with just one execution so in general execute MSKS 690 in just one cycle using an up differentiated condi tion MSKS 69...

Page 383: ...ogrammer to set a high speed counter SV of 00C8 hex 200 decimal in A533 5 Use the CX Programmer to write MSKS 690 in the program Operation When execution condition W0 00 goes ON MSKS 690 is executed t...

Page 384: ...measured by the CPU Unit s built in timer Interrupt task 2 is allocated to scheduled inter rupt Procedure PLC Setup Click the Timings Tab and set the input function to Scheduled Interrupt Inter val th...

Page 385: ...ntil the oth er interrupt task is completed When different kinds of interrupts are being used design the program to handle multiple interrupts smoothly Even if two interrupts occur at the same time th...

Page 386: ...ms 2 Use the CX Programmer to create the interrupt program allocated to inter rupt task 2 Operation When execution condition W0 00 goes ON MSKS 690 is executed to enable the scheduled interrupt with t...

Page 387: ...arison For details on the built in high speed counter refer to 5 1 High speed Counters Procedure W0 00 30 5 ms 30 5 ms 30 5 ms Cyclic task processing Interrupt task 2 Interrupt Interrupt task 2 Interr...

Page 388: ...to be used the bits in CIO 0 and CIO 1 can no longer be used for normal inputs input interrupts or quick response inputs Item Setting Use high speed counter 0 to 3 Use counter Counting mode Linear mod...

Page 389: ...B phase down or direction input 04 Normal input 4 Normal input 4 Normal input 4 Normal input 4 Counter 0 phase Z reset input Counter 0 phase Z reset input 05 Normal input 5 Normal input 5 Normal input...

Page 390: ...d counter 0 Phase Z or reset input 05 Normal input 5 High speed counter 1 Phase Z or reset input High speed counter 1 Phase Z or reset input 06 Normal input 6 High speed counter 2 Phase Z or reset inp...

Page 391: ...atch in range 3 A274 02 A275 02 ON for match in range 4 A274 03 A275 03 ON for match in range 5 A274 04 A275 04 ON for match in range 6 A274 05 A275 05 ON for match in range 7 A274 06 A275 06 ON for m...

Page 392: ...ue 1 0001 to 0030 hex 1 to 48 target values 0000 0000 to FFFF FFFF hex Target value 48 rightmost digits Target value 48 leftmost digits Task number for target value 48 0000 0000 to FFFF FFFF hex Inter...

Page 393: ...1000 or 1001 PWM 891 output 0 or 1 C Control data 0000 Start comparison 0001 Stop comparison 0002 Change the PV 0003 Stop pulse output NV First word of new PV NV and NV 1 contain the new PV when C is...

Page 394: ...arting at word D20000 Even though range 1 is the only range being used all 40 words must still be dedicated to the range comparison table W0 00 CTBL 882 0000 0000 D10000 Use high speed counter 0 First...

Page 395: ...nge 2 lower and upper limit values Not used and don t need to be set Range 2 settings D20009 FFFF Disables range 2 D20014 D20019 D20024 D20029 D20034 FFFF Set the fifth word for ranges 3 to 7 listed a...

Page 396: ...the Built in Input Tab to display the Interrupt Input settings at the bottom of the tab Set the input function from Normal to Quick for each input that will be used as a quick response input Bit Alloc...

Page 397: ...ick response input 0 L1 L2 N COM 01 03 05 07 09 11 00 02 04 06 08 10 Upper Terminal Block CPU Unit with AC Power Supply Quick response input 1 Quick response input 3 Quick response input 5 Quick respo...

Page 398: ...O Points CIO 0 00 Normal input 0 Normal input 0 Normal input 0 Normal input 0 Normal input 0 Normal input 0 01 Normal input 1 Normal input 1 Normal input 1 Normal input 1 Normal input 1 Normal input...

Page 399: ...nterrupts or high speed counter inputs Item Specification ON delay 30 s max OFF delay 150 s max Response pulse ON OFF 30 s min 150 s min Select quick response inputs Wire inputs PLC Setup settings Whe...

Page 400: ...5 instructions are exe cuted from the program to transmit data from the trans mission port or read data in the reception port The frame headers and end codes can be specified OK OK Serial gate way to...

Page 401: ...be exchanged with PTs without using a communi cations program in the CPU Unit OK OK Host Link Host computer or OMRON PT Programmable Terminal 1 Various control commands such as reading and writing I...

Page 402: ...n RS 232C or RS 422A 485 port using TXD 236 or RXD 235 Peripheral bus toolbus CX Programmer Provides high speed communi cations with the CX Program mer OK OK 1 1 NT Links OMRON PTs Programmable Termin...

Page 403: ...eader Transfer direction Method Max amount of data Frame format Other functions Start code End code Data transmission PLC External device Execution of TXD 236 in the program 256 bytes Yes 00 to FF No...

Page 404: ...the first end code will be effective If the data being transferred contains the end code the data transfer will be stopped midway In this case change the end code to CR LF Set the PLC Setup from the...

Page 405: ...C or RS 422A 485 Option Board is used the CP1L CPU Unit can function as a Modbus RTU Master to send Modbus RTU commands by manipulating software switches This enables easily controlling Modbus com pli...

Page 406: ...99 Serial port 2 D32350 to D32399 L type CPU Units Serial port 1 D32350 to D32399 15 08 07 00 D32200 D32201 D32202 D32203 OMRON Inverters 3G3JV 3G3MV or 3G3RV Communications are easily achieved by sim...

Page 407: ...illegal 0x03 Data length overflow There are more than 94 data bytes 0x04 Serial communica tions mode error The Modbus RTU Easy Master function was executed when the serial communications mode was not...

Page 408: ...Unit The communications mode in the PLC Setup must be set to the Gateway Mode to enable this functionality Word Bit Port Contents A640 00 M type CPU Units Serial port 2 L type CPU Units Serial port 1...

Page 409: ...SAPs from an NS series PT Using Function Blocks in CPU Unit OMRON components that support CompoWay F or Modbus RTU slave functionality NS series PT Smart Active Parts RS 232C XW2Z 200T 500T Cable CP1...

Page 410: ...Links cannot be used on serial ports 1 and 2 at the same time If one port is set as a Serial PLC Link slave or master it will not be possible to set the other port for a Serial PLC Link A PLC Setup e...

Page 411: ...232C or RS 422A 485 Shared data CP1L CPU Unit Polled Unit CJ1M CPU Unit Polling Unit RS 232C or RS 422A 485 Shared data Item Specifications Applicable serial ports Serial port 1 or 2 Both ports cannot...

Page 412: ...in the Polling Unit only Polling Unit Polled Unit No 0 Polled Unit No 1 Polled Unit No 3 Local area Polling Unit Polling Unit Polling Unit Polled Unit No 0 Local area Polled Unit No 0 Polled Unit No 0...

Page 413: ...Polling Unit Polled Unit No 0 Polled Unit No 1 Polled Unit No 3 Local area Polling Unit Polling Unit Polling Unit Polled Unit No 0 Local area Local area Local area Polled Unit No 1 Not used Not used...

Page 414: ...3117 CIO 3124 to CIO 3126 CIO 3180 to CIO 3189 CIO 3199 Not used CIO 3109 to CIO 3199 CIO 3118 to CIO 3199 CIO 3127 to CIO 3199 CIO 3190 to CIO 3199 Address Link words 1 word 2 words 3 words to 10 wo...

Page 415: ...e Polled Unit Note Both serial ports cannot be used for PLC Links at the same time If both ports are set for PLC Links either as polling node or polled node a PLC Setup set ting error non fatal error...

Page 416: ...ively Serial Port 1 Restart Bit A526 01 Turn ON this bit to restart serial port 1 Read write Cleared when power is turned ON Turn ON to restart serial port 1 except when communicating in peripheral bu...

Page 417: ...ively Serial Port 2 Restart Bit A526 00 Turn ON this bit to restart Serial Port 2 Read write Cleared when power is turned ON Turn ON to restart Serial Port 2 except when communicating in peripheral bu...

Page 418: ...ly Serial Port 1 Restart Bit A526 00 Turn ON this bit to restart Serial Port 1 Read write Cleared when power is turned ON Turn ON to restart Serial Port 1 except when communicating in peripheral bus m...

Page 419: ...a 1 1 Link Slave in the PLC Setup Set the other PLC to the opposite setting Link Area Size The 1 1 Link Area in the CP1L is from CIO 3000 to CIO 3015 16 words Even if a 1 1 Link is created with a CQM1...

Page 420: ...tions are possible with PTs Programmable Ter minals using NT Links in 1 N mode Note Communications are not possible using the 1 1 mode NT Link protocol High speed NT Links are possible in addition to...

Page 421: ...Link protocol 1 1 NT Links in which one PLC is connected to one PT and 1 N NT Links in which one PLC is connected to more than one PT Connections With the NT Link protocol the PLC auto matically respo...

Page 422: ...11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 02 COM 05 07 IN OUT COMM COMM Host link command C Mode Host link command OR Directly connect the host...

Page 423: ...tor sent OR Directly connect the host computer in a 1 1 or 1 N system SYSMAC CP1L L1 L2 N COM 01 03 05 07 09 11 01 03 05 07 09 11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 C...

Page 424: ...ponse from the host computer A program is required in the host computer Type Header code Name Function I O mem ory read commands RR CIO AREA READ Reads the contents of the specified number of CIO Area...

Page 425: ...ion W SV CHANGE 2 Searches for the specified timer counter instruction beginning at the speci fied program address and changes the 4 digit constant or word address in the SV W SV CHANGE 3 Searches for...

Page 426: ...s Com mands 03 06 PROGRAM AREA READ Reads data from the user program area 03 07 PROGRAM AREA WRITE Writes data to the user program area 03 08 PROGRAM AREA CLEAR Clears the specified range of the user...

Page 427: ...juster may vary with changes in the ambient temperature and the power supply voltage Do not use it for applications that require highly precise set values 6 4 2 External Analog Setting Input When a vo...

Page 428: ...alues 6 5 Battery free Operation 6 5 1 Overview With the CP1L CPU Unit saving backup data in the built in flash memory non volatile memory enables operation with no battery mounted i e bat tery free o...

Page 429: ...the Auxiliary Area becomes unstable When the Output OFF Flag turns ON all outputs turn OFF so include the following program for clearing the Output OFF Flag at the start of operation Do not reference...

Page 430: ...itial values are held during power interruptions with a bat tery If there is a battery error the contents of these areas may not be accu rate after a power interruption If HR Area data counter PVs and...

Page 431: ...values can then be automatically written to the DM Area D0 to D32767 when the power is turned ON 6 6 2 Mounting and Removing a Memory Cassette Mounting 1 2 3 1 Turn OFF the power supply to the PLC an...

Page 432: ...it Note 1 Turn OFF the power supply before mounting or removing the Memory Cassette 2 Absolutely do not remove the Memory Cassette while the BKUP indicator is flashing i e during a data transfer or ve...

Page 433: ...o be written select the operating mode after automatic transfer at startup PROGRAM mode default Used e g to copy the system Use PLC Setup Used e g for operation with the Memory Cassette 3 Execute any...

Page 434: ...be specified individually This function can be used for operations such as confirmation after data has been written to the Memory Cassette or confirming that the data in the backup matches the data i...

Page 435: ...the Memory Cassette and the CPU Unit is set to use the operating mode specified in the PLC Setup as the operating mode after automatic transfer at startup operation can be started without cycling the...

Page 436: ...the CPU Unit operating mode is PROGRAM mode The Memory Cassette transfer function cannot be used in either RUN or MONITOR mode When using automatic transfer from a Memory Cassette at startup be sure...

Page 437: ...section and set DIP switch pin SW2 to ON 4 Turn ON the power supply to the CPU Unit 5 The automatic transfer from the Memory Cassette will begin The rest of the procedure assumes that the operating m...

Page 438: ...e power supply to the CPU Unit Note If when the data is transferred to the Memory Cassette the operating mode specified in the PLC Setup is set as the operating mode after automatic trans fer at start...

Page 439: ...s possible to read protect individual program tasks referred to as task read protection below or the entire PLC The same password controls access to all of the read protected tasks Task read protectio...

Page 440: ...registered in step 2 will be password protected Note The program can be transferred after step 1 above and then pass word protection be set by selecting PLC Protection Set Pass word The tasks registe...

Page 441: ...read protected If required set read protection individually for each function block Prohibiting Backing Up the Programs to a Memory Cassette Overview When a password is set for the entire user progra...

Page 442: ...g creating a program file OBJ as a backup can be set as an option Doing so will make it impossible to create a program file in file memory using the file memory operations This setting will also prohi...

Page 443: ...rogram tasks are read protected OFF Task read protection is not set ON Task read protection is set Program Write Protec tion for Read Protec tion A99 02 Indicates whether or not the write protection o...

Page 444: ...be confirmed by checking the contents of A90 to A97 Auxiliary Area Words Pin Name Settings SW1 User Program Memory Write Protection ON Protected OFF Not protected Name Address Description User Program...

Page 445: ...am read protection is not enabled Operating Procedure 1 2 3 Table 1 When registering a password in the UM read protection password Box or Task read protection Box select the Prohibit from overwriting...

Page 446: ...number is stored in A310 and A311 and can be used to prevent the program from being executed on a CPU Unit with the wrong lot number The following instructions can be added to the program to create a...

Page 447: ...allows program execution to con tinue and FALS 007 generates a fatal error that stops program execution When the user defined error conditions i e the execution conditions for FAL 006 or FAL 007 are m...

Page 448: ...utput from being turned ON Time Monitoring Function FPD 269 starts timing when it is executed and turns ON the Carry Flag if the diagnostic output isn t turned ON within the specified monitoring time...

Page 449: ...or both FAL 006 and FALS 007 2 Set the FAL or FALS number to use for simulation as the first operand of FAL 006 or FALS 007 Name Address Operation Error Code A400 When an error occurs the error code i...

Page 450: ...s can be turned OFF by turning ON the Output OFF Bit A500 15 The operating mode will remain in RUN or MONITOR mode but all outputs will be turned OFF Note Normally when IOM Hold Bit OFF all outputs fr...

Page 451: ...led or the battery voltage is low Name Addresses Function Clock data A351 to A354 A351 00 to A351 07 Second 00 to 59 BCD A351 08 to A351 15 Minute 00 to 59 BCD A352 00 to A352 07 Hour 00 to 23 BCD A35...

Page 452: ...6 Power ON Clock Data 10 A747 to A749 Operation Start Time A515 to A517 The time that operation started year month day of month hour minutes and seconds Operation End Time A518 to A520 The time that o...

Page 453: ...sion I O Units 7 1 Connecting Expansion Units and Expansion I O Units 420 7 2 Analog Input Units 421 7 3 Analog Output Units 430 7 4 Analog I O Units 438 7 4 1 CPM1A MAD01 Analog I O Units 438 7 4 2 C...

Page 454: ...nt consumption mA I O words 5 VDC 24 VDC Input Output Expansion Units Analog Input Unit CP1W AD041 CPM1A AD041 100 90 4 2 Analog Output Unit CP1W DA041 CPM1A DA041 80 124 4 Analog I O Unit CPM1A MAD01...

Page 455: ...of 1 to 5 V and 4 to 20 mA The Analog Input Unit uses four input words and two output words so a maximum of three Units can be connected Part Names CP1W AD041 CPM1A AD041 1 Analog Input Terminals Con...

Page 456: ...common 2 V IN3 Voltage input 3 I IN3 Current input 3 COM3 Input common 3 V IN4 Voltage input 4 I IN4 Current input 4 COM4 Input common 4 CH I IN1 I IN3 I IN2 VIN1 VIN2 VIN3 COM1 COM2 I IN4 VIN4 COM4 N...

Page 457: ...ted input 15 V 30 mA External input impedance 1 M min Approx 250 Resolution 1 6000 full scale Overall accuracy 25 C 0 3 full scale 0 4 full scale 0 to 55 C 0 6 full scale 0 8 full scale A D conversion...

Page 458: ...ange of data that can be converted is FED4 to 189C hex 300 to 6 300 A negative voltage is expressed as two s complement Voltage in the 1 to 5 V range corresponds to hexadecimal values 0000 to 1770 0 t...

Page 459: ...onverted data will be set to 8 000 The time for enabling or clearing the open circuit detection function is the same as the time for converting the data If the input returns to the convertible range t...

Page 460: ...Analog Input Unit Ladder program Analog input 1 conversion value Analog input 2 conversion value Analog devices Temperature sensor Pressure sensor Speed sensor Flow sensor Voltage current meter Other...

Page 461: ...line install a noise filter on the input section and the power supply 5 Refer to the following information on open circuits when using voltage in puts 2 Wiring Analog Inputs AG Analog input 4 Analog...

Page 462: ...ut of about 1 3 to 1 2 If the 1 to 5 V range is being used the open circuit detec tion function will not operate Also if there is an open circuit at C the open cir cuit detection function will not ope...

Page 463: ...s turned ON it will require two cycle times plus approximately 50 ms before the first conversion data is stored in the input words Therefore create a program as shown below so that when operation begi...

Page 464: ...to 20 mA The Analog Input Unit uses four output words so a maximum of three Units can be connected Analog input Input range Range code Averaging Set data Destination word Input 1 0 to 10 V 01 Yes 1101...

Page 465: ...to a CP1L CPU Unit For CP1L M type CPU Units a maximum of three Units can be connected including other Expansion Units and Expansion I O Units CH I OUT1 I OUT3 I OUT2 VOUT1 VOUT2 VOUT3 COM1 COM2 I OU...

Page 466: ...2 ms point 8 ms all points Isolation method Photocoupler isolation between analog I O terminals and internal circuits No isola tion between analog I O signals Current consumption 5 VDC 80 mA max 24 VD...

Page 467: ...to 10 V The entire output range is 0 5 to 10 5 V Specify a negative voltage as a two s complement 1 to 5 V The hexadecimal values 0000 to 1770 0 to 6000 correspond to an analog voltage range of 1 to...

Page 468: ...nect and wire Units Create a ladder program Connect Analog Output Units Wire to analog input devices Write range code to output words n 1 n 2 Set use of outputs Select output signals using range codes...

Page 469: ...e operation status and then turn ON the power at the load Turn OFF the power to the load and then turn OFF the power to the CP1L CPU Unit 1 Connecting the Analog Output Unit CH I OUT1 I OUT3 I OUT2 VO...

Page 470: ...when the range code has been written until data in the analog out put convertible range is written 0 V or 0 mA will be output in the 0 to 10 V 10 to 10 V and 0 to 20 mA ranges and 1 V or 4 mA will be...

Page 471: ...mA range 0 V or 0 mA will be output for a CPU error I O bus error and 1 V or 1 mA will be output for all other errors Expansion Unit errors are output to bits 0 to 6 of word A436 The bits are allocat...

Page 472: ...1 256 when the range is set to 0 to 10 VDC or 4 to 20 mA or a resolution of 1 512 when set to 10 to 10 VDC Part Names MOV 021 80C9 102 TIM5 0002 P_On D200 102 T5 MOV 021 D202 104 T5 MOV 021 MOV 021 8...

Page 473: ...The cable is provided with the Analog I O Unit and cannot be removed Caution Do not touch the cables during operation Static electricity may cause operat ing errors 3 Expansion Connector Used for con...

Page 474: ...N C N C N C C H E X P IN 00 02 01 C OM 0 3 C OM 0 5 07 04 06 C H 00 01 02 03 08 09 10 11 8ED E X P CP1L M type CPU Unit CP1W 20EDR1 CPM1A 20EDR1 Expansion I O Unit CP1W 8ED CPM1A 8ED Expansion I O Un...

Page 475: ...80 FF 00 20 mA 12 mA Input signal 1 V 0 mA 0 to 10 V inputs Conversion value 1 to 5 V inputs Conversion value 4 to 20 mA inputs Conversion value 0 1 2 3 4 5 6 7 8 9 10 00 0080 00FF 5 4 3 2 10 9 8 7 6...

Page 476: ...L L1 L2 N COM 01 03 05 07 09 11 01 03 05 07 09 11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 02 COM 05 07 IN OUT IN OUT V O U T CO M IIN 1 VIN 2 CO...

Page 477: ...IIN 7 When there is noise in the power supply line install a noise filter on the input section and the power supply terminals Creating a Ladder Program I O Allocation Two input words and one output wo...

Page 478: ...1 the range code will not be received by the Analog I O Unit and ana log I O conversion will not start Range code Analog input 1 signal range Analog input 2 signal range Analog output signal range FF...

Page 479: ...n 1 Word m 1 Word m 2 CPU Unit Analog I O Unit Writes the range code Reads the conversion value Analog input 1 conversion value Analog input 2 conversion value m is the last input word and n is the l...

Page 480: ...imes plus approx 100 ms before the first data is converted The following instructions can be placed at the beginning of the program to delay reading converted data from analog inputs until conversion...

Page 481: ...or 4 to 20 mA Analog output 0 to 10 V or 4 to 20 mA MOV 021 2 D0 0 Always ON P_On TIM T0 TIM 0 will start as soon as power turns ON After 0 2 to 0 3 s 200 to 300 ms the input for TIM 0 will turn ON an...

Page 482: ...to 5 VDC 0 to 10 VDC 10 to 10 VDC 0 to 20 mA or 4 to 20 mA The outputs have a resolution of 1 6000 Part Names 1 Analog I O Terminals Connected to analog I O devices Note For current inputs short V IN...

Page 483: ...or analog input 0 OFF Average processing not performed ON Average processing performed Pin2 Average processing for analog input 1 OFF Average processing not performed ON Average processing performed S...

Page 484: ...ull scale for 10 to 10 V F448 to 0BB8 hex Full scale for other ranges 0000 to 1770 hex Averaging function Supported Settable for individual inputs via DIP switch Open circuit detection function Suppor...

Page 485: ...ange is FED4 to 189C 300 to 6300 A negative voltage is expressed as a two s complement 0 to 5 V The 0 to 5 V range corresponds to the hexadecimal values 0000 to 1770 0 to 6000 The entire data range is...

Page 486: ...9C 300 to 6300 A negative voltage is expressed as a two s complement 4 to 20 mA The 4 to 20 mA range corresponds to the hexadecimal values 0000 to 1770 0 to 6000 The entire data range is FED4 to 189C...

Page 487: ...o 10 V The entire output range is 0 5 to 10 5 V Specify a negative voltage as a two s complement 1 to 5 V The hexadecimal values 0000 to 1770 0 to 6000 correspond to an analog voltage range of 1 to 5...

Page 488: ...terval Open circuit Detection Function for Analog Inputs The open circuit detection function is activated when the input range is set to 1 to 5 V and the voltage drops below 0 8 V or when the input ra...

Page 489: ...lues MOV 21 MOVE instruction Ladder program Range code Word n 1 Word m 1 Word m 2 CPU Unit Analog I O Unit Writes the range code Reads the converted values Analog input 0 converted value Analog input...

Page 490: ...an be set separately for ana log inputs 1 and 2 Wiring Analog I O Devices Internal Circuits DIP switch pin Function Setting Default 1 1 Averaging Analog input 0 OFF Disabled ON Enabled OFF 1 2 Analog...

Page 491: ...ower supply line install a noise filter on the input section and the power supply terminals I OUT V IN0 COM0 V OUT COM I IN0 I IN1 V IN1 COM1 NC NC AG NC NC NC NC V OUT Voltage output I OUT Current ou...

Page 492: ...roximately 1 3 to 1 2 of the output voltage of the other con nected device will be generated If that voltage is generated while the setting is for 1 to 5 V open circuit detection may not be possible A...

Page 493: ...s will be 0000 and 0 V or 0 mA will be output After the range code has been set 0 V or 0 mA will be output for the 0 to 10 V 10 to 10 V or 0 to 20 mA ranges and 1 V or 4 mA will be output for the 1 to...

Page 494: ...been written After the range code has been written the analog output data will be 0 V or 0 mA if the range is 0 to 10 V 10 to 10 V or 0 to 20 mA or it will be 1 V or 4 mA if the range is 1 to 5 V or...

Page 495: ...TS002 TS102 and CPM1A TS002 TS102 Temperature Sensor Units are each allocated four input words MOV 021 8051 102 First Cycle ON Flag A200 11 TIM5 0002 Always ON Flag P_On 002 D0 T5 MOV 021 P_EQ 110 00...

Page 496: ...erating errors 5 Expansion Connector Used for connecting Expansion Units or Expansion I O Units Main Specifications 5 Expansion Connector 1 Temperature Sensor Input Terminals 4 Expansion I O Connector...

Page 497: ...larger of 0 5 of converted value or 2 C 1 digit max See note The larger of 0 5 of converted value or 1 C 1 digit max Conversion time 250 ms for 2 or 4 input points Converted temperature data 16 bit b...

Page 498: ...etting may cause operating errors The rotary switch is used to set the temperature range SW1 Setting 1 Temperature unit OFF C ON F 2 Number of decimal places used See note 0 01 expression OFF Normal 0...

Page 499: ...or attached at the time of delivery If the cold junction compensator is removed the Unit will not be able to measure temperatures correctly Each of the input circuits is calibrated with the cold junct...

Page 500: ...ions Temperature Sensor Units are allocated words as Expansion Units in order of connection A Temperature Sensor Unit is allocated the next input words fol lowing the input words of the CPU Unit or pr...

Page 501: ...be set to 7FFF The open circuit detection function will also operate if the cold junction compensator is faulty The open circuit detection function will be automatically cleared and nor mal input tem...

Page 502: ...d two bits each Use these flags in the program when it is necessary to detect Expansion Unit Expan sion I O Unit errors When an error occurs the Temperature Sensor Unit data becomes 7FFF hex the same...

Page 503: ...N when input 1 has been initialized Execution condition Detects an open circuit alarm or Unit error by checking converted temperature data for the error code 7FFF ON when an open circuit alarm or Unit...

Page 504: ...BCD 024 0001 D1 MOV 021 Execution condition ON when input 0 has been initialized Detects an open circuit alarm or Unit error by checking whether the error code 7FFF has been output ON when an open ci...

Page 505: ...0 01 C F For this reason there may be skipping and inaccuracies in the first digit after the decimal point 0 1 Treat any reso lution above that specified for the normal data format as reference data 2...

Page 506: ...5 11 12 13 14 Leftmost Rightmost Flag 0 Leftmost 1 Rightmost Temperature Unit Flag 0 C 1 F Open circuit Flag 0 Normal 1 Error Not used Always 0 Leftmost Rightmost Flag Indicates whether the leftmost o...

Page 507: ...Rightmost 3 Digits and Flags Flags Bits Data 15 1 14 0 13 0 12 0 11 to 08 8 07 to 04 E 03 to 00 4 8 8 E 4 Flags Normal C Leftmost Normal C Rightmost 165 164 163 162 161 160 Temperature data Temperatur...

Page 508: ...input 0 is stored in binary form in D100 to D102 Leftmost 3 Digits and Flags Flags Bits Data 15 0 14 1 13 1 12 0 11 to 08 7 07 to 04 F 03 to 00 F 6 7 F F Flags Rightmost 3 Digits and Flags Flags Bits...

Page 509: ...4 5 Leftmost and rightmost digits rearranged and moved to CIO 2002 and CIO 2001 MOVD 083 MOVD 083 Data rearrangement completed 2000 02 CLC 041 2001 D100 BCDL 059 2002 07 non negative data 2002 07 neg...

Page 510: ...the slave CPU Unit and the CPU Unit to which the Master Unit is connected CIO 2000 CIO 2002 CIO 2 Leftmost 3 digits of temperature data 0 165 164 163 0 0 165 164 CIO 2001 164 163 161 160 0 165 164 16...

Page 511: ...CompoBus S I O Link Unit Node number 0 Model number CP1W SRT21 CPM1A SRT21 Master slave CompoBus S Slave Number of I O points 8 input points 8 output points Number of words allocated in CPU Unit I O...

Page 512: ...D 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 ON 0 OFF ON OFF ON OFF Long distance communications mode See note High speed communications mode Retain inputs after a communications error Clear inputs after...

Page 513: ...S I O Link Unit is connected as the first Unit after the CP1L CPU Unit Connect the Unit Determine the node address of the CompoBus S I O Link Unit and set the DIP switch Wire the CompoBus S transmiss...

Page 514: ...nd accept the data only when the two values match 2 Unused bits in the CompoBus S I O Link Unit s output word can be used as work bits but unused bits in the output slaves cannot be used as work bits...

Page 515: ...OFF ON OFF Long distance communications mode See note High speed communications mode Retain inputs after a communications error Clear inputs after a communications error ON 1 2 4 8 DR HOLD SW1 8 4 2 1...

Page 516: ...e CPU Unit and the CP1L CPU Unit to which the Master Unit is con nected Note Refer to the DeviceNet Slaves Operation Manual W347 for details on DeviceNet networks Specifications CP1H CPU Unit PLC supp...

Page 517: ...me way as other Expansion Units and Expansion I O Units Node number setting Set using the rotary switches Set before turning ON the CPU Unit s power supply Communications current con sumption 48 mA Ba...

Page 518: ...ined by the order in which the Expansion Units and Expansion I O Units are connected The Unit nearest to the CPU Unit uses A436 00 Use these flags in the pro gram when it is necessary to detect errors...

Page 519: ...ords allocated to the DeviceNet I O Link Unit are used to read and write data between the CPU Unit of the DeviceNet I O Link Unit and the CPU Unit of the DeviceNet master as shown in the following ill...

Page 520: ...e is from 00 to 63 and 64 to 99 cannot be set Rotary switch settings go into effect when the power is turned ON Note The actual range of node numbers that can be set depends on the type of PLC to whic...

Page 521: ...the following connectors Note Use the XW4B 05C4 TF D when wiring multidrop connections using Thick Cables Use the following screwdriver for the above connector Pin 4 DeviceNet baud rate OFF Clears rem...

Page 522: ...ponse Time Refer to the DeviceNet Slaves Operation Manual W347 for details on the response time The data read write time for one cycle for the CPM1A DRT21 is approximately 0 5 ms Add a maximum of 1 ms...

Page 523: ...8 5 3 Operation Examples 497 8 6 LCD Option Board Function 499 8 6 1 Function Overview 499 8 6 2 PLC Mode 502 8 6 3 I O Memory Setting 503 8 6 4 PLC Setup 508 8 6 5 Analog 510 8 6 6 Error 511 8 6 7 M...

Page 524: ...egister up to 16 screens Timer Switch Preset the timer including Day Weekly and Calendar Timer Each timer can execute a trans day trans week or trans year operation So a 24 hours control will be effec...

Page 525: ...ight 20g max Screen size 2 6cm 1 45cm Total characters on screen 4 lines 12 characters Font size 5 7 dot Backlight color Green Red Display language English Japanese Katakana Ambient operating temperat...

Page 526: ...l move for ward continuously c Up Move the line cursor up Change numerals and parameters Press and hold the button the line cursor will move up contin uously and the parameters will increase continuou...

Page 527: ...at the same time to unlock the cover and then pull the cover out 2 Check the alignment to make the corner cut of the LCD Option Board fit in the Option Board slot 1 and firmly press the LCD Option Bo...

Page 528: ...display Clock Screen as shown below Clock Screen Startup Failure If EEPROM is faulty LCD will display EEPROM Error Screen and the red backlight will blink Refer to 8 7 Trouble Shooting EEPROM Error S...

Page 529: ...appeared automatically after control bit is OFF 3 In the Setup Mode if there is no operation for 10 minutes LCD will auto matically switch to the Monitor Mode Monitor Mode Power to the CPU Unit turns...

Page 530: ...itch to another Message Screen 3 If another control bit is ON when one Message Screen is diplayed the dis play will not change until one of the control bit is OFF Control bit is OFF Clock Screen User...

Page 531: ...y will not switch to the Message Screen but return to the Clock Screen 8 5 3 Operation Examples With actual operation examples the main operation flow of the LCD Option Board as shown below Menu Selec...

Page 532: ...it is read only 2 Use the Forward button to move the column cursor to the digit to be set Use the Down or Up button to change the value of each digit The screen display will be updated immediately aft...

Page 533: ...button to cancel the setting and return to the previous screen 8 6 LCD Option Board Function This section describes the functions of the LCD Option Board including how to monitor and make settings for...

Page 534: ...d data from memory cassette to PLC Save data from PLC to memory cassette Compare data between PLC and memory cassette Clear data in memory cassette Refer to Page 514 for details User Monitor Screen Se...

Page 535: ...operations Load user settings from DM area Save user settings to DM area So user can save the user settings to the DM area of the PLC from one LCD Option Board and load to other LCD Option Boards fro...

Page 536: ...ge the PLC Mode from RUN to PRG 1 2 3 1 Switch to the Setup Mode 2 Press the OK button to enter the Mode Screen There is a choice of 3 PLC modes RUN MON PRG The line cursor will point to the present P...

Page 537: ...wn button to select DM 5 Press the OK button to enter the Monitor Screen of I O memory DM The following table shows the setting items The first digit of the leading word address will be flashing The p...

Page 538: ...the Down or Up button to select the data length LW Select the data length in the following table Then it will display two word data on D10001 to D10002 D10003 to D10004 with unsigned decimal number N...

Page 539: ...the Down button to select WR 5 Press the OK button to enter the Monitor Screen of I O memory WR 6 Use the Forward button to move the column cursor to the data length po sition Press the Down or Up bu...

Page 540: ...creen of I O memory W509 The following table shows the setting items Note If the display format is a decimal number or or the data length is a LongWord user cannot make a setting for bit 12 Move the c...

Page 541: ...ward button to move the column cursor to the bit state position The present state is ON The state ON or OFF is according to PLC 17 Press the Down or Up button to select the bit state OFF Note If bit f...

Page 542: ...The address of CPU Unit Operating Mode is always 081 so there is no need to change the address 5 Use the Up button to select RUN Note Before changing the CPU Unit Operating Mode make sure that the pr...

Page 543: ...ll be flashing The range of the address is 000 to 511 6 Use the Up button to change the address to 080 After the address is changed the value of PLC Setup will be updated im mediately 7 Use the Forwar...

Page 544: ...he Setup Mode 2 Press the Down button to select Analog 3 Press the OK button to enter the Analog menu 4 Press the OK button to enter the Monitor Screen of analog setting Line 2 will display the value...

Page 545: ...ing Error History Example Display the list of error history and then clear it 1 2 3 1 Switch to the Setup Mode 2 Press the Down button to select Error 3 Press the OK button to enter the Error menu 4 P...

Page 546: ...n to enter the Error Clear Screen 9 Press the Down button to select OK Note Selecting Cancel will result in a return to the previous screen 10 Press the OK button to clear the error history When the c...

Page 547: ...e displayed 6 Press the Down button to select CLR Err 7 Press the OK button to enter the Error Clear Screen 8 Press the Down button to select OK 9 Press the OK button to clear the memory error in the...

Page 548: ...the Setup Mode 2 Press the Down button to select MC 3 Press the OK button to enter the Memory Cassette menu The following table shows the setting items Select the operation mode in the following tabl...

Page 549: ...ample Save data from the PLC to Memory Cassette 1 2 3 1 Switch to the Setup Mode 2 Press the Down button to select MC 3 Press the OK button to enter the Memory Cassette menu 4 Press the Down button to...

Page 550: ...on to start saving A rate of saving will be displayed in the screen 9 When the rate comes up to 0 the saving is finished Then it will display a complete screen Comparing Data between PLC and MC Exampl...

Page 551: ...OK button to start comparing A rate of comparison will be displayed in the screen 8 When the rate comes up to 0 the comparing is finished Then it will dis play a result of comparison Clearing Memory...

Page 552: ...reen This function can set or delete User Monitor Screen It is possible to register up to 16 screens User can monitor his necessary data in the User Monitor Screen Each User Monitor Screen includes 4...

Page 553: ...ward button to move the column cursor to the Line No position The present setting is Line 1 9 Use the Forward button to move the column cursor to the display type po sition The following table shows t...

Page 554: ...format position Select the display format in the following table Display type Default address Range Word IO 0000 0000 to 6143 WR 000 000 to 511 HR 000 000 to 511 AR 000 000 to 959 TIM 0000 0000 to 40...

Page 555: ...o save the setting 19 Press the ESC or OK button to return to the User Monitor Setup Screen 20 Press the ESC button three times to return to the Monitor Mode Switch to the User Monitor Screen 2 with t...

Page 556: ...menu 4 Press the OK button to enter the User Monitor Setup Screen 5 Use the Up button to change the Screen No to 2 The setting in example 1 will be displayed 6 Use the Forward button to move the colu...

Page 557: ...2 Note 1 The default text string is NULL 2 The max length of text string is 12 characters Changing User Monitor Screen User can not only change the date displayed in the User Monitor Screen in the Se...

Page 558: ...cursor is on the digit before the value press the Down or Up button to b move the cursor to other lines 7 Use the Forward button to move the column cursor to the sign position Press the Down or Up bu...

Page 559: ...ward button to move the column cursor to the bit state position 4 Press the Down or Up button to change the bit state to ON 5 Press the OK button to save the setting Press the ESC button to return to...

Page 560: ...The final digit of the Screen No will be flashing 6 Use the Up button to change the Screen No to 2 Note Press and hold the UP button until the Screen No changes to ALL all the User Monitor Screen wil...

Page 561: ...2 Press the Down button to select Message 3 Press the OK button to enter the Message menu 4 Press the OK button to enter the Message Setup Screen The final digit of the Screen No will be flashing The...

Page 562: ...ailable for all the screens 9 Use the Forward button to move the column cursor to the position of word address The present setting is the default address The range of the address is 000 to 511 10 Use...

Page 563: ...20 21 22 23 24 D09020 25 26 27 28 29 30 31 32 33 34 35 36 D09030 37 38 39 40 41 42 43 44 45 46 47 48 02 D09040 1 2 3 4 5 6 7 8 9 10 11 12 D09050 13 14 15 16 17 18 19 20 21 22 23 24 D09060 25 26 27 28...

Page 564: ...530 LCD Option Board Function Section 8 6 Select the character codes in the following table 0 1 2 3 4 5 6 7 8 9 A B C D E F Lower bits Upper bits 2 3 4 5 6 7 A B C D E F 8 9 1...

Page 565: ...o enter the Message menu 4 Press the Down button to select Delete 5 Press the OK button to enter the Message Delete Screen The present setting is Screen 01 Note Press and hold the UP button until the...

Page 566: ...nal digit of the Timer No will be flashing The following table shows the setting items 5 Use the Up button to change the Timer No to 16 The following table shows the relation between the Timer No and...

Page 567: ...to the OFF time posi tion Use the Up button to change time to 17 15 10 Use the Forward button to move the column cursor to the OFF week po sition Press the Down or Up button to select Friday 11 Use t...

Page 568: ...set Use the Up button to change the word address to 509 15 Press the OK button to save the setting 16 Press the ESC or OK button to return to the Day Timer Screen Setting Calendar Timer Example From...

Page 569: ...tion Use the Up button to change the date to 06 01 9 Use the Forward button to move the column cursor to the OFF date posi tion Use the Up button to change the date to 10 01 10 Use the Forward button...

Page 570: ...time every 1 second to make control bit ON when the timer switch turns OFF the LCD Option Board will send com mand to PLC one time every 1 second to make control bit OFF 2 Move the LCD Option Board f...

Page 571: ...537 LCD Option Board Function Section 8 6 Weekly Timer Calendar Timer Note Set the OFF date to 1st October the Calendar Timer will turn OFF at 24 00 31st September...

Page 572: ...a 1 2 3 1 Switch to the Setup Mode 2 Press the Down button to select DataBackup 3 Press the OK button to enter the Data Backup menu 4 Press the OK button to enter the Load Operation Screen Select the...

Page 573: ...When the rate comes up to 100 the loading is finished Then it will dis play a complete screen 9 Press the ESC or OK button to restart the LCD Option Board Saving User Setting Example Save user settin...

Page 574: ...n to select OK Note Selecting Cancel will result in a return to the previous menu 7 Press the OK button to display a save confirming screen 8 Press the OK button to start saving A rate of saving will...

Page 575: ...play language from English to Japanese 1 2 3 1 Switch to the Setup Mode 2 Press the Down button to select 3 Press the OK button to enter the Language Setup Screen The present language is English 4 Pre...

Page 576: ...ample 1 2 3 1 Switch to the Setup Mode 2 Press the Down button to select Other 3 Press the OK button to enter the Other menu 4 Press the OK button to enter the Cycle Time Screen The average cycle time...

Page 577: ...4 Press the Down button to select ClockSet 5 Press the OK button to enter the Clock Setup Screen The present date time and week of the CPU Unit will be displayed 6 Use the Forward button to move the c...

Page 578: ...era tion method will be shown in the following example 1 2 3 1 Switch to the Setup Mode 2 Press the Down button to select Other 3 Press the OK button to enter the Other menu 4 Press the Down button to...

Page 579: ...ht 5 Press the OK button to enter the Backlight Screen The following table shows the setting items 6 Use the Forward button to move the column cursor to the position of timer inerval Use the Up button...

Page 580: ...the Setup Mode 2 Press the Down button to select Other 3 Press the OK button to enter the Other menu 4 Press the Down button to select Contrast 5 Press the OK button to enter the Contrast Screen The...

Page 581: ...button to select Other 3 Press the OK button to enter the Other menu 4 Press the Down button to select FactorySet 5 Press the OK button to enter the Factory Setting Screen 6 Press the Down button to...

Page 582: ...e settings and change it Noise disturbing Retry after the noise is reduced Display too faint Backlight is damaged Replace the LCD Option Board Contrast level is too low or too high Reset the contrast...

Page 583: ...ed 2 Press the ESC button to exit the screen Once the EEPROM Error Screen has disappeared the display will return to normal 3 Enter the User Monitor Setup Screen 2 line 4 User settings backed up in EE...

Page 584: ...550 Trouble Shooting Section 8 7...

Page 585: ...5 1 FINS Communications Service Specifications 558 9 5 2 Overview of FINS Communication Service 559 9 6 Part Names 560 9 7 Comparison with Previous Models 561 9 8 Installation and Initial Setup 562 9...

Page 586: ...Please use CX Integrator version 2 33 or higher CX ONE version 3 1 or higher to make the routing table Except making the routing table for CP1W CIF41 other functions such as trans ferring the paramet...

Page 587: ...nreliable connections For CX Programmer FINS TCP can be used to directly connect to the PLC online Connecting from a Personal Computer with a Dynamic Private IP Address Depending on whether or not the...

Page 588: ...other feature of FINS UDP is that it can be used for broadcasting On the other hand with FINS UDP it is necessary to provide measures such as retries for handling communications errors Connecting thro...

Page 589: ...ed FINS Message Communications The following functions have been maintained according to the existing Ether net Unit models for CS CJ series The maximum number of nodes is 254 Communications are enabl...

Page 590: ...cting a network refer to 9 8 3 Network Installation 3 Hub CX Programmer CX Integrator 2 Twisted pair cable 1 CP1W CIF41 CP1L CP1H Series PLC Network device Contents 1 Ethernet Option Board CP1W CIF41...

Page 591: ...100Base TX 10 Mbit s 10Base T Half full auto negotiation for each port Link speed auto sensing for each port Transmission media Unshielded twisted pair UDP cable Categories 5 5e Shielded twisted pair...

Page 592: ...connection Server specification Remote IP address spec Server specify IP addresses of clients permitted to connect Automatic FINS node address allocation Specify automatic allocation of client FINS no...

Page 593: ...etwork Using TCP IP makes FINS communications highly reliable Even if the IP address and UDP port number of the host computer a DHCP client computer are changed it is still possible for the host com p...

Page 594: ...o connect the Ethernet twisted pair cable LED Indicators Display the operating status of the Option Board Indicator Color Status Meaning COMM Yellow Not lit Not sending or receiving data Flashing Send...

Page 595: ...automatically acquiring IP addresses can send commands to the PLC and receive responses Same as previous models FINS communication with computer without fixed node address Possible with Automatic all...

Page 596: ...ed to a single PLC e g CPU unit When routing tables are used for one or more other nodes on the same network 4 It is not necessary step and the Web browser is required Mount the Unit to the PLC Determ...

Page 597: ...ver and then pull the cover out 2 Check the alignment to make the corner cut of the Ethernet Option Board fit in the Option Board slot and firmly press the Ethernet Option Board in until it snaps into...

Page 598: ...n pull it out 9 8 3 Network Installation Basic Installation Precautions Take the greatest care when installing the Ethernet System being sure to follow ISO 802 3 specifications You must obtain a copy...

Page 599: ...X OMRON W4S1 03B 10 100 Mbit s 3 port hub OMRON W4S1 05B C 10 100 Mbit s 5 port hub PHOE NIX CON TACT SWITCH 5TX 10 100 Mbit s 5 port hub Allied Telesis RH509E 9 port hub Allied Telesis 0120 86 0442 i...

Page 600: ...ion methods for hubs Cascade and stacked Ethernet Connectors The following standards and specifications apply to the connectors for the Ethernet twisted pair cable Electrical specifications Conforming...

Page 601: ...net Option Board s IP address E00 htm Japanese page http Ethernet Option Board s IP address J00 htm Chinese page http Ethernet Option Board s IP address C00 htm In this example use the following proce...

Page 602: ...Section 9 8 3 Select Settings from the menu on the left side of the window to display the Settings Menu 4 Select 1 IP address and Protocols System to display System menu 5 Make the required settings...

Page 603: ...he following table describes the unit address for each option port Service Status Caution Bit 15 is used for detect power condition of PLC so do not change it at any time Otherwise the CP1W CIF41 Ethe...

Page 604: ...ess table If the problem cannot be resolved replace the CPU Unit 4 IP router table error Correct the IP router table If the problem cannot be resolved replace the CPU Unit 5 Reserved Always 0 6 Routin...

Page 605: ...different and the CP1W CIF41 will temporarily use the default IP address 192 168 250 1 Use this IP address to modify the IP address settings through Web browser n DM32000 300 0xFD Unit Address The fo...

Page 606: ...lt 9600 1 Unit setup value 5 FINS TCP port number 0 Default 9600 1 Unit setup value 6 FINS UDP destination IP mode 0 Enable Dynamically 1 Disable Static 7 FINS TCP protect function 0 Disable Only FINS...

Page 607: ...record has 8 bytes The max number of records is 8 The configuration of the 8 bytes of data in each record is as shown in the following diagram FINS TCP Connection Setup Pointer of IP address table IP...

Page 608: ...0 0 0 0 this area will act as an IP address setting area The value will be read by the Ethernet Option Board when the power is turned ON or the Ethernet Option Board restarted and is used as the loca...

Page 609: ...ress C00 htm 9 10 2 Overview of Web Browser Function System setup for the Ethernet Option Board is as follows Monitor status for the Ethernet Option Board is as follows Setting Item Reference Page Sys...

Page 610: ...vice The TCP port number is the number used for TCP identifi cation of the application layer i e the FINS communications service in this case Setting range 1 to 65 535 Note Make the settings so that T...

Page 611: ...nnection is set to a server and if an IP address other than 0 0 0 0 is set to destination IP address any connection request from other than the setting IP address will be denied Select this option to...

Page 612: ...itor ing information ETHERNET Port Number Set the port No used to connect to the Web browser 80 Button Function Transfer Transfer the entered values from the personal computer to the Ethernet Option B...

Page 613: ...he node address for the remote device None IP Address Set the related IP address for the remote device None Button Function Transfer Transfer the entered values from the personal computer to the Ether...

Page 614: ...Address Set the related IP address of a router connected to a network None Button Function Transfer Transfer the entered values from the personal computer to the Ethernet Option Board The new settings...

Page 615: ...sed When the Ethernet Option Board is used as a client Set the IP address for the remote Ethernet Unit i e the server that is to be connected by FINS TCP It is required that an IP address be set for t...

Page 616: ...Ethernet Option Board Subnet Mask Show the subnet mask of the Ethernet Option Board FINS UDP Port Number Show the FINS UDP port number of the Ethernet Option Board Use Input Port Number Show the effec...

Page 617: ...Option Board Total Number of Receive Errors Show the total number of errors detected while the Ether net Option Board was receiving The types of errors detected are short packet errors alignment error...

Page 618: ...d node address for connection TCP Connection No If the connection is the FINS TCP show the connection number 1 to 4 TCP Status If the connection is the FINS TCP show the current con nection status Sta...

Page 619: ...Parameter Contents No Show the error recorder number Error Code Show the error code of the error recorder Detail Code Show the detail error code of the error recorder Date Show the date of the error r...

Page 620: ...0 Error Log Location When an error is detected the error codes and time stamp are recorded in the error log in RAM inside the Ethernet Option Board Serious errors are also recorded in EEPROM The maxim...

Page 621: ...ot concen trated 0120 Unexpected routing error Check the routing tables 0123 Internal send buffers full packet discarded Change the network so that traffic is not concen trated 0125 Time out error Res...

Page 622: ...twork 03D0 FLASH System setup sum value error Reset the value of system setup area Restart CPU Unit Saved 0601 LIT Option Board error Arbitrary Restart the CPU Unit If the problem persists replace the...

Page 623: ...hile writing or reading the error log system setup identity data MAC ID 0602 Restart the CPU Unit Replace the Ethernet Option Board if the error recurs Flashing CPU Unit memory error A parity error oc...

Page 624: ...conversion method is set for auto matic address genera tion 021A Make sure that the node number and the last byte of the IP address are the same and then set other host IDs to 0 Change the address con...

Page 625: ...CX Integrator connected to the Ethernet network Web Browser Setting CX Programmer CX Integrator Ethernet Network address None Ethernet port Target PLC1 Ethernet Option Board IP address 192 168 250 1...

Page 626: ...t Inputs to the CX Programmer s Setup Window Change PLC Settings Item Setting PLC name PLC1 Network classification Ethernet Network Tab FINS transmission source address 0 FINS destination Network numb...

Page 627: ...593 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...

Page 628: ...e 1 CX Programmer s Change PLC Dialog Box COMMERR 10BASE T 100BASE TX PC1 PC2 CP1H PLC1 PLC3 PLC2 CJ2H CJ1H Ethernet 001 FINS Address Net 2 Node 3 FINS Address Net 1 Node 1 FINS Address Net 1 Node 3 E...

Page 629: ...node address 1 on relay network number 2 2 Save the routing table file File Save local routing table file 3 Select New from the Project Menu and save with a file name Then select Add Device from the P...

Page 630: ...596 Sample Application Section 9 12...

Page 631: ...esses used to transfer the program to the CPU Unit and the functions that can be used to test and debug the program 10 1 Program Transfer 598 10 2 Trial Operation and Debugging 598 10 2 1 Forced Set R...

Page 632: ...X Programmer Force set reset operations are used to force input and output during a trial operation or to force certain conditions during debugging Force set reset operations can be executed in either...

Page 633: ...toring 2 Click Differential Monitor from the PLC Menu The Differential Monitor Di alog Box will be displayed 3 Click Rising or Falling 4 Click the Start Button The buzzer will sound when the specified...

Page 634: ...grammer if the limit is exceeded and further editing will not be possible until the CPU Unit has completed backing up the data The length of time that the cycle time is extended due to online editing...

Page 635: ...g A201 11 will turn OFF Online editing can also be temporarily disabled by turning ON the Online Edit ing Disable Bit A527 09 while online editing is being performed Here too the Online Editing Wait F...

Page 636: ...a just after the delay see note 1 will be stored in Trace Memory 3 Memory data will be sampled until the Trace Memory is full and then the trace will be ended Note Delay value Specifies how many sampl...

Page 637: ...instruction TRSM 045 instruction is executed When more than one TRSM 045 instruction is used in the program a sample will be taken each time TRSM 045 is executed after the trace trigger condition has...

Page 638: ...traces are enabled with this bit 1 Scheduled trace trace at fixed intervals of 10 to 2 550 ms 2 TRSM 045 instruction trace trace when the TRSM 045 is executed 3 One cycle trace trace at the end of exe...

Page 639: ...operation 11 1 Error Classification and Confirmation 606 11 2 Troubleshooting 608 11 2 1 Error Processing Flowchart 608 11 2 2 No Operation When Power Is Supplied 608 11 2 3 Fatal Errors 609 11 2 4 CP...

Page 640: ...PRPHL BKUP ERR ALM POWER green Lit Power is ON Not lit Power is OFF RUN green Lit The CPU Unit is executing a program in either RUN or MONITOR mode Not lit Operation is stopped in PROGRAM mode or due...

Page 641: ...it Lit RUN Not lit Not lit Not lit Lit Lit Lit ERR ALM Lit Not lit Lit Flashing INH Not lit Lit PRPHL Not lit BKUP Error Error code A400 Error flag Error information Meaning Address Memory error 80F1...

Page 642: ...to 240 VAC and see if the supply power matches the rating 2 Check the wiring to see if it is correct and that nothing is disconnected 3 Check the voltage at the power supply terminals If the voltage...

Page 643: ...Error Tab Page of the CX Program mer s PLC Error Window Take corrective actions after checking error details based on the CX Program mer display message together with the Auxiliary Area Error Flags an...

Page 644: ...ed OFF when backing up the user program to flash memory Transfer the user program again A403 04 is ON A checksum error has occurred in the PLC Setup Transfer the PLC Setup again A403 07 is ON A checks...

Page 645: ...0CA 80CE 80CF Error information I O bus error details A404 0A0A Probable cause Possible remedy The number of CP1W CPM1A series Expansion Units and Expansion I O Units exceeds the restriction Connect a...

Page 646: ...a task for the number stored in A294 task number when the program fails Differentiation Overflow Error Differentiation instructions were repeatedly inserted or deleted using the online editor and the...

Page 647: ...ot be connected online a CPU error has probably occurred Probable cause Possible remedy FALS instruction executed FALS number 001 C100 hex will be added to the FALS number 001 to 1FF hex and the resul...

Page 648: ...eate a non fatal error Reference Information Flash Memory Errors Reference Information POWER Lit RUN Lit ERR ALM Flashing INH BKUP PRPHL POWER RUN INH PRPHL BKUP ERR AL Probable cause Possible remedy...

Page 649: ...value error occurred in the PLC Setup The address of the error is stored in A406 in 16 bit binary Correct the PLC Setup with correct val ues Error flag PLC Setup Error Flag A402 10 Error code A400 00...

Page 650: ...con nected device Confirm that the peripheral port settings in the PLC Setup are correct Check the USB cable and replace it if neces sary An error has occurred in the communica tions between the seri...

Page 651: ...en more than 20 errors occur the oldest error data stored in A100 to A104 is deleted the 19 errors stored in A105 to A199 shift one record and the newest record is stored in A195 to A199 The number of...

Page 652: ...Input device is faulty Replace input devices 2 Input wiring disconnected Check input wiring 3 Terminal block screws are loose Tighten screws 4 Faulty terminal block connector contact Replace terminal...

Page 653: ...al block connector 5 Faulty output bit relay output only Replace Unit 6 Faulty output circuit relay output only Replace Unit Output of a specific bit num ber does not turn OFF indi cator is not lit 1...

Page 654: ...620 Troubleshooting Unit Errors Section 11 4...

Page 655: ...spection and Maintenance This section provides inspection and maintenance information 12 1 Inspections 622 12 1 1 Inspection Points 622 12 1 2 Unit Replacement Precautions 623 12 2 Replacing User serv...

Page 656: ...check the power supply at the terminals Take necessary steps to bring voltage fluctuations within limits 3 Ambient environ ment Check the ambient tempera ture inside the control panel if the PLC is i...

Page 657: ...t in the new CPU Unit before starting operation including DM Area and HR Area settings If 4 Installation and wiring Check that each Unit is con nected securely and locked in place No looseness Press t...

Page 658: ...be lost when the main power supply goes OFF Battery Service Life and Replacement Period At 25 C the maximum service life for batteries is five years whether or not power is supplied to the CPU Unit w...

Page 659: ...not been made the BATT LOW error message will not appear on the CX Programmer and the Battery Error Flag A402 04 will not go ON when the battery fails 2 The battery will discharge faster at higher tem...

Page 660: ...r CPU Units with 10 14 or 20 I O Points CPU Units with 30 40 or 60 I O Points WARNING Never short circuit the battery terminals never charge the battery never dis assemble the battery and never heat o...

Page 661: ...g the battery for a CPU Unit that has been unused for a long time Leaving the CPU Unit unused again without turning ON the power even once after the battery is replaced may result in a shorter battery...

Page 662: ...628 Replacing User serviceable Parts Section 12 2...

Page 663: ...ansistor outputs sinking CP1L L10DT1 D 4 transistor outputs sourcing CPU Units with 14 I O Points CP1L L14DR A 100 to 240 VAC 6 relay outputs 24 VDC 8 inputs CP1L L14DR D 24 VDC 6 relay outputs CP1L L...

Page 664: ...out puts sinking CP1L M40DT1 D 16 transistor out puts sourcing CPU Units with 60 I O Points CP1L M60DR A 100 to 240 VAC 24 relay outputs 24 VDC 36 inputs CP1L M60DR D 24 VDC 24 relay outputs CP1L M60...

Page 665: ...ed OMRON FINS TCP FINS UDP protocol Memory Cassette CP1W ME05M Used to save CPU Unit user programming parameters and data or to copy these to another CPU Unit Name and appearance Model Specifications...

Page 666: ...M1A MAD11 2 analog inputs 0 to 5 V 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to 20 mA 1 analog output 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to 20 mA Resolution 1 6 000 Analog Input Unit CP1W AD0...

Page 667: ...Link Unit CPM1A DRT21 As a DeviceNet Slave 32 inputs and 32 outputs are allocated CompoBus S I O Link Unit CP1W SRT21 CPM1A SRT21 As a CompoBus S slave 8 inputs and 8 outputs are allocated Name and a...

Page 668: ...634 Standard Models Appendix A...

Page 669: ...s Diagrams CP1L CPU Units CPU Units with 10 I O Points CPU Units with 14 or 20 I O Points CPU Units with 30 I O Points 66 56 110 100 90 Two 4 5 dia 85 8 90 100 110 76 86 8 85 Four 4 5 dia 90 100 110 1...

Page 670: ...636 Dimensions Diagrams Appendix B CPU Units with 40 I O Points CPU Units with 60 I O Points 90 100 110 140 150 8 85 Four 4 5 dia 8 85 195 185 110 100 90 Four 4 5 dia...

Page 671: ...ons Diagrams Appendix B Optional Products CP1W CIF01 CIF11 CIF12 Option Boards 35 9 37 3 35 9 5 1 16 5 16 5 0 15 13 5 19 7 35 9 37 3 37 3 36 4 16 5 7 9 30 27 28 2 16 5 36 4 35 9 8 9 15 7 16 5 0 15 0 1...

Page 672: ...mensions Diagrams Appendix B CP1W DAM01 LCD Option Board CP1W CIF41 Ethernet Option Board CP1W ME05M Memory Cassette 42 20 9 0 45 20 6 13 3 37 3 35 9 36 4 ABS PC 36 4 28 2 37 3 18 6 18 14 7 9 4 7 5 0...

Page 673: ...OM COM COM COM COM COM 03 06 01 03 06 00 02 04 06 08 10 00 01 02 04 05 07 00 02 04 05 07 00 02 04 06 08 10 01 03 05 07 09 11 01 03 05 07 09 11 IN 40EDR OUT CH CH CH CH EXP CH CH CH 11 10 09 08 07 06 0...

Page 674: ...8 IN 00 CH CH 02 04 06 08 10 OUT 01 COM 03 05 07 09 11 COM COM COM 03 COM 06 00 01 02 04 05 07 00 01 02 03 04 05 06 07 08 09 10 11 20EDR1 CH 00 01 02 03 04 05 06 07 NC NC NC CH EXP 90 5 5 86 Two 4 5 d...

Page 675: ...11 Analog I O Units CP1W CPM1A TS Temperature Sensor Units 50 8 IN OUT V OUT COM I IN1 V IN2 COM2 I OUT V IN1 COM1 I IN2 MAD01 CH CH EXP 90 5 5 66 NC NC 90 5 5 86 Two 4 5 dia holes 100 0 2 56 0 2 76 0...

Page 676: ...ndix B CPM1A DRT21 DeviceNet I O Link Unit CP1W CPM1A SRT21 CompoBus S I O Link Unit 50 8 90 5 5 66 Two 4 5 dia holes 100 0 2 56 0 2 BD L NC BS NC BD H NC BS S COMM ERR No SRT21 EXP 50 8 90 5 66 Two 4...

Page 677: ...memory to the DM Area Read only DM Initial Values Save Execution Error Flag A751 12 ON when the DM Initial Values Transfer Password A752 is incorrect or when the DM Initial values area was not specifi...

Page 678: ...the interrupt counter PVs for interrupt inputs operating in counter mode In increment mode the counter PV starts incrementing from 0 When the counter PV reaches the counter SV the PV is automati call...

Page 679: ...when an overflow or under flow occurs High speed Counter Count Direction This flag indicates whether the high speed counter is currently being incremented or decremented The counter PV for the curren...

Page 680: ...This flag indicates when an overflow or underflow has occurred in the pulse output PV OFF Normal ON Overflow or underflow Read only Cleared when power is turned ON Cleared when operation starts Clear...

Page 681: ...in search To use this signal write the input from the actual sensor as an input condition in the ladder program and output the result to this flag Read Write Cleared when power is turned ON Pulse Outp...

Page 682: ...ON during an inverter positioning opera tion command ON Operation command executed OFF Stop command executed Read Turned OFF when power is turned ON Turned OFF when operation starts Turned OFF when C...

Page 683: ...when pulse output to error counter is stopped including immediate stops and deceleration stops Turned ON when pulse output fre quency to error counter is changed by ACC or PLS2 instruction Error Coun...

Page 684: ...the start of PLC operation The cycle time is recorded in 8 digit hexadecimal with the leftmost 4 digits in A263 and the rightmost 4 digits in A262 0 to FFFFFFFF 0 to 429 496 729 5 ms 0 1 ms units Rea...

Page 685: ...rn this bit ON to disable online editing The setting of this bit is valid only when A527 00 to A527 07 have been set to 5A Read write Name Address Description Access Updated Output OFF Bit A500 15 Tur...

Page 686: ...fatal error user defined FALS 007 or system error occurs the 4 digit hexadecimal error code is written to this word Read only Name Address Description Access Updated Memory Error Flag fatal error A40...

Page 687: ...001 instruction in each pro gram within a task Read only Task Error Flag A295 12 ON when a task error has occurred The following condi tions generate a task error There isn t even one regular task tha...

Page 688: ...ERR ALM indicator on the front of the CPU Unit will light This flag will be turned OFF when the error is cleared Read only I O Bus Error Slot Number A404 Contains information on I O bus errors The CP...

Page 689: ...Day of the month 01 to 31 BCD A353 00 to A353 07 Month 01 to 12 BCD A353 08 to A353 15 Year 00 to 99 BCD A354 00 to A354 07 Day of the week 00 Sunday 01 Monday 02 Tuesday 03 Wednesday 04 Thursday 05...

Page 690: ...inary To reset this value overwrite the current value with 0000 Read write Total Power ON Time A523 Contains the total time that the PLC has been ON in 10 hour units The data is stored in binary and i...

Page 691: ...10 ON when an error occurs in reading or com paring the Memory Cassette OFF the next time the Memory Cassette is accessed normally initialized written read or compared A342 12 ON when the data in the...

Page 692: ...hether the program is write protected OFF Write enabled ON Write protected Read only Enable Disable Bit for Pro gram Backup A99 03 Indicates whether creating a backup program file OBJ is enabled or di...

Page 693: ...cycle after the communications instruction is executed Delay accessing them for at least one cycle Read only First Cycle Flags after Net work Communications Error A215 00 to A215 07 Each flag will tu...

Page 694: ...ad only Serial Port 1 Reception Completed Flag No proto col Mode A392 06 ON when the serial port 1 has completed the reception in no protocol mode Read only Serial Port 1 Reception Overflow Flag No pr...

Page 695: ...g A641 01 ON when one command has been sent and the response received for serial port 1 using the Modbus RTU easy master function ON Execution normal OFF Execution error or still in progress Read only...

Page 696: ...fixed allocation words for Modbus RTU Easy Master ON Execution error OFF Execution normal or still in progress Read only Name Address Description Access Updated Step Flag A200 12 ON for one cycle whe...

Page 697: ...y Area Allocations by Function Appendix C OMRON FB Library in the PLC Setup will be automatically stored in the related Auxiliary Area words A580 to A582 and used by the function blocks from the OMRON...

Page 698: ...664 Auxiliary Area Allocations by Function Appendix C...

Page 699: ...This word contains the system timer used after the power is turned ON A value of 0000 hex is set when the power is turned ON and this value is automatically incremented by 1 every 100 ms The value ret...

Page 700: ...lues set for inverter positioning 0 in the PLC Setup are applied A25 contains the leftmost 4 digits and A24 contains the rightmost 4 digits Cleared Every error counter 0 cycle A26 00 Operation Command...

Page 701: ...tant Cleared When pulse out put fre quency to error counter is changed by ACC or PLS2 instruction 07 Error Counter Alarm Flag 0 This flag turns ON when an alarm occurs in the error counter for inverte...

Page 702: ...the automatically calculated frequency command value for the inverter for inverter posi tioning 1 Data range 0000 to FFFF hex 0 00 to 655 35 Hz 0 01 Hz increments unsigned Set the Power Supply Freque...

Page 703: ...ue of error counter 1 is within the in posi tion range 04 Error Counter Error Flag 1 This flag turns ON when an error occurs in the error counter for inverter positioning 1 ON Error counter error OFF...

Page 704: ...hen pulses are being output to the error counter for inverter positioning 1 Data range 8000 0000 to 7FFF FFFF hex 2 147 483 648 to 2 147 483 647 A38 contains the leftmost 4 digits and A39 contains the...

Page 705: ...ro tection Release Enable Flag Indicates when UM read protection cannot be released because an incorrect password was input five times consecutively OFF Protec tion can be released ON Protec tion cann...

Page 706: ...A200 12 Step Flag ON for one cycle when step execu tion is started with STEP 008 This flag can be used for initialization pro cessing at the beginning of a step ON for the first cycle after execu tion...

Page 707: ...A214 A214 00 to A214 07 First Cycle Flags after Network Com munications Finished Each flag will turn ON for just one cycle after communications have been completed Bits 00 to 07 corre spond to ports...

Page 708: ...FFFFFFFF 0 to 429 496 729 5 ms 0 1 ms units A264 and A265 All Present Cycle Time These words contain the present cycle time in 8 digit hexadecimal with the leftmost 4 digits in A265 and the rightmost...

Page 709: ...parison Condi tion Met Flag A274 A274 08 High speed Counter 0 Comparison In progress Flag This flag indicates whether a com parison operation is being executed for high speed counter 0 Cleared at begi...

Page 710: ...ounter 1 Range 8 Com parison Condi tion Met Flag A275 08 High speed Counter 1 Comparison In progress Flag This flag indicates whether a com parison operation is being executed for high speed counter 1...

Page 711: ...n a pulse output instruction SPED 885 ACC 888 or PLS2 887 is executed Cleared Refreshed each cycle during oversee process Refreshed when the INI 880 instruction is exe cuted PV change A278 and A279 Al...

Page 712: ...igin has been determined Turned ON when power is turned ON Turned ON when operation starts OFF Origin established ON Origin not established Cleared Refreshed each cycle during the oversee ing pro cess...

Page 713: ...e out put A281 04 Pulse Output 1 Output In progress Flag ON when pulses are being output from pulse output 1 Cleared when operation starts or stops OFF Stopped ON Outputting pulses Cleared Refreshed w...

Page 714: ...curred A295 09 Indirect DM BCD Error Flag This flag and the Access Error Flag AER will be turned ON when an indirect DM BCD error has occurred and the PLC Setup has been set to stop operation an indir...

Page 715: ...e executed has been stored CPU Unit operation will stop and the ERR ALM indicator will light when this flag goes ON ON Error OFF Normal Cleared Cleared A294 A298 A299 A295 15 UM Overflow Error Flag ON...

Page 716: ...error occurs A402 00 A316 to A317 All High speed Counter 2 PV Contains the PV of high speed counter 2 A317 contains the left most 4 digits and A316 contains the rightmost 4 digits The PV is cleared wh...

Page 717: ...A320 08 High speed Counter 2 Comparison In progress Flag This flag indicates whether a com parison operation is being executed for high speed counter 2 Cleared at beginning of operation OFF Stopped O...

Page 718: ...icates whether a com parison operation is being executed for high speed counter 3 Cleared when operation starts OFF Stopped ON Being executed Cleared Refreshed when com parison operation starts or sto...

Page 719: ...t is not the same as the data in the Memory Cassette when a verification opera tion is performed OFF the next time the Memory Cas sette is accessed normally initial ized written read or compared OFF M...

Page 720: ...A353 00 to A353 07 Month 01 to 12 BCD A353 08 to A353 15 Year 00 to 99 BCD A354 00 to A354 07 Day of the week 00 to 06 BCD 00 Sunday 01 Monday 02 Tues day 03 Wednesday 04 Thursday 05 Friday 06 Saturd...

Page 721: ...l Port 1 Reception Completed Flag No pro tocol mode CP1L L type CPU Units ON when the serial port 1 of a CP1L L type CPU Unit has completed the reception in no protocol mode When the number of bytes w...

Page 722: ...s completed the reception in no protocol mode When the number of bytes was specified ON when the specified number of bytes is received When the end code was specified ON when the end code is received...

Page 723: ...CPU Units Indicates in binary the number of bytes of data received when the serial port 2 of a CP1L M type CPU Unit is in no protocol mode Retained Cleared Refreshed when data is received Serial Port...

Page 724: ...are cleared ON FALS 006 executed OFF FALS 006 not executed Cleared Cleared Refreshed when error occurs A400 A401 08 Cycle Time Too Long Flag fatal error ON if the cycle time exceeds the maximum cycle...

Page 725: ...is cleared The automatic transfer at startup error cannot be cleared without turning OFF the PLC ON Error OFF No error Cleared Cleared Refreshed when error occurs A403 00 to A403 08 A403 09 A402 A402...

Page 726: ...No error Cleared Cleared Refreshed when error occurs A401 15 A403 09 Memory Cas sette startup Transfer Error Flag ON when automatic transfer at star tup has been selected and an error occurs during a...

Page 727: ...2 CPM1A Unit Error Flags ON when an error occurs in a CP series Expansion Unit or Expansion I O Unit A436 00 1st Unit A436 10 2nd Unit A436 02 3rd Unit OFF No error ON Error Retained Cleared A437 All...

Page 728: ...pulse out put stop error occurs A445 Pulse Output 1 Stop Error Code If a Pulse Output Stop Error occurs for pulse output 1 the error code is written to this word A494 A494 00 to A494 07 Memory Casette...

Page 729: ...hen shifting from PRO GRAM to MONITOR mode or vice versa Bits that have been force set or force reset will always return to their default status when shifting to RUN mode If the status of the Forced S...

Page 730: ...ed Retained Cleared A508 15 Sampling Start Bit When a data trace is started by turn ing this bit ON from the CX Program mer the PLC will begin storing data in Trace Memory by one of the three followin...

Page 731: ...started See at left Retained Retained See at left A518 to A520 All Operation End Time The time that operation stopped as a result of changing the operating mode to PROGRAM mode is stored here in BCD...

Page 732: ...restart the serial port 1 of a CP1L M type CPU Unit Note This bit is turned OFF auto matically when the restart processing is completed 0 to ON Restart Retained Cleared A527 A527 00 to A527 07 Online...

Page 733: ...nit they are automatically turned OFF when the serial port 1 is restarted These flags are not valid in periph eral bus mode and only bit 5 is valid in NT Link mode PLC Link Polling Unit Bit 13 ON for...

Page 734: ...ll start Interrupt task 143 will start when interrupt counter 3 has counted this number of pulses Retained Retained A536 All Interrupt Counter 0 Counter PV These words contain the interrupt counter PV...

Page 735: ...arch for pulse output 1 The input signal from the servo driver is output to this bit from the ladder program to enable using the signal Retained Cleared A562 A562 00 Error Counter 0 Reset Bit Turn ON...

Page 736: ...ferred from A604 through A607 to the specified destination words out put parameter words Output data 4 words Cleared Cleared A619 A619 01 Serial Port 1 Settings Changing Flag CP1L M type CPU Units ON...

Page 737: ...esponse received for serial port 2 of a CP1L M type CPU Unit using the Modbus RTU easy master function ON Execution normal OFF Execution error or still in progress Retained Cleared Serial Port 1 Modbu...

Page 738: ...ll External Analog Set ting Input PV Stores the value set from the exter nal analog setting input as a hexa decimal value resolution 1 256 0000 to 00FF hex Retained Cleared A720 to A722 All Power ON C...

Page 739: ...0 to A511 A735 00 to A735 07 Seconds 00 to 59 A735 08 to A735 15 Minutes 00 to 59 A736 00 to A736 07 Hour 00 to 23 A736 08 to A736 15 Day of month 00 to 31 A737 00 to A737 07 Month 01 to 12 A737 08 to...

Page 740: ...flash memory OFF Normal ON Error failed to save Retained Cleared A751 13 DM Initial Values Save Error Flag ON when an error occurred in trans ferring DM initial values from the DM Area to the DM init...

Page 741: ...ng two values is equals when the result of a math operation is 0 etc Less Than Flag Turns ON when the result of comparing two values is less than when a value is below a specified range etc Negative F...

Page 742: ...if a memory error error code 80F1 occurred on 1 April 1998 at 17 10 30 with the error located in the PLC Setup 04 hex The following data would be generated in an error record if an FALS error with FA...

Page 743: ...0F1 Memory error A403 80CA I O bus error A404 80E9 Duplicate number error A410 A411 to 416 See note 3 80E1 Too many I O error A407 80E0 I O setting error 80F0 Program error A295 to A299 See note 4 809...

Page 744: ...processing A201 10 Wait Online editing wait flag CMN SEND PMCR Port 0 Port 1 Port 7 Network communications in struction executed for port 0 The program is designed so that CMND 490 will be executed o...

Page 745: ...g A401 09 ON UM Overflow Error Flag A295 15 Illegal Instruction Flag A295 14 Distribution Overflow Error Flag A295 13 Task Error Flag A259 12 No END 001 Error Flag A295 11 Illegal Area Access Error Fl...

Page 746: ...712 Auxiliary Area Allocations by Address Appendix D...

Page 747: ...CARRY L 401 DOUBLE SIGNED BINARY SUBTRACT WITHOUT CARRY L 411 SET RECORD LOCATION SETR 635 and GET RECORD LOCATION GETR 636 The PLC memory addresses all are continuous and the user must be aware of th...

Page 748: ...Flag Area 0B802 to 0B83F Reserved for system 0B840 to 0B9FF A0 to A447 Read only Auxiliary Area 0BA00 to 0BBFF A448 to A959 Read Write Auxiliary Area 0BC00 to 0BDFF Reserved for system 0BE00 to 0BEFF...

Page 749: ...nd then connect through the NT AL001 Link Adapter which is isolated Doing so will enable a maximum transmission distance of 500 m Communications mode RS 232C CP1W CIF01 RS 422A 485 CP1W CIF11 CIF12 1...

Page 750: ...ns The transmission circuits for 2 wire and 4 wire connections are different as shown in the following diagram Note 1 Use the same transmission circuit 2 wire or 4 wire for all nodes 2 Do not use 4 wi...

Page 751: ...S 232C standard however does not cover baud rates above 19 2 Kbps Refer to the manual for the device being connected to confirm support Pin Function Factory setting 1 Not used Always set this pin to O...

Page 752: ...on Do not use the 5 V power from pin 6 of the RS 232C Option Board for anything but the NT AL001 Link Adapter Using this power supply for any other external device may damage the RS 232C Option Board...

Page 753: ...Board Signal Pin DIP Switch Settings Pin 1 ON Pin 2 ON terminating resistance Pin 3 OFF Pin 4 OFF Pin 5 OFF Pin 6 OFF NT AL001 Link Adapter RS 232C NT AL001 Link Adapter Pin Pin CPU Unit CPU Unit Com...

Page 754: ...ing resistance ON Signal Signal Pin Signal RS 422A 485 Option Board 5 V power D sub 9 pin connector male NT AL001 Link Adapter Shield RS 232C Interface DIP Switch Settings Pin 1 ON Pin 2 ON terminatin...

Page 755: ...ce DIP Switch Settings Pin 1 ON Pin 2 ON terminating resistance Pin 3 OFF Pin 4 OFF Pin 5 OFF Pin 6 OFF CPU Unit Computer Terminal block Pin Signal Signal Pin Signal Pin Signal Shield D sub 9 pin conn...

Page 756: ...an example for the NT631 NT631C The setting method varies with the PT Refer to the manual for you PT for details 1 N 2 wire Connections from RS 422A 485 to RS 422A 485 Ports Communications Mode 1 N NT...

Page 757: ...ce being connected to confirm support 2 The combined cable length for RS 422A 485 is 500 m including branch lines 3 The maximum cable length is limited to 2 m when an NT AL001 Link Adapter is connecte...

Page 758: ...0 m 3 The maximum cable length is limited to 2 m when an NT AL001 Link Adapter is connected 4 Branch lines must be a maximum of 10 m long Connection Examples The connection examples in the remainder o...

Page 759: ...ions to a Host Computer Connections to a Personal Computer with RTS CTS Flow Control CPU Unit RS 232C Option Board RS 232C Shield OMRON E5CK Controller RS 232C Terminal Block Terminal Signal Pin Signa...

Page 760: ...001 Link Adapter RS 232C Interface RS 232C Option Board Signal Pin DIP Switch Settings Pin 1 ON Pin 2 ON terminating resistance Pin 3 OFF 4 wire Pin 4 OFF Pin 5 OFF Pin 6 OFF NT AL001 Link Adapter RS...

Page 761: ...n 5 OFF Pin 6 ON Terminal block Signal Pin Signal Pin D sub 9 pin connector male See note D sub 9 pin connector male Signal Signal RS 232C RS 422A 485 interface RS 232C Option Board Device supporting...

Page 762: ...communications 4 wire Shield Terminal block Signal Signal Pin Shield Signal 5 V power D sub 9 pin connector male NT AL001 Link Adapter Signal DIP Switch Settings Pin 1 ON Pin 2 ON terminating resista...

Page 763: ...9 pin connector male Signal Pin Pin Device supporting RS 422A 485 communications 2 wire Signal RS 422A 485 inter face Shield Shield Device supporting RS 422A 485 communications 4 wire Signal RS 422A 4...

Page 764: ...ctor male 4 wire Terminating resistance ON Signal Shield D sub 9 pin connector male DIP Switch Pin 1 ON Pin 2 ON terminating resistance Pin 3 OFF Pin 4 OFF Pin 5 OFF Pin 6 ON Terminal block 5 V power...

Page 765: ...unications Mode 1 N NT Link Note 1 RS 422A 485 Option Board settings Terminating resistance ON 2 wire 2 The terminating resistant setting shown above is an example for the NT631 NT631C The setting met...

Page 766: ...e the CP1W CIF11 If the CP1W CIF12 or NT AL001 is used the total transmission distance for the whole transmission path is 500 m max Connection with an RS 232C Port RS 232C connection is also possible...

Page 767: ...nterface Signal name Signal name Signal name Shield Pin No Pin No Pin No CP1W CIF01 RS 232C Option Board CP1W CIF11 CIF12 RS 422A 485 Option Board CJ1W CIF11 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 RDA RDB SDA...

Page 768: ...or less 4 A connection example is shown below Example Twisted pair Cable Connecting SD SG RD SG RTS SG and CTS SG Terminals in Toolbus Mode Note The Hood FG is internally connected to the ground termi...

Page 769: ...ground the shield only at the RS 422A 485 Option Board end Grounding both ends of the shield may damage the device due to the potential difference between the ground terminals Connection examples are...

Page 770: ...200T 1 Connecting Cables for the NT AL001 Link Adapter uses spe cial wiring for the DTS and RTS signals Do not use these signals with other devices they may be damaged 3 The Hood FG is internally con...

Page 771: ...remaining shield length is 10 mm 4 Remove the insulation from each conductor using a stripper so that the exposed conductor length is 5 mm 5 Fold back the braided shield 6 Wrap aluminum foil tape arou...

Page 772: ...ch conductor to the corresponding connector terminals 3 Completely solder each conductor 4 Return the heat shrinking tube to the soldered portion then heat the tube to shrink it in place Assembling Co...

Page 773: ...739 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...

Page 774: ...740 Connections to Serial Communications Option Boards Appendix F...

Page 775: ...r is turned ON 80 14 0 Held 1 2 IOM Hold Bit Not held Not held When power is turned ON 80 15 0 Held 1 Name Default Settings When setting is read by CPU Unit Internal address Bits Settings 1 Read DM fr...

Page 776: ...ction Error Do not stop Do not stop At start of operation 197 15 0 Stop 1 4 Don t resister FAL to error log Register Register Every cycle 129 15 0 Do not register 1 Name Default Settings When setting...

Page 777: ...Use user setting 1 1 1 Watch Cycle Time default 1000 ms 1 000 ms 1 1 10 ms At start of operation 209 00 to 14 001 hex 40 000 40 000 10 ms FA0 hex 2 Cycle Time No Setting No minimum cycle time No mini...

Page 778: ...x 2 1 CH CIO 1 Same as above Same as above Same as above 10 08 to 15 Same as above 3 2 CH CIO 2 11 00 to 07 4 3 CH CIO 3 11 08 to 15 5 4 CH CIO 4 12 00 to 07 6 5 CH CIO 5 12 08 to 15 7 6 CH CIO 6 13 0...

Page 779: ...CPU Unit 00 to 07 01 hex 600 bps 02 hex 1 200 bps 03 hex 2 400 bps 161 CP1L L type CPU Unit 04 hex 4 800 bps 05 hex 9 600 bps 00 or 06 hex 19 200 bps 07 hex 38 400 bps 08 hex 57 600 bps 09 hex 115 20...

Page 780: ...200 bps 07 hex 38 400 bps 08 hex 57 600 bps 09 hex 115 200 bps 0A hex 2 3 2 Format data length stop bits parity 7 2 E 7 bit data 2 stop bits even parity 7 2 E 7 bit data 2 stop bits even parity Every...

Page 781: ...Bytes 256 bytes 256 bytes Every cycle 149 CP1L M type CPU Unit 00 to 07 00 hex 1 byte 01 hex 255 bytes 165 CP1L L type CPU Unit FF hex 2 3 7 Set End Code 0x0000 1 byte Every cycle 148 CP1L M type CPU...

Page 782: ...bit odd parity 5 hex 7 1 N 7 bit data 1 stop bit no parity 6 hex 8 2 E 8 bit data 2 stop bits even parity 8 hex 8 2 O 8 bit data 2 stop bits odd parity 9 hex 8 2 N 8 bit data 2 stop bits no parity A h...

Page 783: ...speed 161 CP1L L type CPU Unit 0A hex 2 7 2 Link Words 10 default 1 10 default Every cycle 150 CP1L M type CPU Unit 04 to 07 1 hex 0 or A hex 166 CP1L L type CPU Unit 2 7 3 PC Link Mode ALL ALL Every...

Page 784: ...hex 1 200 bps 03 hex 2 400 bps 04 hex 4 800 bps 05 hex 9 600 bps 00 or 06 hex 19 200 bps 07 hex 38 400 bps 08 hex 57 600 bps 09 hex 115 200 bps 0A hex 2 1 2 Format data length stop bits parity 7 2 E 7...

Page 785: ...odd parity 1 hex 7 2 N 7 bit data 2 stop bits no parity 2 hex 7 1 E 7 bit data 2 stop bits even parity 4 hex 7 1 O 7 bit data 1 stop bit odd parity 5 hex 7 1 N 7 bit data 1 stop bit no parity 6 hex 8...

Page 786: ...38 400 bps 08 hex 57 600 bps 09 hex 115 200 bps 0A hex 2 5 2 Format data length stop bits parity 7 2 E 7 bit data 2 stop bits even parity 7 2 E 7 bit data 2 stop bits even parity Every cycle 160 CP1L...

Page 787: ...0 to 03 0 hex 7 7 hex 2 7 PC Link Master 2 7 1 Baud 9 600 bps disabled 38 400 standard Every cycle 161 CP1L M type CPU Unit 00 to 07 00 hex 115 200 high speed 0A hex 2 7 2 Link Words 10 default 1 10 d...

Page 788: ...ex 1 2 Reset Z phase soft ware reset Z phase software reset When power is turned ON 50 04 to 07 0 hex Software reset 1 hex Z phase software reset comparing 2 hex Software reset compar ing 3 hex 1 3 In...

Page 789: ...irection input 1 hex Up Down input 2 hex Increment pulse input 3 hex 4 Use high speed counter 3 Do not use Do not use When power is turned ON 98 12 to 15 0 hex Use 1 hex 4 1 Counting mode Linear mode...

Page 790: ...ower is turned ON 59 00 to 03 0 hex Interrupt 1 hex Quick 2 hex 6 IN5 CIO 0 09 Normal Normal When power is turned ON 59 04 to 07 0 hex Interrupt 1 hex Quick 2 hex Name Default Settings When setting is...

Page 791: ...268 08 to 11 0 hex NO 1 hex Origin Input Sig nal Y CPU Units NC line driver At start of operation 2 hex NO line driver 3 hex 1 6 Proximity Input Signal NC NC At start of operation 268 04 to 07 0 hex...

Page 792: ...s disabled 1 pps At start of operation 271 and 270 00 to 15 0000 0001 hex 100 000 pps 0001 86A0 hex 000F 4240 hex 2 Acceleration Ratio 0 disabled 1 pulses 4 ms At start of operation 272 00 to 15 0001H...

Page 793: ...0 hex Undefined 1 hex 2 Limited Input Signal Operation Search Only Search Only When power is turned ON 274 04 to 07 0 hex Always 1 hex 3 Limit Input Signal NC NC At start of operation 286 00 to 03 0...

Page 794: ...286 08 to 11 0 hex NO 1 hex Origin Input Sig nal Y CPU Units NC line driver At start of operation 2 hex NO line driver 3 hex 1 6 Proximity Input Signal NC NC At start of operation 286 04 to 07 0 hex...

Page 795: ...tioning Do not use Use When power is turned ON 416 00 to 03 0 hex Do not use 1 hex 2 Gain 0 10 0 1 incre ments 0 10 0 1 incre ments When power is turned ON 418 00 to 15 0000 hex 1 0 1 increments 0001...

Page 796: ...n power is turned ON 432 04 to 07 0 hex Do not use 1 hex 3 Output coefficient dur ing acceleration and constant speed 0 6 0 01 incre ments 0 6 0 01 incre ments When power is turned ON 433 00 to 07 0 h...

Page 797: ...incre ments 01 hex 255 4 ms incre ments FF hex 9 Power Supply Freq for One Motor Revolution per Sec 0 0 1 Hz incre ments 0 0 1 Hz incre ments When power is turned ON 438 00 to 15 0000 hex 65 535 Hz 0...

Page 798: ...434 08 to 15 0 hex 1 0 01 increments 1 hex 255 0 01 incre ments FF hex 5 Output coefficient after pulse output 0 50 0 01 increments 0 50 0 01 incre ments When power is turned ON 435 08 to 15 0 hex 1 0...

Page 799: ...le 1 Example 2 CPU Units Expansion I O Units Total Limit 1st unit 2nd unit 3rd unit Model CP1L M40DR A Model CP1W DA041 Model CP1W DA041 Model CP1W DA041 5V 0 22A 0 08A 0 08A 0 08A 0 46A 1 2A 24V 0 08...

Page 800: ...re May 2008 the specifications are as written in the section 1 2 3 Restrictions on System Configuration CPU Units Expansion I O Units Total Limit 1st unit 2nd unit 3rd unit Model CP1L M20DR A Model CP...

Page 801: ...659 no protocol 369 Communications Port Enabled Flags 710 complete link method 377 Condition Flag saving and loading status 173 Condition Flags 171 connectors recommended models 565 coordinate system...

Page 802: ...mory data dates 656 errors 652 Flash Memory Error 652 flowchart overall CPU operation 81 Forced Status Hold Bit 643 695 force resetting bits debugging 553 598 force setting bits debugging 553 598 freq...

Page 803: ...264 wiring example 261 N Negative Flag 172 networks related flags bits 659 noise xxvi reducing xxx no protocol communications 369 Not Equal Flag 172 NT Link ports 715 O online editing 556 600 effect o...

Page 804: ...rogram Error Flag 690 program errors 711 PROGRAM mode 85 program transfer 552 598 programming error flag 690 program error information 653 program errors 711 program protection 410 protecting the prog...

Page 805: ...672 stocker 260 T target value comparison for interrupt tasks 194 Task Error Flag 681 Task Flags 171 Task Started Flag 650 tasks related flags bits 651 See also interrupt tasks Task Flags 171 Timer Ar...

Page 806: ...772 Index...

Page 807: ...Date Revised content 01 May 2007 Original production 02 June 2007 Errors were corrected 03 April 2008 Information on CP1L CPU Units with 10 or 60 I O points CP1W Expansion I O Units with 16 or 32 I O...

Page 808: ...774 Revision History...

Page 809: ...2356 81 300 Fax 31 2356 81 388 OMRON ELECTRONICS LLC One Commerce Drive Schaumburg IL 60173 5302 U S A Tel 1 847 843 7900 Fax 1 847 843 7787 OMRON ASIA PACIFIC PTE LTD No 438A Alexandra Road 05 05 08...

Page 810: ...Authorized Distributor Cat No W462 E1 06 Note Specifications subject to change without notice Printed in Japan This manual is printed on 100 recycled paper...

Reviews: