manualshive.com logo in svg
background image

CP1L CPU Unit

Cat. No. W462-E1-02

SYSMAC CP Series
CP1L-L14D

#

-

#

CP1L-L20D

#

-

#

CP1L-M30D

#

-

#

CP1L-M40D

#

-

#

OPERATION MANUAL

Содержание CP1L-L14D Series

Страница 1: ...CP1L CPU Unit Cat No W462 E1 02 SYSMAC CP Series CP1L L14D CP1L L20D CP1L M30D CP1L M40D OPERATION MANUAL...

Страница 2: ...CP1L L14D CP1L L20D CP1L M30D CP1L M40D CP1L CPU Unit Operation Manual Revised June 2007...

Страница 3: ...iv...

Страница 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...

Страница 5: ...shown below Confirming Unit Versions with Support Software CX Programmer version 7 1 or higher can be used to confirm the unit version of the CP1L CPU Unit Note CX Programmer version 7 1 or lower cann...

Страница 6: ...ings Button by the Device Type Field and when the Device Type Settings Dialog Box is displayed set the CPU Type Field to M or L 3 Go online and select PLC Edit Information The PLC Information Dialog B...

Страница 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...

Страница 8: ...tached to the front of previous CPU Units to differenti ate between CPU Units of different unit versions Ver 1 0 Ver 1 0 Ver Ver These Labels can be used to manage differences in the available functio...

Страница 9: ...x...

Страница 10: ...ON 2 Nomenclature and Specifications 33 2 1 Part Names and Functions 34 2 2 Specifications 39 2 3 CP1L CPU Unit Operation 63 2 4 CPU Unit Operation 71 2 5 CPU Unit Operating Modes 75 2 6 Power OFF Ope...

Страница 11: ...SECTION 6 Advanced Functions 317 6 1 Interrupt Functions 318 6 2 Quick response Inputs 340 6 3 Serial Communications 344 6 4 Analog Adjuster and External Analog Setting Input 371 6 5 Battery free Ope...

Страница 12: ...oting 478 9 3 Error Log 487 9 4 Troubleshooting Unit Errors 488 SECTION 10 Inspection and Maintenance 491 10 1 Inspections 492 10 2 Replacing User serviceable Parts 494 Appendices A Standard Models 49...

Страница 13: ...xiv TABLE OF CONTENTS...

Страница 14: ...xed areas for inputs and outputs CS1H CPU H CS1G CPU H CS1 H CPU Units CS series Power Supply Units Note Products specifically for the CS1D Series are required to use CS1D CPU Units CS series Basic I...

Страница 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...

Страница 16: ...es 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 debugging using the CX Progra...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 21: ...xxii...

Страница 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...

Страница 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...

Страница 24: ...onfirming that no adverse effects will be caused by extending the cycle time Otherwise the input signals may not be readable Caution Confirm safety at the destination node before transferring a progra...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 33: ...xxxiv Conformance to EC Directives 6...

Страница 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...

Страница 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...

Страница 36: ...mines whether it is used as a normal output pulse output or PWM output CPU Units with 20 I O Points CP1L L20D CPU Units with 14 I O Points CP1L L14D The CPU Unit has 12 inputs and 8 outputs built in T...

Страница 37: ...umber of I O points 160 See note 1 150 See note 1 60 See note 2 54 See note 2 Normal I O I O points 40 30 20 14 Input points 24 18 12 8 Input specifications 24 VDC Interrupt or quick response inputs 6...

Страница 38: ...r 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 p...

Страница 39: ...inputs 4 counters 2 axes are provided as a standard feature See note Note Settings in the PLC Setup determine whether each input point is to be used as a normal input interrupt input quick response in...

Страница 40: ...ol by a pulse input servo driver is enabled by out putting fixed duty ratio pulse output signals from the CPU Unit s built in out puts Pulse outputs for 2 axes at 100 kHz maximum are provided as stand...

Страница 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...

Страница 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...

Страница 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 Temperat...

Страница 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...

Страница 45: ...der 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 for five consecutive attemp...

Страница 46: ...0DR D 590 g max CP1L M40DT D 16 transistor sinking outputs 550 g max CP1L M40DT1 D 16 transistor sourcing outputs 550 g max 30 points 100 to 240 VAC CP1L M30DR A 18 DC inputs 12 relay outputs 610 g ma...

Страница 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...

Страница 48: ...16 3 Max 160 points Inputs 96 points Outputs 64 points 30 points CP1L M30DR A CP1L M30DR D CP1L M30DT D CP1L M30DT1 D 18 12 3 Units max Inputs 24 3 Outputs 16 3 Max 150 points Inputs 90 points Output...

Страница 49: ...0 to 20 mA 4 to 20 mA Analog Input Units 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 Resolu tion 6 000 200 g max Analog Output Units CP1W DA041...

Страница 50: ...t temperature of 0 to 50 C Restrictions in the External Power Supply Capacity The following restrictions apply when using the external power supply from a CPU Unit with AC power CPU Units with 30 or 4...

Страница 51: ...current CPU Units with Relay Outputs CP1L DR D Relay Output Load Current Derating Curves for CPU Units and Expansion I O Units Note The above restrictions apply to the relay output load current from t...

Страница 52: ...t CPU Units with 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 Expansion I O Units added to t...

Страница 53: ...is con nected online Before disconnecting the USB cable be sure to place the application in offline status If the USB cable is disconnected while online the situations described below will occur as a...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 62: ...User memory parameters such as PLC Setup DM initial values comment memory etc can be saved in the CPU Unit s built in flash memory Memory Cassette Data saved in the CPU Unit s built in flash memory ca...

Страница 63: ...n Blocks Function blocks allow complex programming units to be reused easily Once standard program sections have been created as function blocks and saved in files they can be reused just by placing a...

Страница 64: ...ed as they do when copying and reusing a program section Creating Libraries Processes that are independent and reusable such as processes for individ ual steps machinery equipment or control systems c...

Страница 65: ...32 Function Blocks Section 1 5...

Страница 66: ...2 I O Refreshing and Peripheral Servicing 72 2 4 3 I O Refresh Methods 72 2 4 4 Initialization at Startup 74 2 5 CPU Unit Operating Modes 75 2 5 1 Operating Modes 75 2 5 2 Status and Operations in Eac...

Страница 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...

Страница 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...

Страница 69: ...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 transferr...

Страница 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...

Страница 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...

Страница 72: ...ontrol disabled Data always received 6 ON RS control enabled RS control selection for SD See note 3 OFF RS control disabled Data always sent O N 1 2 3 4 5 6 Power supply classification AC power supply...

Страница 73: ...l power supply See note 2 300 mA at 24 VDC CP1L M DR A 200 mA 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 betw...

Страница 74: ...onnected 4 The external power supply cannot be used if an Expansion Unit or Expan sion I O Unit is connected to a CPU Unit with 14 or 20 I O points System CPU Unit Expansion Unit or Expansion I O Unit...

Страница 75: ...eters CP1W CPM1A TS101 0 054 A 0 073 A CP1W CPM1A TS102 CompoBus S I O Link Unit 8 inputs 8 outputs CP1W CPM1A SRT21 0 029 A DeviceNet I O Link Unit 32 inputs 32 outputs CPM1A DRT21 0 048 A Type M CPU...

Страница 76: ...juster 1 Setting range 0 to 255 External analog setting input 1 input Resolution 1 256 Input range 0 to 10 V Serial port Peripheral USB port Supported 1 port USB connector type B Special for a Periphe...

Страница 77: ...CX Programmer Reading from Memory Cassette At startup or by operations from the CX Program mer Type M CPU Units L CPU Units Model CP1L M40DR A CP1L M40DR D CP1L M40DT D CP1L M40DT1 D CP1L M30DR A CP1L...

Страница 78: ...Initial data can be transferred to the CPU Unit s built in flash memory using the data memory initial data transfer function A set ting in the PLC Setup can be used so that the data in flash memory i...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 90: ...pansion I O Units are not connected OFF delay 15 ms max Circuit configuration Item Specification COM OUT OUT Output LED Internal circuits Maximum 250 VAC 2 A 24 VDC 2 A CP1L L14DR D CP1L L20DR D CP1L...

Страница 91: ...M30D D 2 7 A Unit L20D D 1 8 A Unit L14D D 1 4 A Unit See note 2 Min switching capacity 4 5 to 30 VDC 1 mA Leakage current 0 1 mA max Residual voltage 0 6 V max 1 5 V max ON delay 0 1 ms max OFF delay...

Страница 92: ...s must be added 2 Do not apply voltage in excess of the rated voltage to the input terminal Output Specifications Relay Outputs CP1W 40EDR 20EDR1 16ER 8ER Item Specification Max switching capacity 30...

Страница 93: ...0 000 operations 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 or CP1L L...

Страница 94: ...DT 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 A output OUT00 01 4 5 to 30 VDC 0 2 A output OUT02 to 07 4 5 to 30 VDC...

Страница 95: ...62 Specifications Section 2 2 Caution Do not connect a load to an output terminal or apply a voltage in excess of the maximum switching capacity...

Страница 96: ...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...

Страница 97: ...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...

Страница 98: ...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...

Страница 99: ...or is lit Memory Cassette Memory Cassettes can be used as required in system operation and mainte nance For example they can be used to save programs data memory con tents PLC Setup data or I O commen...

Страница 100: ...memory data This data is written to flash memory when a project is trans ferred from the CX Programmer and transferring comment memory is specified Function block source data This data is written to f...

Страница 101: ...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...

Страница 102: ...e data Either of both of the following can be transferred to the Memory Cassette Data in the built in flash memory Data in RAM DM Area data RAM DM Area data from RAM User program area Parameter area I...

Страница 103: ...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...

Страница 104: ...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...

Страница 105: ...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...

Страница 106: ...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...

Страница 107: ...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...

Страница 108: ...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...

Страница 109: ...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...

Страница 110: ...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...

Страница 111: ...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...

Страница 112: ...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...

Страница 113: ...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...

Страница 114: ...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...

Страница 115: ...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...

Страница 116: ...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...

Страница 117: ...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...

Страница 118: ...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...

Страница 119: ...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...

Страница 120: ...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...

Страница 121: ...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...

Страница 122: ...98 3 4 Wiring CP1L CPU Units 99 3 4 1 Wiring Power Supply and Ground Lines 100 3 4 2 Wiring Built in I O 102 3 4 3 Wiring Safety and Noise Controls 105 3 5 Wiring CPU Unit I O 107 3 5 1 I O Wiring for...

Страница 123: ...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...

Страница 124: ...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...

Страница 125: ...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...

Страница 126: ...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...

Страница 127: ...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...

Страница 128: ...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...

Страница 129: ...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...

Страница 130: ...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...

Страница 131: ...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...

Страница 132: ...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...

Страница 133: ...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...

Страница 134: ...urther 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...

Страница 135: ...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...

Страница 136: ...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...

Страница 137: ...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...

Страница 138: ...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...

Страница 139: ...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...

Страница 140: ...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...

Страница 141: ...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...

Страница 142: ...input circuit Sinking Transistor Outputs CP1L M30DT D Sourcing Transistor Outputs CP1L M30DT1 D CIO 100 CIO 101 CIO 100 CIO 101 L L L L L L L L L L L L COM 01 00 03 02 05 04 07 06 COM COM COM COM 00 0...

Страница 143: ...nal Block Relay Outputs CP1L L20DR A and CP1L L20DR D AC power supply models have a 24 VDC output terminals on the lower terminal block They can be used as a DC power supply for the input circuit Sink...

Страница 144: ...he COM terminals Output Wiring Lower Terminal Block Relay Outputs CP1L L14DR A and CP1L L14DR D AC power supply models have a 24 VDC output terminals on the lower terminal block They can be used as a...

Страница 145: ...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 output Pha...

Страница 146: ...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...

Страница 147: ...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...

Страница 148: ...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...

Страница 149: ...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...

Страница 150: ...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...

Страница 151: ...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...

Страница 152: ...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...

Страница 153: ...120 CP CPM1A series Expansion I O Unit Wiring Section 3 6...

Страница 154: ...131 4 2 3 I O Allocation Examples with Expansion I O Units 132 4 2 4 I O Word Allocations to Expansion Units 134 4 3 1 1 Link Area 135 4 4 Serial PLC Link Area 136 4 5 Internal Work Area 136 4 6 Holdi...

Страница 155: ...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...

Страница 156: ...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...

Страница 157: ...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...

Страница 158: ...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...

Страница 159: ...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...

Страница 160: ...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...

Страница 161: ...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...

Страница 162: ...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...

Страница 163: ...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...

Страница 164: ...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...

Страница 165: ...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...

Страница 166: ...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...

Страница 167: ...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...

Страница 168: ...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...

Страница 169: ...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...

Страница 170: ...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...

Страница 171: ...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...

Страница 172: ...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...

Страница 173: ...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...

Страница 174: ...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...

Страница 175: ...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...

Страница 176: ...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...

Страница 177: ...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...

Страница 178: ...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...

Страница 179: ...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...

Страница 180: ...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...

Страница 181: ...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...

Страница 182: ...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...

Страница 183: ...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...

Страница 184: ...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...

Страница 185: ...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...

Страница 186: ...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...

Страница 187: ...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...

Страница 188: ...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...

Страница 189: ...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...

Страница 190: ...rch and Origin Return Functions 199 5 2 6 Origin Return 216 5 2 7 Pulse Output Procedures 218 5 2 8 Instructions Used for Pulse Outputs 220 5 2 9 Variable Duty Factor Pulse Outputs PWM 891 Outputs 229...

Страница 191: ...unction used Description Receive incremental rotary encoder inputs to calculate length or position High speed counter function Built in input terminals can be used for high speed counter inputs The PV...

Страница 192: ...rightmost 4 digits High speed counter 1 A273 leftmost 4 digits and A272 rightmost 4 digits High speed counter 2 A317 leftmost 4 digits and A316 rightmost 4 digits High speed counter 3 A319 leftmost 4...

Страница 193: ...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...

Страница 194: ...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...

Страница 195: ...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...

Страница 196: ...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...

Страница 197: ...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...

Страница 198: ...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...

Страница 199: ...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...

Страница 200: ...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...

Страница 201: ...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...

Страница 202: ...mal 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 s...

Страница 203: ...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...

Страница 204: ...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...

Страница 205: ...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...

Страница 206: ...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...

Страница 207: ...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...

Страница 208: ...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...

Страница 209: ...eed counter 0 Option in the PLC Setup 2 Pulse Input Mode Setting Required Set the High speed Counter 0 Pulse Input Mode Input Setting in the PLC Setup 3 Counting Mode Setting Required Set the High spe...

Страница 210: ...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...

Страница 211: ...ving a specified amount to be executed when specific conditions occur Change Target Speed and Acceleration Deceleration Rate during Acceleration or Deceleration When trapezoidal acceleration decelerat...

Страница 212: ...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...

Страница 213: ...FFF hex 2147483648 to 2147483647 Pulse output PV s relative absolute coordinate specification Absolute coordinates are specified automatically when the origin location has been determined by setting t...

Страница 214: ...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...

Страница 215: ...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...

Страница 216: ...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...

Страница 217: ...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...

Страница 218: ...ent 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 i...

Страница 219: ...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...

Страница 220: ...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...

Страница 221: ...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...

Страница 222: ...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...

Страница 223: ...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...

Страница 224: ...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...

Страница 225: ...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...

Страница 226: ...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...

Страница 227: ...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...

Страница 228: ...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...

Страница 229: ...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...

Страница 230: ...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...

Страница 231: ...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...

Страница 232: ...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...

Страница 233: ...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...

Страница 234: ...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...

Страница 235: ...the Origin Input Signal after the Origin Proximity Input Signal goes from OFF ON 2 Just read the Origin Input Signal with out using the Origin Proximity Input Signal Start of operation Origin search d...

Страница 236: ...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...

Страница 237: ...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...

Страница 238: ...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...

Страница 239: ...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...

Страница 240: ...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...

Страница 241: ...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...

Страница 242: ...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...

Страница 243: ...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...

Страница 244: ...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...

Страница 245: ...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...

Страница 246: ...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...

Страница 247: ...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...

Страница 248: ...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...

Страница 249: ...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...

Страница 250: ...determined relative coordinate system when ORG 889 is executed to perform an origin return operation 1 Starting Speed for Origin Search and Origin Return 2 Origin return target speed 3 Origin return...

Страница 251: ...1 Output frequency 1 Hz to 100 kHz 1 Hz units Wire the outputs PLC Setup settings Enable disable the origin search function Set the various origin search parameters if the origin search function is en...

Страница 252: ...d Ladder program PULS 886 Specify port number and set the number of output pulses ACC 888 Specify port number and set the output method CW CCW method or Pulse direction method and pulse output control...

Страница 253: ...e the pulse output method output frequency and port Wire the outputs PLC Setup settings Enable disable the origin search function Set the various origin search parameters if the origin search function...

Страница 254: ...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...

Страница 255: ...output N First number of pulses word N and N 1 contain the number of pulses setting N contains the rightmost 4 digits and N 1 contains the leftmost 4 digits Relative pulse output 0000 0000 to 7FFF FF...

Страница 256: ...target frequency acceleration rate or deceleration rate Operand Contents P Port specifier 0000 hex Pulse output 0 0001 hex Pulse output 1 M Output mode Bits 0 to 3 Mode 0 hex Continuous 1 hex Independ...

Страница 257: ...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 ms S 2 and S 3 S 2 and S 3 contain the...

Страница 258: ...erflow Flag Pulse Output Amount Set Flag Pulse Output Completed Flag Pulse Output Flag No origin Flag At Origin Flag Pulse Output Stopped Error Flag C Con trol data Bits 0 to 3 Not used Always 0 hex B...

Страница 259: ...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...

Страница 260: ...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...

Страница 261: ...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...

Страница 262: ...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...

Страница 263: ...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...

Страница 264: ...231 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...

Страница 265: ...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...

Страница 266: ...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...

Страница 267: ...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...

Страница 268: ...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...

Страница 269: ...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...

Страница 270: ...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...

Страница 271: ...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...

Страница 272: ...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...

Страница 273: ...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...

Страница 274: ...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...

Страница 275: ...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...

Страница 276: ...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...

Страница 277: ...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...

Страница 278: ...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...

Страница 279: ...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...

Страница 280: ...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...

Страница 281: ...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...

Страница 282: ...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...

Страница 283: ...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...

Страница 284: ...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...

Страница 285: ...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...

Страница 286: ...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...

Страница 287: ...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...

Страница 288: ...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...

Страница 289: ...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...

Страница 290: ...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...

Страница 291: ...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...

Страница 292: ...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...

Страница 293: ...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...

Страница 294: ...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...

Страница 295: ...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...

Страница 296: ...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...

Страница 297: ...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...

Страница 298: ...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...

Страница 299: ...ruction Error counter present value Error counter error setting Error Counter Error Flag Output value cleared Error Counter Reset Bit Error counter cleared Motor shaft turned manually Error counter er...

Страница 300: ...resent values for pulse output instructions Origin searches Motor driver and signal wire modes 3 modes Origin search modes 2 modes Origin detection methods 3 methods Feedback pulse input ports High sp...

Страница 301: ...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...

Страница 302: ...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...

Страница 303: ...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...

Страница 304: ...rt specifier 0020 hex Inverter positioning 0 0021 hex Inverter positioning 1 T Pulse type 0000 hex Relative 0001 hex Absolute N Number of pulses N lower 4 digits Relative pulses 0000 0000 to 7FFF FFFF...

Страница 305: ...on Deceleration Rate 1 to 65 535 Hz 0001 to FFFF hex S 1 lower 4 digits Target Frequency in Hz Pulse output 0 to 3 0000 0000 to 0001 86A0 hex 0 to 100 kHz S 2 upper 4 digits Operand Description Operan...

Страница 306: ...0020 hex Inverter positioning 0 0021 hex Inverter positioning 1 C Control data Bits 0 to 3 Not used Always set to 0 hex Bits 4 to 7 Not used Always set to 0 hex Bits 8 to 11 Not used Always set to 0...

Страница 307: ...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...

Страница 308: ...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...

Страница 309: ...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...

Страница 310: ...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...

Страница 311: ...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...

Страница 312: ...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...

Страница 313: ...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...

Страница 314: ...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...

Страница 315: ...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...

Страница 316: ...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...

Страница 317: ...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...

Страница 318: ...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...

Страница 319: ...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...

Страница 320: ...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...

Страница 321: ...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...

Страница 322: ...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...

Страница 323: ...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...

Страница 324: ...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...

Страница 325: ...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...

Страница 326: ...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...

Страница 327: ...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...

Страница 328: ...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...

Страница 329: ...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...

Страница 330: ...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...

Страница 331: ...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...

Страница 332: ...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...

Страница 333: ...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...

Страница 334: ...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...

Страница 335: ...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...

Страница 336: ...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...

Страница 337: ...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...

Страница 338: ...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...

Страница 339: ...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...

Страница 340: ...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...

Страница 341: ...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...

Страница 342: ...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...

Страница 343: ...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...

Страница 344: ...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...

Страница 345: ...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...

Страница 346: ...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...

Страница 347: ...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...

Страница 348: ...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...

Страница 349: ...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...

Страница 350: ...Links 365 6 3 9 Host Link Communications 366 6 4 Analog Adjuster and External Analog Setting Input 371 6 4 1 Analog Adjuster 371 6 4 2 External Analog Setting Input 371 6 5 Battery free Operation 372...

Страница 351: ...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...

Страница 352: ...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...

Страница 353: ...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...

Страница 354: ...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...

Страница 355: ...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...

Страница 356: ...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...

Страница 357: ...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...

Страница 358: ...Programmer to create the program to use for interrupt pro cessing and allocate the program to interrupt task 140 4 Use the CX Programmer to write MSKS 690 in the program Input interrupt number Interru...

Страница 359: ...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...

Страница 360: ...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...

Страница 361: ...C8 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 interrupt in...

Страница 362: ...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...

Страница 363: ...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...

Страница 364: ...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...

Страница 365: ...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...

Страница 366: ...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...

Страница 367: ...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...

Страница 368: ...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...

Страница 369: ...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...

Страница 370: ...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...

Страница 371: ...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...

Страница 372: ...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...

Страница 373: ...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...

Страница 374: ...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...

Страница 375: ...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...

Страница 376: ...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...

Страница 377: ...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...

Страница 378: ...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...

Страница 379: ...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...

Страница 380: ...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...

Страница 381: ...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...

Страница 382: ...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...

Страница 383: ...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...

Страница 384: ...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...

Страница 385: ...Unit The communications mode in the PLC Setup must be set to the Gateway Mode to enable this functionality Word Bit Port Contents A640 00 M type CPU Units Serial port 2 L type CPU Units Serial port 1...

Страница 386: ...SAPs from an NS series PT Using Function Blocks in CPU Unit OMRON components that support CompoWay F or Modbus RTU slave functionality NS series PT Smart Active Parts RS 232C XW2Z 200T 500T Cable CP1...

Страница 387: ...Links cannot be used on serial ports 1 and 2 at the same time If one port is set as a Serial PLC Link slave or master it will not be possible to set the other port for a Serial PLC Link A PLC Setup e...

Страница 388: ...232C or RS 422A 485 Shared data CP1L CPU Unit Polled Unit CJ1M CPU Unit Polling Unit RS 232C or RS 422A 485 Shared data Item Specifications Applicable serial ports Serial port 1 or 2 Both ports cannot...

Страница 389: ...in the Polling Unit only Polling Unit Polled Unit No 0 Polled Unit No 1 Polled Unit No 3 Local area Polling Unit Polling Unit Polling Unit Polled Unit No 0 Local area Polled Unit No 0 Polled Unit No 0...

Страница 390: ...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...

Страница 391: ...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...

Страница 392: ...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...

Страница 393: ...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...

Страница 394: ...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...

Страница 395: ...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...

Страница 396: ...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...

Страница 397: ...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...

Страница 398: ...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...

Страница 399: ...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...

Страница 400: ...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...

Страница 401: ...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...

Страница 402: ...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...

Страница 403: ...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...

Страница 404: ...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...

Страница 405: ...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...

Страница 406: ...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...

Страница 407: ...itial values are held during power interruptions with a bat tery If there is a battery error the contents of these areas may not be accu rate after a power interruption If HR Area data counter PVs and...

Страница 408: ...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...

Страница 409: ...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...

Страница 410: ...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...

Страница 411: ...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...

Страница 412: ...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...

Страница 413: ...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...

Страница 414: ...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...

Страница 415: ...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...

Страница 416: ...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...

Страница 417: ...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...

Страница 418: ...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...

Страница 419: ...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...

Страница 420: ...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...

Страница 421: ...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...

Страница 422: ...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...

Страница 423: ...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...

Страница 424: ...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...

Страница 425: ...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...

Страница 426: ...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...

Страница 427: ...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...

Страница 428: ...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...

Страница 429: ...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...

Страница 430: ...sion I O Units 7 1 Connecting Expansion Units and Expansion I O Units 398 7 2 Analog Input Units 399 7 3 Analog Output Units 408 7 4 Analog I O Units 416 7 4 1 CPM1A MAD01 Analog I O Units 416 7 4 2 C...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 438: ...4 When there is noise in the power supply 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 Wiri...

Страница 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...

Страница 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...

Страница 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...

Страница 442: ...are connected to a CP1L CPU Unit A maximum of seven 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...

Страница 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...

Страница 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...

Страница 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...

Страница 446: ...t check the 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 468 8 2 Trial Operation and Debugging 468 8 2 1 Forced Set Re...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 508: ...P1L operation 9 1 Error Classification and Confirmation 476 9 2 Troubleshooting 478 9 2 1 Error Processing Flowchart 478 9 2 2 No Operation When Power Is Supplied 478 9 2 3 Fatal Errors 479 9 2 4 CPU...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 523: ...490 Troubleshooting Unit Errors Section 9 4...

Страница 524: ...spection and Maintenance This section provides inspection and maintenance information 10 1 Inspections 492 10 1 1 Inspection Points 492 10 1 2 Unit Replacement Precautions 493 10 2 Replacing User serv...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 531: ...498 Replacing User serviceable Parts Section 10 2...

Страница 532: ...cing CPU Units with 30 I O Points CP1L M30DR A 100 to 240 VAC 12 relay outputs 24 VDC 18 inputs Memory capacity 10 Ksteps High speed counters 100 kHz 4 counters Pulse outputs 2 axes at 100 kHz CP1L M3...

Страница 533: ...puts 24 VDC 24 inputs CP1W 40EDT CPM1A 40EDT 16 transistor outputs sinking CP1W 40EDT1 CPM1A 40EDT1 16 transistor outputs sourcing 20 point I O Units CP1W 20EDR1 CPM1A 20EDR1 8 relay outputs 24 VDC 12...

Страница 534: ...CP1W DA041 CPM1A DA041 4 analog outputs 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to 20 mA Resolution 1 6 000 Temperature Sensor Units CP1W TS001 CPM1A TS001 Thermocouple inputs K or J 2 inputs CP1W...

Страница 535: ...ks Battery CJ1W BAT01 Installed in the CPU Unit Name and appearance Model Specifications Remarks DIN Track PFP 50N PFP 100N PFP 100N2 End Plate PFP M I O Connecting Cable CP1W CN811 Used to install CP...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 563: ...530 Auxiliary Area Allocations by Function Appendix C...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 579: ...ccurred 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 indi...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 602: ...esponse received for serial port 2 of a CP1L M type CPU Unit using the Modbus RTU easy master function ON Execution normal OFF Execution error or still in progress Retained Cleared Serial Port 1 Modbu...

Страница 603: ...ll External Analog Set ting Input PV Stores the value set from the exter nal analog setting input as a hexa decimal value resolution 1 256 0000 to 00FF hex Retained Cleared A720 to A722 All Power ON C...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 611: ...578 Auxiliary Area Allocations by Address Appendix D...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 638: ...605 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...

Страница 639: ...606 Connections to Serial Communications Option Boards Appendix F...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 664: ...l 347 Communications Port Enabled Flags 576 complete link method 355 Condition Flag saving and loading status 155 Condition Flags 153 coordinate systems absolute or relative 194 Counter Area 140 count...

Страница 665: ...U operation 71 Forced Status Hold Bit 509 561 force resetting bits debugging 468 force setting bits debugging 468 frequency frequency measurement 176 G Gate Bit high speed counters 175 Greater Than Fl...

Страница 666: ...noise xxvi reducing xxx no protocol communications 347 Not Equal Flag 154 NT Link ports 581 O online editing 470 effect on cycle time 84 Online Editing Flags 538 Online Editing Wait Flag 576 related...

Страница 667: ...program transfer 468 programming error flag 556 program error information 519 program errors 577 program protection 388 protecting the program 388 transferring the program 468 pulse direction mode de...

Страница 668: ...9 T target value comparison for interrupt tasks 174 Task Error Flag 547 Task Flags 153 Task Started Flag 516 tasks related flags bits 517 See also interrupt tasks Task Flags 153 Timer Area 139 TR Area...

Страница 669: ...636 Index...

Страница 670: ...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 content 01 May 200...

Страница 671: ...638 Revision History...

Отзывы: