background image

586

Connections to Serial Communications Option Boards

Appendix F

Note 

(1) RS-422A/485 Option Board settings: 

Terminating resistance ON, 4-wire.

(2) The terminating resistant setting shown above is an example for the NT631/NT631C. The setting

method varies with the PT. Refer to the manual for you PT for details.

1:N, 4-wire Connections from RS-422A/485 to RS-422A/485 Ports

• Communications Mode: 1:N NT Link

Note 

(1) RS-422A/485 Option Board settings: 

Terminating resistance ON, 4-wire.

(2) The terminating resistant setting shown above is 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 Link

Note 

(1) RS-422A/485 Option Board settings: 

Terminating resistance ON, 2-wire.

CPU Unit

Pin

Signal

Signal

Terminal block or D-sub 
connector

RS-422A
/485
Option  
Board

Terminal block

Short bar

Terminal block or D-sub 
connector

RS-422A
/485 In-
terface

RS-422A
/485 In-
terface

FG

FG

Signal

(See note 2.)

PT

PT

Pin

Signal

Signal

Terminal block or D-sub connector

FG

RS-422A
/485 In-
terface

Short bar

Signal

RS-422A
/485 In-
terface

Terminal block or D-sub connector

FG

(See note 2.)

CPU Unit

RS-422A
/485
Option  
Board

Terminal block

PT

PT

Summary of Contents for CP1L - 12-2007

Page 1: ...OPERATION MANUAL Cat No W471 E1 01 SYSMAC CP Series CP1L J14D CP1L J20D CP1L L14D CP1L L20D CP1L M30D CP1L M40D CP1L CPU Unit...

Page 2: ...CP1L J14D CP1L J20D CP1L L14D CP1L L20D CP1L M30D CP1L M40D CP1L CPU Unit Operation Manual Produced December 2007...

Page 3: ...iv...

Page 4: ...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 5: ...onfirm the unit ver sion of the CP1L J CPU Unit CX Programmer version 7 1 or higher can be used to confirm the unit version of the CP1L L and CP1L M CPU Unit Note CX Programmer version 7 0 or lower ca...

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

Page 7: ...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 8: ...higher is 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 X begins at 1 1 3 CX Programmer version 7 11 or higher is...

Page 9: ...x...

Page 10: ...ON 2 Nomenclature and Specifications 33 2 1 Part Names and Functions 34 2 2 Specifications 39 2 3 CP1L CPU Unit Operation 62 2 4 CPU Unit Operation 69 2 5 CPU Unit Operating Modes 73 2 6 Power OFF Ope...

Page 11: ...SECTION 6 Advanced Functions 315 6 1 Interrupt Functions 316 6 2 Quick response Inputs 338 6 3 Serial Communications 342 6 4 Analog Adjuster and External Analog Setting Input 369 6 5 Battery free Ope...

Page 12: ...oting 476 9 3 Error Log 485 9 4 Troubleshooting Unit Errors 486 SECTION 10 Inspection and Maintenance 489 10 1 Inspections 490 10 2 Replacing User serviceable Parts 492 Appendices A Standard Models 49...

Page 13: ...xiv TABLE OF CONTENTS...

Page 14: ...sure you understand the information provided before attempting to install or operate a CP series PLC Be sure to read the precautions provided in the fol lowing section Definition of the CP Series The...

Page 15: ...Memory Areas and Parameter Areas Section 5 describes the CP1L s interrupt and high speed counter functions Section 6 describes all of the advanced functions of the CP1L that can be used to achieve sp...

Page 16: ...M30D CP1L M40D 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 17: ...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 18: ...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 19: ...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 20: ...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 21: ...xxii...

Page 22: ...rstand 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 x...

Page 23: ...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 24: ...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 25: ...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 26: ...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 27: ...alue of any word or any set 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...

Page 28: ...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 29: ...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 30: ...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 31: ...CP1W 40EDR CPM1A 40EDR 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 Electri...

Page 32: ...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 33: ...xxxiv Conformance to EC Directives 6...

Page 34: ...1 Features and Main Functions 2 1 1 1 CP1L Overview 2 1 1 2 Features 5 1 2 System Configuration 12 1 2 1 Basic System 12 1 2 2 System Expansion 14 1 2 3 Restrictions on System Configuration 17 1 3 Co...

Page 35: ...O Points CP1L M30D The CPU Unit has 24 inputs and 16 outputs built in The CPU Unit has 18 inputs and 12 outputs built in The PLC can be expanded to a maximum total of 160 I O points by using CP serie...

Page 36: ...t CPU Units with 20 I O Points CP1L L20D and CP1L J20D CPU Units with 14 I O Points CP1L L14D and CP1L J14D The CPU Unit has 12 inputs and 8 outputs built in The CPU Unit has 8 inputs and 6 outputs bu...

Page 37: ...2 54 See note 2 60 See note 2 54 See note 2 Normal I O I O points 40 30 20 14 20 14 Input points 24 18 12 8 12 8 Input specifications 24 VDC Interrupt or quick response inputs 6 max 4 max 6 max 4 max...

Page 38: ...or and the internal pulse output 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...

Page 39: ...J PLCs four 20 kHz single phase 10 kHz differential phases high speed counter inputs 4 counters 2 axes are provided as a standard feature See note Note Settings in the PLC Setup determine whether each...

Page 40: ...utting 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 standard features See note For CP1L J PLCs pulse outputs...

Page 41: ...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 signals from the CPU Unit s built in ou...

Page 42: ...do not demand a particularly high degree of accuracy such as for example a setting based on changes in out door temperatures or potentiometer inputs Phillips screwdriver Analog adjuster Ladder progra...

Page 43: ...20 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 Temperatu...

Page 44: ...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 45: ...tempt 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 registered password If incorrect pass words are entered...

Page 46: ...18 DC inputs 12 relay outputs 610 g max 24 VDC CP1L M30DR D 525 g max CP1L M30DT D 12 transistor sinking outputs 495 g max CP1L M30DT1 D 12 transistor sourcing outputs 495 g max L 20 points 100 to 24...

Page 47: ...tions such as I O points or tem perature sensor inputs NS series PT personal computer bar code reader etc RS 232C Expansion CP1W CIF01 RS 232C Option Board CP1W CIF11 RS 422A 485C Option Board RS 422A...

Page 48: ...s Maximum total I O points M 40 points CP1L M40DR A CP1L M40DR D CP1L M40DT D CP1L M40DT1 D 24 16 3 Units max Inputs 24 3 Outputs 16 3 Max 160 points Inputs 96 points Outputs 64 points 30 points CP1L...

Page 49: ...to 5 V 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to 20 mA Resolu tion 6 000 1 analog output 1 to 5 0 to 10 V 10 to 10 V 0 to 20 mA 4 to 20 mA Analog Input Units CP1W AD041 CPM1A AD041 4 analog inputs...

Page 50: ...provided between the CPU Unit and the first Expansion Unit or Expansion I O Unit use the PLC in an ambient temperature of 0 to 50 C Restrictions in the External Power Supply Capacity The following res...

Page 51: ...trictions 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 ranges of power supply voltage and ou...

Page 52: ...th AC Power There are no restrictions on the output load current from CPU Units with AC power Expansion I O Units added to the CP1L L14DT D or CP1L L20DT D CP1L J14DT D or CP1L J20DT D Expansion I O U...

Page 53: ...ly Do not disconnect the USB cable while the Support Software is con nected online Before disconnecting the USB cable be sure to place the application in offline status If the USB cable is disconnecte...

Page 54: ...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 will automatically recognize the device and the followin...

Page 55: ...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 56: ...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 57: ...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 58: ...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 59: ...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 60: ...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 61: ...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 62: ...ch 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 can be saved to a Memory Ca...

Page 63: ...5 2 Advantages of Function 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 b...

Page 64: ...ged 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...

Page 65: ...32 Function Blocks Section 1 5...

Page 66: ...2 I O Refreshing and Peripheral Servicing 70 2 4 3 I O Refresh Methods 70 2 4 4 Initialization at Startup 72 2 5 CPU Unit Operating Modes 73 2 5 1 Operating Modes 73 2 5 2 Status and Operations in Eac...

Page 67: ...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 68: ...ogrammer CPU Units with 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 OFF O...

Page 69: ...s turn OFF the power supply to the 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 transfe...

Page 70: ...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 or 40 I O points either Option Board slot may be used When mounting an Option Board f...

Page 71: ...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 Fram...

Page 72: ...S control selection for SD See note 3 OFF RS control disabled Data always sent O N 1 2 3 4 5 6 Power supply classification AC power supply DC power supply Model numbers 40 I O points CP1L M40DR A CP1L...

Page 73: ...A at 24 VDC CP1L L DR A None Insulation resistance 20 M min at 500 VDC between the external AC terminals and GR terminals No insulation between primary and sec ondary DC power supplies Dielectric stre...

Page 74: ...a CPU Unit with 14 or 20 I O points System CPU Unit Expansion Unit or Expansion I O Unit Total 1st Unit 2nd Unit 3rd Unit CP1L M40DR D CP1W DA041 CP1W DA041 CP1W DA041 5 V 0 220 A 0 130 A 0 040 A 0 0...

Page 75: ...048 A Type M CPU Units L CPU Units J CPU Units Model CP1L M40DR A CP1L M40DR D CP1L M40DT D CP1L M40DT1 D CP1L M30DR A CP1L M30DR D CP1L M30DT D CP1L M30DT1 D CP1L L20DR A CP1L L20DR D CP1L L20DT D C...

Page 76: ...ts of 0 1 or 1 Accuracy 5 at 1 kHz Analog settings Analog adjuster 1 Setting range 0 to 255 External ana log setting input 1 input Resolution 1 256 Input range 0 to 10 V Serial port Peripheral USB por...

Page 77: ...M40DR A CP1L M40DR D CP1L M40DT D CP1L M40DT1 D CP1L M30DR A CP1L M30DR D CP1L M30DT D CP1L M30DT1 D CP1L L20DR A CP1L L20DR D CP1L L20DT D CP1L L20DT1 D CP1L L14DR A CP1L L14DR D CP1L L14DT D CP1L L...

Page 78: ...nit s built in flash memory using the data memory initial data transfer function A setting in the PLC Setup can be used so that the data in flash memory is transferred to RAM at startup DM fixed alloc...

Page 79: ...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 80: ...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 81: ...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 82: ...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 83: ...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 84: ...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 85: ...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 86: ...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 87: ...se output 1 CW Pulse output 1 pulse 03 Normal output 3 Pulse output 1 CCW Pulse output 1 direction PWM output 1 04 Normal output 4 Origin search 0 Error counter reset output 05 Normal output 5 Origin...

Page 88: ...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 89: ...N 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 mode Input bits CIO 0 04 to CIO 0 09 Pulse plus direc...

Page 90: ...nits 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 J14DR D CP1L...

Page 91: ...Unit 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 Circuit c...

Page 92: ...lue 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 Relay Ou...

Page 93: ...ons ON delay 15 ms max 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 Added to CP1L L14DR D CP1L L20DR D CP1L J14D...

Page 94: ...re Item Specification CP1W CPM1A 40EDT CP1W CPM1A 40EDT1 CP1W CPM1A 20EDT CP1W CPM1A 20EDT1 CP1W CPM1A 8ET CP1W CPM1A 8ET1 Max switching capacity See note 2 4 5 to 30 VDC 0 3 A output 24 VDC 10 5 0 3...

Page 95: ...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 96: ...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 97: ...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 98: ...RAM from a PT or other external device or when the data is transferred from a Memory Cas sette DM Area data This data is transferred to flash memory only when the trans fer is specified from the CX Pr...

Page 99: ...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 100: ...ry and function block source 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 pr...

Page 101: ...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 102: ...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 103: ...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 104: ...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 105: ...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 106: ...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 107: ...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 108: ...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 109: ...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 110: ...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 111: ...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 112: ...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 113: ...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 114: ...DT CPM1A 40EDT 0 39 ms CP1W 40EDT1 CPM1A 40EDT1 0 39 ms CP1W 40ETR1 CPM1A 40ETR1 0 18 ms CP1W 20EDT CPM1A 20EDT 0 18 ms CP1W 20EDT1 CPM1A 20EDT1 0 18 ms CP1W 16ER CPM1A 16ER 0 25 ms CP1W 8ED CPM1A 8ED...

Page 115: ...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 116: ...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 117: ...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 118: ...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 119: ...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 120: ...96 3 4 Wiring CP1L CPU Units 97 3 4 1 Wiring Power Supply and Ground Lines 98 3 4 2 Wiring Built in I O 100 3 4 3 Wiring Safety and Noise Controls 103 3 5 Wiring CPU Unit I O 105 3 5 1 I O Wiring for...

Page 121: ...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 122: ...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 123: ...nals 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 c...

Page 124: ...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 125: ...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 126: ...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 2...

Page 127: ...nits Mounting Method 10 mm CP1L CPU Unit Expansion I O Units or Expansion Units Unit A mm CP1L CPU Unit 40 I O points 140 0 5 30 I O points 120 0 5 20 I O points 76 0 5 14 I O points 76 0 5 Expansion...

Page 128: ...O Unit Expansion Unit Expansion I O Unit Expansion Unit Expansion connector cover 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...

Page 129: ...IN Track 2 Lower the Units so that they catch on the top of the DIN Track and then press them forward all the way to the DIN Track at the bottom 3 Press in all of the DIN Track mounting pins to secure...

Page 130: ...wiring has been completed This label prevents wire strands and other foreign mat ter from entering the Unit during wiring procedures 2 Remove the label after the completion of wiring to ensure proper...

Page 131: ...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 132: ...rther 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 c...

Page 133: ...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 134: ...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 135: ...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 136: ...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 137: ...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 138: ...iring Lower Terminal Block Relay Outputs CP1L M40DR A and CP1L M40DR 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 i...

Page 139: ...ower lines with sufficient cur rent capacity for the COM terminals NC 00 01 02 03 04 06 00 01 03 04 06 NC COM COM COM COM 05 07 COM 02 COM 05 07 CIO 100 CIO 101 CIO 100 CIO 101 L L L L L L L L L L L L...

Page 140: ...a DC power supply for the input circuit Sinking Transistor Outputs CP1L M30DT D CIO 100 L L L L L L L L 00 01 02 04 05 07 00 02 COM COM COM 03 COM 06 COM 01 03 CIO 100 L L L L CIO 101 CIO 101 CIO 100...

Page 141: ...e power lines with sufficient cur rent capacity for the COM terminals Output Wiring Lower Terminal Block Relay Outputs CP1L L20DR A and CP1L J20DR A L L L L L L L L NC 00 01 02 04 05 07 00 02 NC COM C...

Page 142: ...as a DC power supply for the input circuit Sinking Transistor Outputs CP1L L20DT D Sourcing Transistor Outputs CP1L L20DT1 D and CP1L J20DT1 D CIO 100 L L L L L L L L NC 00 01 02 04 05 07 NC COM COM...

Page 143: ...erminal Block Relay Outputs CP1L L14DR A and CP1L J14DR A Relay Outputs CP1L L14DR D and CP1L J14DR D AC power supply models have a 24 VDC output terminals on the lower terminal block They can be used...

Page 144: ...L NC 00 01 02 04 05 NC NC COM COM COM 03 COM NC CIO 100 Black White Orange Vcc Brown 0 V COM Blue 0 V 24 V 008 009 003 COM COM 24 V Encoder Power supply 24 VDC Example E6B2 CWZ6C NPN open collector o...

Page 145: ...rection 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 CW CCW Pulse Output and Pulse Plus Direction O...

Page 146: ...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 147: ...0EDT1 CPM1A 40EDT1 16 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 sinking CP1W 20EDT1 CPM1A 20E...

Page 148: ...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 149: ...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 150: ...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 COM 06 NC L...

Page 151: ...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 152: ...129 4 2 3 I O Allocation Examples with Expansion I O Units 130 4 2 4 I O Word Allocations to Expansion Units 132 4 3 1 1 Link Area 133 4 4 Serial PLC Link Area 134 4 5 Internal Work Area 134 4 6 Holdi...

Page 153: ...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 154: ...s 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 N...

Page 155: ...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 156: ...tion 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...

Page 157: ...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 158: ...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 159: ...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 160: ...order to any Expan sion Units or Expansion I O Units connected to the CPU Unit When the power to the CPU Unit is turned ON the CPU Unit checks for any Expansion Units and Expansion I O Units connected...

Page 161: ...15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 12 inputs bits 8 output bits 8 outputs CIO 0 CIO 0 00 to CIO 0 11 CIO 100 CIO 100 00 to CIO 100 07 Input bits Output bits CIO 0 CIO 100 12 inputs Do not...

Page 162: ...s Addresses Unit with 8 inputs CP1W 8ED CPM1A 8ED 8 bits 1 word CIO m bits 00 to 07 None None Unit with 8 outputs Relays CP1W 8ER CPM1A 8ER None None 8 bits 1 word CIO n bits 00 to 07 Sinking transist...

Page 163: ...n CIO m and bits 00 to 11 CIO m 1 Sixteen output bits in two words are allocated bits 00 to 07 in CIO n and bits 00 to 07 in CIO n 1 Two input words 24 bits and two output words 16 bits are allocated...

Page 164: ...pansion I O Unit with 40 I O points Third Expansion I O Unit with 40 I O points CPU Unit with 40 I O points First Expansion I O Unit with 40 I O points Second Expansion I O Unit with 40 I O points Thi...

Page 165: ...AD11 CPM1A MAD11 CPM1A MAD01 2 words CIO m to CIO m 1 1 word CIO n Analog Input Units CP1W AD041 4 words CIO m to CIO m 3 1 word CIO n CPM1A AD041 2 words CIO n to CIO n 1 Analog Output Units CP1W DA0...

Page 166: ...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 167: ...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 168: ...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 169: ...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 170: ...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 171: ...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 172: ...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 173: ...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 174: ...address 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 hexade...

Page 175: ...more 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...

Page 176: ...IR and the result is treated 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...

Page 177: ...er is cycled Setting Index Registers Always set the required value in an index register before using it The contents of an index register will be unpredictable if it is not set in advance The contents...

Page 178: ...acting incrementing or decrementing the Index Register see note 4 Steps 2 and 3 are processed repeatedly until the conditions are met Note Adding subtracting incrementing or decrementing for the Index...

Page 179: ...executing the TIM instruction to start the timers Instruction A Instruction A m 1 Instruction A m n MOVR m IR0 The PLC memory address of address m is stored in IR0 Repeated execution e g loop for FOR...

Page 180: ...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 181: ...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 182: ...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 183: ...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 184: ...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 185: ...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 186: ...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 187: ...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 188: ...rch and Origin Return Functions 197 5 2 6 Origin Return 214 5 2 7 Pulse Output Procedures 216 5 2 8 Instructions Used for Pulse Outputs 218 5 2 9 Variable Duty Factor Pulse Outputs PWM 891 Outputs 227...

Page 189: ...tware reset continue comparing Pulse Input Functions Purpose Function used Description Receive incremental rotary encoder inputs to calculate length or position High speed counter function Built in in...

Page 190: ...0 A271 leftmost 4 digits and A270 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 Hig...

Page 191: ...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 192: ...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 193: ...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 194: ...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 195: ...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 196: ...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 197: ...ounter 1 Phase Z or Reset input High speed counter 1 Phase B Decrement or Direction input High speed counter 0 Phase A Increment or Count input High speed counter 0 Phase Z or Reset input High speed c...

Page 198: ...e AC Power Supply Modules NC NC NC NC High speed counter 1 Increment High speed counter 0 Increment High speed counter 2 Increment High speed counter 3 Phase Z or Reset input High speed counter 2 Phas...

Page 199: ...t Input terminal block Default setting High speed counter operation setting Origin search setting Word Bit Single phase increment pulse input Two phase differential phases x4 up down or pulse directio...

Page 200: ...rmal input 3 High speed counter 3 Increment High speed counter 0 Phase B Decre ment or Direction input 04 Normal input 4 Normal input 4 Normal input 4 High speed counter 0 Phase Z or reset input High...

Page 201: ...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 202: ...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 203: ...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 204: ...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 205: ...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 206: ...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 207: ...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 speed Counter 0 Counting...

Page 208: ...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 209: ...fied amount to be executed when specific conditions occur Change Target Speed and Acceleration Deceleration Rate during Acceleration or Deceleration When trapezoidal acceleration deceleration is being...

Page 210: ...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 211: ...000 0000 to 7FFF FFFF hex 2147483648 to 2147483647 Pulse output PV s relative absolute coordinate specification Absolute coordinates are specified automatically when the origin location has been deter...

Page 212: ...put 1 NC 00 01 02 03 04 NC COM COM COM 05 COM NC NC 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 coun...

Page 213: ...ixed PWM output 0 02 Normal output 2 Pulse output 1 CW fixed Pulse output 1 pulse fixed 03 Normal output 3 Pulse output 1 CCW fixed Pulse output 1 direction fixed PWM output 1 04 Normal output 4 Origi...

Page 214: ...1 NC 10 COM 01 03 05 07 00 02 04 06 NC 09 11 NC 10 01 03 05 00 02 04 NC Upper Terminal Block Example DC Power Supply Models Pulse 0 Origin proximity input signal Pulse 1 Origin proximity input signal...

Page 215: ...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 216: ...ment or Direction input 04 Normal input 4 Normal input 4 Normal input 4 High speed counter 0 Phase Z or reset input High speed counter 0 Phase Z or reset input 05 Normal input 5 Normal input 5 Normal...

Page 217: ...flow has occurred in the pulse output PV 0 Normal 1 Overflow or 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 settin...

Page 218: ...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 219: ...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 220: ...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 221: ...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 222: ...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 223: ...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 224: ...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 225: ...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 226: ...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 227: ...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 228: ...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 229: ...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 230: ...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 231: ...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 232: ...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 233: ...fter 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 direction 0 CW direction 1...

Page 234: ...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 235: ...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 236: ...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 237: ...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 238: ...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 239: ...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 240: ...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 241: ...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 242: ...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 243: ...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 244: ...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 245: ...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 246: ...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 247: ...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 248: ...rdinate 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 acceleration rate 4 Orig...

Page 249: ...1 Hz to 100 kHz 1 Hz units J models 1 Hz to 20 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 sear...

Page 250: ...ULS 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 with acceleration...

Page 251: ...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 is enabled Ladder...

Page 252: ...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 253: ...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 FFFF hex 0 to 2 147 483 647...

Page 254: ...f output pulses 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 Continuou...

Page 255: ...e 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 4...

Page 256: ...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 257: ...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 258: ...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 259: ...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 260: ...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 261: ...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 262: ...229 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 263: ...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 264: ...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 265: ...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 266: ...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 267: ...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 268: ...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 269: ...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 270: ...SPED 885 for the jog operation If ACC 888 is used acceleration deceleration can be included in the jog op eration Vertically Conveying PCBs Multiple Progressive Positioning Specifications and Operatio...

Page 271: ...50 000 Hz 10000 C350 hex CCW limit Origin servo phase Z Origin proximity CW limit 2 Fixed distance positioning repeated 3 Return to start Acceleration deceleration 1 000 Hz 4 ms 03E8 hex Stocker movem...

Page 272: ...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 273: ...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 274: ...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 275: ...ogress 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 Positioning...

Page 276: ...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 277: ...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 278: ...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 279: ...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 280: ...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 281: ...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 282: ...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 283: ...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 284: ...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 285: ...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 286: ...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 287: ...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 288: ...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 289: ...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 290: ...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 291: ...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 292: ...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 293: ...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 294: ...1 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 COMM CP1L SYSMAC CP1L L1 L2 N COM 01 0...

Page 295: ...xiliary 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...

Page 296: ...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 297: ...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 error occu...

Page 298: ...alues 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 speed coun...

Page 299: ...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 300: ...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 301: ...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 302: ...verter 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 hex 0 to 2 147 489 647...

Page 303: ...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 J models 0000 0000 to 0000 4E20 hex 0 to 20 kHz S 2 upper 4 digits Operand Description Operan...

Page 304: ...ription P Port specifier 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 N...

Page 305: ...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 306: ...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 307: ...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 308: ...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 309: ...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 310: ...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 311: ...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 312: ...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 313: ...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 314: ...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 315: ...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 316: ...hes enabled Inverter positioning enabled Word Bit Normal 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 i...

Page 317: ...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 318: ...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...

Page 319: ...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 320: ...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 321: ...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 322: ...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 323: ...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...

Page 324: ...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 325: ...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 326: ...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 327: ...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 328: ...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 329: ...4 06 COM COM COM COM 05 07 COM 02 COM 05 07 IN OUT COMM CP1W CIF11 Speed Command via Serial Communications CP1L RS 485 communications Modbus RTU Inverter Standard motor Encoder 3G3MV 3G3RV Feedback pu...

Page 330: ...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 331: ...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 332: ...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 333: ...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 334: ...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 335: ...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 336: ...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 337: ...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 338: ...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 339: ...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 340: ...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 341: ...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 342: ...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 343: ...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 344: ...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 345: ...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 346: ...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 347: ...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 348: ...Links 363 6 3 9 Host Link Communications 364 6 4 Analog Adjuster and External Analog Setting Input 370 6 4 1 Analog Adjuster 370 6 4 2 External Analog Setting Input 370 6 5 Battery free Operation 371...

Page 349: ...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 350: ...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 351: ...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 352: ...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 353: ...used for input interrupts Input Terminal Block of CPU Units with 20 I O Points The 6 input bits CIO 0 04 to CIO 0 09 can be used for input interrupts BSET 1234 D0 D10 DI EI Cyclic task Disables execut...

Page 354: ...CPU Unit with AC Power Supply Inputs CIO 0 Inputs CIO 1 Input terminal block CPU Unit Input interrupt Task number Word Bit CPU Units with 40 I O Points CPU Units with 30 I O Points CPU Units with 20...

Page 355: ...SKS 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 using an up d...

Page 356: ...se the 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 numb...

Page 357: ...ect 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 same interrupt tasks 140 to 145 as the dire...

Page 358: ...he Ladder Program MSKS 690 Settings 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...

Page 359: ...V 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 to enable operation of the input interr...

Page 360: ...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 361: ...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 362: ...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 363: ...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 364: ...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 365: ...al input 3 High speed counter 3 Increment input High speed counter 1 Phase B Decrement or Direction input 04 Normal input 4 Normal input 4 Normal input 4 High speed counter 0 Phase Z or reset input Hi...

Page 366: ...1 Origin proximity input signal 04 Normal input 4 High speed counter 0 Phase Z or reset input High speed counter 0 Phase Z or reset input 05 Normal input 5 High speed counter 1 Phase Z or reset input...

Page 367: ...er number 0000 High speed counter 0 0001 High speed counter 1 C Control data 0000 Registers a target value comparison table and starts the comparison operation 0001 Registers a range comparison table...

Page 368: ...e note Range 8 upper value rightmost Range 8 upper value leftmost 0000 0000 to FFFF FFFF hex see note Interrupt task number 0000 to 00FF hex 0 to 255 AAAA hex Do not start interrupt task FFFF hex Disa...

Page 369: ...rts with high speed counter 0 When the PV of high speed counter 0 reaches 30 000 cyclic task process ing is interrupted and interrupt task 10 is processed When interrupt task 10 processing is complete...

Page 370: ...g interrupted Cyclic task processing 30 000 7530 hex High speed counter 0 PV in A270 and A271 Item Setting High speed counter 1 Use counter Counting mode Circular mode Circular Max Count 50 000 Reset...

Page 371: ...uts to read signals shorter than the cycle time such as inputs from photomicrosensors PLC Setup Use the CX Programmer to set a built in input as a quick response input in the PLC Setup Click the Built...

Page 372: ...Points The 6 input bits CIO 0 04 to CIO 0 09 can be used as quick response inputs L1 L2 N COM 01 03 05 07 NC NC 00 02 04 06 NC NC Upper Terminal Block CPU Unit with AC Power Supply CIO 0 inputs Quick...

Page 373: ...nput 3 Quick response input 5 Quick response input 2 Quick response input 0 Quick response input 4 Input terminal block Input operation setting Quick response inputs Word Bit CPU Units with 40 I O Poi...

Page 374: ...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 375: ...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 376: ...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 O m...

Page 377: ...port using TXD 236 or RXD 235 Peripheral bus toolbus CX Programmer Provides high speed communi cations with the CX Program mer Remote programming through modems is not supported OK OK 1 1 NT Links OMR...

Page 378: ...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 379: ...ve When more than one end code is used 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 cod...

Page 380: ...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 381: ...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 382: ...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 383: ...r Execution Bit Turned ON Execution started ON Execution in progress OFF Not executed or execution completed 01 Modbus RTU Master Execution Normal Flag ON Execution normal OFF Execution error or still...

Page 384: ...Link FINS toolbus NT Link or CPU bus Conversion functions FINS commands addressed to serial port 1 or 2 on the CPU Unit are converted to CompoWay F commands after removing the header if the FINS comm...

Page 385: ...wer words The size must be the same for all CP1L CPU Units Note Serial PLC 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...

Page 386: ...g node or polled node a PLC Setup setting error non fatal error will occur and the PLC Setup Setting Error Flag A402 10 will turn ON Connection method RS 422A 485 or RS 232C connection via RS 422A 485...

Page 387: ...or Polled Units not present in the network are unde fined in the Polling Unit only No 0 No 1 No 2 No 3 No 4 No 5 No 6 No 7 3100 to 3109 3110 to 3119 3120 to 3129 3130 to 3139 3140 to 3149 3150 to 315...

Page 388: ...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 389: ...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 390: ...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 391: ...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 392: ...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 393: ...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 394: ...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 395: ...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 396: ...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 397: ...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 398: ...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 399: ...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 400: ...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 401: ...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 402: ...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 403: ...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 404: ...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 405: ...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 Completion Flags and DM Are...

Page 406: ...ial 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...

Page 407: ...ote 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 and 7 segment LED are flashing i e during a data...

Page 408: ...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 409: ...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 410: ...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 411: ...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 412: ...HERAL 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 operat...

Page 413: ...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 414: ...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 415: ...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 416: ...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 417: ...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 418: ...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 419: ...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 420: ...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 421: ...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 422: ...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 423: ...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 424: ...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 425: ...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 426: ...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 427: ...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 428: ...395 Clock Section 6 9...

Page 429: ...396 Clock Section 6 9...

Page 430: ...sion I O Units 7 1 Connecting Expansion Units and Expansion I O Units 396 7 2 Analog Input Units 397 7 3 Analog Output Units 406 7 4 Analog I O Units 414 7 4 1 CPM1A MAD01 Analog I O Units 414 7 4 2 C...

Page 431: ...Current 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...

Page 432: ...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 433: ...put 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 CO...

Page 434: ...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 435: ...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 436: ...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 437: ...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 438: ...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 439: ...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 440: ...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 441: ...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 442: ...are connected to a CP1L CPU Unit 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 OUT4 VOUT4 COM4...

Page 443: ...0 Hex Conversion time 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...

Page 444: ...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 445: ...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 446: ...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 447: ...om 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...

Page 448: ...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 449: ...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 80B9 102 TIM5 0002 P_On D200 102 T5 MOV 021 D202 104 T5 MOV 021 MOV 021 8...

Page 450: ...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 451: ...6 07 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 CPU Unit CP1W 20EDR1 CPM1A 20EDR1 Expansion I O Unit CP1W 8ED CPM1A 8ED Expansion I O Unit...

Page 452: ...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 453: ...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 454: ...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 455: ...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 456: ...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 457: ...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 458: ...r 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 and...

Page 459: ...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 460: ...for 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...

Page 461: ...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 462: ...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 463: ...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 464: ...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 465: ...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 466: ...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 467: ...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 468: ...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 469: ...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 470: ...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 471: ...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 472: ...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 473: ...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 474: ...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 475: ...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 476: ...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 477: ...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 478: ...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 479: ...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 480: ...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 481: ...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 482: ...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 483: ...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 484: ...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 485: ...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 486: ...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 487: ...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 488: ...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 489: ...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 490: ...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 transmission pat...

Page 491: ...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 492: ...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 493: ...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 494: ...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 495: ...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 496: ...located 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 illustrati...

Page 497: ...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 498: ...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 499: ...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 500: ...ocesses used to transfer the program to the CPU Unit and the functions that can be used to test and debug the program 8 1 Program Transfer 466 8 2 Trial Operation and Debugging 466 8 2 1 Forced Set Re...

Page 501: ...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 M...

Page 502: ...oring 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 503: ...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 504: ...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 Fl...

Page 505: ...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 sampli...

Page 506: ...nstruction 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 b...

Page 507: ...races 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 exec...

Page 508: ...P1L operation 9 1 Error Classification and Confirmation 474 9 2 Troubleshooting 476 9 2 1 Error Processing Flowchart 476 9 2 2 No Operation When Power Is Supplied 476 9 2 3 Fatal Errors 477 9 2 4 CPU...

Page 509: ...RPHL 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 t...

Page 510: ...t 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 A...

Page 511: ...0 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 512: ...e of the CX Program mer s PLC Error Window Take corrective actions after checking error details based on the 7 segment display or the CX Programmer display message together with the Auxiliary Area Err...

Page 513: ...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 514: ...C0 80CA 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 Conne...

Page 515: ...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 516: ...al errors but not for CPU errors If the CX Programmer cannot be connected online a CPU error has probably occurred Probable cause Possible remedy FALS instruction executed FALS number 001 C100 hex wil...

Page 517: ...ed in the program to create 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...

Page 518: ...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 519: ...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 seria...

Page 520: ...n 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 521: ...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 522: ...l 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 F...

Page 523: ...488 Troubleshooting Unit Errors Section 9 4...

Page 524: ...spection and Maintenance This section provides inspection and maintenance information 10 1 Inspections 490 10 1 1 Inspection Points 490 10 1 2 Unit Replacement Precautions 491 10 2 Replacing User serv...

Page 525: ...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 526: ...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 th...

Page 527: ...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 528: ...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 529: ...v er CPU Units with 14 or 20 I O Points CPU Units with 30 or 40 I O Points WARNING Never short circuit the battery terminals never charge the battery never dis assemble the battery and never heat or i...

Page 530: ...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 531: ...496 Replacing User serviceable Parts Section 10 2...

Page 532: ...Ksteps High speed counters 100 kHz 4 counters Pulse outputs 2 axes at 100 kHz CP1L L20DR D 24 VDC 8 relay outputs CP1L L20DT D 8 transistor out puts sinking CP1L L20DT1 D 8 transistor out puts sourci...

Page 533: ...ounted in option slot 1 or 2 on the CPU Unit to function as an RS 422A 485 port Memory Cassette CP1W ME05M Used to save CPU Unit user programming parameters and data or to copy these to another CPU Un...

Page 534: ...20 mA Resolution 1 6 000 Analog Input Unit CP1W AD041 CPM1A AD041 4 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 Resolution 1 6 000 Analog Output Unit CP1W DA041 CPM1A DA...

Page 535: ...ts and 8 outputs are allocated Name and appearance Model Specifications Remarks Battery CJ1W BAT01 Installed in the CPU Unit Name and appearance Model Specifications Remarks DIN Track PFP 50N PFP 100N...

Page 536: ...Diagrams CP1L CPU Units CPU Units with 14 or 20 I O Points CPU Units with 30 I O Points CPU Units with 40 I O Points 90 100 110 76 86 8 85 Four 4 5 dia 90 100 110 120 130 8 85 Four 4 5 dia 90 100 110...

Page 537: ...Diagrams Appendix B Optional Products CP1W CIF01 CIF11 Option Boards CP1W ME05M Memory Cassette 35 9 37 3 35 9 5 1 16 5 16 5 0 15 13 5 19 7 35 9 37 3 35 9 8 9 15 7 16 5 0 15 13 5 16 5 18 6 18 14 7 9...

Page 538: ...0 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 03 02 01 00 11 10 09 08 07 06 05 04 03 02 01 00 07 06 05 04 03 02 01 00 07 06 05 04 0...

Page 539: ...point Output Unit CP1W CPM1A 16ER 8 point I O Units CP1W CPM1A 8ER 8ET 8ET1 90 100 0 2 5 5 76 0 2 86 50 8 Two 4 5 dia 50 8 IN 00 02 01 COM 03 COM 05 07 04 06 CH 00 01 02 03 08 09 10 11 8ED EXP Two 4...

Page 540: ...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 541: ...dix 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 5 66 Two...

Page 542: ...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 543: ...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 544: ...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 545: ...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 546: ...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 547: ...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 548: ...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 549: ...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 550: ...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 551: ...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 552: ...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 553: ...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 554: ...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 555: ...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 556: ...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 557: ...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 558: ...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 559: ...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 560: ...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 561: ...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 562: ...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 563: ...528 Auxiliary Area Allocations by Function Appendix C...

Page 564: ...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 565: ...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 566: ...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 567: ...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 568: ...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 569: ...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 570: ...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 571: ...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 572: ...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 573: ...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 574: ...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 575: ...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 576: ...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 577: ...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 578: ...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 579: ...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 580: ...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 581: ...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 582: ...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 583: ...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 584: ...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 Ma...

Page 585: ...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 586: ...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 587: ...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 588: ...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 589: ...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 590: ...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 591: ...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 592: ...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 593: ...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 594: ...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 595: ...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 596: ...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 597: ...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 598: ...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 599: ...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 600: ...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 601: ...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 602: ...sponse 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 Modbus...

Page 603: ...l 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 Cl...

Page 604: ...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 605: ...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 606: ...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 607: ...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 608: ...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 609: ...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 610: ...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 611: ...576 Auxiliary Area Allocations by Address Appendix D...

Page 612: ...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 613: ...lag 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 T...

Page 614: ...e the RS 232C port on the CP1W CIF01 and then connect through the NT AL001 E Link Adapter which is isolated Doing so will enable a maximum transmission distance of 500 m Communications mode RS 232C CP...

Page 615: ...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 616: ...C 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 ON ON...

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

Page 618: ...n 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 E Link Adapter RS 232C NT AL001 E Link Adapter Pin Pin CPU Unit CPU Uni...

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

Page 620: ...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 621: ...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 622: ...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 E Link Adapter is connected 4 Br...

Page 623: ...nk Adapter is connected 4 Branch lines must be a maximum of 10 m long Connection Examples The connection examples in the remainder of this section show only the basic connection diagrams We rec ommend...

Page 624: ...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 625: ...L001 E 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 E Link Adapte...

Page 626: ...Pin 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 supportin...

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

Page 628: ...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 629: ...or 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 RS...

Page 630: ...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 631: ...the NT AL001 E is used the total transmission distance for the whole trans mission path is 500 m max Connection with an RS 232C Port RS 232C connection is also possible when using a Serial PLC Link t...

Page 632: ...485 interface Signal name Signal name Signal name Shield Pin No Pin No Pin No CP1W CIF01 RS 232C Option Board CP1W CIF11 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 633: ...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 634: ...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 635: ...200T 1 Connecting Cables for the NT AL001 E Link Adapter uses special 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 co...

Page 636: ...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 637: ...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 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...

Page 639: ...604 Connections to Serial Communications Option Boards Appendix F...

Page 640: ...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 641: ...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 642: ...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 643: ...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 644: ...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 645: ...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 646: ...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 647: ...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 648: ...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 649: ...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 650: ...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 651: ...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 652: ...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 653: ...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 654: ...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 655: ...ower is turned ON 59 04 to 07 0 hex Interrupt 1 hex Quick 2 hex 7 IN6 CIO 1 02 Normal Normal When power is turned ON 59 08 to 11 0 hex Interrupt 1 hex Quick 2 hex 8 IN7 CIO 1 03 Normal Normal When pow...

Page 656: ...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 657: ...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 658: ...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 659: ...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 660: ...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 661: ...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 662: ...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 663: ...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 664: ...l 345 Communications Port Enabled Flags 574 complete link method 353 Condition Flag saving and loading status 153 Condition Flags 151 coordinate systems absolute or relative 192 Counter Area 138 count...

Page 665: ...U operation 69 Forced Status Hold Bit 507 559 force resetting bits debugging 466 force setting bits debugging 466 frequency frequency measurement 174 G Gate Bit high speed counters 173 Greater Than Fl...

Page 666: ...noise xxvi reducing xxx no protocol communications 345 Not Equal Flag 152 NT Link ports 579 O online editing 468 effect on cycle time 82 Online Editing Flags 536 Online Editing Wait Flag 574 related...

Page 667: ...program transfer 466 programming error flag 554 program error information 517 program errors 575 program protection 386 protecting the program 386 transferring the program 466 pulse direction mode de...

Page 668: ...7 T target value comparison for interrupt tasks 172 Task Error Flag 545 Task Flags 151 Task Started Flag 514 tasks related flags bits 515 See also interrupt tasks Task Flags 151 Timer Area 137 TR Area...

Page 669: ...634 Index...

Page 670: ...talog number on the front cover of the manual The following table outlines the changes made to the manual during each revision Page numbers refer to the previous version Revision code Date Revised con...

Page 671: ...636 Revision History...

Page 672: ...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 673: ...Authorized Distributor Cat No W471 E1 01 Note Specifications subject to change without notice Printed in Japan This manual is printed on 100 recycled paper...

Reviews: