background image

667

Dimensions Diagrams

Appendix B

Expansion I/O Units

40-point I/O Units (CP1W-40EDR/40EDT/40EDT1)

32-point Output Units (CP1W-32ER/32ET/32ET1)

 

50

8

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

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

03

02

01

00

110  100  90 

140

150

 

Four, 4.5 dia.
holes

Four Ø4.5 holes

150

140

50

8

110

100

90

Summary of Contents for CP1L-EL20DR-D

Page 1: ...OPERATION MANUAL Cat No W516 E1 04 SYSMAC CP Series CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit...

Page 2: ...h quality products the information contained in this manual is subject to change without notice Every precaution has been taken in the preparation of this manual Neverthe less OMRON assumes no respons...

Page 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...

Page 4: ...iv...

Page 5: ...ntially hazardous situation which if not avoided may result in minor or moderate injury or property damage OMRON Product References All OMRON products are capitalized in this manual The word Unit is a...

Page 6: ...rsion of the CP1L EL EM CPU Unit Note CX Programmer version 9 3 or lower cannot be used to confirm unit versions for CP1L EL EM CPU Units Confirmation Procedure Procedure When the Device Type and CPU...

Page 7: ...ice Type Field and when the Device Type Settings Dialog Box is displayed set the CPU Type Field to EL or EM 3 Go online and select PLC Edit Information Refer to 5 1 Connecting the CX Programmer The PL...

Page 8: ...connected directly 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 on...

Page 9: ...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...

Page 10: ...x...

Page 11: ...ature and Specifications 19 2 1 Part Names and Functions 20 2 2 Specifications 25 2 3 CP1L EL EM CPU Unit Operation 44 2 4 CPU Unit Operation 51 2 5 CPU Unit Operating Modes 55 2 6 Power OFF Operation...

Page 12: ...ation and Debugging 151 SECTION 6 Ethernet 159 6 1 System Configuration and Features 160 6 2 Specifications 163 6 3 Network Installation 165 6 4 Basic Setting for Ethernet 167 6 5 FINS Communications...

Page 13: ...2 Part Names 554 10 3 Installation and Setting 555 10 4 Memory Allocation 556 10 5 Analog Input Option Board 557 10 6 Analog Output Option Board 560 10 7 Analog I O Option Board 564 10 8 Startup Opera...

Page 14: ...Dimensions Diagrams 663 C Auxiliary Area Allocations by Function 671 D Auxiliary Area Allocations by Address 693 E Memory Map 745 F Connections to Serial Communications Option Boards 747 G PLC Setup...

Page 15: ...expanding I O capacity I O words are allocated in the same way as the CPM1A CPM2A PLCs i e using fixed areas for inputs and outputs CS1 H CPU Units CS series Power Supply Units Note Products specific...

Page 16: ...function explains its specification and how to make the settings required for operation Section 7 describes the CP1L EL EM s interrupt and high speed counter functions Section 8 describes all of the...

Page 17: ...n and component names Mounting and wiring Programming data transfer and debugging using the CX Programmer Application program examples W446 CXONE AL C V4 CXONE AL D V4 SYSMAC CX Pro grammer Operation...

Page 18: ...s to Spe cial I O Units and CPU Bus Units W420 CS1W ETN21 CJ1W ETN21 Ethernet Units Opera tion Manual Construc tion of Networks Provides information on operating and installing 100Base TX Ethernet Uni...

Page 19: ...rchase price of the non complying Product provided that in no event shall Omron be responsible for warranty repair indemnity or any other claims or expenses regarding the Products unless Omron s analy...

Page 20: ...mbination with the end product machine system or other application or use Buyer shall be solely responsible for determining appropriateness of the particular Product with respect to Buyer s applicatio...

Page 21: ...me based on improvements and other reasons It is our practice to change part numbers when published ratings or features are changed or when significant construction changes are made However some speci...

Page 22: ...xxii...

Page 23: ...ontained 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 xxvi 5 Application Precau...

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

Page 25: ...not apply the voltage current outside the specified range to this unit It may cause a malfunction or fire Caution Execute online edit only after confirming that no adverse effects will be caused by ex...

Page 26: ...direct sunlight Locations subject to temperatures or humidity outside the range specified in the specifications Locations subject to condensation as the result of severe changes in tem perature Locat...

Page 27: ...short cir cuiting in external wiring Insufficient safety measures against short cir cuiting may result in burning Mount the Unit only after checking the connectors and terminal blocks completely Be s...

Page 28: ...he startup operating mode Force setting force resetting any bit in memory Changing the present value of any word or any set value in memory Do not pull on the cables or bend the cables beyond their na...

Page 29: ...llowing size wire when connecting I O terminals AWG22 to AWG18 0 32 to 0 82 mm2 Dispose of the product and batteries according to local ordinances as they apply Have qualified specialists properly dis...

Page 30: ...the equipment or control panel on which the OMRON devices are installed The customer must therefore perform the final check to confirm that devices and the overall machine conform to EMC standards No...

Page 31: ...he load If the supply voltage is 100 to 200 V insert the surge protector between the contacts The capacitance of the capacitor must be 1 to 0 5 F per contact current of 1 A and resistance of the resis...

Page 32: ...ed Connection Method 1 2 3 1 Cable Connection Method Yes Yes The varistor method prevents the impo sition of high voltage between the con tacts by using the constant voltage characteristic of the vari...

Page 33: ...RE IS PROVIDED BY THE AUTHOR AS IS AND ANY EXPRESS OR IMPLIEDWARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO...

Page 34: ...xxxiv Software Licenses and Copyrights 7...

Page 35: ...ection methods for the CX Programmer and other peripheral devices 1 1 Features and Main Functions 2 1 1 1 CP1L EL EM Overview 2 1 1 2 Features 3 1 2 System Configuration 10 1 2 1 Basic System 10 1 2 2...

Page 36: ...steps FB capacity 10K steps DM Area capacity 32K words 10K words Maximum number of I O points 160 See note 1 150 See note 1 60 See note 2 Normal I O I O points 40 30 20 Input points 24 18 12 Input sp...

Page 37: ...06 00 01 03 04 06 COM 02 COM 05 07 COM COM V 05 07 MAC Address 01234567890A CX One CP1L EL EM CPU Unit Example for model with 40 I O points Ethernet port Battery CJ1W BAT01 Power supply input termina...

Page 38: ...COM 05 07 COM COM V 05 07 ANALOGINPUT V1 V2 COM 2 MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP1L POWER RUN IN...

Page 39: ...ange Comparison Interrupts An interrupt task can be started when the count reaches a specified value or falls within a specified range High speed Counter Input Frequency Speed Monitoring The input pul...

Page 40: ...e executed according to whether the specified number of output pulses is more or less than the pulse output PV Triangular Control If the amount of output pulses required for acceleration and decelerat...

Page 41: ...origin return operation Input Interrupts In direct mode an interrupt task can be started when a built in input turns ON or OFF In counter mode the rising or falling edges of built in inputs can be co...

Page 42: ...2 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP1L POWER RUN INH 1 00 01 02 03 04 06 00 01 03 04 06 COM 02 COM 05 07 COM COM V 05 07 ANALOGINPUT V...

Page 43: ...swords for two hours Read Protection Using Extended Passwords With unit version 1 1 or later and CX Programmer version 9 6 or higher you can extend protection with UM read protection and task read pro...

Page 44: ...x EL 20 points 24 VDC CP1L EL20DR D 12 DC inputs 8 relay outputs 400 g max CP1L EL20DT D 8 transistor sinking outputs 380 g max CP1L EL20DT1 D 8 transistor sourcing outputs 380 g max Item Model Specif...

Page 45: ...de reader etc RS 232C Expansion CP1W CIF01 RS 232C Option Board CP1W CIF11 CIF12 RS 422A 485C Option Board RS 422A Expansion Inverter etc Appearance Name Model Port Serial communications modes RS 232C...

Page 46: ...C Address 01234567890A BKUP ERR ALM LNK ACT POWER RUN INH NC 02 04 06 08 10 00 01 COM 03 05 07 09 11 00 01 02 04 05 07 03 COM V COM 06 ANALOGINPUT V1 V2 COM CH NC NC NC NC NC NC COM COM COM COM COM CO...

Page 47: ...4 inputs 16 relay outputs 380 g max CP1W 40EDT 16 transistor outputs sinking 320 g max CP1W 40EDT1 16 transistor outputs sourcing CP1W 32ER None 32 relay outputs 465 g max CP1W 32ET 32 transistor outp...

Page 48: ...o 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to 20 mA Resolu tion 12 000 Analog Output Units CP1W DA021 2 analog outputs 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 CP1W...

Page 49: ...lowing ranges of power supply voltage and output load current CPU Units with Relay Outputs CP1L E DR D Relay Output Load Current Derating Curves for CPU Units and Expansion I O Units Note The above re...

Page 50: ...nter interrupts No battery operation 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 th...

Page 51: ...e variables to use the function block The addresses used for the variables themselves are automatically assigned by the system CX Pro grammer each time they are placed in the program In particular eac...

Page 52: ...e reduced because blocks that have already been debugged can be reused Data Protection The local variables in the function block cannot be accessed directly from the outside so the data can be protect...

Page 53: ...peration 51 2 4 1 General Flow 51 2 4 2 I O Refreshing and Peripheral Servicing 52 2 4 3 I O Refresh Methods 53 2 4 4 Initialization at Startup 54 2 5 CPU Unit Operating Modes 55 2 5 1 Operating Modes...

Page 54: ...e or due to a fatal error ERR ALM Red Lit A fatal error including FALS execution or a hard ware error WDT error has occurred CP1L EL EM operation will stop and all outputs will be turned OFF Flashing...

Page 55: ...g an input relay OFF OFF A395 12 OFF SW4 ON Used for peripheral bus Used to enable a Serial Communications Option Board mounted in Option Board Slot 1 to be used by the peripheral bus OFF OFF Accordin...

Page 56: ...SNTP DNS 7 Input Indicators The input indicators light when input terminal contacts turn ON 8 Power Supply Ground and Input Terminal Block 9 Option Board Slots The following Option Boards can be mount...

Page 57: ...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 first remove the slot cover Grasp both o...

Page 58: ...RS 422A 485 Connector 3 CPU Unit Connector 4 DIP Switch for Operation Settings RDB RDA SDA SDB FG Tighten the terminal block screws to a torque of 0 28 N m 2 5 Lb In CP1W CIF11 12 CP1W CIF12 V1 Setti...

Page 59: ...perating voltage range 20 4 to 26 4 VDC Power consumption See note 2 20 W max 20 W max 13 W max Inrush current See note 1 30 A max for cold start 20 ms max Insulation resistance No insulation between...

Page 60: ...are included in the current consumption of the CPU Unit 2 The current consumption of the following is not included with the current consumption of the CPU Unit System CPU Unit Expansion Unit or Expans...

Page 61: ...outputs CP1W 16ER 0 042 A 0 090 A CP1W 16ET 0 076 A CP1W 16ET1 8 inputs CP1W 8ED 0 018 A 8 outputs CP1W 8ER 0 026 A 0 044 A CP1W 8ET 0 075 A CP1W 8ET1 Expansion Units Analog Input Unit 4 inputs CP1W A...

Page 62: ...ilt in 40 3 expansion 60 points 20 built in 40 1 expansion Built in terminals Func tions can be assigned Built in I O 40 terminals 24 inputs and 16 outputs 30 terminals 18 inputs and 12 outputs 20 ter...

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

Page 64: ...512 words H0 00 to H511 15 words H0 to H511 AR Area Read only Write prohibited 7 168 bits 448 words A0 00 to A447 15 words A0 to A447 Read Write 8 192 bits 512 words A448 00 to A959 15 words A448 to A...

Page 65: ...Supply the power of 24 VDC when using CIO100 00 to CIO100 03 I O Terminal Blocks of CPU Units with 30 I O Points Input Terminal Block Top Block Inputs CIO 0 Inputs CIO 1 COM 01 03 05 07 09 11 01 03 05...

Page 66: ...locks of CPU Units with 20 I O Points Input Terminal Block Top Block Output Terminal Block Bottom Block 01 03 00 02 Relay Output Models CP1L EM30DR D NC NC COM CIO 100 CIO 101 COM COM 05 07 01 03 04 0...

Page 67: ...fferential phase x4 up down or pulse direction CIO 0 00 Normal input 0 Counter 0 incre ment input Counter 0 A phase up or count input 01 Normal input 1 Counter 1 incre ment input Counter 0 B phase dow...

Page 68: ...put 16 05 Normal input 17 06 Normal input 18 07 Normal input 19 08 Normal input 20 09 Normal input 21 10 Normal input 22 11 Normal input 23 Address Input operation settings High speed counters Origin...

Page 69: ...ection PWM output 0 02 Normal output 2 Pulse output 1 CW Pulse output 1 pulse 03 Normal output 3 Pulse output 1 CCW Pulse output 1 direction PWM output 1 04 Normal output 4 Origin search 0 Error count...

Page 70: ...IO 0 10 to CIO 0 11 and CIO 1 00 to CIO 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 00 to CIO 0 03 Input bits CIO 0 04 to CIO 0 09 In...

Page 71: ...n 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 direction input mode Increment mode Input bits Interrupt inputs Quick response inputs CIO...

Page 72: ...300 500 200 100 50 30 20 5 3 2 10 0 1 0 2 0 3 0 5 0 7 1 2 3 5 10 Life 10 4 Contact current A 125 VAC resistive load 30 VDC 250 VAC resistive load 30 VDC 7 ms 125 VAC cos 0 4 250 VAC cos 0 4 50 100 55...

Page 73: ...00 to CIO 100 03 Sinking Outputs Normal outputs CIO 100 00 to CIO 100 03 Sourcing Outputs Normal outputs CIO 100 04 to CIO 101 07 Sinking Outputs Normal outputs CIO 100 04 to CIO 101 07 Sourcing Outp...

Page 74: ...put transistor The output transistor is ON at level L Item Specification Number of inputs 2 inputs 2 words allocated in the AR Area Input signal range Voltage input 0 V to 10 V Max rated input 0 V to...

Page 75: ...ay 1 ms max See note 1 Circuit configuration Item Specification IN IN CO M 4 7 k 750 Input LED Internal circuits Item Specification Max switching capacity 2 A 250 VAC cos 1 2 A 24 VDC 4 A common Min s...

Page 76: ...L EL20DR D Added to CP1L EM30DR D Added to CP1L EM40DR D Added to CP1L EL20DT D Added to CP1L EM30DT D Added to CP1L EM40DT D 100 50 55 43 Ambient temperature C Output load current 0 Ambient temperatu...

Page 77: ...on 3 6 A Unit 0 9 A common 7 2 A Unit 0 9 A common 1 8 A Unit 0 9 A common 3 6 A Unit 0 9 A common 1 8 A Unit Leakage current 0 1 mA max 0 1 mA max 0 1 mA max 0 1 mA max 0 1 mA max Residual voltage 1...

Page 78: ...initial values from 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...

Page 79: ...when the power is interrupted Other parts are maintained There are parts that used for data exchange with PLC Units and parts that are used internally There are two ways to refresh the parts of I O me...

Page 80: ...i e the user program area and parameter area It is also possible to save data from data areas in I O memory in the built in flash memory using operations from the CX Programmer The symbol table comme...

Page 81: ...nt 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 t...

Page 82: ...fied 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 fun...

Page 83: ...urce 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 are...

Page 84: ...nsferred 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 t...

Page 85: ...I 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 Ex...

Page 86: ...be occurred if the cycle time is too long Modify the CX Pro grammer s response monitoring time longer according to the following method Start the CX Programmer Select Change Model from the PLC Menu T...

Page 87: ...he word itself will be refreshed Note 1 Immediate refreshing is possible only for the Built in I O Area Use IORF 097 for I O on CP series Expansion Units and Expansion I O Units 2 Refreshing Range Bit...

Page 88: ...Confirm mounted Units and I O allocations Clear the non holding areas of I O memory according to the status of the IOM Hold Bit See note 1 Clear forced status according to the status of the Forced Sta...

Page 89: ...ng the PLC Setup and other settings transferring pro grams checking programs force setting and force resetting can be executed prior to program execution MONITOR Programs are executed but some operati...

Page 90: ...RUN Any task that has not yet been executed will be in disabled status INI A task will go to READY status if the task is set to go to READY status at star tup or the TASK ON TKON instruction has been...

Page 91: ...CP1L EL EM Note A Programming Console cannot be connected to a CP1L EL EM CPU Unit If Use programming console is set the CPU Unit will start in RUN mode I O Memory Hold Bit status A500 12 I O Memory...

Page 92: ...less The following processing will be performed if power drops only momentarily momentary power interruption 1 2 3 1 The system will continue to run unconditionally if the momentary power in terruptio...

Page 93: ...R mode the instruction currently being executed will be completed and then the CPU Unit will be reset Power OFF detection time The time from when the power supply voltages drops to 85 for DC power unt...

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

Page 95: ...he 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 fluctua...

Page 96: ...cing 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...

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

Page 98: ...3 ms CP1W 32ET1 0 33 ms CP1W 20EDT 0 18 ms CP1W 20EDT1 0 18 ms CP1W 16ER 0 25 ms CP1W 16ET 0 25 ms CP1W 16ET1 0 25 ms CP1W 8ED 0 13 ms CP1W 8ER 0 08 ms CP1W 8ET 0 08 ms CP1W 8ET1 0 08 ms Analog Input...

Page 99: ...sk is 10 Ksteps the online editing cycle time extension will be as follows When editing online the cycle time will be extended by according to the edit ing that is performed Be sure that the additiona...

Page 100: ...Bit turning ON Cycle time Minimum I O Response Time The I O response time is shortest when data is retrieved immediately before I O refresh of the CPU Unit The minimum I O response time is calculated...

Page 101: ...time allows reception of shorter input pulses but the pulse width must be longer than the cycle time PLC Setup Input I O refresh Input ON delay Output ON delay Cycle time Cycle time Interrupt to CPU U...

Page 102: ...however are not executed during execution of other interrupt tasks even if the I O interrupt conditions are satisfied Instead the I O interrupts are executed in order of priority after the current int...

Page 103: ...ware interrupt response time has elapsed 2 7 9 Serial PLC Link Response Performance The response times for CPU Units connected via a Serial PLC Link master to slave or slave to master can be calculate...

Page 104: ...output instruction Start time SPED continuous 86 s SPED independent 98 s ACC continuous 103 s ACC independent trapezoidal 122 s ACC independent triangular 123 s PLS2 trapezoidal 145 s PLS2 triangular...

Page 105: ...ts 78 3 3 3 DIN Track Installation 80 3 4 Wiring CP1L EL EM CPU Units 82 3 4 1 Wiring Power Supply and Ground Lines 82 3 4 2 Wiring Built in I O 83 3 4 3 Wiring Safety and Noise Controls 87 3 5 Wiring...

Page 106: ...rror 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...

Page 107: ...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 str...

Page 108: ...power supply has been turned OFF wait until the PLC has suffi ciently cooled before touching it Improving Noise Resistance Do not mount the PLC in a control panel containing high voltage equip ment In...

Page 109: ...10 01 COM 03 05 07 09 11 01 03 05 07 09 11 00 01 02 03 04 06 00 01 03 04 06 COM 02 COM 05 07 COM COM V 05 07 MAC Address 012345678 90A SYSMAC CP1L BKUP ERR ALM LNK ACT POWER RUN INH 2 ANALOG INPUT V1...

Page 110: ...M 03 06 01 03 06 00 02 04 06 08 10 00 01 02 04 05 07 00 02 04 05 07 00 02 04 06 08 10 01 03 05 07 09 11 01 03 05 07 09 11 IN 40EDR OUT CH CH CH CH EXP CH CH CH 11 10 09 08 07 06 05 04 03 02 01 00 11 1...

Page 111: ...t power equipment etc Terminal blocks for PLC Terminal blocks for power equipment 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 00 01 02 03 04 06 00 01 03 04 06 COM 02...

Page 112: ...234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP1L POWER RUN INH 1 00 01 02 03 04 06 00 01 03 04 06 COM 02 COM 05 07 COM COM V 0...

Page 113: ...KUP ERR ALM LNK ACT POWER RUN INH 2 ANALOGINPUT V1 V2 COM 1 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...

Page 114: ...rack mounting pins from the back of the Units and mount the Units to the DIN 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 T...

Page 115: ...100 cm Secure the DIN Track to the control panel using M4 screws separated by 210 mm 6 holes The tightening torque is 1 2 N m 15 10 4 5 25 25 25 10 25 15 1000 1000 500 See note PFP 100N2 PFP 100N 50N...

Page 116: ...m current consumption is 20 W for CPU Units with 30 or 40 I O points and 13 W for CPU Units with 20 I O points When the power supply is turned ON the inrush current is approximately five times the nor...

Page 117: ...auge of the con ductor M3 self rising screws are used for all screw terminals including terminal screws for crimp terminal power supply wiring Use crimp terminals or solid wire for wiring Do not conne...

Page 118: ...les beyond their natural limit Do ing either of these may break the cables Connecting I O Devices Use the following information for reference when selecting or connecting input devices DC Input Device...

Page 119: ...the PLC is OFF and sensor leakage cur rent IOFF Ileak Connect a bleeder resistor if Ileak is greater than IOFF Use the following equation to calculate the bleeder resistance constant R RIN VOFF Ileak...

Page 120: ...se in the external circuit Use a fuse with a capacity of about twice the rated output Connecting to a TTL Circuit A TTL circuit cannot be connected directly to a transistor output because of the trans...

Page 121: ...nductive Loads 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...

Page 122: ...are parallel allow at least 300 mm between them If the I O wiring and power cables must be placed in the same duct they must be shielded from each other using grounded steel sheet metal 300 mm min 300...

Page 123: ...se power lines with sufficient cur rent capacity for the COM terminals Output Wiring Lower Terminal Block Removable Relay Outputs CP1L EM40DR D NC COM 01 03 05 07 09 11 01 03 05 07 09 11 00 02 04 06 0...

Page 124: ...Terminal Block Removable The input circuits have 18 points common Use power lines with sufficient cur rent capacity for the COM terminals L L L L V 00 02 04 06 00 01 03 04 06 V COM V COM 05 07 COM 02...

Page 125: ...tor Outputs CP1L EM30DT1 D Note COM V has been connected with V in an inner circuit CIO 100 L L L L L L L L 02 04 05 07 00 02 COM COM COM 03 COM 06 COM 01 03 CIO 100 L L L L CIO 101 CIO 101 00 NC NC 0...

Page 126: ...capacity for the COM terminals Output Wiring Lower Terminal Block not Removable Relay Outputs CP1L EL20DR D Sinking Transistor Outputs CP1L EL20DT D Note COM V has been connected with V in an inner ci...

Page 127: ...O 100 COM V Black White Orange Vcc Brown 0 V COM Blue 0 V 24 V 000 001 004 COM COM 24 V Encoder Power supply 24 VDC Example E6B2 CWZ6C NPN open collector output Phase A Phase B Phase Z 24 V DC power s...

Page 128: ...ion 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 Outpu...

Page 129: ...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 V 100 03 CP1L EL EM CPU Unit 24 VDC power s...

Page 130: ...ER None 32 relay outputs CP1W 32ET 32 transistor outputs sinking CP1W 32ET1 32 transistor outputs sourcing 20 point I O Units CP1W 20EDT1 24 VDC 12 inputs 8 relay outputs CP1W 20EDT 8 transistor outpu...

Page 131: ...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 COM 01 03 COM 06 L L...

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

Page 133: ...is not Removable Input Wiring CP1W 20ED Output Wiring CP1W 20EDR1 Relay Outputs CP1W 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 00 01 02 04 05 0...

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

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

Page 136: ...ut Wiring CP1W 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 Lower T...

Page 137: ...112 4 2 3 I O Allocation Examples with Expansion I O Units 114 4 2 4 I O Word Allocations to Expansion Units 115 4 3 1 1 Link Area 116 4 4 Serial PLC Link Area 117 4 5 Internal Work Area 118 4 6 Holdi...

Page 138: ...CIO 199 OK OK OK OK OK OK 1 1 Link Area 256 bits 16 words CIO 3000 to CIO 3015 1 1 Links OK OK OK OK OK OK Serial PLC Link Area 1 440 bits 90 words CIO 3100 to CIO 3189 Serial PLC Links OK OK OK OK OK...

Page 139: ...e 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 Note The...

Page 140: ...e versions 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...

Page 141: ...letion 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 O...

Page 142: ...tartup setting determines wheth er the IOM Hold Bit s status is held or cleared when the PLC is turned ON Area Mode changed1 Fatal error generated PLC power turned ON Execution of FALS Other fatal err...

Page 143: ...m execution stops When the program starts again outputs will have the same status that they had before the program was stopped and instructions will be executed When the IOM Hold Bit is OFF instructio...

Page 144: ...its and Expansion I O Units connected to it and automatically allocates I O bits If the order in which the Units are connected is changed the the bits used in the ladder program will no longer match t...

Page 145: ...3 12 11 10 09 08 07 06 05 04 03 02 01 00 18 inputs bits 12 output bits 8 outputs CIO 0 CIO 0 00 to CIO 0 11 CIO 1 CIO 1 00 to CIO 1 05 CIO 100 CIO 100 00 to CIO 100 07 CIO 101 CIO 101 00 to CIO 101 03...

Page 146: ...ts 1 word CIO n bits 00 to 07 Sourcing transistors CP1W 8ET1 None None 8 bits 1 word CIO n bits 00 to 07 Unit with 16 out puts Relays CP1W 16ER None None 16 bits 2 words CIO n bits 00 to 07 CIO n 1 bi...

Page 147: ...are allocated in one word bits 00 to 11 in CIO m Eight out put bits are allocated in one word bits 00 to 07 in CIO n One input word 12 bits and one output word 8 bits are allocated for a 20 point Expa...

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

Page 149: ...mperature Sensor Units CP1W TS001 2 words CIO m to CIO m 1 None CP1W TS002 4 words CIO m to CIO m 3 None CP1W TS003 4 words CIO m to CIO m 3 None CP1W TS004 2 words CIO m to CIO m 1 1 word CIO n CP1W...

Page 150: ...nput points 16 output points CIO 102 to CIO 105 CIO 106 00 to CIO 106 07 CIO 107 00 to CIO 107 07 CPU Unit with 40 I O points First Unit Temperature Sensor Unit Third Unit Expansion I O Unit with 40 C...

Page 151: ...sses not used for Serial PLC Links can be used in programming the same as the Work Area Forcing Bit Status Bits in the Serial PLC Link Area can be force set and force reset Serial PLC Link Area Initia...

Page 152: ...H511 bits H0 00 to H511 15 These words can be used in programming Holding Area Initialization Data in the Holding Area is not cleared when the power is cycled or the PLC s operating mode is changed fr...

Page 153: ...n the number of N C or N O conditions that can be programmed 4 7 Auxiliary Area A The Auxiliary Area contains 960 words with addresses ranging from A0 to A959 These words are preassigned as flags and...

Page 154: ...ored ON OFF status of the branch point Forcing Bit Status TR bits cannot be changed from the CX Programmer Examples In this example a TR bit is used when two outputs have been directly con nected to a...

Page 155: ...heck but the timers will operate as long as the instructions are not executed in the same cycle The following table shows when timers will be reset or maintained Note 1 If the IOM Hold Bit A500 12 is...

Page 156: ...tion Flag of the counter When a counter number is used in an operand that requires word data the counter number accesses the PV of the counter The refresh method for counter PVs can be set from the CX...

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

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

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

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

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

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

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

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

Page 165: ...ndirect addressing for IR2 is OFF timers are started with indirect addressing auto increment for IR0 as the timer number and indirect addressing for D0 as the timer SV Indirect addressing for IR2 will...

Page 166: ...the Index Register value for the last task per formed within the cycle from the multiple tasks nor is it possible to write the Index Register value from the CX Programmer It is not possible to either...

Page 167: ...IO 0 0000C000 hex stored in IR0 Contents of IR0 stored in D01001 and D01000 D02001 and D02000 stored in IR0 or Actual memory address CIO 5 0000C005 hex stored in IR0 Contents of IR0 stored in D02001 a...

Page 168: ...o the contents of IR1 and writes 0001 to that PLC memory address Range of Values The contents of data registers are treated as signed binary data and thus have a range of 32 768 to 32 767 Data Registe...

Page 169: ...be cleared in the following cases regardless of the status of the IOM Hold Bit 1 When the operating mode is changed from PROGRAM mode to RUN MONITOR mode or vice versa 2 When the power is cycled Forc...

Page 170: ...ction The Carry Flag is part of the result of some Data Shift and Symbol Math instructions Greater Than Flag P_GT Turned ON when the first operand of a Comparison Instruction is greater than the secon...

Page 171: ...le the status of a flag in task 1 cannot be read in task 2 Saving and Loading Condition Flag Status The CP1L EL EM CPU Units support instructions to save and load the Condi tion Flag status CCS 282 an...

Page 172: ...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 intervals Name Symbol Operation 0 02 s Clock Pulse P...

Page 173: ...r the program to the CPU Unit and the functions that can be used to test and debug the program 5 1 Connecting the CX Programmer 140 5 1 1 Connecting to Ethernet Port 140 5 1 2 Connecting to a Serial P...

Page 174: ...t be used with CP1L EL EM PLCs 5 1 1 Connecting to Ethernet Port CX Programmer supports two methods for connecting online to the target PLC which are auto online and normal online Auto Online You can...

Page 175: ...141 Connecting the CX Programmer Section 5 1 3 Select a target network card to connect with 4 Open the CX Programmer and click the PLC button as follow...

Page 176: ...r Section 5 1 5 Select the CP1L Ethernet Online item The user can also click the button in the Toolbars 6 Select a connection type a Choose the Direct Connection item and click the Connect button Then...

Page 177: ...143 Connecting the CX Programmer Section 5 1 b Choose the Hub Connection item and click Browse button to select the PLC which user wants to connect...

Page 178: ...144 Connecting the CX Programmer Section 5 1 Click the Connect button to connect and then connection online is completed...

Page 179: ...nnection Type Ethernet Direct connection Ethernet HUB connection Connection diagram Description The Ethernet port on the computer is connected directly to the Ethernet port on the PLC with a twisted p...

Page 180: ...ng the CX Programmer Section 5 1 1 2 3 1 Select the PLC type as CP1L E in Device Type in the CX Programmer s Change PLC Dialog Box 2 Click the Settings button on the right side of Device Type Choose t...

Page 181: ...g the CX Programmer Section 5 1 3 Set Ethernet FINS TCP in Network Type 4 Click the Settings button on the right side of Network Type The settings in the Network Tab and in the Driver are as follow di...

Page 182: ...he Ethernet network this mode can be selected as the connection method In this mode user should change the IP setting in PC side in a same subnet as PLC 1 2 3 1 The settings of PLC type and CPU type a...

Page 183: ...C 6 Click the OK button in the Network Settings dialogue box and finish the settings 7 Then connect to the CP1L EL EM by executing the CX Programmer s on line connection command 5 1 2 Connecting to a...

Page 184: ...mmunications mode Features CPU Unit setting method Peripheral bus toolbus This is the faster mode so it is generally used for CX Pro grammer connections Only 1 1 connections are possible When a CP1L E...

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

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

Page 187: ...mmer 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 is...

Page 188: ...formed the Online Editing Processing Flag A201 11 will turn ON and the Online Editing Wait Flag A201 10 will turn OFF When online editing has been completed the Online Editing Processing Flag A201 11...

Page 189: ...be ended Note Delay value Specifies how many sampling periods to offset the sampling in Trace Memory from when the trace condition is met The setting ranges are shown in the following table Positive...

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

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

Page 192: ...158 Trial Operation and Debugging Section 5 3...

Page 193: ...cedure 168 6 4 3 Basic Settings 170 6 4 4 Communications Test 171 6 5 FINS Communications 172 6 5 1 FINS Communications Service Specifications 172 6 5 2 FINS Communications Service 173 6 5 3 Procedure...

Page 194: ...ment with the computer And the information of PLC such as IP address MAC address will be displayed MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09...

Page 195: ...SEND 090 RECV 098 and CMND 490 instructions in the ladder program The protocol processing for FINS UDP is simpler than for FINS TCP giving FINS UDP cer tain advantages in terms of performance Another...

Page 196: ...ervice processing and thus reduce the amount of labor required for program development 6 1 4 Automatically Adjusting the PLC s Internal Clock at Regular Intervals Operation Use the automatic clock adj...

Page 197: ...W CIF41 CS1W ETN21 CJ1W ETN21 Local IP address 192 168 250 FINS node address 192 168 250 1 192 168 250 FINS node address FINS node address Set in PLC setup Set in system settings Set by rotary switch...

Page 198: ...out fixed node address Possible with automatic allocation Client FINS automatic node address allocation function TCP IP only Possible with automatic allocation Client FINS automatic node address alloc...

Page 199: ...system etc Recommended products The following products are recommended for use with the CP1L EL EM series PLC Part Maker Model number Specifications Inquires Hub 100BASE TX OMRON W4S1 03B 10 100 Mbit...

Page 200: ...s Do not install the hub near devices that generate noise Do not install the hub in locations subject to high temperature or high humidity Do not install the hub in locations subject to excessive dirt...

Page 201: ...PLC or computer on another network e g remote programming or monitoring using FINS message or a CX programmer When routing tables are used for one or more other nodes on the same network 3 It is not...

Page 202: ...ction command can be executed without any IP setting in computer side when the PLC is physically connected with the computer directly b Connect the personal computer to the PLC by serial cable through...

Page 203: ...g box 5 In order for the Ethernet Setup to go into effect the Ethernet Port must be restarted Please use the following way to reset CP1L built in Ethernet Port After the LNK ACT indicator has turned O...

Page 204: ...sk for IP address setting Broadcast Set the method for specifying IP addresses for broadcasting in FINS UDP All 1 4 3BSD Broadcast with host number set to all ones All 0 4 2BSD Broadcast with host num...

Page 205: ...ote node is commu nicating correctly The PING command uses the ICMP echo request and responses The echo response packet is automatically returned by the ICMP The PING command is normally used to check...

Page 206: ...port Broadcast Address conversion method Items set for each connection Server client specification Remote IP address specification Server Specify IP addresses of clients permitted to connect Client Sp...

Page 207: ...a PLC or computer on another network e g remote programming or monitoring using FINS messages or a CX Pro grammer MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11...

Page 208: ...pplications Aside from the basic settings the required settings vary depending on the par ticular communications applications that are used All these settings are in the Built in Ethernet Tab Click on...

Page 209: ...ettings so that UDP port number does not overlap with port number 123 for SNTP and port number 53 for DNS 0 9 600 Conversion Select any of the following as the method for finding and converting IP add...

Page 210: ...he connection number This is a network API used when TCP is used for the FINS communica tions service It corresponds to a socket in the socket services Up to 3 can be used at a time and they are ident...

Page 211: ...IP addresses as required at clients from which connection is permitted If not set for those connections the default setting of 0 0 0 0 can be used When the PLC is used as a client Set the IP address...

Page 212: ...able information is incorrect OFF Unit OFF when the IP address table is normal 4 IP Router Table Error Flag ON Unit ON if the IP router table information is incor rect OFF Unit OFF when the IP address...

Page 213: ...els The most recent error can be stored The function of these 5 words is as follows 1 Error code bits 0 to 15 2 Error contents bits 0 to 15 3 Minutes bits 8 to 15 Seconds bits 0 to 7 4 Day of month bi...

Page 214: ...ecution They are returned in the response following the command code The first byte of a response code is the MRES main response code which categorizes the results of command execution The second byte...

Page 215: ...The results storage format is the format used to store transfer results Response codes applicable to the command are described at the end of the command description If any UNIX error codes are generat...

Page 216: ...ubnet mask FINS UDP port number mode settings Ethernet address Command Block Response Block Parameters Model Version Response The PLC model and version are returned as ASCII characters occupying 20 by...

Page 217: ...Dynamical mode 1 Static mode SNTP Server Specification Method 0 IP address 1 Host name Ethernet Address Response The Ethernet address of the Ethernet port is returned The Ethernet address is the addr...

Page 218: ...ECTION REMOTE NODE CHANGE REQUEST 31 FINS TCP CONNECTION STATUS READ 50 IP ADDRESS TABLE WRITE 51 IP ROUTER TABLE WRITE 60 IP ADDRESS TABLE READ 61 IP ROUTER TABLE READ 27 30 FINS TCP connection No Co...

Page 219: ...address for the remote node in hexadecimal Remote TCP Port Number Response Specifies the TCP port number for the remote node TCP Transitions Response Specifies the TCP connection status using the foll...

Page 220: ...s for communications via the FINS command hexadecimal IP Address IP address used by TCP IP protocol hexadecimal Precautions The new I O address table records will not be effective until the PC is rest...

Page 221: ...g diagram IP Network Address The network ID from the IP address in hexadecimal The network ID part cor responding to the address class determined by the leftmost 3 bits set here is enabled Router IP A...

Page 222: ...mal number IP Address Table Records Response The number of IP address table records specified in the number of records parameter is returned The total number of bytes in the IP address table records i...

Page 223: ...umber of Stored Records Response The maximum number of records that can be stored in the IP router table is returned The maximum number of stored records is fixed at 0008 8 records Number of Stored Re...

Page 224: ...rd of SEND RECV instruction to specify built in Ethernet port of CP1L EL EM as the des tination unit The unit address of built in Ethernet port is 0xFA If user want to send FINS frame by Ethernet plea...

Page 225: ...vices Command code 0501 hex Controller Inforamtion Read Bytes of command data 0002 hexadecimal 2 decimal Bytes of response data 003E hexadecimal 62 decimal Transmit to the local network and the devic...

Page 226: ...a will be automatically sent or received according to the send receive data address in the Socket Service Parameter Area When processing has been completed a response code will be automatically stored...

Page 227: ...port CMND command Check TCP Connection UDP Open Flag The specified UDP socket is already open Turn ON UDP Open Request Switch Start UDP Open OFF Program Flow Is Bit 15 Open Flag in the socket status w...

Page 228: ...s Default TCP IP keep alive Set the liveness checking interval When socket services using either FINS TCP or TCP IP are used the connection will be terminated if there is no response from the remote n...

Page 229: ...nit OFF when the IP address table is nor mal 4 IP Router Table Error Flag ON Unit ON if the IP router table information is incorrect OFF Unit OFF when the IP address table is nor mal 5 DNS Server Erro...

Page 230: ...Flag 2 ON Unit Turned ON by the Unit when a connection is established OFF Unit Turned OFF by the Unit when the connection is terminated 2 FINS TCP Connection Flag 3 ON Unit Turned ON by the Unit when...

Page 231: ...ON during close processing Turns ON when close request is received OFF Unit OFF when close processing has been completed 4 to 12 Not used 13 Data Received Flag ON Unit ON when data from a remote node...

Page 232: ...it Unit turns OFF switch when open processing has been completed i e when a connection has been made 11 3 Send Request Switch ON User Send processing executed when switch is turned ON The protocol TCP...

Page 233: ...emaining number of bytes is stored and the Data Received Flag turns ON again Before a receive request is executed a check is performed to confirm that the required data is available TCP Socket No 1 to...

Page 234: ...x 1024 Send receive data address Same as FINS variable area designation method Timeout value 0000 to FFFF Hex Response code Remote UDP TCP port number 0000 to FFFF Hex 15 14 13 12 11 10 9 8 7 6 5 4 3...

Page 235: ...600 in an open request for a TCP active or passive socket As a rule use port numbers 1 024 and higher If port number 0 is specified when for an active TCP open the TCP port num ber will be automatical...

Page 236: ...ic remote TCP port number is set then a connection can be made only to a node using the specified TCP port number Remote UDP TCP Port No Specify the UDP or TCP port number used by the remote device Th...

Page 237: ...hat was requested UDP Socket Open Request Area Word address Area designation hexadecimal Word address hexadecimal CIO HR and AR Areas CIO 0000 to 6143 B0 0000 to 17FF HR H000 to H511 B2 0000 to 01FF A...

Page 238: ...e or the remote IPaddress is 0 1101 The area designation of the Send Receive Data Address is not inallowable range 1103 The bit number in the Send Receive Data Address is not 00 110C Request Switch tu...

Page 239: ...ETIMEDOUT or remotenode does not exist 0080 Open request timed out 0081 The specified socket was closed during open processing 0082 Connection could not be established with specified remote node Resp...

Page 240: ...0081 The specified socket was closed during receive processing Response code Meaning 0000 Normal end 0302 CPU Unit error cannot execute 1100 Number of bytes to send not in allowable range 1101 The ar...

Page 241: ...o control execution of communications Basic Operations W0 00 is turned ON to request opening a TCP socket from the Ethernet Unit W0 01 is turned ON to request closing the TCP socket from the Ethernet...

Page 242: ...Send data 100 bytes 100 0064 Hex Receive data 100 bytes 100 0064 Hex DM00000 DM00049 DM01000 DM01049 15 00 15 00 WR Area W0 W1 W2 15 03 02 01 00 TCP Open Bit TCP Close Bit TCP Send Bit TCP Receive Bit...

Page 243: ...Request Switch A571 05 is turned ON and the TCP Closing Flag W2 01 is turned OFF When the TCP Closing Flag W2 01 turns ON the following parameter is written to the parameter area for socket number 1...

Page 244: ...2 02 is turned OFF If the Send Request Switch A571 03 turns OFF while the TCP Sending Flag W2 02 is OFF the contents of the response code D32417 in the Socket Service Pa rameter Area is checked and if...

Page 245: ...on of the network it may not be possible to acquire the clock information 6 7 2 Specifying Servers by Host Name SNTP servers can be specified by host name rather than by IP address by using of the DNS...

Page 246: ...from OFF to ON 4 Select Transfer to PLC from the Options Menu and click the Yes button The PLC Setup will be transferred to the CPU Unit 2 With the CX Programmer online set the following items in the...

Page 247: ...in Ethernet Tab Click the Clock Auto Adjustment button to display the Clock Auto Adjustment setup dialog Item Contents Default IP Address Set the IP address for the DNS server The DNS server is requi...

Page 248: ...server that is to be used for automatic clock adjustment This setting is enabled only when server specification by IP address has been selected 0 0 0 0 Host Name Set the host domain name i e the host...

Page 249: ...do not forcibly manipulate the switch Address Bit s Name Status Manipulated by Unit operation Access A46 5 DNS Server Error Flag ON Unit ON when the following errors occur during DNS server operation...

Page 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...

Page 251: ...Search and Origin Return Functions 256 7 2 6 Origin Return 273 7 2 7 Pulse Output Procedures 275 7 2 8 Instructions Used for Pulse Outputs 277 7 2 9 Variable Duty Factor Pulse Outputs PWM 891 Outputs...

Page 252: ...t Functions Purpose Function 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...

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

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

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

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

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

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

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

Page 260: ...nt or Direction input Upper Terminal Block Example DC Power Supply Modules High speed counter 0 Phase A Increment or Count input High speed counter 0 Phase Z or Reset input High speed counter 1 Phase...

Page 261: ...Increment High speed counter 2 Increment High speed counter 3 Phase Z or Reset input High speed counter 2 Phase Z or Reset input High speed counter 0 Phase Z or Reset input NC COM 01 00 02 04 03 05 07...

Page 262: ...03 Normal input 3 Normal input 3 Normal input 3 Counter 3 increment input Counter 1 B phase down or direction input 04 Normal input 4 Normal input 4 Normal input 4 Counter 0 phase Z reset input Counte...

Page 263: ...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 li...

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

Page 265: ...nter 0 phase A Upper Terminal Block NC NC NC 00 01 06 COM 05 07 CIO 100 CIO 101 CIO 100 CIO 101 PL1 OK indicator PL2 NG indicator Bottom terminal block Example Relay Output Models PL1 PL2 COM COM COM...

Page 266: ...n a high speed counter is being used enabled in the PLC Setup the input cannot be used as a general purpose normal input interrupt input or quick response input D10014 D10019 D10024 D10029 D10034 FFFF...

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

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

Page 269: ...ting Required Select the Use high speed 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 Mo...

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

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

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

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

Page 274: ...1 02 03 04 V COM V 05 COM 06 07 Lower Terminal Block Example Sinking Transistor Outputs Pulse output 0 CCW direction PWM output 0 Pulse output 0 CW pulse CIO 100 Origin search 0 Error counter reset ou...

Page 275: ...pulse fixed 03 Normal output 3 Pulse output 1 CCW fixed Pulse output 1 direction fixed PWM output 1 04 Normal output 4 Origin search 0 Error counter reset output 05 Normal output 5 Origin search 1 Er...

Page 276: ...ase up or count input 03 Normal input 3 Normal input 3 Normal input 3 Counter 3 increment input Counter 1 B phase down or direction input 04 Normal input 4 Normal input 4 Normal input 4 Counter 0 phas...

Page 277: ...lerating 0 Constant speed 1 Accelerating or decelerating A280 00 A281 00 Overflow Underflow Flags ON when an overflow or underflow has occurred in the pulse output PV 0 Normal 1 Overflow or underflow...

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

Page 279: ...rate 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 operation the acce...

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

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

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

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

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

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

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

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

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

Page 289: ...g the source clock frequency by an integer ratio The source clock fre quency 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 b...

Page 290: ...from 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 fre...

Page 291: ...ng the current position to 0 7 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 i...

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

Page 293: ...rigin 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 direct...

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

Page 295: ...igin Input Signal after deceleration is completed Operating Mode 1 with Origin Proximity Input Signal Reverse Origin Detection Method Setting 0 When the deceleration time is short the Origin Input Sig...

Page 296: ...time Origin Input Signal is ignored during deceleration Motor stopped by an Origin Input Signal received after deceleration Starts when ORG 889 is executed Stop Ideal time for the Origin Proximity In...

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

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

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

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

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

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

Page 303: ...Function 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...

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

Page 305: ...ignal after the Origin Input Signal goes OFF ON OFF Origin search direction 0 CW direction System Configuration Instructions Used ORG 889 CW limit detection sensor Origin Proximity Input sensor Workpi...

Page 306: ...sable 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 det...

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

Page 308: ...elative 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 acceleration...

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

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

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

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

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

Page 314: ...ut to change the number of output pulses target frequency acceleration rate or deceleration rate Operand Contents P Port specifier 0000 hex Pulse output 0 0001 hex Pulse output 1 M Output mode Bits 0...

Page 315: ...on 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 1 Deceleration rate 0001 to FFFF hex 1 to 65 535 Hz Specify the increase or de...

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

Page 317: ...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 Reading pulse output status D Bit 0 Pulse Output Status Flag 0 Constant sp...

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

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

Page 320: ...The frequency can be set up to 6553 5 Hz in the PWM 891 instruction but the duty factor accuracy declines significantly at high frequencies because of limitations in the output circuit at high frequen...

Page 321: ...upt with a scheduled time of 0 5 ms The scheduled interrupt task executes the pulse output instructions and stops the scheduled interrupt Instructions Used MSKS 690 Enables the I O interrupt Starts th...

Page 322: ...ettings Scheduled Interrupt Time Unit Setting PLC Setup setting details Do not use high speed counter 0 Do not use the pulse output 0 origin search function PLC Setup setting details Data Set the sche...

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

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

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

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

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

Page 328: ...eration can be canceled and operation stopped at any point using the Emergency Switch Input IN 0 03 Instructions Used SPED 885 PLS2 887 Preparation PLC Setup There are no settings that need to be made...

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

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

Page 331: ...10 35 34 7 CW CW ECRST ECRST INP 33 ZCOM 32 Z 24VIN RUN RESET OGND ALMCOM ALM FG X1 XB 24 VDC X1 Servo Driver RUN input 24 VDC BKIR CW output CIO 100 00 CCW output CIO 100 01 4 3 CCW CCW COM CIO 100 C...

Page 332: ...paration PLC Setup Note The origin search enable setting is read when the power supply is turned ON DM Area Settings Settings for PLS2 887 for Fixed distance Positioning D0 to D7 Setting details Enabl...

Page 333: ...Address Data Acceleration rate 300 Hz 4 ms D10 012C Deceleration rate 200 Hz 4 ms D11 00C8 Target frequency 50 000 Hz D12 C350 D13 0000 Number of output pulses 10 000 15 pulses D14 49F0 D15 0002 Start...

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

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

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

Page 337: ...ch CIO 0 01 SMARTSTEP A series Servo Driver X axis SMARTSTEP A series Servo Driver Y axis MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP E...

Page 338: ...l Servo Driver RUN input Servo Driver alarm reset input 24 VDC Power Supply Power Supply Terminal 24 VDC Power Supply V V 1 2 5 6 8 13 14 18 10 35 34 7 CW CW ECRST ECRST INP 33 ZCOM 32 Z 24VIN RUN RES...

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

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

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

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

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

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

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

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

Page 347: ...ted in interrupt task 140 3 Fixed distance positioning is executed with PLS2 887 before stopping 4 An emergency stop is executed to stop pulse output with the Emergency Stop input 0 01 Start Switch CI...

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

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

Page 350: ...ulses are read from the encoder and compared to set values during positioning to enable determining when a position requiring a speed change has been reached This results in positioning errors at spee...

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

Page 352: ...ation 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 use...

Page 353: ...C AG COM3 OUT CP1L EL EM Speed Commands Using Serial Communications Inverter Speed Commands Using an Analog Output OR RS 485 communications Modbus RTU CP1W CIF11 CIF12 RS 422A 485 Option Board Serial...

Page 354: ...ils 4 Specify an inverter positioning port for the pulse output instruction port 0 0020 port 1 0021 The internal pulses will be output to the error counter for the specified port CP1L EL EM Feedback p...

Page 355: ...controlling output of commands to the in verter For example if a change in the load causes the motor shaft to turn feedback pulses from the encoder will enter the error counter the value in the error...

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

Page 357: ...searches Motor driver and signal wire modes 3 modes Origin search modes 2 modes Origin detection methods 3 methods Feedback pulse input ports High speed counter 0 and high speed counter 1 fixed Maximu...

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

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

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

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

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

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

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

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

Page 366: ...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 the...

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

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

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

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

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

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

Page 373: ...TU 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 A23 or A33...

Page 374: ...analog output value Inverter frequency command value Hz Inverter s max output frequency Hz 6 000 CP1L EL EM Automatic calculations Inverter frequency command value Auxiliary Area A23 A33 6 000 Invert...

Page 375: ...lt Pulse output origin searches enabled Inverter positioning enabled Word Bit Normal inputs Origin search CIO 0 See note 00 Normal input 0 High speed counter 0 Phase A 01 Normal input 1 High speed cou...

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

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

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

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

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

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

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

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

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

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

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

Page 387: ...r 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 multiplier C...

Page 388: ...34567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP1L POWER RUN INH 1 00 01 02 03 04 06 00 01 03 04 06 COM 02 COM 05 07 COM COM V 05...

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

Page 390: ...ters 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 485 RDA RDB SDA...

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

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

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

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

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

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

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

Page 398: ...01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP1L POWER RUN INH 1 00 01 02 03 04 06 00 01 03 04 06 COM 02 COM 05 07 COM COM V 05 07 ANALOGINPUT V1 V2 COM 2 CH I OUT1 I OUT3 I OUT2 VOUT1 VOUT2 VOUT3...

Page 399: ...d CIO 100 Output 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...

Page 400: ...M 24 V CP1L E 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 V 00 01 02 03 04 06 00 01 03 04 06 V COM V COM 05 07 COM 02 COM 05...

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

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

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

Page 404: ...ults 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 co...

Page 405: ...and value converted for the analog output resolution D1011 D1020 Holds the frequency command value converted from 0 01 Hz increments to hertz T0 Analog conversion trigger Address Usage D102 Bits 00 to...

Page 406: ...ired If the range is too small however time may be required when stopping If stopping quickly is more important than precision increase the in position range The error counter cycle also affects the c...

Page 407: ...6 1 1 Links 420 8 3 7 1 N NT Links 421 8 3 8 1 1 NT Links 423 8 3 9 Host Link Communications 424 8 4 Built in Analog Input 428 8 5 Battery free Operation 431 8 5 1 Overview 431 8 5 2 Using Battery fr...

Page 408: ...inputs and executes the corresponding interrupt 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...

Page 409: ...k NewProgram2 unassigned and select Properties from the pop up menu to display the Program Properties Window 3 Set the Task type in the Program Properties Window In this example interrupt task 140 was...

Page 410: ...at scheduled interrupts will not be executed in the preset time so the program must be designed to avoid interrupt conflicts if necessary Duplicate Processing in Cyclic and Interrupt Tasks If a memory...

Page 411: ...e saved result of the B instruction 1235 is written to D0 when processing returns to the cyclic task In the end the interrupt task s processing has no effect Prevention of Duplicate Processing B D0 00...

Page 412: ...contain 1234 and match but the correct comparison result is not reflected in comparison result output A Prevention of Duplicate Processing BSET 1234 D0 D10 CMP D0 D10 A 1234 1234 1234 0502 ABCD ABCD...

Page 413: ...th 40 I O Points The 6 input bits CIO 0 04 to CIO 0 09 can be used for input interrupts COM 01 03 05 07 09 11 00 NC 02 04 06 08 10 Input interrupt 0 Input interrupt 2 Input interrupt 3 Input interrupt...

Page 414: ...k 141 06 Normal input 6 Normal input 6 Normal input 6 Input interrupt 2 Interrupt task 142 07 Normal input 7 Normal input 7 Normal input 7 Input interrupt 3 Interrupt task 143 08 Normal input 8 Normal...

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

Page 416: ...e the program to interrupt task 140 4 Use the CX Programmer to write MSKS 690 in the program Input interrupt number Interrupt task number 1 Up differentiation or Down differentiation 2 Enabling Disabl...

Page 417: ...nterrupts use the same input terminals as the direct mode input interrupts Refer to 8 1 2 Input Interrupts Direct Mode for details The counter input mode can be set to up or down incrementing or decre...

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

Page 419: ...he 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 counter mode Input interrupt numbe...

Page 420: ...asured 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 the...

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

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

Page 423: ...omparison For details on the built in high speed counter refer to 7 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 Int...

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

Page 425: ...put 3 Normal input 3 Counter 3 increment input Counter 1 B phase down or direction input 04 Normal input 4 Normal input 4 Normal input 4 Counter 0 phase Z reset input Counter 0 phase Z reset input 05...

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

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

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

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

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

Page 431: ...t Input settings at the bottom of the tab Set the input function from Normal to Quick for each input that will be used as a quick response input Bit Allocation for Quick Response Inputs The following...

Page 432: ...Quick response input 1 Quick response input 3 Quick response input 5 Quick response input 2 Quick response input 0 Quick response input 4 Input terminal block CPU Unit Quick response inputs Word Bit C...

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

Page 434: ...porting CompoWay F or Mod bus RTU slave devices Converts received FINS com mands into CompoWay F or Modbus RTU commands and transfers them on the serial communications path OK OK MAC Address 012345678...

Page 435: ...ata such as pro duction planning information to the PLC OK OK Protocol Connected devices Description Serial port 1 Serial port 2 MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM...

Page 436: ...ted devices Description Serial port 1 Serial port 2 MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP1L POWER RUN I...

Page 437: ...U Unit TXD 236 or RXD 235 Sending receiving data RS 232C or RS422A 485 Standard device with serial communications e g barcode reader Transfer direction Method Max amount of data Frame format Other fun...

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

Page 439: ...r RS 422A 485 Option Board is used the CP1L EL EM CPU Unit can function as a Modbus RTU Master to send Modbus RTU commands by manipulating software switches This enables easily controlling Modbus comp...

Page 440: ...08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP1L POWER RUN INH 1 00 01 02 03 04 06 00 01 03 04 06 COM 02 COM 05 07 COM COM V 05 07 ANALOGINPUT V1 V2 CO...

Page 441: ...s 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 no...

Page 442: ...tarted ON Execution in progress OFF Not executed or execution completed 01 Modbus RTU Master Execution Normal Flag ON Execution normal OFF Execution error or still in progress 02 Modbus RTU Master Exe...

Page 443: ...Gateway Using SAPs from an NS series PT Using Function Blocks in CPU Unit MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT S...

Page 444: ...n channel is developed 00Hex means PLC internal communication b When the routing table for network control of serial communication channel is not developed It is the node address when actual destinati...

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

Page 446: ...OWER RUN INH 1 00 01 02 03 04 06 00 01 03 04 06 COM 02 COM 05 07 COM COM V 05 07 ANALOGINPUT V1 V2 COM 2 MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05...

Page 447: ...ed Undefined Undefined Polled Unit No 3 Polled Unit No 3 Polled Unit No 3 Local area Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not use...

Page 448: ...ed Undefined Polled Unit No 3 Not used Not used Not used Not used MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP...

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

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

Page 451: ...Flags A528 08 to A528 15 When an error occurs at serial port 1 the corre sponding error bit is turned ON Bit 08 Not used Bit 09 Not used Bit 10 Parity error Bit 11 Framing error Bit 12 Overrun error B...

Page 452: ...Flags A528 00 to A528 07 When an error occurs at Serial Port 2 the corre sponding error bit is turned ON Bit 00 Not used Bit 01 Not used Bit 02 Parity error Bit 03 Framing error Bit 04 Overrun error B...

Page 453: ...ively 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 bu...

Page 454: ...ill be only 16 words on both sides of the link and only LR 00 to LR 15 will be used in the CQM1H or C200HX HG HE Z PLC LR 16 to LR 63 cannot be used for 1 1 Links Operation Here operation is described...

Page 455: ...1 C V2 or NT631 C V2 PTs 1 1 Link RS 232C 1 1 Link Area CIO 3000 CIO 3007 CIO 3008 CIO 3015 CIO 3016 CIO 3063 Write area Read area Write area Read area Not used LR 00 LR 07 LR 08 LR 15 Link Master CP1...

Page 456: ...s the SET Touch Switch to set the Comm Speed to High Speed Port Name Settings contents Default values Other conditions Serial port 1 or 2 Mode Communications mode NT Link 1 N 1 N NT Links Host Link Tu...

Page 457: ...C is connected to more than one PT Connections With the NT Link protocol the PLC auto matically responds to commands sent from the PT so no communications pro gramming is required in the CP1L EL EM PL...

Page 458: ...ANALOGINPUT V1 V2 COM 2 MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP1L POWER RUN INH 1 00 01 02 03 04 06 00 0...

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

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

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

Page 462: ...data range is 0000 to 044C 0 to 1100 MAC Address 01234567890A BKUP LNK ACT INH ANALOGINPUT V1 V2 COM 1 Built in analog input connector Potentiometer external temperature sensor etc 0 to 10 V 00 NC 02...

Page 463: ...and push the line in while the lock is released Remove the screwdriver and lock it inside To disconnect the wiring press the release button in with a small flat blade screwdriver and pull the line out...

Page 464: ...s external power sup ply may be shorted depending on the connection methods of the outside ana log device DO NOT ground the 24 V side of the PLC s external power supply as shown in the following diag...

Page 465: ...ion Be careful of the following points and create programs for which it will not be a problem even if the correct I O memory values are not held For unstable parts of I O memory include programming at...

Page 466: ...meter data to flash memory when these are written to the CPU Unit Also the CX Programmer can be used to save all of the data in the DM Area to the flash memory for use as initial values when the power...

Page 467: ...ly managed from a personal computer like files The only data that can be stored on a Memory Cassette is the data from a CPU Unit Model Specifications CP1W ME05M Memory size 512 Kwords Storage capacity...

Page 468: ...emory Cassette between the thumbnail and index finger and slide it upwards to remove it Note 1 Turn OFF the power supply before mounting or removing the Memory Cassette 00 NC 02 04 06 08 10 00 02 04 0...

Page 469: ...he Memory Cassette mounted in the CPU Unit and the operating mode after automatic transfer at startup If the user program is specified to be written select the operating mode after automatic transfer...

Page 470: ...en written to the Memory Cassette or confirming that the data in the backup matches the data in the CPU Unit MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03...

Page 471: ...power enabling operation from the Memory Cassette MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP1L POWER RUN INH...

Page 472: ...ode When using automatic transfer from a Memory Cassette at startup be sure to transfer the data to the Memory Cassette if any changes are made using online editing The operating mode cannot be switch...

Page 473: ...quired data When transferring the data to the Memory Cassette set the operating mode after automatic transfer at startup to PROGRAM mode default 2 With the power supply turned OFF to the CPU Unit remo...

Page 474: ...upply OFF return the set ting of DIP switch SW2 to OFF and then turn the power supply back ON If the the operating mode specified in the PLC Setup is set as the operating mode after automatic transfer...

Page 475: ...ion prevents anyone from displaying or editing the read protected set of tasks or entire user program from CX Programmer without inputting the correct password If the password is input incorrectly fiv...

Page 476: ...Protection Release Procedure 1 2 3 1 Go online and select PLC Protection Release Password The follow ing Release Read Protection Dialog Box will be displayed 2 Input the password If the password is in...

Page 477: ...ead protected tasks cannot be displayed or edited without inputting the correct password Tasks that are not read protected can be displayed edited or modified with online editing Note Task read protec...

Page 478: ...3 Connect online and select PLC Transfer To PLC to transfer the pro gram The tasks registered in step 2 will be password protected Note The program can be transferred after step 1 above and then pass...

Page 479: ...ng up the user program can be set as an option Doing so will make it impossible to upload PLC data to the CX Programmer and make it impossible to save PLC data offline to a storage device Operating Pr...

Page 480: ...then either select PLC Transfer To PLC to transfer the program or select PLC Protection Set Password and click the OK but ton Application The above procedure enables using a password to protect again...

Page 481: ...ss Description UM Read Protection Flag A99 00 Indicates whether or not the PLC the entire user program is read protected OFF UM read protection is not set ON UM read protection is set Task Read Protec...

Page 482: ...Seconds 00 to 59 BCD A90 08 to A90 15 Minutes 00 to 59 BCD A91 00 to A91 07 Hour 00 to 23 BCD A91 08 to A91 15 Day of month 01 to 31 BCD A92 00 to A92 07 Month 01 to 12 BCD A92 08 to A92 15 Year 00 t...

Page 483: ...using Fins Gateway Read processes are not prohibited FINS write protection can disable write processes such as downloading the user program PLC Setup or I O memory changing the operating mode and perf...

Page 484: ...ng instructions will create a fatal error to prevent the program from being executed when the lot number is not 23905 The following instructions will create a fatal error to prevent the program from b...

Page 485: ...7 generates a fatal error that stops program execution When the user defined error conditions i e the execution conditions for FAL 006 or FALS 007 are met the instruction will be executed and the fol...

Page 486: ...ut 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 The...

Page 487: ...when FAL 006 is executed FALS Error Flag A401 06 Turns ON when FALS 007 is executed Executed FAL Num ber Flags A360 to A391 The corresponding flag turns ON when an FAL 006 error occurs Error Log Area...

Page 488: ...the same methods as for actual system errors to clear the simulated sys tem errors Refer to the 12 2 Troubleshooting for details All system errors simulated with FAL 006 and FALS 007 can be cleared by...

Page 489: ...time at which the power was last interrupted year month day of month hour minutes and seconds Power ON Clock Data 1 A720 to A722 Consecutive times at which the power was turned ON year month day of mo...

Page 490: ...s only SECONDS TO HOURS HMS 066 Converts seconds data to an equivalent time in hours minutes seconds format CALENDAR ADD CADD 730 Adds time to the calendar data in the speci fied words CALENDAR SUBTRA...

Page 491: ...O Units 458 9 2 Analog Input Units 459 9 3 Analog Output Units 472 9 4 Analog I O Units 483 9 4 1 CP1W MAD11 Analog I O Units 483 9 4 2 CP1W MAD42 CP1W MAD44 Analog I O Units 496 9 5 Temperature Sens...

Page 492: ...s Analog Input Unit CP1W AD041 100 90 4 2 CP1W AD042 100 50 4 2 Analog Output Unit CP1W DA021 40 95 2 CP1W DA041 80 124 4 CP1W DA042 70 160 4 Analog I O Unit CP1W MAD11 83 110 2 1 CP1W MAD42 120 120 4...

Page 493: ...the ranges 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 CP1W AD042 1 Analog Input Ter...

Page 494: ...input 2 COM2 Input 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 COM...

Page 495: ...10 to 10 VDC 0 to 20 mA or 4 to 20 mA 0 to 5 VDC 1 to 5 VDC 0 to 10 VDC or 10 to 10 VDC 0 to 20 mA or 4 to 20 mA Max rated input 15 V 30 mA 15 V 30 mA External input impedance 1 M min Approx 250 1 M...

Page 496: ...FDA8 to 3138 hex 600 to 12 600 A negative voltage is expressed as a two s complement 0 to 5 V Inputs When the resolution is 1 6 000 the 0 to 5 V range corresponds to hexadeci mal values 0000 to 1770 0...

Page 497: ...etection function is activated and the data becomes 8 000 When the resolution is 1 12 000 the 1 to 5 V range corresponds to hexadeci mal values 0000 to 2EE0 0 to 12 000 The entire data range is FDA8 t...

Page 498: ...FED4 to 189C hex 300 to 6 300 Current in the range of 3 2 to 4 mA is expressed as two s complement If an input is below the range i e less than 3 2 mA the open circuit detec tion function is activate...

Page 499: ...he input returns to the convertible range the open circuit detection is cleared automatically and the output returns to the normal range Procedure Writing Set Data and Reading A D Converted Values 4 m...

Page 500: ...Input Unit CH I IN1 I IN3 I IN2 VIN1 VIN2 VIN3 COM1 COM2 I IN4 VIN4 COM4 COM3 IN NC AG MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR...

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

Page 502: ...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 the ladder can start to operate with v...

Page 503: ...ing Set data Destination word Input 1 0 to 10 V 01 Yes 1101 D hex n 1 Input 2 4 to 20 mA 10 Yes 1110 E hex n 1 Input 3 10 to 10 V 00 No 1000 8 hex n 2 Input 4 Not used 00 0000 0 hex n 2 Analog input 2...

Page 504: ...uction Setting Address Data Control word D100 0800 Unscaled minimum value 0 D101 0 Scaled minimum value 0 D102 0 Unscaled maximum value 12 000 D103 12 000 Scaled maximum value 24 000 D104 24 000 12 00...

Page 505: ...2 1 0 0 Number of coordinates minus one m 1 00 to FF hex 1 m 256 14 13 12 11 10 9 Data length specification for S and D 0 16 bit signed binary data 1 32 bit signed binary data Floating point specific...

Page 506: ...ngement for CP1W DA021 3 Expansion connector 1 Analog output terminals Terminal block is not removable CH I OUT1 I OUT3 I OUT2 VOUT1 VOUT2 VOUT3 COM1 COM2 I OUT4 VOUT4 COM4 NC AG COM3 OUT 2 Expansion...

Page 507: ...08 10 OUT 01 C OM 0 3 05 07 09 11 C OM C O M C OM 0 3 CO M 06 00 01 02 04 05 07 00 01 02 03 04 05 06 07 08 09 10 11 20EDR1 C H 00 01 02 03 04 05 06 07 N C N C N C C H E X P IN 00 02 01 C OM 0 3 C OM...

Page 508: ...0 to 10 VDC 0 to 20 mA or 4 to 20 mA External output allowable load resistance 2 k min 350 max 2 k min 350 max External output impedance 0 5 max 0 5 max Resolution 1 6000 full scale 1 12000 full scale...

Page 509: ...ge is 0 5 to 10 5 V Specify a negative voltage as a two s complement When the resolution is 1 12 000 the hexadecimal values 0000 to 2EE0 0 to 12000 correspond to an analog voltage range of 0 to 10 V T...

Page 510: ...770 0 to 6000 correspond to an analog current range of 0 to 20 mA The entire output range is 0 to 21 mA When the resolution is 1 12 000 the hexadecimal values 0000 to 2EE0 0 to 12000 correspond to an...

Page 511: ...ecimal Connect and wire Units Create a ladder program Connect Analog Output Units Wire to analog input devices Write set data to output words CP1W DA041 DA042 Words n 1 n 2 CP1W DA021 Word n 1 Set use...

Page 512: ...put word allocated to the CPU Unit or previous Expansion Unit or Expansion I O Unit Analog devices Adjustment equipment Servo Controller Variable speed device Recorder Other 1 Connecting the Analog Ou...

Page 513: ...word following the last I O word allocated to the CPU Unit or already connected Expansion I O Unit or Expansion Unit For CP1W DA021 two output words n 1 n 2 are allocated Writing Set Data Write the o...

Page 514: ...sion I O Unit Startup Operation After power is turned ON it will require two cycle times plus approximately 50 ms before the first conversion data is output The following table shows the output status...

Page 515: ...ese flags in the program when it is necessary to detect errors Program Example CP1W DA041 CP1W DA042 Analog output Output range Range code Set data Destination word Output 1 0 to 10 V 001 1001 9 hex n...

Page 516: ...aling analog input values for the descriptions of APR instruction Setting Address Data Control word D110 0800 Unscaled minimum value 200 D111 200 Scaled minimum value 3 000 D112 3 000 Unscaled maximum...

Page 517: ...to 1 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...

Page 518: ...ocessing 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 p...

Page 519: ...Full 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 Suppo...

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

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

Page 522: ...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 V...

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

Page 524: ...set data to output words MOV 021 Ladder program Set data Word n 1 Word m 1 Word m 2 CPU Unit Analog I O Unit Writes the set data Reads the converted values Analog input 0 converted value Analog input...

Page 525: ...ices Internal Circuits DIP switch pin Function Setting Default 1 1 Averaging Analog input 0 OFF Disabled ON Enabled OFF 1 2 Analog input 1 OFF Disabled ON Enabled OFF NC NC MAC Address 01234567890A 00...

Page 526: ...minals 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 output COM Output common V IN0 Voltage input 0 I IN0 Current input 0 COM0 Input common...

Page 527: ...ly 1 3 to 1 2 of the out put voltage of the other connected device will be generated If that volt age is generated while the setting is for 1 to 5 V open circuit detection may not be possible Also if...

Page 528: ...inputs 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...

Page 529: ...has 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...

Page 530: ...ges of 1 to 5 VDC and 4 to 20 mA The analog output range can be set to 1 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 12000 MOV 021 8051 102 First Cycl...

Page 531: ...CP1W MAD44 4 Expansion connector 3 Expansion I O connecting cable 2 Analog Output terminals Terminal block is not removable 1 Analog Input terminals Terminal block is not removable V IN1 Voltage input...

Page 532: ...on 1 V OUT2 Voltage output 2 I OUT2 Current output 2 COM2 Output common 2 V OUT3 Voltage output 3 I OUT3 Current output 3 COM3 Output common 3 V OUT4 Voltage output 4 I OUT4 Current output 4 COM4 Outp...

Page 533: ...r other ranges 0000 to 2EE0 hex Averaging function Supported Open circuit detection function Supported Analog Output Section Number of outputs CP1W MAD42 2 outputs 2 words allocated CP1W MAD44 4 outpu...

Page 534: ...e is FDA8 to 3138 600 to 12600 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 2EE0 0 to 12000 The entire data range is...

Page 535: ...600 to 12600 A nega tive current is expressed as a two s complement 4 to 20 mA The 4 to 20 mA range corresponds to the hexadecimal values 0000 to 2EE0 0 to 12000 The entire data range is FDA8 to 3138...

Page 536: ...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 2EE0 0 to 12000 correspond to an analog voltage range of 1 to 5 V...

Page 537: ...age of the last eight input values as the converted value Use this function to smooth inputs that vary at a short interval Open circuit Detection Function for Analog Inputs The open circuit detection...

Page 538: ...ed value Word m 3 Analog input 3 converted value Word m 4 Analog input 4 converted value m is the last input word and n is the last output word allocated to the CPU Unit or previous Expansion Unit or...

Page 539: ...xpansion I O Unit Analog devices Adjustment equipment Servo Controller Variable speed device Recorder Other Word n 1 Analog output 1 conversion value Analog output 2 conversion value MOV 021 Ladder pr...

Page 540: ...nalog ground Internal circuits COM1 V OUT1 I OUT1 COM2 V OUT2 I OUT2 COM4 V OUT4 I OUT4 NC NC Analog output 1 to to to Analog output 4 Analog output 1 to Analog output 2 V IN COM I IN V IN COM I IN An...

Page 541: ...all an isolator at each input If the same power supply is used as shown in the following diagram and an open circuit occurs at point A or B an unwanted current flow will occur as shown by the dotted l...

Page 542: ...f analog inputs are not used bit 15 in word n 1 and n 2 must be set to 1 Set Data of Analog Inputs Word n 1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Value 1 0 0 0 Analog output 1 Analog input 2 Analog in...

Page 543: ...llocated to the CPU Unit or an already connected Expansion Unit the A D conversion data will be output to the following words m 1 to m 4 Writing Analog Output Converted Values The ladder program can b...

Page 544: ...ut Current output Output range 0 to 10 V 10 to 10 V 1 to 5 V 0 to 20 mA 4 to 20 mA Before range code is written 0 V 0 mA After range code is written 0 V 1 V 0 mA 4 mA Analog input Input range Range co...

Page 545: ...10 to 10 V 00 Yes 1100 C hex n 2 Output 1 10 to 10 V 000 1000 8 hex n 3 Output 2 4 to 20 mA 100 1100 C hex n 3 Output 3 0 to 10 V 001 1001 9 hex n 4 Output 4 Not use 0000 0 hex n 4 MOV 021 88DE 102 Fi...

Page 546: ...6 D4 T0005 MOV 021 7 D5 T0005 MOV 021 Execution condition Execution condition Reads analog input 1 s of CP1W MAD44 converted value Reads analog input 2 s of CP1W MAD44 converted value Open circuit det...

Page 547: ...lati num resistance thermometers 2 DIP Switch Used to set the temperature unit C or F and the number of decimal places used 3 Rotary Switch Used to set the temperature input range Make the setting acc...

Page 548: ...on I O Unit CP1W TS 01 TS 02 Temperature Sensor Unit Item CP1W TS001 CP1W TS002 CP1W TS101 CP1W TS102 Temperature sensors Thermocouples Platinum resistance thermometer Switchable between K and J but s...

Page 549: ...e Mode refer to Two decimal place Mode on page 522 IN 00 C H C H 02 04 06 08 10 OUT 01 C OM 0 3 05 07 09 11 C OM C O M C OM 0 3 CO M 06 00 01 02 04 05 07 00 01 02 03 04 05 06 07 08 09 10 11 20EDR1 C H...

Page 550: ...ure Sensors Thermocouples CP1W TS001 Either K or J thermocouples can be connected but both thermocouples must be the same type and the same input range CP1W TS002 Either K or J thermocouples can be co...

Page 551: ...e cold junction compensator Doing so may result in incor rect temperature measurement Platinum Resistance Thermometers CP1W TS101 One or two Pt or JPt platinum resistance thermometers can be connected...

Page 552: ...ords allocated to the Tem perature Sensor Unit in 4 digit hexadecimal Pt Input 0 B Input 0 A Input 0 B Input 1 B NC Input 1 A Input 1 B NC Pt Input 2 B Input 2 A Input 2 B Input 3 B Input 3 A Input 3...

Page 553: ...roximately 1 s is required for the first conversion data to be stored in the input word During that period the data will be 7FFE Therefore create a program as shown below so that when operation begins...

Page 554: ...3 D1 BCD 024 Detects completion of input 0 initialization ON when input 0 has been initialized ON when input 1 has been initialized Execution condition Detects an open circuit alarm or Unit error by...

Page 555: ...Inputs Outputs CIO 0 CIO 1 CIO 100 CIO 101 CIO 2 CIO 3 None 2 7FFF 1000 00 CMP 020 1000 00 2 7FFE Always ON P_On CMP 020 Detects completion of input 0 initialization P_EQ 100 00 2 D0 BCD 024 2 15 0000...

Page 556: ...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 7FFF 1000 00 CMP 020 1000 00 2...

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

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

Page 559: ...erature 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 Fla...

Page 560: ...CIO 2000 3 4 5 Leftmost and rightmost digits rearranged and moved to CIO 2002 and CIO 2001 MOVD 083 MOVD 083 Data rearrangement completed 1000 02 2001 D100 BCDL 059 2002 07 non negative data 2002 07 n...

Page 561: ...re data 1 162 161 161 2 1 9 If temperature data is negative 8 is written here 3 D101 0 8 106 105 104 D103 0 1 0 0 0100 CIO 2002 2 s complement data D100 103 102 101 100 H1 0 0 165 164 H0 163 162 161 1...

Page 562: ...put the input ther mocouple type K or J and the temperature unit C or F Make the set ting according to the specifications of the temperature sensors or analog inputs that are connected 3 Expansion I O...

Page 563: ...value or 4 C 1 digit max See note3 Analog voltage inputs 1 0 full scale Analog current inputs 1 2 full scale Input signal range Thermocouple inputs K 200 0 to 1300 0 C or 300 0 to 2300 0 F J 100 0 to...

Page 564: ...the input type temperature or analog input the input thermocouple type K or J and the temperature unit C or F Set the temperature or analog ranges Connect the temperature sensors or analog devices Co...

Page 565: ...the cold junction compensator attached to the Unit If the Unit is used with the cold junction compensator from other Units the Unit will not be able to measure temperatures cor rectly Do not touch the...

Page 566: ...or upper limit 0 to 10 V The 0 to 10 V range corresponds to the hexadecimal values 0000 to 2EE0 0 to 12000 The entire data range is FDA8 to 3138 600 to 12600 A negative voltage is expressed as a two...

Page 567: ...n 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 range is set to 4 to 20 mA and the current drops below 3 2 mA When the open circuit...

Page 568: ...will oper ate and the converted temperature data will be set to 7FFF The open circuit detection function will be automatically cleared and nor mal input temperature conversion will begin automaticall...

Page 569: ...W1 OFF K SW2 OFF C SW3 NC SW4 OFF Thermocouple SW5 ON Analog SW6 ON 1 to 5V 4 to 20mA P_EQ 1000 00 2 7FFE P_On CMP 020 Always ON Temperature input data output word Initialization Completed Flag None C...

Page 570: ...ialization complete Stores input 0 s data in D0 Stores input 1 s data in D1 Stores input 2 s data in D2 Stores input 3 s data in D3 ON when an open circuit alarm has been detected for thermocouples in...

Page 571: ...perature unit C or F and the temperature input range Make the setting according to the specifications of the tempera ture sensors that are connected 3 Expansion I O Connecting Cable Connected to the e...

Page 572: ...mode is not supported Isolation Photocouplers between any two input signals Current consumption 5 VDC 80 mA max 24 VDC 50 mA max Set the temperature ranges Connect the temperature sensors Set the tem...

Page 573: ...n Do not set the temperature range to any values other than those for which temperature ranges are given in the following table An incorrect setting may cause operating errors The DIP switch is used t...

Page 574: ...llic shield and connect the shield to ground Open circuit Detection Function for Temperature If the circuit is disconnected the open circuit detection function will operate and the converted temperatu...

Page 575: ...t word n 1 Read command data input word specified Command Output Word Input Word n 1 m 1 m 2 Read command Response command Temperature data 4 digit hexadecimal Read temperature data from input 0 9901...

Page 576: ...ill a read command initial processing of CP1W TS004 is completed so a response to the read command after power ON takes only about 1s After the power is turned ON create a ladder program 1s later due...

Page 577: ...Temperature data storage address Open circuit alarm Input 0 9901 D0 W0 00 Input 1 9902 D1 W0 01 Input 2 9903 D2 W0 02 Input 3 9904 D3 W0 03 Input 4 9905 D4 W0 04 Input 5 9906 D5 W0 05 Input 6 9907 D6...

Page 578: ...2 102 MOV 021 9903 9903 300 First Cycle ON Flag Start to read temperature data W10 02 7FFF 3 300 W10 01 7FFF 3 300 W10 00 7FFF 3 300 Write input 0 s read command 9901 to CIO 102 CIO n 1 W10 00 turns O...

Page 579: ...05 9905 300 2 SET W0 06 3 D5 MOV 021 W0 05 RSET W0 05 102 MOV 021 9906 9906 300 2 SET W0 04 3 D3 MOV 021 W0 03 RSET W0 03 102 MOV 021 9904 9904 300 W10 03 7FFF 3 300 W10 04 7FFF 3 300 W10 05 7FFF 3 30...

Page 580: ...07 9907 300 2 SET W0 08 3 D7 MOV 021 W0 07 RSET W0 07 102 MOV 021 9908 9908 300 W10 06 7FFF 3 300 W10 07 7FFF 3 300 2 SET W0 09 3 D8 MOV 021 W0 08 RSET W0 08 102 MOV 021 9909 9909 300 W10 08 7FFF 3 30...

Page 581: ...990A 300 2 SET W0 11 3 D10 MOV 021 W0 10 RSET W0 10 102 MOV 021 990B 990B 300 2 3 D11 MOV 021 W0 11 SET W0 00 RSET W0 11 102 MOV 021 990C 990C 300 W10 09 7FFF 3 300 W10 10 7FFF 3 300 W10 11 7FFF 3 30...

Page 582: ...he Master Unit is connected Specifications BD L N C BS N C BD H N C BS S COMM ERR ON 1 2 3 4 5 6 No SRT21 EXP MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 0...

Page 583: ...ON A communications error has occurred OFF Indicates normal communications or stand by BD NC BS NC BD NC BS S COMM ERR ON 1 3 2 4 5 6 No SRT21 EXP 1 CompoBus S Terminals Terminal Block is not removab...

Page 584: ...r Name Color Meaning COMM Communications indicator Yellow ON Communications in progress OFF Communications stopped or error has occurred ERR Error indicator Red ON A communications error has occurred...

Page 585: ...of I O data are not always transmitted simultaneously In other words 8 bits of data transmitted from the Master CPU Unit at the same time will not always reach the Slave CPU Unit simultaneously and 8...

Page 586: ...tput data when a communications error occurs Note Always turn OFF the power supply before changing the DIP switch settings Wiring the CompoBus S Communications Path Wire the CompoBus S communications...

Page 587: ...3 1 Installation 555 10 3 2 Setting 555 10 3 3 Removing 555 10 4 Memory Allocation 556 10 4 1 CIO Area Allocation 556 10 4 2 Auxiliary Area Allocation 556 10 5 Analog Input Option Board 557 10 6 Anal...

Page 588: ...000 Voltage Output 0V 10V Resolution 1 4000 Analog I O Option Board CP1W MAB221 2CH 2CH Analog Input Option Board CP1W ADB21 2CH Analog Output Option Board CP1W DAB21V 2CH Analog I O terminal Error LE...

Page 589: ...h 30 and 40 points switch DipSW4 of the CPU unit to ON if the Analog Option Board is mounted on the Option Board slot 1 left side Switch DipSW5 of the CPU unit to ON if the Analog Option Board is moun...

Page 590: ...bit will also affect other PLC output channels Please refer to Appendix D Auxiliary Area Allocations by Address for more information I O Capacity Option Port Beginning Channel m Channel Range 20 Port...

Page 591: ...range corresponds to the hexadecimal values 0000 to 0FA0 0 to 4000 The entire data range is 0000 to 0FFF 0 to 4095 Item Specifications Voltage Input Current Input Input signal range 0 V to 10 V 0 mA t...

Page 592: ...0 mA Analog Input Terminal Arrangement Note When using current inputs voltage input terminals must be short circuited with current input terminals Wiring Internal Circuits Converted Data Hexadecimal D...

Page 593: ...Remove the screwdriver and lock it inside To disconnect the wiring press the release button in with a small flat blade screwdriver and pull the line out while the lock is released Note 1 Ferrules wit...

Page 594: ...of the PLC s external power supply as shown in the following diagram 10 6 Analog Output Option Board Each CP1W DAB21V Analog Output Option Board provides two analog outputs The analog output signal r...

Page 595: ...r limit or upper limit 0 to 10 V The hexadecimal values 0000 to 0FA0 0 to 4000 correspond to an analog voltage range of 0 to 10 V The entire output range is 10 to 10 24 V Analog Output Terminal Arrang...

Page 596: ...d Remove the screwdriver and lock it inside To disconnect the wiring press the release button in with a small flat blade screwdriver and pull the line out while the lock is released Note 1 Ferrules wi...

Page 597: ...res Turn ON the power to the CP1L EL EM CPU Unit 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 EL EM CPU Unit...

Page 598: ...The 0 to 10 V range corresponds to the hexadecimal values 0000 to 0FA0 0 to 4000 The entire data range is 0000 to 0FFF 0 to 4095 Item Specifications Voltage I O Current I O Analog Input Section Input...

Page 599: ...ut current mustn t exceed 30 mA Analog Input Signal Ranges 0 to 10 V The hexadecimal values 0000 to 0FA0 0 to 4000 correspond to an analog voltage range of 0 to 10 V The entire output range is 10 to 1...

Page 600: ...wiring the analog I O terminal block treat either solid or stranded wires directly VI1 Voltage Input 1 II1 Current Input 1 VI2 Voltage Input 2 II2 Current Input 2 COM Analog I O Common VO1 Voltage Out...

Page 601: ...so that the barbed wires cannot protrude 3 Do not solder plate the end of cable The screwdriver shown below is recommended for wiring Wiring for Analog I O To prevent noise 2 core shielded twisted pai...

Page 602: ...0 V side of the PLC s external power supply or do not ground the PLC s external power supply at all Otherwise the PLC s external power sup ply may be shorted depending on the connection methods of th...

Page 603: ...iliary Area Allocations AD DA function Lit CPU Unit service monitoring error Service from the CPU Unit was not completed within the fixed interval Check and cor rect the CPU Unit s operating environme...

Page 604: ...20mA Analog output1 0 10V System composing CP1L EM option port 1 CP1W MAB221 2980 D0 MOV 021 2981 D1 MOV 021 D2 2985 MOV 021 Execution condition Execution condition Execution condition Reads analog in...

Page 605: ...Operation Examples 579 11 6 LCD Option Board Function 581 11 6 1 Function Overview 581 11 6 2 PLC Mode 584 11 6 3 I O Memory Setting 585 11 6 4 PLC Setup 590 11 6 5 Analog 592 11 6 6 Error 593 11 6 7...

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

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

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

Page 609: ...witch DipSW4 of the CPU Unit to ON Note DipSW4 is OFF at shipment Removing Press the up down lock levers on both sides of the LCD Option Board at the same time to unlock the Option Board and then pull...

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

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

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

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

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

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

Page 616: ...rations Load data from memory cassette to PLC Save data from PLC to memory cassette Compare data between PLC and memory cassette Clear data in memory cassette Refer to Page 596 for details User Monito...

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

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

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

Page 620: ...umn cursor to the data length po sition Press the Down or Up button to select the data length LW Select the data length in the following table Then it will display two word data on D10001 to D10002 D1...

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

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

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

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

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

Page 626: ...3 Press the OK button to enter the Analog menu Note Analog input will be displayed as AnalogVol 4 Press the OK button to enter the Monitor Screen of analog input Line 2 will display the value of anal...

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

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

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

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

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

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

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

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

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

Page 636: ...utton to move the column cursor to the display format position Select the display format in the following table Display type Default address Range Word IO 0000 0000 to 6143 WR 000 000 to 511 HR 000 00...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Page 666: ...632 Trouble Shooting Section 11 7...

Page 667: ...EM operation 12 1 Error Classification and Confirmation 634 12 2 Troubleshooting 637 12 2 1 Error Processing Flowchart 637 12 2 2 No Operation When Power Is Supplied 637 12 2 3 Fatal Errors 638 12 2 4...

Page 668: ...RR 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 to a fatal e...

Page 669: ...or location and error details Fatal Errors Indicator CPU error CPU standby Fatal error Non fatal error Output OFF Bit turned ON POWER Lit Lit Lit Lit Lit RUN Not lit Not lit Not lit Lit Lit ERR ALM Li...

Page 670: ...A402 10 A406 Option Board error 00D1 00D2 A315 13 Error Option Board Flags A424 Battery error 00F7 A402 04 Logic errors in setting table 021A A315 11 Routing tables error or Ethernet address tables er...

Page 671: ...d 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 is normal and...

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

Page 673: ...ON A checksum error has occurred in the PLC Setup Transfer the PLC Setup again A403 07 is ON A checksum error has occurred in the routing tables Transfer the routing tables again A403 09 is ON The con...

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

Page 675: ...ate 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...

Page 676: ...for executing FALS instructions and remove any causes for the user defined error Error flag FALS Error Flag A401 06 Error code A400 C101 to C2FF Error information Probable cause Possible remedy ON whe...

Page 677: ...h the most serious ones first If two or more errors occur at the same time the most serious error code will be stored in A400 Errors Created with for FAL Instructions A FAL instruction was executed in...

Page 678: ...r code A400 008B Error information Interrupt Task Error A426 Probable cause Possible remedy A set value error occurred in the PLC Setup The address of the error is stored in A406 in 16 bit binary Corr...

Page 679: ...ormation See below A315 10 is ON Error code A400 03C0 FINS TCP Connection Setup Error When there is an error in TCP connection setup including FINS TCP connection setup the error occurs Confirm the co...

Page 680: ...the serial port 1 2 settings in the PLC Setup are correct Check the cable wiring If a host computer is connected check the serial port settings and program in the host computer An error has occurred i...

Page 681: ...Routing table error send failed 0111 Command too long send failed 0112 Header error send failed 0117 Internal buffers full packet discarded 0118 Illegal packet discarded 0119 Local node busy send fai...

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

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

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

Page 685: ...spection and Maintenance This section provides inspection and maintenance information 13 1 Inspections 652 13 1 1 Inspection Points 652 13 1 2 Unit Replacement Precautions 653 13 2 Replacing User serv...

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

Page 687: ...nit before starting operation including DM Area and HR Area settings If data area and other data are not correct for the user program unexpected accidents may occur 4 Installation and wiring Check tha...

Page 688: ...y 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 while the battery is installed The battery s lifetim...

Page 689: ...o ON when the battery fails 2 The battery will discharge faster at higher temperatures e g 4 days at 40 C and 2 days at 55 C Replacement Battery Use the CJ1W BAT01 Battery Set Be sure to install a rep...

Page 690: ...ry Doing any of these may cause the battery to leak burn or rupturing resulting in injury fire and possible loss of life or property Also never use a battery that has been dropped on the floor or othe...

Page 691: ...ansistor out puts sourcing Name and appearance Model Application Remarks CX Programmer Ver 9 4 CXONE AL C V4 CXONE AL D V4 Programming and monitoring from a Windows environment The CP1L EL EM with 20...

Page 692: ...t 1 or 2 on the CPU Unit to function as an analog input module 2 analog inputs 0 to 10 V Resolution 1 4000 0 to 20 mA Resolution 1 2000 Analog Output Option Board CP1W DAB21V Mounted in option slot 1...

Page 693: ...nits CP1W 20EDR1 24 VDC 12 inputs 8 relay outputs CP1W 20EDT 8 transistor outputs sinking CP1W 20EDT1 8 transistor outputs sourcing 16 point Output Units CP1W 16ER None 16 relay outputs CP1W 16ET 16 t...

Page 694: ...P1W AD042 4 analog inputs 0 to 5 V 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to 20 mA Resolution 1 12 000 Analog Output Unit CP1W DA021 2 analog outputs 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to...

Page 695: ...tputs are allocated Name and appearance Model Specifications Remarks Battery CJ1W BAT01 Installed in the CPU Unit Name and appearance Model Specifications Remarks DIN Track PFP 50N PFP 100N PFP 100N2...

Page 696: ...662 Standard Models Appendix A...

Page 697: ...ur 4 5 dia 90 100 110 120 130 8 85 Four 4 5 dia BKUP ERR ALM LNK ACT POWER RUN INH SYSMAC CP1L MAC Address 01234567890A 1 2 ANALOGINPUT V1 V2 COM 00 V V 01 02 04 05 07 00 02 COM 01 03 03 COM V COM 06...

Page 698: ...cts CP1W CIF01 Option Board 35 9 37 3 35 9 5 1 16 5 16 5 0 15 13 5 19 7 35 9 37 3 37 3 36 4 16 5 7 9 30 27 28 2 16 5 36 4 35 9 8 9 15 7 16 5 0 15 0 15 13 5 16 5 CP1W CIF11 CP1W CIF12 V1 Option Board C...

Page 699: ...ppendix B CP1W DAM01 LCD Option Board CP1W MAB221 Analog Input Output Option Board CP1W ADB21 Analog Input Option Board 42 20 9 0 45 20 6 13 3 37 3 35 9 28 2 33 6 36 4 36 4 7 3 37 3 8 0 15 28 2 36 4 3...

Page 700: ...666 Dimensions Diagrams Appendix B CP1W DAB21V Analog Output Option Board CP1W ME05M Memory Cassette 28 2 36 4 36 4 37 3 33 6 7 3 3 0 15 18 6 18 14 7 9 4 7 5 0 8 16 8...

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

Page 702: ...H 02 04 06 08 10 OUT 01 COM 03 05 07 09 11 COM COM COM 03 COM 06 00 01 02 04 05 07 00 01 02 03 04 05 06 07 08 09 10 11 20EDR1 CH 00 01 02 03 04 05 06 07 NC NC NC CH EXP 90 5 5 86 Two 4 5 dia holes 100...

Page 703: ...042 Analog Input Units CP1W DA041 CP1W DA042 Analog Output Units CP1W MAD11 CP1W MAD42 CP1W MAD44 Analog I O Units CP1W TS001 101 002 102 003 Temperature Sensor Units 50 8 NC NC 90 5 5 86 76 0 2 100 0...

Page 704: ...1W TS004 Temperature Sensor Units CP1W SRT21 CompoBus S I O Link Unit 50 8 5 50 5 5 90 Two 4 5 dia holes 140 0 2 150 5 90 100 0 2 140 0 2 150 BD L NC BS NC BD H NC BS S COMM ERR No SRT21 EXP 50 8 90 5...

Page 705: ...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 specif...

Page 706: ...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 cally reset to 0 In decrement mode the counter PV s...

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

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

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

Page 710: ...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 CP...

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

Page 712: ...e 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 Re...

Page 713: ...7 09 Turn 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...

Page 714: ...to this word Read only Name Address Description Access Updated Memory Error Flag fatal error A401 15 ON when an error occurred in memory or there was an error in automatic transfer from the Memory Ca...

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

Page 716: ...ndicate the second Unit and 0F0F hex to indicate an undeter mined Unit CPU Unit operation will stop and the ERR ALM indicator on the front of the CPU Unit will light This flag will be turned OFF when...

Page 717: ...n an error occurs Name Address Description Access Updated Clock Data The clock data from the clock built into the CPU Unit is stored here in BCD Read only A351 00 to A351 07 Seconds 00 to 59 BCD A351...

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

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

Page 720: ...mation is incorrect OFF when the IP address table is normal Read only IP Router Table Error Flag A46 04 ON if the IP router table information is incorrect OFF when the IP router table is normal Read o...

Page 721: ...68 00 A569 00 Receiving Flag A567 01 A568 01 A569 01 Sending Flag A567 02 A568 02 A569 02 Closing Flag A567 03 A568 03 A569 03 Data Received Flag A567 13 A568 13 A569 13 Results Storage Error Flag A56...

Page 722: ...nd processing executed when switch is turned ON The proto col TCP UDP is determined when the socket is opened Unit turns OFF switch when send processing has been completed Read Write Receive Request S...

Page 723: ...dress given in these words Place this address into an index register and use indirect addressing through the index register to read the com munications completion code Read only Used Communications Po...

Page 724: ...Bits 0 to 7 correspond to units 0 to 7 Read only Serial Port 1 Reception Counter No protocol Mode A393 00 to A393 15 Indicates in binary the number of bytes of data received when serial port 1 is in n...

Page 725: ...U easy master function This bit will be turned OFF automatically by the system when communications have been completed Turned ON Execution started ON Execution in progress OFF Not executed or executio...

Page 726: ...the FB program memory contains FB pro gram data OFF No data ON Data present Read only Name Address Description Access Updated FB Communications Instruc tion Response Required A580 15 0 Not required 1...

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

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

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

Page 730: ...eared Every error counter 1 cycle A34 and A35 Present Value of Signed Out put Value 1 These words contain the present value of the signed output value out put value present value of error counter erro...

Page 731: ...ion Deceleration Flag 1 This flag is ON while pulse output to the output counter for inverter posi tioning 1 is accelerating or decelerat ing ON Pulse output to the error counter is accelerat ing or d...

Page 732: ...bits in the network ID are 0 or 1 All bits in the subnet ID are 1 The IP address begins with 127 0x7F ON Error OFF No error Cleared Refreshed when error occurs 03 IP Address Table Error Flag ON if th...

Page 733: ...05 Friday 06 Saturday Retained Retained A94 to A97 All Parameter Date These words contain in BCD the date and time that the parameters were last overwritten The format is the same as above Retained R...

Page 734: ...199 Error code Error con tents Address of Aux Area word with details or 0000 Seconds 00 to 59 BCD Minutes 00 to 59 BCD Hours 00 to 23 BCD Day of month 01 to 31 BCD Month 01 to 12 BCD Year 00 to 99 BCD...

Page 735: ...Enabled Flag ON when there is a communications port available for automatic alloca tion Note Use this flag to confirm whether a communications port is available for automatic allocation before execut...

Page 736: ...Commu nications port 0 to 7 A219 00 to 07 Communica tions Port Error Flags ON when an error occurred during execution of a network instruction SEND RECV CMND or PMCR Bits 00 to 07 correspond to commu...

Page 737: ...ndi tion Met Flag 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 beginning of operation O...

Page 738: ...ange 8 Com parison Condi tion Met Flag 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 Cleared when o...

Page 739: ...e when 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 isexecuted PV change A278 and A27...

Page 740: ...n 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 cesses...

Page 741: ...lse out put 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 when...

Page 742: ...rred 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 indirect DM...

Page 743: ...ted 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 15 UM Overflow Error Flag ON when the la...

Page 744: ...indicator will flash OFF when the error has been cleared Cleared Cleared Refreshed when error occurs A402 00 A424 15 Flash Mem ory Error Flag ON when writing to the internal flash memory fails CPU Uni...

Page 745: ...peed 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 ON Being execute...

Page 746: ...om 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 stops 09 High speed C...

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

Page 748: ...Units ON when an error has occurred at serial port 1 of a CP1L EL type CPU Unit Not valid in Peripheral Bus Mode or NT Link mode 05 Serial Port 2 Send Ready Flag No pro tocol mode CP1L EM type CPU Un...

Page 749: ...ON when a timeout error overrun error framing error parity error or BCC error occurs in Serial Gate way mode ON Error OFF No error Retained Cleared 13 Serial Port 1 Send Ready Flag No pro tocol Mode...

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

Page 751: ...o C2FF correspond to FALS numbers 001 to 511 This flag will be turned OFF when the FALS errors are cleared ON FALS 007 executed OFF FALS 007 not executed Cleared Cleared Refreshed when error occurs A4...

Page 752: ...red 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 A403 11 A403 12 A...

Page 753: ...or occurs during automatic transfer An error will occur if there is a transfer error the specified file does not exist or the Memory Cassette is not installed This flag will be turned OFF when the err...

Page 754: ...Option 1 left Turn ON when the I O Option Board works normally Turn OFF when the I O Option Board is in initial state or abnormity state ON I O option board works nor mally OFF In initial state or ab...

Page 755: ...is written after the inter rupt task with the max processing time is executed and cleared when PLC operation begins 8000 to 80FF hexadecimal Cleared Cleared See Func tion col umn A444 All Pulse Output...

Page 756: ...tus Hold Bit Turn this bit ON to preserve the sta tus of bits that have been force set or force reset when shifting from PRO GRAM to MONITOR mode or vice versa Bits that have been force set or force...

Page 757: ...d Cleared 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 following methods 1 Dat...

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

Page 759: ...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 ON Disabled OFF Not dis abled Retained Cleared A527 00 to A527 07 A528 00 to 07...

Page 760: ...e reset if the phase Z signal is received while this bit is ON When the reset method is set to Soft ware reset the corresponding high speed counter s PV will be reset in the cycle when this bit turns...

Page 761: ...Signal Flag This is the CCW limit input signal for pulse output 0 which is used in the origin search To use this signal write the input from the actual sensor as an input condition in the ladder progr...

Page 762: ...is executed when this bit turns ON Turned OFF by Unit after automatic clock adjustment has been com pleted ON Execute OFF Complete Cleared When the bit sets ON PLC time update Then update PLC time com...

Page 763: ...1 The status of TCP UDP Socket 1 is ON when open processing has been completed OFF when close pro cessing has been completed Stays OFF for abnormal open processing completion ON Opened OFF Closed Cle...

Page 764: ...2 The status of TCP UDP Socket 2 is ON when open processing has been completed OFF when close pro cessing has been completed Stays OFF for abnormal open processing completion ON Opened OFF Closed Cle...

Page 765: ...When socket 3 status is opened the bit will ON When socket 3 is closed the bit will OFF A571 00 UDP Open Request Switch Socket 1 UDP socket opened when socket service request switch 1 is turned ON Un...

Page 766: ...ch 2 is turned ON The protocol TCP UDP is determined when the socket is opened Unit turns OFF switch 2 when send processing has been completed ON Request send OFF Finish send Cleared When the data is...

Page 767: ...1 All FB Commu nications Instruction Response Monitoring Time Automatically stores the FB commu nications instruction response moni toring time set in the PLC Setup 0001 to FFFF hex Unit 0 1 s Range 0...

Page 768: ...D32300 to D32399 Serial Port 1 Modbus RTU Easy Master Exe cution Bit CP1L EL type CPU Units Turn ON this bit to send a command and receive a response for serial port 1 of a CP1L EL type CPU Unit using...

Page 769: ...eared A643 All Analog Input 2 PV Stores the value set from the analog input 2 as a hexadecimal value res olution 1 1000 0000 to 03E8 hex Retained Cleared A720 to A722 All Power ON Clock Data 1 These w...

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

Page 771: ...in flash memory OFF Normal ON Error failed to save Retained Cleared 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 initia...

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

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

Page 774: ...ny I O error A407 80E0 I O setting error 80F0 Program error A295 to A299 See note 3 809F Cycle time too long error 80F6 Ethernet controller stop error A401 User defined fatal errors C101 to C2FF FALS...

Page 775: ...specified unit address send failed 010B CPU Unit error send failed 010D Destination address not in routing tables send failed 010E No routing table entry send failed 010F Routing table error send fai...

Page 776: ...e 06 Reopened because of no keep alive response 07 Illegal FINS TCP pro cedure 08 Insufficient memory during server process ing 09 Insufficient memory during client process ing 0A Insufficient memory...

Page 777: ...he first time a task is executed after it has reached executable status It will be ON only while the task is being executed and will not turn ON if following cycles A201 10 Online Editing Wait Flag Ti...

Page 778: ...when A202 00 is ON Instruction execution A202 00 A202 00 Error Address Program Error Flag A401 09 ON UM Overflow Error Flag A295 15 Illegal Instruction Flag A295 14 Distribution Overflow Error Flag A2...

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

Page 780: ...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 T000...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Page 798: ...Units MAC Address 01234567890A 00 NC 02 04 06 08 10 00 02 04 06 08 10 01 COM 03 05 07 09 11 01 03 05 07 09 11 BKUP ERR ALM LNK ACT SYSMAC CP1L POWER RUN INH 1 00 01 02 03 04 06 00 01 03 04 06 COM 02...

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

Page 800: ...ls in Toolbus Mode Note The Hood FG is internally connected to the ground terminal GR on the CPU Unit Therefore FG is grounded by grounding the ground terminal GR on the power supply terminal block Al...

Page 801: ...he 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 shown be...

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

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

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

Page 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...

Page 806: ...772 Connections to Serial Communications Option Boards Appendix F...

Page 807: ...power 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 D...

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

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

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

Page 811: ...173 08 to 15 00 hex 255 FF hex 2 2 IP2 0 0 00 to 07 00 hex 255 FF hex 2 3 IP3 0 0 174 08 to 15 00 hex 255 FF hex 2 4 IP4 lowest 0 0 00 to 07 00 hex 255 FF hex 3 Subnet Mask 3 1 Msk1 highest 0 0 When p...

Page 812: ...reset 170 04 0 User 1 3 FINS TCP Port Number Mode Default Default When power is turned ON or when Ethernet is reset 170 05 0 User 1 4 FINS UDP Destination IP Mode Dynamically Dynamically When power is...

Page 813: ...ned ON or when Ethernet is reset 183 08 to 15 00 hex 255 FF hex 1 5 4 IP4 lowest 0 0 When power is turned ON or when Ethernet is reset 183 00 to 07 00 hex 255 FF hex 2 FINS TCP Connection 2 2 1 FINS T...

Page 814: ...when Ethernet is reset 186 00 to 07 00 hex 255 FF hex 3 5 3 IP3 0 0 When power is turned ON or when Ethernet is reset 187 08 to 15 00 hex 255 FF hex 3 5 4 IP4 lowest 0 0 When power is turned ON or wh...

Page 815: ...hex 4 2 Minute 0 0 When power is turned ON or when Ethernet is reset 482 00 to 07 00 hex 59 3B hex 4 3 Second 0 0 When power is turned ON or when Ethernet is reset 483 08 to 15 00 hex 59 3B hex 5 Dif...

Page 816: ...e CPU Unit 00 to 07 01 hex 600 bps 02 hex 1 200 bps 03 hex 2 400 bps 161 CP1L EL 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...

Page 817: ...19 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 Ev...

Page 818: ...ytes 256 bytes 256 bytes Every cycle 149 CP1L EM type CPU Unit 00 to 07 00 hex 1 byte 01 hex 255 bytes 165 CP1L EL type CPU Unit FF hex 2 3 7 Set End Code 0x0000 1 byte Every cycle 148 CP1L EM type CP...

Page 819: ...it 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 he...

Page 820: ...peed 161 CP1L EL type CPU Unit 0A hex 2 7 2 Link Words 10 default 1 10 default Every cycle 150 CP1L EM type CPU Unit 04 to 07 1 hex 0 or A hex 166 CP1L EL type CPU Unit 2 7 3 PC Link Mode ALL ALL Ever...

Page 821: ...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...

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

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

Page 824: ...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 EM type CPU Unit 00 to 07 00 hex 115 200 high speed 0A hex 2 7 2 Link Words 10 default 1 10 d...

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

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

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

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

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

Page 830: ...o 15 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 0...

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

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

Page 833: ...speed Do not use Use When power is turned ON 432 00 to 03 0 hex Do not use 1 hex 2 Limit output during deceleration and when stopped Do not use Use When power is turned ON 432 04 to 07 0 hex Do not us...

Page 834: ...000 0 2 000 000 When power is turned ON 429 428 00 to 15 00000000 hex 1 00000001 hex 4 294 967 295 FFFFFFFF hex 6 Error counter overflow detection value 0 10 000 0 10 000 When power is turned ON 430 0...

Page 835: ...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 08 to 15 0 hex 1 0 01 increments 1 hex 255 0 01...

Page 836: ...802 PLC Setup Appendix G...

Page 837: ...ed FIN Awaiting ACK 00000008 LAST ACK FIN sent and completed Awaiting ACK 00000009 FIN WAIT 2 Completed and ACK received Awaiting FIN 0000000A TIME WAIT After closing pauses twice the maximum segment...

Page 838: ...804 TCP Status Transitions Appendix H...

Page 839: ...arts at the TCP socket that first closes the socket and will run for 120 s in the TIME_WAIT status ARP timer 20 min 5 s If a complete ARP table entry with an Ethernet address is not referred to for 20...

Page 840: ...806 Ethernet Network Parameters Appendix I...

Page 841: ...fer 3 4096 bytes Socket send buffer 3 1024 bytes FINS packet input buffer 30 720 bytes FINS TCP recepiton buffer 4 4096 bytes FINS event buffer In 8 1024 bytes FINS event buffer Out 8 1024 bytes IP pa...

Page 842: ...808 Buffer Configuration CP1L EL EM Appendix J...

Page 843: ...t buffer is overflow only the last packet will be dropped and other packets will be dealt with So the communication can recover to normal state quickly Connection number FINS TCP 3 for user1 for CX Pr...

Page 844: ...810 Ethernet Specifications Appendix K...

Page 845: ...k data 683 714 clock pulses flags 138 Close Request Switch 198 Closing Flag 197 CMND 490 instruction 173 commands FINS commands 183 communications Communications Port Enabled Flags 744 flags 688 no pr...

Page 846: ...680 Output Units 650 PLC Setup errors 692 programming error flags 692 Special I O Units 692 troubleshooting 633 Ethernet communications addresses reading from Unit 182 exchanging data between PLCs 161...

Page 847: ...ate refreshing input bits and words 53 increment mode details 221 index register sharing 132 index registers 125 sharing 108 indirect addressing DM Area 124 index registers 125 Initial Task Execution...

Page 848: ...perating environment xxvi precautions xxvi operating modes description 55 effects of mode changes on counters 122 operation debugging 151 trial operation 151 Origin Compensation 267 Origin Detection M...

Page 849: ...rring the program 151 pulse direction mode details 220 pulse frequency conversion 236 pulse input modes details 220 Pulse Output 0 settings speed curve 255 pulse output modes 239 pulse output stop err...

Page 850: ...ub response code 180 switches Socket Service Request Switches 197 T target value comparison for interrupt tasks 233 Task Error Flag 709 Task Flags 135 Task Started Flag 678 tasks related flags bits 67...

Page 851: ...Index 817 work words 118 write protection 447...

Page 852: ...818 Index...

Page 853: ...March 2012 Original production 02 October 2014 CP1W AD042 Analog Input Units CP1W DA042 Analog Output Units CP1W MAD42 MAD44 Analog I O Units and CP1W TS003 TS004 Temperature Sensor Units added for C...

Page 854: ...820 Revision History...

Page 855: ......

Page 856: ...60169 U S A Tel 1 847 843 7900 Fax 1 847 843 7787 Regional Headquarters OMRON EUROPE B V Wegalaan 67 69 2132 JD Hoofddorp The Netherlands Tel 31 2356 81 300 Fax 31 2356 81 388 Contact www ia omron com...

Reviews: