background image

OPE

R

ATION

 

MANUAL

Cat. No. W450-E1-08

SYSMAC CP Series
CP1H-X40D

…

-

…

CP1H-XA40D

…

-

…

CP1H-Y20DT-D

CP1H CPU Unit

Industrial automation

Elincom Group

EuropeanUnion: www.elinco.eu
Russia: www.elinc.ru

Summary of Contents for Sysmac CP1H

Page 1: ...OPERATION MANUAL Cat No W450 E1 08 SYSMAC CP Series CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Industrial automation Elincom Group EuropeanUnion www elinco eu Russia www elinc ru...

Page 2: ......

Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...

Page 4: ...iv...

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

Page 6: ...the PLC Information Using the Unit Manufacturing Information Note CX Programmer version 6 1 or lower cannot be used to confirm unit versions for CP series CPU Units PLC Information If you know the de...

Page 7: ...the unit version of the CPU Unit Unit Manufacturing Information In the IO Table Window right click and select Unit Manufacturing informa tion CPU Unit The following Unit Manufacturing information Dial...

Page 8: ...the CPU Unit These labels can be attached to the front of previous CPU Units to differenti ate between CPU Units of different unit versions Unit version Ver 1 0 Ver 1 0 Ver Ver These Labels can be us...

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

Page 10: ...x...

Page 11: ...d Specifications 43 2 1 Part Names and Functions 44 2 2 Specifications 50 2 3 CP1H CPU Unit Operation 76 2 4 CPU Unit Operation 84 2 5 CPU Unit Operating Modes 89 2 6 Power OFF Operation 91 2 7 Comput...

Page 12: ...rs 210 5 3 Pulse Outputs 230 5 4 Quick response Inputs 322 5 5 Analog I O XA CPU Units 325 SECTION 6 Advanced Functions 339 6 1 Serial Communications 340 6 2 Analog Adjuster and External Analog Settin...

Page 13: ...7 Comparison with Previous Models 555 9 8 Installation and Initial Setup 557 9 9 Memory Allocations 565 9 10 Web Browser Setup and Display 571 9 11 Trouble Shooting 582 9 12 Sample Application 586 9 1...

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

Page 15: ...Expansion Units and CP series Expansion I O Units when 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 CS CJ CP Ser...

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

Page 17: ...PU Unit serial ports Serial Communications Unit Board ports and Communications Unit ports can be used Refer to the relevant operation manuals for information on commands addresses to Spe cial I O Unit...

Page 18: ...xviii...

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: ...nd the information contained before attempting to set up or operate a PLC system 1 Intended Audience xxiv 2 General Precautions xxiv 3 Safety Precautions xxiv 4 Operating Environment Precautions xxvi...

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: ...e measures must be taken by the customer to ensure safety in the event of incorrect missing or abnormal signals caused by broken signal lines momentary power interruptions or other causes Not doing so...

Page 26: ...written to flash memory The DM Area counter present values and Completion Flags and HR Area can be held during power interruptions with a battery If there is a battery error the contents of these are...

Page 27: ...ic shock Always turn OFF the power supply to the PLC before attempting any of the following Not turning OFF the power supply may result in malfunction or electric shock Mounting or dismounting Expansi...

Page 28: ...rning Wire correctly and double check all the wiring or the setting switches before turning ON the power supply Incorrect wiring may result in burning Check that the DIP switches and data memory DM ar...

Page 29: ...Bus Units which is auto matically done to make the new tables effective The user program and parameter area data in the CPU Unit is backed up in the built in flash memory The BKUP indicator will ligh...

Page 30: ...tus will be maintained Dispose of the product and batteries according to local ordinances as they apply Have qualified specialists properly dispose of used batteries as industrial waste 6 Conformance...

Page 31: ...and other conditions You must therefore confirm that the overall machine or equipment complies with EC Directives 6 4 Relay Output Noise Reduction Methods The CP1H PLCs conforms to the Common Emissio...

Page 32: ...he diode connected in parallel with the load changes energy accumulated by the coil into a current which then flows into the coil so that the current will be converted into Joule heat by the resistanc...

Page 33: ...ion Method As shown below connect a ferrite core to each end of the CP1W CN811 I O Connecting Cable 30 32 33 SYSMAC CP1H BATTERY MEMORY AC100 240V PERIPHERAL POWER ERR ALM BKUP 100CH 101CH 1CH EXP L1...

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

Page 35: ...and Main Functions 2 1 1 1 CP1H Overview 2 1 1 2 Features 6 1 2 System Configuration 15 1 2 1 Basic System 15 1 2 2 System Expansion 17 1 2 3 System Expansion with CJ series Units 21 1 2 4 Restrictio...

Page 36: ...d pulse outputs can be used on four axes with the CPU Unit alone The CP1H can be expanded to a maximum total of 320 I O points by using CP series Expansion I O Units Using CP series Expansion Units al...

Page 37: ...nits also allows extra functions such as temperature sensor inputs to be added Installing an Option Board enables RS 232C and RS 422A 485 communi cations for connecting to Programmable Terminals Bar C...

Page 38: ...tion Board enables RS 232C and RS 422A 485 communi cations for connecting to Programmable Terminals Bar Code Readers Inverters etc Using CJ series CPU Bus Units enables communications with higher and...

Page 39: ...fica tions Relay output Transistor out put Relay output Transistor out put Transistor out put High speed counter inputs High speed counter inputs 4 axes 100 kHz single phase 50 kHz differential phases...

Page 40: ...lified by using function blocks FB and tasks CX One CP1H CPU Unit Example XA Two digit 7 segment LED display USB port Battery CJ1W BAT01 Input terminal block Peripheral USB port Analog adjuster Extern...

Page 41: ...oint is to be used as a normal input interrupt input quick response input or high speed counter Y CPU Units Along with two 100 kHz single phase 50 kHz differential phases high speed counter inputs two...

Page 42: ...Gate Flag from the ladder program Versatile Pulse Control All Models Positioning and speed control by a pulse input servo driver is enabled by out putting fixed duty ratio pulse output signals from th...

Page 43: ...more or less than the pulse output PV Triangular Control If the amount of output pulses required for acceleration and deceleration the target frequency times the time to reach the target frequency exc...

Page 44: ...counted and an interrupt task started when the count reaches a specified value The maximum number of points is 8 for X and XA CPU Units and 6 for Y CPU Units See note Note For each input point a sele...

Page 45: ...e of accuracy such as for example a setting based on changes in out door temperatures or potentiometer inputs CNTX A642 Phillips screwdriver Analog adjuster Ladder program Example The production quant...

Page 46: ...uding the USB port this makes it possible to simultaneously connect a computer PT CP1H and or various components such as an Inverter Tem perature Controller or Smart Sensor POWER ERR ALM BKUP 100CH 10...

Page 47: ...d by the CPU Unit Modbus RTU Communications can be executed independently of the program by setting a Modbus RTU command in the DM and turning ON a software switch Inverter SYSMAC CP1H BATTERY MEMORY...

Page 48: ...to read a ladder pro gram from a CX Programmer access to the program is denied if the password that is entered does not match the registered password If incorrect pass words are entered for five cons...

Page 49: ...by connecting two CJ series CPU Bus Units and or Special I O Units SYSMAC CP1H BATTERY MEMORY PERIPHERAL POWER ERR ALM BKUP RUN INH PRPHL 100CH 101CH EXP L1 L2 N COM 0CH 1CH 01 03 05 07 09 11 01 03 0...

Page 50: ...Option Board CP1W DAM01 Can be used to monitor and change user specified messages time or other data of the PLC 20 g max Ethernet Option Board CP1W CIF41 Can be used to communicate with these units s...

Page 51: ...it is 40 so the maximum total number of expansion I O points is 280 Unit Model Current consumption External power supply 5 V DC 24 V DC CPU Unit CP1H XA40DR A 0 430 A 0 180 A 0 3 A max CP1H XA40DT D 0...

Page 52: ...rmal inputs Normal outputs Weight CP1W 40EDR 24 VDC 24 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...

Page 53: ...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 54: ...P1W 16ET1 8 inputs CP1W 8ED 1 None 0 018 A 8 outputs CP1W 8ER None 1 0 026 A 0 044 A CP1W 8ET 0 075 A CP1W 8ET1 Expansion Units Analog I O Units 2 inputs 1 output CP1W MAD11 2 1 0 083 A 0 110 A 4 inpu...

Page 55: ...l I O Units CJ series CJ1W TER01 End Cover Included with CJ Unit Adapter Name Model Description Weight CJ Unit Adapter CP1W EXT01 Mounting a CJ Unit Adapter to the right of the CP1H CPU Unit makes it...

Page 56: ...Unit CJ1W PH41U 0 30A 150g max CJ1W AD04U 0 32A 150g max CJ1W PTS51 0 25A 150g max CJ1W PTS52 CJ1W PTS15 0 18A 150g max CJ1W PTS16 CJ1W PDC15 Temperature Control Unit CJ1W TC001 0 25A 150g max CJ1W T...

Page 57: ...ed if 16 or more input or output words are allocated Current Consumption The total combined current consumption of the CP1H CPU Unit Expansion Units Expansion I O Units and CJ series Units must be no...

Page 58: ...f Units CP1H X40DR A TS002 3 TS001 1 20EDT 1 8ER 2 Total 7 Units 7 Units Input words 4 words 3 Units 12 words 2 words 1 Unit 2 words 1 word 1 Unit 1 word 0 words Total 15 words 15 words Output words 0...

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

Page 60: ...tware e g the CX Programmer using commercially available USB cable to a standard periph eral USB port The peripheral USB port conforming to USB 1 1 B connector is a dedicated port for connecting Suppo...

Page 61: ...s on the OS of the computer The following procedures are for Windows XP and Windows 2000 Windows XP Turn ON the power supply to the CP1H and connect USB cable between the USB port of the computer and...

Page 62: ...ion and then click the Next Button 3 The following window will be displayed Click the Browse Button for the In clude this location in the search Field specify C Program Files OMRON CX Server USB win20...

Page 63: ...be displayed if the installation is completed nor mally Click the Finish Button Windows 2000 Turn ON the power supply to the CP1H and connect USB cable between the USB port of the computer and the per...

Page 64: ...30 Connecting Programming Devices Section 1 3 1 2 3 1 The following message will be displayed Click the Next Button 2 The following window will be displayed...

Page 65: ...he Next Button The following window will be displayed From the list in the window select the Specify location Checkbox and then click the Next Button 4 Click the Browse Button specify C Program Files...

Page 66: ...A search will be made for the driver and the following window will be dis played Click the Next Button The driver will be installed 6 After the driver has been successfully installed the following wi...

Page 67: ...rogrammer 1 2 3 1 Select CP1H as the device type in the Change PLC Dialog Box and con firm that USB is displayed in the Network Type Field 2 Click the OK Button to finish setting the PLC model Then co...

Page 68: ...confirm that OMRON SYSMAC PLC Device is displayed Re installing the USB Driver If the USB driver installation fails for some reason or is cancelled in progress the USB driver must be reinstalled Check...

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

Page 70: ...ral 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 CP1H CPU Unit is used the baud rate is auto matically detected b...

Page 71: ...by instructions Normal outputs 16 outputs CIO 100 bits 00 to 07 CIO 101 bits 00 to 07 Immediate refreshing supported Pulse outputs 4 outputs Pulse outputs 0 to 3 CIO 100 bits 00 to 07 Unit version 1...

Page 72: ...ty ratio 0 0 to 100 0 Unit 0 1 Frequency 0 1 to 6 553 5 Hz Origin search CIO 101 bits 00 to 03 Used as error counter reset output operation modes 1 and 2 only CIO 0 and 1 bits 00 to 03 Used as origin...

Page 73: ...RS 422A 485 Option Board One RS 422A 485 port Host Link NT Links 1 N no protocol Serial PLC Link See note 1 Serial Gateway See note 2 peripheral bus Note 1 Two ports cannot be used simultaneously for...

Page 74: ...sed with programs for other PLCs This makes it pos sible to create a library of standard processing functions 1 5 2 Advantages of Function Blocks Function blocks allow complex programming units to be...

Page 75: ...The function block s I O is entered as local variables so the data addresses in the function block do not have to be changed as they do when copying and reusing a program section Creating Libraries Pr...

Page 76: ...42 Function Blocks Section 1 5...

Page 77: ...nsfers 82 2 4 CPU Unit Operation 84 2 4 1 General Flow 84 2 4 2 I O Refreshing and Peripheral Servicing 85 2 4 3 I O Refresh Methods 86 2 4 4 Initialization at Startup 88 2 5 CPU Unit Operating Modes...

Page 78: ...k 12 Option Board slots 1 left and 2 right 13 Input indicators 14 Expansion I O Unit connector 15 Output indicators 10 Memory Cassette slot 16 External 24 VDC See note 2 and output terminal block 17 C...

Page 79: ...itten or accessed in the built in flash mem ory backup memory The BKUP indicator also lights while user programs parameters and Data Memory are being restored when the PLC power supply is turned ON No...

Page 80: ...switch settings before mounting the terminal block to the base While setting this switch be very careful not to damage the wiring on the PCB 10 Memory Cassette Slot Used for mounting a CP1W ME05M Mem...

Page 81: ...O Link Units or DeviceNet I O Link Units can be connected For details on using Expansion Units and Expansion I O Units refer to SECTION 7 Using CP series Expansion Units and Expansion I O Units 15 Ou...

Page 82: ...e cover and then pull the cover out Then to mount the Option Board check the alignment and firmly press it in until it snaps into place Caution Always turn OFF the power supply to the PLC before mount...

Page 83: ...on Always turn OFF the power supply to the PLC before mounting or removing an Option Board RS 422A 485 Terminal Block Pin Abbr Signal name Signal direction 1 FG Frame Ground 2 SD TXD Send Data Output...

Page 84: ...always received 6 ON RS control enabled RS control selection for SD See note 3 OFF RS control disabled Data always sent O N 1 2 3 4 5 6 Power supply classification AC power supply DC power supply Mod...

Page 85: ...ectric strength 2 300 VAC 50 60 Hz for 1 min between the external AC and GR terminals leakage current 5 mA max No insulation between primary and secondary DC power supplies Noise resistance Conforms t...

Page 86: ...terrupt inputs counter mode and the quick response inputs Rising or falling edge Response time 0 3 ms 6 inputs Shared by the external interrupt inputs counter mode and the quick response inputs Rising...

Page 87: ...d as standard equipment 2 ports max The following Option Boards can be mounted CP1W CIF01 One RS 232C port CP1W CIF11 CIF12 One RS 422A 485 port Applicable communications modes same for all of the abo...

Page 88: ...y Cassette User programs parameters such as the PLC Setup DM Area data memory initial data comment memory CX Programmer conversion tables comments program indices and FB program memory Writing to Memo...

Page 89: ...in flash memory is transferred to RAM at startup DM Area words for CJ series Special I O Units D20000 to D29599 100 words 96 Units DM Area words for CJ series CPU Bus Units D30000 to D31599 100 words...

Page 90: ...er 1 phase Z reset Pulse output 1 Origin input signal 03 Normal input 3 Interrupt input 3 Quick response input 3 High speed counter 0 phase Z reset Pulse output 1 Origin proximity input signal 04 Norm...

Page 91: ...t impedance 3 0 k 3 0 k 4 7 k Input current 7 5 mA typical 7 5 mA typical 5 mA typical ON voltage 17 0 VDC min 17 0 VDC min 14 4 VDC min OFF voltage current 1 mA max at 5 0 VDC max 1 mA max at 5 0 VDC...

Page 92: ...ncrement pulse input CIO 0 05 CIO 0 07 CIO 0 09 CIO 0 11 B phase pulse input Direction input Decrement pulse input Normal input CIO 0 01 CIO 0 02 CIO 0 03 CIO 1 00 Z phase pulse input or hardware rese...

Page 93: ...rupt input 5 Quick response input 5 CIO 1 02 Interrupt input 6 Quick response input 6 CIO 1 03 Interrupt input 7 Quick response input 7 NC 00 01 02 03 04 06 00 01 03 04 06 NC COM COM COM COM 05 07 COM...

Page 94: ...ns to the right are not executed When a pulse output instruction SPED ACC PLS2 or ORG is executed When the origin search function is set to be used in the PLC Setup and an origin search is executed by...

Page 95: ...s 125 VAC cos 0 4 250 VAC cos 0 4 4 0 55 0 3 47 Common terminal current A Ambient temperature C Item Specification CIO 100 00 to CIO 100 07 CIO 101 00 and CIO 101 01 CIO 101 02 to CIO 101 07 Max switc...

Page 96: ...00 07 Sinking Outputs Normal outputs CIO 100 00 to CIO 100 07 Sourcing Outputs Normal outputs CIO 101 00 CIO 101 01 and CIO 101 02 to CIO 101 07 Sinking Outputs Normal outputs CIO 101 00 CIO 101 01 an...

Page 97: ...shield Item Specification Max switching capacity 30 mA 4 75 to 26 4 VDC Min switching capacity 7 mA 4 75 to 26 4 VDC Max output frequency 100 kHz Output waveform The OFF and ON refer to the output tr...

Page 98: ...rnal input impedance 1 M min Approx 250 Resolution 1 6000 or 1 12000 full scale See note 2 Overall accu racy 25 C 0 3 full scale 0 to 55 C 0 6 full scale 25 C 0 4 full scale 0 to 55 C 0 8 full scale A...

Page 99: ...3 set to be used Origin search function for pulse outputs 0 and 1 set to be used A0 High speed counter 0 phase A increment or count input fixed B0 High speed counter 0 phase B decrement or direction i...

Page 100: ...upt input 5 Quick response input 5 Pulse 0 origin input signal open collector 04 Normal input 10 Pulse 1 origin proxim ity input signal 05 Normal input 11 Pulse 0 origin proxim ity input signal Input...

Page 101: ...lay 2 5 s max 50 s max 1 ms max Circuit configuration Differential input mode Pulse plus direction input mode Up down input mode Increment mode A0 A0 A1 A1 A phase pulse input Pulse input Increment pu...

Page 102: ...nputs when high speed counter is not being used Max count fre quency 50 kHz 4 100 kHz Differential input mode Pulse plus direction input mode Up down input mode Increment mode Phase A Phase B Phase Z...

Page 103: ...truction SPED ACC PLS2 or ORG is executed When the origin search function is set to be used in the PLC Setup and an origin search is executed by the ORG instruction When the PWM instruction is execute...

Page 104: ...0 04 to CIO 100 07 CIO 101 00 and CIO 101 01 CIO 101 02 and CIO 101 03 Max switching capacity 4 5 to 30 VDC 300 mA output 0 9 A common 1 8 A Unit See note 2 Min switching capacity 4 5 to 30 VDC 1 mA L...

Page 105: ...to distortions in pulse waveforms resulting from connecting cable im pedance the pulse widths in actual operation may be smaller than the values shown above PWM Outputs CIO 101 00 and CIO 101 01 0 9 0...

Page 106: ...current 5 mA typical ON voltage 14 4 VDC min OFF voltage 5 0 VDC max ON delay 0 to 32 ms max Default 8 ms See note 1 OFF delay 0 to 32 ms max Default 8 ms See note 1 Circuit configuration IN IN CO M 4...

Page 107: ...nt based on the following graph 3 CP1W 32ER s maximum number of simultaneously ON output points is 24 75 Design the system considering the simultaneously ON points and load current based on the follow...

Page 108: ...to 30 VDC 0 2 A output OUT02 to 07 4 5 to 30 VDC 0 3 A output 0 9 A common 3 6 A Unit 0 9 A common 7 2 A Unit 0 9 A common 1 8 A Unit 0 9 A common 3 6 A Unit 0 9 A common 1 8 A Unit Leakage current 0...

Page 109: ...emperature is maintained below 50 C up to 0 9 A com mon can be used Caution Do not connect a load to an output terminal or apply a voltage in excess of the maximum switching capacity 0 9 0 8 A 0 C 50...

Page 110: ...a initial values are trans ferred from the built in flash memory to RAM when the power supply is turned ON RAM DM Area 2 3 1 1 3 3 3 3 3 12 or 24 built in inputs See note 1 CPU Unit User program I O m...

Page 111: ...he cyclic tasks are executed again starting from the one with the lowest task number This is called the cyclic scan method I O Memory The I O memory area is a RAM area read and written by the user Som...

Page 112: ...e network can be reached by passing through relay nodes Local Network Table The local network table contains the unit number and network address of all Communications Units that are part of the local...

Page 113: ...data from data areas in I O memory in the built in flash memory using operations from the CX Programmer The symbol table comment file and program index file can be stored in the comment memory in flas...

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

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

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

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

Page 118: ...emory Overseeing processing Program execution Operation processing Execute the user program Error processing Turn OFF outputs Reset Units for bus errors After error Clear I O memory if an error occurs...

Page 119: ...I O Bit Area CJ series Spe cial I O Units Words allocated in CIO Area 10 words Unit Depends on the Unit Special I O Unit Area Unit specific data CompoBus S Master Unit Depends on the Unit Remote I O C...

Page 120: ...Click the Network Tab and increase the value in Response Timeout s 2 4 3 I O Refresh Methods I O for CPU Unit built in I O and I O on CP series Expansion Units and Expan sion I O Units is performed a...

Page 121: ...he immediate refresh option instruction execu tion time will be increased increasing the overall cycle time Be sure to confirm that this will not adversely affect system operation IORF 097 Refreshing...

Page 122: ...old Bit at that time 2 The forced status held or cleared according to the status of the Force Sta tus Hold Bit and the setting for Forced Status Hold Bit Status at Startup in the PLC Setup read only w...

Page 123: ...ed Executed Executed I O refreshing Executed Executed Executed External I O status OFF According to program According to program I O memory Non holding memory Cleared According to program According to...

Page 124: ...al I O Unit bits Work bits Timer PV Completion Flags Index Registers Data Registers Task Flags Auxiliary Area bits words are holding or non holding depending on the address HR Area DM Area Counter PV...

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

Page 126: ...and then the CPU Unit will be reset 10 ms 0 85 of the rated voltage or less for AC power 90 of the rated voltage or less or DC power 0 to 10 ms for AC 0 to 2 ms for DC Greater than 10 ms for AC Greate...

Page 127: ...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 128: ...p Note 1 The cycle time is not affected by the number of tasks that are used in the user program The tasks that affect the cycle time are those cyclic tasks that are READY in the cycle 2 When the mode...

Page 129: ...cing time is 0 ms Services events for CJ series CPU Bus Units Note Peripheral servicing does not include I O refreshing Services USB port If a uniform peripheral servicing time hasn t been set in the...

Page 130: ...e stopped PLC Setup Related Flags Cycle Time Monitoring The maximum cycle time is stored in A262 and A263 and the present cycle time is stored in A264 and A265 every cycle Minimum cycle time effective...

Page 131: ...inary 0 to FFFF FFFF hex or 0 to 429 496 729 5 ms A263 is the leftmost word Present Cycle Time A264 and A265 These words contain the present cycle time in increments of 0 1 ms The time is updated ever...

Page 132: ...ontroller Link Unit CJ1W CLK21 V1 0 15 ms There will be an increase of 1 0 ms 0 7 s number of data link words There will be an additional increase of the event execution times when message services ar...

Page 133: ...f the maximum program size for a task is 20 Ksteps the online editing cycle time extension will be as follows Item Details CP1H CP1W 40EDR 40 pt I O Unit 2 Units CP1W 20EDT 20 pt I O Unit 2 Units CP1W...

Page 134: ...The length of the I O response time depends on the following conditions Timing of Input Bit turning ON Cycle time Minimum I O Response Time The I O response time is shortest when data is retrieved imm...

Page 135: ...onse Times Input Interrupt Tasks The interrupt response time for I O interrupt tasks is the time taken from when a built in input has turned ON or OFF until the I O interrupt task has actually Input I...

Page 136: ...t task has actually been executed The length of the interrupt response time for scheduled interrupt tasks is 1 ms max There is also an error of 80 s in the time to the first scheduled interrupt 0 5 ms...

Page 137: ...Communications cycle time Slave cycle time 4 ms Minimum I O response time not including hardware delay Slave communications time 1 2 ms Here 2 7 10 Pulse Output Start Time The pulse output start time...

Page 138: ...ndependent trapezoidal 69 s ACC independent triangular 70 s PLS2 trapezoidal 74 s PLS2 triangular 76 s Pulse output instruction Change response time INI immediate stop 57 s 1 pulse output time SPED im...

Page 139: ...3 Connecting CJ series Units 115 3 3 4 DIN Track Installation 116 3 4 Wiring CP1H CPU Units 118 3 4 1 Wiring Power Supply and Ground Lines 119 3 4 2 Wiring Built in I O 121 3 4 3 Wiring Safety and No...

Page 140: ...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 IOM Hold Bit i...

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

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

Page 143: ...installation or DIN Track installation Surface Installation Even if a DIN Track is not used a CP1H CPU Unit and CP series Expansion Units or Expansion I O Units can be mounted using M4 screws For res...

Page 144: ...e CPU Unit and the first four Expansion Units and Expansion I O Units It cannot be used from the fifth Unit onwards I O Connecting Cable can be used in one place only and not in multiple places CP1W E...

Page 145: ...g through wiring ducts Install the duct so that it is easy to wire from the I O Units through the duct It is handy to have the duct at the same height as the Racks Note Tighten terminal block screws a...

Page 146: ...101CH 100CH DC24V 0 3A OUTPUT EXP L1 L2 N COM 01 03 05 07 09 11 01 03 05 07 09 11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 07 COM 05 07 OUT POWER...

Page 147: ...must be factored in Always allow for the additional height when considering the depth of the control panel in which the PLC is to be mounted 3 3 2 Connecting CP series Expansion Units and Expansion I...

Page 148: ...connector Unit A mm CP1H CPU Unit 140 0 5 Expansion I O Unit 32 or 40 I O points 140 0 2 Expansion I O Unit 20 I O points 76 0 2 Expansion I O Unit 16 outputs 76 0 2 Expansion I O Unit 8 inputs 56 0 2...

Page 149: ...1H IN BATTERY AC100 240V 0CH 1CH 101CH 100CH DC24V 0 3A OUTPUT L1 L2 N COM 01 03 05 07 09 11 01 03 05 07 09 11 00 02 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 0...

Page 150: ...and CP1H CPU Unit will not operate in either RUN or MONI TOR mode if the End Cover is not connected If this occurs the following infor mation will be set in memory Always turn OFF the power supply bef...

Page 151: ...pins to securely lock the Units in place 4 When connecting CJ series Units the Units must be mounted to a DIN Track and held at both ends by a pair of End Plates When mounting an End Plate pull up on...

Page 152: ...Note 1 Do not remove the protective label from the top of the Unit until wiring has been completed This label prevents wire strands and other foreign mat ter from entering the Unit during wiring proc...

Page 153: ...y make sure that the CPU Unit re quires an AC power supply and not a DC power supply The CPU Unit s internal circuitry will be damaged if AC power is mistakenly supplied to a CPU Unit that requires a...

Page 154: ...ngrounded CPU Units with DC Power Supply DC Power Supply Wiring Use crimp terminals or solid wire for wiring the power supply Do not con nect bare stranded wires directly to terminals M3 self rising t...

Page 155: ...p terminals M3 having the dimensions shown below Wiring Wire the Units so that they can be easily replaced Make sure that the I O indicators are not covered by the wiring Do not place the I O wiring i...

Page 156: ...vices for DC Output Models IN COM CP1H 7 mA 0 V IN CP1H 7 mA 0 V COM IN COM CP1H 7 mA 0 V CP1H COM IN IN COM CP1H 0 V IN COM CP1H Contact output Two wire DC output Sensor power supply NPN open collect...

Page 157: ...n current when 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...

Page 158: ...fuse 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 tr...

Page 159: ...e suppressors and diodes with the following specifications Noise from External Wiring Take the following points into account when externally wiring I O power sup ply and power lines When multi conduct...

Page 160: ...ower supply for the input circuit To use high speed counters make the following setting in the PLC Setup Enable using the high speed counters with Built in Input High Speed Counter 0 to 3 Use high spe...

Page 161: ...use as pulse outputs make the setting under Pulse Output 0 to 3 in the PLC Setup L L L L L L L L L L L L L L L L 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 02 COM 05 07 CIO 100 CIO 101...

Page 162: ...used under Enable using the high speed counters with Built in Input High Speed Counter 2 and 3 Use high speed counter 2 and 3 For details on high speed counter inputs refer to 2 2 5 I O Specifications...

Page 163: ...ounter 0 Phase A 0 V High speed counter 0 Phase B 0 V High speed counter 0 Phase Z 0 V 008 009 003 COM 0 V 24 V IA IB IZ Encoder Power provided Do not use the same I O power supply as other equipment...

Page 164: ...motor driver No pulses are output while the pulse output transistor is OFF For a direction output OFF indicates that CCW output is in progress Do not use the same power supply for both pulse output 24...

Page 165: ...24 VDC power supply Be careful to ensure that the Position Control Unit output current does not damage the input circuit at the motor driver and yet is sufficient to turn it ON Take into account the p...

Page 166: ...witch must be set before the terminal block is mounted Use a screwdriver with a thin blade and be careful not to damage the internal board 100 02 100 03 COM Motor driver for 5 V input 5 V DC power sup...

Page 167: ...t are not to be used set them to not be used by clearing the selection of the Use checkbox If an input that is set to be used is not actually used the data for that input may be unstable If that occur...

Page 168: ...tton in with a small flat blade screwdriver and pull the line out while the lock is released The screwdriver shown below is recommended for disconnecting wiring Recommended Screwdriver Recommended Fer...

Page 169: ...such as Analog I O Units Temperature Sensor Units CompoBus I O Link Units and DeviceNet I O Link Units refer to SECTION 7 Using CP series Expansion Units and Expansion I O Units Model Inputs Outputs...

Page 170: ...istor Output NC NC COM 01 03 05 07 09 11 01 03 05 07 09 11 NC NC 00 02 04 06 08 10 00 02 04 06 08 10 CIO m 1 CIO m 2 CIO m 1 CIO m 2 24 VDC 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 0...

Page 171: ...03 04 06 L L L L L L L L L L L L L L L L 00 01 02 03 04 06 00 01 03 06 NC NC 05 07 02 COM COM COM COM COM COM 05 07 L L L L L L L L L L L L L L L L CIO n 4 CIO n 3 CIO n 4 CIO n 3 Lower Terminal Block...

Page 172: ...ower Terminal Block NC 05 02 05 07 NC NC NC 00 01 02 03 06 01 03 04 06 NC NC NC CIO n 1 CIO n 2 CIO n 1 CIO n 2 L L L L L L L L L L L L L L L L 00 01 02 03 04 00 01 03 04 06 NC NC 05 07 02 05 07 CIO n...

Page 173: ...E Terminal Block is not Removable Output Wiring CP1W 16ER Relay Outputs L L L L L L 00 01 02 04 05 07 COM COM COM 03 COM 06 L L L L L L L L 00 01 02 04 05 07 COM COM COM 03 COM 06 L L Unit Upper Termi...

Page 174: ...COM 01 03 COM 06 NC L L L L L L L L CIO n 2 CIO n 2 Upper Terminal Block Lower Terminal Block NC COM COM COM 04 06 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 0...

Page 175: ...8ET1 Sourcing Transistor Output 04 06 COM 05 07 COM 01 03 00 02 L L L L L L L L 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...

Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...

Page 177: ...n Units and Expansion I O Units 154 4 2 5 I O Allocation Examples 158 4 3 Built in Analog I O Area XA CPU Units Only 159 4 4 Data Link Area 160 4 5 CPU Bus Unit Area 161 4 6 Special I O Unit Area 162...

Page 178: ...O 203 Built in analog input terminals OK OK OK OK OK OK Built in Analog Output Area 2 words CIO 210 to 211 Built in analog output termi nals OK OK OK OK OK OK Data Link Area 3 200 bits 200 words CIO 1...

Page 179: ...g the Counter Completion Flags TR Area 16 bits TR0 to TR15 Shared by all tasks OK OK OK OK No No Data Memory Area 32 768 words D00000 to D32767 No Note 2 OK OK OK OK No Timer Completion Flags 4 096 bi...

Page 180: ...ta links may be used in programming Data Link Area These words are used when the Controller Link auto setting area is set to the link area or for PLC links Words that aren t used in data links may be...

Page 181: ...the work words provided in the Work Area before using words in the Internal I O Area or other unused words in the CIO Area It is possible that these words will be assigned to new functions in future v...

Page 182: ...content when the PLC is turned ON or the operating mode is switched between PROGRAM mode and RUN or MON ITOR mode Timer Area T There are two parts to the Timer Area the Timer Completion Flags and the...

Page 183: ...ls rather than addresses Clock Pulses The Clock Pulses are turned ON and OFF by the CPU Unit s internal timer These bits are specified with symbols rather than addresses Task Flag Area TK A Task Flag...

Page 184: ...log I O Areas XA CPU Units only Data Link Area CPU Bus Unit Area Special I O Unit Area Serial PC Link Area DeviceNet Area Internal I O Area Work Area W Cleared Retained Retained Retained Cleared Retai...

Page 185: ...Flags and Words PLC Setup Name Address Description IOM Hold Bit A500 12 Specifies whether the I O memory will be retained or not when the CPU Unit operating mode is changed between PROGRAM and RUN MO...

Page 186: ...or other than one created by exe cuting a FALS 007 instruction Memory will be retained if operation fails due to execution of a FALS 007 instruction 4 2 1 Overview CIO 0 and CIO 1 are allocated to the...

Page 187: ...CIO 101 from bit 00 to bit 07 Bits 08 to 15 in CIO 100 and CIO 101 can be used as work bits Inputs Outputs CIO 0 00 to CIO 0 11 CIO 1 00 to CIO 1 11 CIO 100 00 to CIO 100 07 CIO 101 00 to CIO 101 07...

Page 188: ...d outputs I O bits starting from bit 00 in the next word after the word allocated to the previous Expansion Unit Expansion Inputs Outputs CIO 0 00 CIO 0 01 CIO 0 04 CIO 0 05 CIO 0 10 CIO 0 11 CIO 1 00...

Page 189: ...O n bits 00 to 07 CIO n 1 bits 00 to 07 Sourcing transistors CP1W 16ET1 None None 16 bits 2 words CIO n bits 00 to 07 CIO n 1 bits 00 to 07 Unit with 20 I O Relays CP1W 20EDR1 12 bits 1 word CIO m bit...

Page 190: ...ted Output bits 08 to 15 can be used as work bits Units with 40 I O Points CP1W 40ED Twenty four input bits in two words are allocated bits 00 to 11 in CIO m and bits 00 to 11 CIO m 1 Sixteen output b...

Page 191: ...Bus S I O Link Units CP1W SRT21 1 word CIO m 1 word CIO n Unit Input words Output words DA041 TS002 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 CIO 0 CIO 1 CIO 2 CIO 3 CIO 4 CIO 5 CIO 6 CIO 7...

Page 192: ...2 Units can be connected due to the input word limit CPU Unit X XA Expansion I O Unit 40 I O points Expansion I O Unit 20 I O points Analog I O Unit MAD11 CIO 0 00 to CIO 0 11 CIO 1 00 to CIO 1 11 CIO...

Page 193: ...e if the operating mode is switched between PROGRAM and RUN or MONITOR mode when the built in analog output is being used and the I O Memory Hold Bit is set to ON to retain analog values output extern...

Page 194: ...Area can be force set and force reset Links to C200HX HG HE C200HS and C200H PLCs Link Area words CIO 1000 to CIO 1063 in CP1H CPU Units correspond to Link Relay Area words LR 0 to LR 63 for data link...

Page 195: ...Area can be force set and force reset CPU Bus Unit Area Initialization The contents of the CPU Bus Unit Area will be cleared in the following cases 1 When the operating mode is changed from PROGRAM t...

Page 196: ...s can be used in programming Forcing Bit Status Bits in the Special I O Unit Area can be force set and force reset Special I O Unit Area Initialization The contents of the Special I O Unit Area will b...

Page 197: ...When the operating mode is changed from PROGRAM mode to RUN MONITOR mode or vice versa and the IOM Hold Bit is OFF 2 When the power is cycled 3 When the Serial PLC Link Area is cleared from the CX Pr...

Page 198: ...nnot be assigned as input relay area and 100 116CH as output relay area For XA type 200 203CH and 210 213CH cannot be assigned as built in analog input output area DeviceNet Area Initialization The co...

Page 199: ...contains 512 words with addresses ranging from H0 to 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 pow...

Page 200: ...om the program or the CX Programmer Refer to Appendix C Auxiliary Area Allocations by Function and Appendix D Auxiliary Area Allocations by Address for Auxiliary Area functions Forcing Bit Status Read...

Page 201: ...s PVs for these instructions are accessed with the timer numbers The TIML 542 TIMLX 553 MTIM 543 and MTIMX 554 instructions do not use timer numbers When a timer number is used in an operand that requ...

Page 202: ...the descriptions of these instructions for details 4 The present value of TIM TIMX 550 TIMH 015 TIMHX 551 TM HH 540 TMHHX 552 TIMW 813 TIMWX 816 TMHW 815 and TMH WX 817 timers programmed with timer n...

Page 203: ...nt ing simultaneously If two or more counter instructions use the same counter number an error will be generated during the program check but the counters will operate as long as the instructions are...

Page 204: ...imer Counter as Binary Option in the PLC Properties Dialog Box The timers and counters for all tasks will be executed in binary mode 4 14 Data Memory Area D The DM Area contains 32 768 words with addr...

Page 205: ...DM Area Allocation to Special I O Units Parts of the DM Area are allocated to Special I O Units and CPU Bus Units for functions such as initial Unit settings The timing for data transfers is different...

Page 206: ...Use MOVRW 561 to set the PLC memory address of a timer counter PV in an Index Register Note Refer to Appendix E Memory Map for more details on PLC memory addresses Indirect Addressing When an Index R...

Page 207: ...he content of IR is treated as the PLC memory address of a bit or word IR LD IR0 Loads the bit at the PLC memory address contained in IR0 Indirect addressing with constant offset The constant prefix i...

Page 208: ...ess of CIO 13 0C000D hex in IR2 The SET instruction adds 5 from bit 13 to this PLC memory address so it turns ON bit CIO 1 02 Index Register Initialization The Index Registers will be cleared in the f...

Page 209: ...sses in the Index Registers are stored using a MOVR instruction 2 Operation is then executed by indirectly addressing Index Registers to the operand for Instruction A 3 The addresses are moved using p...

Page 210: ...Index Registers In the following example TIM instructions for timer numbers 0 to 99 use set values in D100 to D109 This can be achieved by using one TIM instruction using an index register for the tim...

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

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

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

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

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

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

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

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

Page 219: ...7 5 2 4 PLC Setup 218 5 2 5 High speed Counter Terminal Allocation 218 5 2 6 Pulse Input Connection Examples 221 5 2 7 Ladder Program Example 222 5 2 8 Additional Capabilities and Restrictions 225 5 3...

Page 220: ...e SV The maximum input response frequency for input interrupts in counter mode is 5 kHz Scheduled Interrupts This function executes an interrupt task at a fixed time interval measured by the CPU Unit...

Page 221: ...nsert Program in the pop up menu A new program called NewProgram2 unassigned will be inserted in the project workspace 2 Right click NewProgram2 unassigned and select Properties from the pop up menu t...

Page 222: ...of the interrupt condition to the actual execution of the corresponding interrupt task In particular it is possible that scheduled interrupts will not be executed in the preset time so the program mu...

Page 223: ...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 224: ...k when the corresponding input signal up or down differentiated is received Input Interrupt Bit and Terminal Allocations The following diagrams show the input bits and terminals that are used for the...

Page 225: ...nput interrupt 3 Interrupt task 143 04 to 11 Normal inputs 4 to 11 CIO 1 00 Normal input 12 Input interrupt 4 Interrupt task 144 01 Normal input 13 Input interrupt 5 Interrupt task 145 02 Normal input...

Page 226: ...l inputs 2 3 4 and 5 CIO 1 00 Normal input 6 Input interrupt 2 Interrupt task 142 01 Normal input 7 Input interrupt 3 Interrupt task 143 02 Normal input 8 Input interrupt 4 Interrupt task 144 03 Norma...

Page 227: ...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 228: ...gram 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 Disabling the i...

Page 229: ...ut Interrupts Direct Mode for details The counter input mode can be set to up or down incrementing or decre menting with MSKS 690 The counter mode input interrupts start the same interrupt tasks 140 t...

Page 230: ...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 231: ...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 number...

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

Page 233: ...design the program to handle multiple interrupts smoothly Even if two interrupts occur at the same time the scheduled interrupts will continue as programmed so the scheduled interrupt tasks will cont...

Page 234: ...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 235: ...arison For details on the built in high speed counter refer to 5 2 High speed Counters Procedure W0 00 30 5 ms 30 5 ms 30 5 ms Cyclic task processing Interrupt task 2 Interrupt Interrupt task 2 Interr...

Page 236: ...n each CPU Unit Item Setting Use high speed counter 0 to 3 Use counter Counting mode Linear mode Circular mode ring mode Circular Max Count 0 to FFFF FFFF hex When circular ring mode is selected as th...

Page 237: ...ent or Direction input 08 High speed counter 0 Phase A Increment or Count input 09 High speed counter 0 Phase B Decrement or Direction input 10 High speed counter 3 Phase A Increment or Count input 11...

Page 238: ...nputs CIO 0 Inputs CIO 1 High speed counter terminals 00 04 10 00 02 04 COM 01 05 11 01 03 05 NC A0 B0 Z0 A1 B1 Z1 A0 B0 Z0 A1 B1 Z1 High speed counter 3 Phase Z or Reset input High speed counter 3 Ph...

Page 239: ...321 04 ON for match in range 6 A274 05 A275 05 A320 05 A321 05 ON for match in range 7 A274 06 A275 06 A320 06 A321 06 ON for match in range 8 A274 07 A275 07 A320 07 A321 07 Comparison In progress Fl...

Page 240: ...et values Target value 1 rightmost digits Target value 1 leftmost digits Task number for target value 1 0001 to 0030 hex 1 to 48 target values 0000 0000 to FFFF FFFF hex Target value 48 rightmost digi...

Page 241: ...rupts 0 to 7 in counter mode 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...

Page 242: ...rting 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 243: ...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 244: ...otary encoder can be connected to a built in input to produce a high speed pulse input High speed interrupt processing can be performed when the high speed counter PV matches a target value or is with...

Page 245: ...t PRV 881 HIGH SPEED COUNTER PV READ The PRV 881 instruction can be used to measure the pulse fre quency Range with differential phase inputs 0 to 50 kHz Y models 0 to 500 kHz Range with all other inp...

Page 246: ...Software reset The counter is reset when the phase Z input goes ON while the Reset Bit is ON Software reset The counter is reset when the Reset Bit goes ON Set the counter reset method in the PLC Setu...

Page 247: ...ON and decre mented when it is OFF Only up differentiated pulses rising edges can be counted Reset Bit Used for the PV software reset A531 00 A531 01 A531 02 A531 03 High speed Counter Gate Bit When a...

Page 248: ...The count in the current cycle is com pared with the count in the previous cycle to determine if it is being incre mented or decremented The results are reflected in the High speed Counter Count Direc...

Page 249: ...rcular Max Count which is the max value of the input pulse counting range The max ring count can be set to any value between 00000001 and FFFFFFFF hex Restrictions There are no negative values in ring...

Page 250: ...tion can be set to stop or continue when a high speed counter is reset This enables applications where the comparison op eration can be restarted from a counter PV of 0 when the counter is reset 2 Whe...

Page 251: ...omparing High speed Counters 0 to 3 Counting Mode Linear mode Ring mode Program the interrupt task with any interrupt number between 0 and 255 to be executed when using a target value comparison or ra...

Page 252: ...input terminals that can be used for high speed counters in each CPU Unit Item Setting Use high speed counter 0 to 3 Use counter Counting mode Linear mode Circular mode ring mode Circular Max Count ma...

Page 253: ...Phase A Increment or Count input High speed counter 2 Phase A Increment or Count input High speed counter 2 Phase Z or Reset input High speed counter 2 Phase B Decrement or Direction input High speed...

Page 254: ...1 High speed counter terminals High speed counter 2 Phase A Increment or Count input High speed counter 3 Phase Z or Reset input High speed counter 3 Phase A Increment or Count input High speed counte...

Page 255: ...se Z Orange Vcc Brown 0 V COM Blue 24 VDC power supply 0 V 24 V Encoder Power 24 VDC Example E6B2 CWZ6C NPN open collector output 008 High speed counter 0 Phase A 0 V Differential Input Mode 009 High...

Page 256: ...ed 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 lit The interrupt program is interrupt task 10 Differentia...

Page 257: ...se B input See note 10 and 11 Not used normal input CIO 1 00 to 11 Not used normal input Output terminal Usage Word Bit CIO 100 00 Normal input PL1 Dimension pass output 01 Normal input PL2 Dimension...

Page 258: ...puts L1 L2 N COM 01 03 05 07 09 11 01 03 05 07 09 11 LG 00 02 04 06 08 10 00 02 04 06 08 10 Workpiece end detection Counter 0 phase Z Workpiece start detection Counter 0 phase B Counter 0 phase A Top...

Page 259: ...C Setup D10005 to D10008 All 0000 Range 2 lower and upper limit values Not used and don t need to be set Range 2 settings D10009 FFFF Disables range 2 D10014 D10019 D10024 D10029 D10034 FFFF Set the f...

Page 260: ...when the high speed counter PV matches the registered target value Up to 48 target values between 1 and 48 can be registered in the com parison table A different interrupt task can be registered for e...

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

Page 262: ...rformed at the same time as functions such as the high speed counter and pulse output with out affecting the performance of those functions Procedure 1 2 3 1 High speed Counter Enable Disable Setting...

Page 263: ...Mode Setting Required Set 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 R...

Page 264: ...be selected automatically when the pulse output instruction is executed The CW CCW direction is selected by determining whether the number of pulses specified in the instruction is greater than or le...

Page 265: ...ion 1 1 and later Pulse outputs 0 1 2 3 1 Hz to 100 kHz Unit version 1 0 and earlier Pulse outputs 0 and 1 1 Hz to 100 kHz 1 Hz units Pulse outputs 2 and 3 1 Hz to 30 kHz 1 Hz units Target frequency r...

Page 266: ...NI 880 instruction executed to change the PV the CW or CCW direction is selected automati cally based on the relationship between the pulse output PV and the pulse Output Amount specified when the pul...

Page 267: ...are used when the origin location is undetermined Relative pulse specification Absolute pulse specification The pulse type can be specified with an operand in PULS 886 or PLS2 887 Note The absolute pu...

Page 268: ...gement NC 00 01 02 03 04 06 00 01 03 04 06 NC COM COM COM COM 05 07 COM 02 05 07 Lower Terminal Block Example Transistor Outputs CIO 100 Pulse output 0 COM Pulse output 1 Pulse output 3 Pulse output 2...

Page 269: ...ed 04 Normal output 4 Pulse output 2 CW Pulse output 2 pulse 05 Normal output 5 Pulse output 2 CCW Pulse output 2 direction 06 Normal output 6 Pulse output 3 CW Pulse output 3 pulse 07 Normal output 7...

Page 270: ...nput 4 High speed counter 2 phase A increment or count input 05 Normal input 5 High speed counter 2 phase B decrement or direction input 06 Normal input 6 High speed counter 1 phase A increment or cou...

Page 271: ...CCW fixed Pulse output 1 direc tion CIO 100 04 Normal output 4 Pulse output 2 CW Pulse output 2 pulse 05 Normal output 5 Pulse output 2 CCW Pulse output 2 direc tion 06 Normal output 6 Pulse output 3...

Page 272: ...01 Normal input 1 Interrupt input 1 Quick response input 1 High speed counter 2 phase Z reset 04 Normal input 2 High speed counter 2 phase A incre ment or count input 05 Normal input 3 High speed coun...

Page 273: ...d ON from an external input A540 09 A541 09 A542 09 A543 09 Positioning completed input signals This is the positioning completed input signal which is used in the origin search ON when turned ON from...

Page 274: ...function 0 No error 1 Stop error occurred A280 07 A281 07 A326 07 A327 07 Stop Error Codes A444 A445 A438 A439 Function Pulse output number 0 1 2 3 Operation Example application Frequency changes Desc...

Page 275: ...8 Continu ous Port Continu ous Target fre quency Accelera tion decel eration rate Changing the speed in a polyline curve during opera tion Changes the accel eration or decelera tion rate during accele...

Page 276: ...erate 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 acc...

Page 277: ...ote Note The target position specified number of pulses can not be changed dur ing position ing PULS 886 ACC 888 Indepen dent Number of pulses Relative or abso lute pulse specifica tion Port CW CCW or...

Page 278: ...can be executed during positioning to change the acceler ation deceleration rate and target fre quency The target position specified number of pulses is not changed PULS 886 ACC 888 or SPED 885 Indep...

Page 279: ...changed without main taining the same speed range an error will occur and the original oper ation will con tinue to the original tar get position PULS 886 ACC 888 Indepen dent PLS2 887 Number of pulse...

Page 280: ...LS2 887 can be executed during positioning with rel ative pulse specifi cation to change to absolute pulses and reverse direction PULS 886 ACC 888 Indepen dent PLS2 887 Number of pulses Absolute pulse...

Page 281: ...pen dent Target fre quency 0 Stop sloped pulse out put smoothly Number of pulses set ting is not preserved Decelerate to a stop Decelerates the pulse output to a stop Note If ACC 888 started the opera...

Page 282: ...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 283: ...er of 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...

Page 284: ...ses 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...

Page 285: ...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 286: ...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 287: ...source clock frequency by an integer ratio The source clock frequency for ports 0 and 1 is 20 MHz and the frequency for ports 2 and 3 is 16 4 MHz Consequently there may be a slight difference between...

Page 288: ...00 250 100 000 164 99 696 to 100 000 100 000 201 99 255 to 99 750 99 502 165 99 093 to 99 696 99 393 202 98 765 to 99 255 99 009 166 98 498 to 99 093 98 795 399 50 062 to 50 188 50 125 327 50 076 to 5...

Page 289: ...V to 0 The origin location can be determined after using either method The CP1H CPU Units are also equipped with the origin return function which can be executed to return the system to the origin aft...

Page 290: ...wing example the motor is started at a specified speed acceler ated to the origin search high speed and run at that speed until the origin proximity position is detected After the Origin Proximity Inp...

Page 291: ...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 292: ...search operation setting 0 Reversal mode 1 1 Reversal mode 2 Start of operation Origin detection method 0 Read the Origin Input Signal after the Origin Proximity Input Signal goes from OFF ON OFF 1 Re...

Page 293: ...speed Same as above Start of operation Origin search acceleration rate 0001 to FFFF hex 1 to 65 535 Hz 4 ms Start of operation Origin search deceleration rate 0001 to FFFF hex 1 to 65 535 Hz 4 ms Star...

Page 294: ...rror error code 0202 will be generated In this case the motor will decelerate to a stop Operating mode I O signal Remarks Origin Input Signal Error Counter Reset Output Positioning Completed Input Ope...

Page 295: ...l is received the motor will begin decel erating from the origin search high speed to the origin search proximity speed In this operating mode the motor will stop at the Origin Input Signal after dece...

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

Page 297: ...od The origin detection method depends on the Origin Proximity Input Signal set tings Select one of the following three methods in each port s parameters 1 1 0 0 Pulse output Error Counter Reset Outpu...

Page 298: ...s stopped when the Origin Input Signal goes OFF ON Initial speed Acceleration High speed for origin search Deceler ation Proximity speed for origin search Start when ORG 889 is executed Stop 1 1 0 0 C...

Page 299: ...ted by the origin search operation and origin detection method settings These examples have a CW origin search direction The search direction and limit input signal direction would be different for an...

Page 300: ...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 301: ...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 302: ...s executed Specify the speed in the number of pulses per second pps Origin Search Proximity Speed Sets the motor s speed after the Origin Proximity Input Signal is detected Specify the speed in the nu...

Page 303: ...used for the Origin Input Signal 0 NC 1 NO Positioning Monitor Time When the operating mode is set to mode 2 this setting specifies how long to wait in ms for the Positioning Completed Signal after th...

Page 304: ...se output the pulse output s Output Stopped Error Flag will be turned ON and the Pulse Output Stop Error Code will be written to Error Code word Use these flags and error codes to identify the cause o...

Page 305: ...sor Decrease the difference between the origin search s high speed and proximity speed settings Decelerates to a stop No effect on other port Limit Inputs in Both Directions 0203 The origin search can...

Page 306: ...ut while the Origin Input Signal was reversing Check the installation positions of the Origin Proximity Input Sig nal Origin Input Signal and Limit Input Signal as well as the PLC Setup s I O settings...

Page 307: ...08 Pulse Output 0 CW Limit Input Signal 09 Pulse Output 0 CCW Limit Input Signal Output terminal Name Word Bit CIO 100 00 Pulse Output 0 CW output 01 Pulse Output 0 CCW output 1 1 0 0 CCW CW Pulse Ou...

Page 308: ...ulse Output 0 Origin Search High Speed 07D0 hex 2 000 pps 0000 hex Pulse Output 0 Origin Search Proximity Speed 03E8 hex 1 000 pps 0000 hex Pulse Output 0 Origin Compensation 0000 hex 0000 hex Pulse O...

Page 309: ...ed by executing ORG 889 Origin return acceleration rate Origin return target speed Origin return deceleration rate Stop Time 1 Starting Speed for Origin Search and Origin Return 2 Origin return target...

Page 310: ...ulse outputs 0 to 3 00000000 to 000186A0 hex 0 Hz to 100 kHz Unit version 1 0 and earlier Pulse outputs 0 and 1 00000000 to 000186A0 hex 0 Hz to 100 kHz Pulse outputs 2 and 3 00000000 to 00007530 hex...

Page 311: ...pulse output method output frequency and port Pulse output method CW CCW inputs Pulse outputs 0 to 3 Pulse direction inputs Pulse outputs 0 to 3 Pulse outputs 0 and 1 use the same pulse output method...

Page 312: ...ontrol with acceleration deceleration the same rate is used for both acceleration and deceleration INI 880 Specify port number and stop pulse output when necessary PRV 881 Specify port number and read...

Page 313: ...nction is enabled Ladder program PLS2 887 Specify port number and set the output method CW CCW method or Pulse direction method and pulse output control with trapezoidal acceleration deceleration diff...

Page 314: ...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 315: ...1 0002 Pulse output 2 0003 Pulse output 3 T Pulse type 0000 Relative pulse output 0001 Absolute pulse output N First number of pulses word N and N 1 contain the number of pulses setting N contains th...

Page 316: ...contains the leftmost 4 digits X XA CPU Units Unit version 1 1 and later Pulse outputs 0 to 3 00000000 to 000186A0 hex 0 Hz to 100 kHz Unit version 1 0 and earlier Pulse outputs 0 and 1 00000000 to 0...

Page 317: ...igits X XA CPU Units Unit version 1 1 and later Pulse outputs 0 to 3 00000000 to 000186A0 hex 0 Hz to 100 kHz Unit version 1 0 and earlier Pulse outputs 0 and 1 00000000 to 000186A0 hex 0 Hz to 100 kH...

Page 318: ...00000000 to 000F4240 hex 0 Hz to 1 MHz Pulse outputs 2 and 3 00000000 to 0000186A0 hex 0 Hz to 100 kHz S 4 and S 5 S 4 and S 5 contain the number of pulses setting S 4 contains the rightmost 4 digits...

Page 319: ...er or interrupt functions refer to 5 1 Interrupt Functions or 5 2 High speed Counters Operand Contents P Port specifier 0000 Pulse output 0 0001 Pulse output 1 0002 Pulse output 2 0003 Pulse output 3...

Page 320: ...t Flag No origin Flag At Origin Flag Pulse Output Stopped Error Flag Note This section explains the functions related to pulse outputs only For details on the PRV 881 instruction s high speed counter...

Page 321: ...1 Outputting pulses Bit 5 No origin Flag 0 Origin established 1 Origin not established Bit 6 At Origin Flag 0 Not stopped at origin 1 Stopped at origin Bit 7 Pulse Output Stopped Error Flag 0 No error...

Page 322: ...direction cannot be switched 3 SPED 885 Independent to ACC 888 Independent The number of pulses cannot be changed The frequency can be changed The acceleration deceleration rate can be changed The ou...

Page 323: ...an even be changed during acceleration or deceleration The output mode and direction cannot be switched 7 ACC 888 Continuous to PLS2 887 The frequency can be changed The target frequency can even be c...

Page 324: ...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 frequencie...

Page 325: ...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 326: ...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 327: ...0 00 Unmask Enable interrupts 0014 MSKS 690 0005 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 0014 0000 100000 SPED...

Page 328: ...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 329: ...eration CCW will be executed from pulse output 1 while input 1 07 is ON Instructions Used SPED 885 Starts and stops immediate stop the low speed jog operations ACC 888 Starts and stops decelerate to a...

Page 330: ...Hz D14 0000 D15 0000 0001 0001 0000 0001 0001 0000 1 04 A281 04 200 00 1 04 1 05 A281 04 200 01 1 05 SPED 885 SPED 885 SPED 885 0000 D0 SET 200 00 0000 RSET 200 00 0010 D0 SET 200 01 SPED 885 0010 RSE...

Page 331: ...10 D00010 SET 200 03 ACC 888 0010 D13 RSET 200 03 END 001 1 06 A281 04 200 02 1 06 1 07 A281 04 200 03 1 07 High speed CW Start Pulse Output in Progress Pulse output 1 Specifies CW CCW output method C...

Page 332: ...utter Finished Input IN 1 06 turns ON 5 The feeding cutting operation is repeated for the number of times specified for the counter C0 100 times 6 When the operation has been completed the Cutting Ope...

Page 333: ...d distance Feeding D10 to D20 Setting details Address Data Target frequency 1 000 Hz D0 03E8 D1 0000 Target frequency 0 Hz D2 0000 D3 0000 Setting details Address Data Acceleration rate 1 000 Hz 4 ms...

Page 334: ...ET W0 00 Fixed distance Feed 1 05 Positioning Switch PLS2 887 0 0 D10 D16 1 06 Cutter Finished A280 03 Pulse Output Completed Flag 101 00 Cutter activated Counting Feed Operations A280 03 CNT 0000 D20...

Page 335: ...umber of pulses 2 ACC 888 can be used instead of SPED 885 for the jog operation If ACC 888 is used acceleration deceleration can be included in the jog op eration Vertically Conveying PCBs Multiple Pr...

Page 336: ...returned to the original position CW CCW CW CCW 50 000 Hz 10000 C350 hex CCW limit Origin servo phase Z Origin proximity CW limit 2 Fixed distance positioning repeated 3 Return to start Acceleration d...

Page 337: ...Driver RUN input 24 VDC BKIR CW output CIO 100 00 CCW output CIO 100 01 4 3 CCW CCW COM CIO 100 COM 1 6 k 1 6 k 1 6 k R88A CPU00 S Shell SMARTSTEP A series Servo Driver CP1H CPU Unit Output Terminal...

Page 338: ...ll it is moved CIO 1 01 and only the conveyor is lowered absolute positioning when stoker movement is completed CIO 0 03 The operation can be canceled and pulse output stopped at any point using the E...

Page 339: ...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 340: ...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 341: ...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 342: ...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 343: ...rtStep A series Servo Driver XW2Z Cables and XW2B I O Terminal Origin Search Switch CIO 0 04 Emergency Stop Switch CIO 0 05 SMARTSTEP A series Servo Driver X axis SMARTSTEP A series Servo Driver Y axi...

Page 344: ...Shell Servo Driver RUN input Servo Driver alarm reset input Power Supply Terminal 24 VDC power supply 24 VDC power supply 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 345: ...perations 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 0...

Page 346: ...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 347: ...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 348: ...1 W0 01 W1 00 W2 00 Positioning to A completed RSET W0 01 Operation 2 Positioning to B W0 01 SET W0 02 W0 02 W1 01 W2 01 Positioning to B completed RSET W0 02 Operation 2 Positioning to A W0 02 SET W0...

Page 349: ...start W2 00 Positioning to A completed RSET W0 05 Operation 4 Positioning to D W0 05 SET W0 06 W0 06 W1 03 Positioning to D start W2 03 Positioning to D completed RSET W0 06 Operation 5 Positioning to...

Page 350: ...W3 02 Positioning to A start PLS2 887 1 1 D20 D2 A280 03 Pulse output completed A281 03 pulse output completed W2 00 Positioning to A completed Positioning to B Start and Completion for X and Y axis...

Page 351: ...completed Positioning to D Start and Completion for X and Y axis W1 03 Positioning to D start PLS2 887 0 1 D70 D0 PLS2 887 1 1 D80 D2 A280 03 Pulse output completed A281 03 pulse output completed W2...

Page 352: ...g 0 04 Built in input IN6 A540 08 CW limit input signal X axis 0 05 Built in input IN7 A540 09 CCW limit input signal X axis 0 08 Built in input IN8 A541 08 CW limit input signal Y axis 0 09 Built in...

Page 353: ...Speed control is used to feed wrapping material to the initial position when the Start Switch CIO 1 04 is activated 2 When the Marker Sensor Input IN0 is received PLS2 887 is executed in interrupt ta...

Page 354: ...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 355: ...1 Material positioning 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...

Page 356: ...used in the Y CPU Units PLC Setup Use the CX Programmer to set a built in input as a quick response input in the PLC Setup Click the Built in Input Tab to display the Interrupt Input settings at the b...

Page 357: ...Input terminal block Input operation setting Word Bit Normal inputs Input interrupt Quick response inputs CIO 0 00 Normal input 0 Input interrupt 0 Quick response input 0 01 Normal input 1 Input inte...

Page 358: ...0 00 Normal input 0 Input interrupt 0 Quick response input0 01 Normal input 1 Input interrupt 1 Quick response input 1 04 05 10 and 11 Normal inputs 2 to 5 CIO 1 00 Normal input 6 Input interrupt 2 Q...

Page 359: ...p Max rated input 15 V 30 mA External input impedance 1 M min Approx 250 Resolution 1 6000 or 1 12000 Select in PLC Setup Overall accu racy At 25 C 0 3 full scale 0 4 full scale 0 to 55 C 0 6 full sca...

Page 360: ...1 6 000 resolution 0 to 10 V Input When the resolution is set to 1 6 000 the 0 to 10 V range corresponds to hexadecimal values 0000 to 1770 0 to 6 000 The entire data range is FED4 to 189C 300 to 6 30...

Page 361: ...egative voltage is expressed as a two s complement The following diagram shows conversion values for 1 6 000 resolution 1 to 5 V Input When the resolution is set to 1 6 000 the 1 to 5 V range correspo...

Page 362: ...resolution 4 to 20 mA When the resolution is set to 1 6 000 the 4 to 20 mA range corresponds to hexadecimal values 0000 to 1770 0 to 6 000 The entire data range is FED4 to 189C 300 to 6 300 When the r...

Page 363: ...resolution 0 to 10 V Outputs When the resolution is set to 1 6 000 the hexadecimal values 0000 to 1770 0 to 6 000 correspond to an analog voltage range of 0 to 10 V When the resolution is set to 1 12...

Page 364: ...imal values 0000 to 2EE0 0 to 12 000 correspond to an analog voltage range of 0 to 5 V The entire output range is 0 8 to 5 2 V The following diagram shows conversion values for 1 6 000 resolution 0 to...

Page 365: ...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 range is set to 4 to 20 mA and t...

Page 366: ...ange 0 to 20 mA or 4 to 20 mA Each output is set independently Wire the I O Wire the I O devices Write the ladder program Analog inputs Read the conversion value Analog outputs Write the conversion va...

Page 367: ...whether the I O point is being used the input range output range averaging function usage and resolution The I O point usage input range output range and averaging function usage can be set independen...

Page 368: ...oltage Current Input Switch V IN IIN Analog Input Terminal Block COM V IN IIN Analog output device current output Turn ON the input s Analog Voltage Current Input Switch Analog Input Terminal Block VI...

Page 369: ...is outputting 5 V and the same power sup ply is being used for both devices as shown above approximately 1 3 or 1 6 V will be applied to the input for input device 1 If a wiring disconnection occurs...

Page 370: ...on data is stored in CIO words between CIO 200 and CIO 211 The analog voltage inputs are converted to digital values and output to CIO words CIO 200 to CIO 203 The digital values in CIO 210 and CIO 21...

Page 371: ...lid Handling Unit Errors When an error occurs in the built in analog I O system analog input data will be set to 0000 and the analog output will be set to 0 V or 0 mA If a CPU error occurs the analog...

Page 372: ...338 Analog I O XA CPU Units Section 5 5...

Page 373: ...363 6 3 7 Segment LED Display 364 6 4 Battery free Operation 366 6 4 1 Overview 366 6 4 2 Using Battery free Operation 366 6 5 Memory Cassette Functions 368 6 5 1 Overview 368 6 5 2 Mounting and Remo...

Page 374: ...s and transfers them on the serial communications path OK OK Serial PLC Link CP1H or CJ1M CPU Units Up to ten words per Unit can be shared by up to nine CPU Units including one Polling Unit and eight...

Page 375: ...ommands from the host computer to the CPU Unit 2 It is also possible to send FINS commands from the CPU Unit to the host com puter to send data or infor mation Use Host Link communica tions to monitor...

Page 376: ...t data from a barcode reader or output data to a printer The following table lists the no protocol communication functions supported by CP1H PLCs CP1H CPU Unit TXD 236 or RXD 235 Sending receiving dat...

Page 377: ...ed the first start code will be effec tive When more than one end code is used the first end code will be effective If the data being transferred contains the end code the data transfer will be stoppe...

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

Page 379: ...e switch after setting the Modbus RTU command in the DM fixed allocation words Slave address Function code Number of communications data bytes Communications data 15 Slave address Function code Commun...

Page 380: ...rvo 0x81 Parity error A parity error occurred 0x82 Framing error A framing error occurred 0x83 Overrun error An overrun error occurred 0x84 CRC error A CRC error occurred 0x85 Incorrect confirmation a...

Page 381: ...h Responses are also converted in the same way Note Serial ports 1 and 2 on the CP1H CPU Unit can be used to convert to the fol lowing protocols CompoWay F Modbus RTU A641 00 Port 1 Modbus RTU Master...

Page 382: ...serial communication 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 w...

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

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

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

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

Page 387: ...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 388: ...he 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 389: ...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 Bit 13 Timeo...

Page 390: ...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 Bit 05 Timeo...

Page 391: ...the PT as follows 1 2 3 1 Select NT Link 1 N from Comm A Method or Comm B Method on the Memory Switch Menu under the System Menu on the PT Unit 2 Press the SET Touch Switch to set the Comm Speed to Hi...

Page 392: ...from the host com puter Application Use this method when commu nicating primarily from the PLC to the host computer to transmit status information such as error information Remarks The FINS command w...

Page 393: ...sponse 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 Are...

Page 394: ...ction 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 f...

Page 395: ...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 396: ...CPU Unit with a Phillips screw driver the PV in the Auxiliary Area A642 can be changed to any value within a range of 0 to 255 During the adjustment the value is displayed from 00 to FF hex on the 7 s...

Page 397: ...in A643 The maximum input voltage is 11 VDC Do not apply a voltage greater than that Application Example Setting the value for timer T101 in A643 makes it possible to use T101 as a variable timer wit...

Page 398: ...eration Progress of transfers between the CPU Unit and Memory Cassette Changes in values when using the analog adjuster User defined codes from special display instructions in the ladder pro gram Unit...

Page 399: ...CP1H CPU Unit The dis play is cleared when the set value remains unchanged for at least 4 seconds User defined Code Display The DISPLAY 7 SEGMENT LED WORD DATA SCH 047 and 7 SEGMENT LED CONTROL SCTRL...

Page 400: ...NT and DM data is saved during power interruptions if a battery is mounted but not when battery free operation is used In that case it is necessary to set the required values in the ladder program It...

Page 401: ...ues that are to be set at startup 1 2 3 1 First set in the DM Area the data that is to be set as initial values at startup 2 Execute a backup to flash memory from the CX Programmer s Memory Cassette T...

Page 402: ...from being made whenever the Battery Error Flag A402 04 is ON 6 5 Memory Cassette Functions 6 5 1 Overview CP1H CPU Units have Memory Cassette functions that enable data in the CPU Unit to be stored...

Page 403: ...be automatically written to the DM Area D0 to D32767 when the power is turned ON 6 5 2 Mounting and Removing a Memory Cassette Mounting 1 2 3 1 Turn OFF the power supply to the PLC 2 Holding the Memo...

Page 404: ...while the BKUP indicator and 7 segment LED are flashing i e during a data transfer or verifica tion Doing so could make the Memory Cassette unusable 3 The Memory Cassette is small so be careful to no...

Page 405: ...y of the following operations To transfer data from the CPU Unit to the Memory Cassette Click the Transfer to Memory Cassette Button To transfer data from the Memory Cassette to the CPU Unit Click the...

Page 406: ...te Verification When using the CX Programmer s Memory Cassette function to store data in the Memory Cassette verify that data by comparing it to the data in the CPU Unit This function can be used for...

Page 407: ...this function is executed at least the user program must be stored on the Memory Cassette This function can be used to copy data to another CPU Unit without using the CX Programmer User programs can...

Page 408: ...00 flashes for 5 seconds and then the display is cleared If the data transfer fails er flashes for 5 sec onds and then the display is cleared While the BKUP and 7 segment LED indicators are flashing 1...

Page 409: ...tte with the required data stored 2 With the power supply turned OFF to the CPU Unit remove the cover from the Memory Cassette slot and insert the Memory Cassette 3 Open the cover for the CPU Unit s P...

Page 410: ...CP1H CPU Units Read protection from the CX Programmer Write protection using a DIP switch setting Write protection setting from the CX Programmer Write protection against FINS commands sent to the CPU...

Page 411: ...rotection prevents anyone from displaying or editing the read pro tected set of tasks from CX Programmer without inputting the correct pass word In this case the entire program can be uploaded but the...

Page 412: ...ote The program can be transferred after step 1 above and then pass word protection be set by selecting PLC Protection Set Pass word The tasks registered in step 1 will be password protected Usage App...

Page 413: ...Bit address 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 R...

Page 414: ...ry Write Protection ON Protected OFF Not protected Name Address Description User Program Date A90 to A93 The time and date the user program was last over written in memory is given in BCD A90 00 to A9...

Page 415: ...commands through a network including write operations from CX Programmer CX Protocol CX Process and other appli cations using Fins Gateway Read processes are not prohibited FINS write protection can d...

Page 416: ...tte The following 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...

Page 417: ...r code and time of occurrence are stored in the Error Log 4 The error indicator on the front of the CPU Unit will flash or light 5 If FAL 006 has been executed the CPU Unit will continue operating If...

Page 418: ...utput to go ON and set the monitoring time Logic Diagnosis Function FPD 269 determines which input bit is causing the diagnostic output to remain OFF and outputs the result The output can be set to bi...

Page 419: ...ne system error use more than one FAL 006 or FALS 007 instruction with the same value in A529 and different values for the second operand Name Address Operation Error Code A400 When an error occurs th...

Page 420: ...RUN or MONITOR mode but all outputs will be turned OFF Note Normally when IOM Hold Bit OFF all outputs from Output Units are turned OFF when the operating mode is changed from RUN MONITOR mode to PRO...

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

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

Page 423: ...xpansion I O Units 390 7 2 Analog Input Units 391 7 3 Analog Output Units 404 7 4 Analog I O Units 414 7 4 1 CP1W MAD11 Analog I O Units 414 7 4 2 CP1W MAD42 CP1W MAD44 Analog I O Units 427 7 5 Temper...

Page 424: ...Model Current consumption mA I O words 5 VDC 24 VDC Input Output Expansion Units 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...

Page 425: ...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 Terminals Connected to analog output de...

Page 426: ...ated four words V IN1 Voltage input 1 I IN1 Current input 1 COM1 Input common 1 V IN2 Voltage input 2 I IN2 Current input 2 COM2 Input common 2 V IN3 Voltage input 3 I IN3 Current input 3 COM3 Input c...

Page 427: ...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 428: ...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 429: ...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 430: ...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 431: ...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 432: ...e power supply 5 Refer to the following information on open circuits when using voltage in puts 1 Connecting the Analog Input Unit CPU Unit Analog Input Unit CP1W AD042 CP1W AD041 CH I IN1 I IN3 I IN2...

Page 433: ...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 434: ...l 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...

Page 435: ...ng 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 436: ...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 437: ...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 438: ...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 439: ...8 full scale 0 7 full scale D A conversion data 16 bit binary 4 digit hexadecimal Full scale for 10 to 10 V F448 to 0BB8 Hex Full scale for other ranges 0000 to 1770 Hex 16 bit binary 4 digit hexadec...

Page 440: ...age as a two s complement When the resolution is 1 12 000 the hexadecimal values E890 to 1770 6000 to 6000 correspond to an analog voltage range of 10 to 10 V The entire output range is 11 to 11 V Spe...

Page 441: ...2EE0 0 to 12000 correspond to an analog voltage range of 1 to 5 V The entire output range is 0 8 to 5 2 V 0 to 20 mA When the resolution is 1 6 000 the hexadecimal values 0000 to 1770 0 to 6000 corre...

Page 442: ...20 8 mA When the resolution is 1 12 000 the hexadecimal values 0000 to 2EE0 0 to 12000 correspond to an analog voltage range of 4 to 20 mA The entire output range is 3 2 to 20 8 mA Conversion Data He...

Page 443: ...n value CPU Unit Analog Output Unit Ladder program Writes the set data Writes the conversion values Analog output 1 conversion value Where n is the last output word allocated to the CPU Unit or previo...

Page 444: ...llowing measures Turn ON the power to the CP1H 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 CP1H CPU Uni...

Page 445: ...he last output word allocated to the CPU Unit or previous Expansion Unit or Expansion I O Unit Startup Operation After power is turned ON it will require two cycle times plus approximately 50 ms befor...

Page 446: ...ays ON Flag T0005 0005 TIM 0002 TIM0005 is started when the power is turned ON After 0 2 s 200 ms elapses the TIM0005 contact turns ON and the data stored in D100 will be moved to 102 as the conversio...

Page 447: ...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 448: ...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 449: ...its But a maximum of three Analog I O Units can be connected because each unit is allocated four words Pin1 Average processing for analog input 0 OFF Average processing not performed ON Average proces...

Page 450: ...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 451: ...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 452: ...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 453: ...o 10 V The entire output range is 0 5 to 10 5 V Specify a negative voltage as a two s complement 1 to 5 V The hexadecimal values 0000 to 1770 0 to 6000 correspond to an analog voltage range of 1 to 5...

Page 454: ...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 455: ...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 456: ...tput as the converted value The averaging function can be set separately for ana log inputs 1 and 2 Wiring Analog I O Devices Internal Circuits DIP switch pin Function Setting Default 1 1 Averaging An...

Page 457: ...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 458: ...imately 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 Als...

Page 459: ...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 460: ...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 461: ...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 462: ...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 463: ...e connected because each unit is allocated four words V OUT1 Voltage output 1 I OUT1 Current output 1 COM1 Output common 1 V OUT2 Voltage output 2 I OUT2 Current output 2 COM2 Output common 2 V OUT3 V...

Page 464: ...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 465: ...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 466: ...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 467: ...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 468: ...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 469: ...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 470: ...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 471: ...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 472: ...r install 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 do...

Page 473: ...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 474: ...allocated 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...

Page 475: ...t 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 cod...

Page 476: ...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 477: ...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 478: ...Sensor Input Terminals Used to connect temperature sensors such as thermocouples or plati num resistance thermometers 2 DIP Switch Used to set the temperature unit C or F and the number of decimal pl...

Page 479: ...max Conversion time 250 ms for 2 or 4 input points Converted temperature data 16 bit binary data 4 digit hexadecimal Isolation Photocouplers between all temperature input signals Current consumption 5...

Page 480: ...e on page 453 Rotary Switch Setting Caution Set the temperature range according to the type of temperature sensor con nected to the Unit Temperature data will not be converted correctly if the tem per...

Page 481: ...e input circuits is calibrated with 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 temp...

Page 482: ...am Word Allocations Temperature Sensor Units are allocated words in the same way as other CP series Expansion Units or Expansion I O Units in order of connection A Tem perature Sensor Unit is allocate...

Page 483: ...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 automatically when the inpu...

Page 484: ...ocated two bits each Use these flags in the pro gram when it is necessary to detect Expansion Unit Expansion I O Unit errors When an error occurs the Temperature Sensor Unit data becomes 7FFF hex the...

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

Page 486: ...Stores positive BCD data in D0 Stores 0000 in D1 When input 0 converted value is negative 0000 minus two s complement actual value Stores negative BCD data in D0 Stores 0001 in D1 to indicate a negat...

Page 487: ...at as reference data Temperature Data Partitioning and Structure Temperature Data Actual Temperature x 100 Binary CIO 2 D1 1 Negative 0 Non negative 163 162 161 160 0 0 0 1 0 1 0 D0 CY when using SCL2...

Page 488: ...00 B 0 0 1 B Flags Rightmost 3 Digits and Flags Flags Bits Data 15 1 14 0 13 0 12 0 11 to 08 9 07 to 04 8 0 1 8 9 8 1 Flags Normal C Leftmost Normal Rightmost 165 164 163 162 161 160 C Temperature dat...

Page 489: ...guration Leftmost 3 Digits and Flags Flags Bits Data 15 0 14 1 13 0 12 0 11 to 08 F 107 to 04 F 03 to 00 B 4 F F B Flags Rightmost 3 Digits and Flags Flags Bits Data 15 1 14 1 13 0 12 0 11 to 08 1 07...

Page 490: ...11 First Scan Flag MOV 021 2 0020 MOVD 083 2001 0100 D103 2 7FFE CMP 020 1000 00 P_On Always ON Flag P_EQ 100 00 SET 02001 2 2000 1000 00 2 13 open circuit detected 2 15 leftmost digits 2 15 leftmost...

Page 491: ...The binary data in H1 and H0 is converted to BCD and placed in D101 and D100 9 1 is written to the bit in D101 indicating negative data L 411 CIO 2000 CIO 2002 CIO 2 Leftmost 3 digits of temperature d...

Page 492: ...input 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...

Page 493: ...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 494: ...he following table An incorrect setting may cause operating errors The DIP switch is used to set the input type temperature or analog input the input thermocouple type K or J and the temperature unit...

Page 495: ...very If the cold junction compensator is removed the Unit will not be able to measure temperatures correctly SW Setting 1 Thermocouple type of temperature sensor ON J OFF K 2 Temperature unit ON F OFF...

Page 496: ...ote 1 When an input is not being used short the and terminals 2 Separate wiring from power lines AC power supply lines high voltage lines etc 3 When there is noise in the power supply line install a n...

Page 497: ...and 1 V are expressed as two s complements If the input falls below 0 8 V open circuit detection will activate and converted data will be 8000 4 to 20 mA The 4 to 20 mA range corresponds to the hexad...

Page 498: ...le Converted Temperature Data The converted temperature value will be stored in the input words allocated to the Temperature Sensor Unit in 4 digit hexadecimal m is the last input word allocated to th...

Page 499: ...ming example shows how to store the input data of CP1W TS003 4 inputs in D0 to D3 and W10 00 W10 13 turns ON at the time of open circuit detection DIP Switch Setting SW1 OFF K SW2 OFF C SW3 NC SW4 OFF...

Page 500: ...V 021 7FFF 3 300 7FFE 3 305 W10 02 4 D2 MOV 021 7FFF 4 300 7FFE 4 305 W10 03 5 D3 MOV 021 8000 5 300 7FFE 5 305 Detects initialization complete Stores input 0 s data in D0 Stores input 1 s data in D1...

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

Page 502: ...2 Conversion time 500 ms for 12 input points Converted temperature data 16 bit binary data 4 digit hexadecimal 2 decimal place mode is not supported Isolation Photocouplers between any two input signa...

Page 503: ...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 504: ...couple with metallic 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 con...

Page 505: ...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 506: ...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 507: ...mperature 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 W0...

Page 508: ...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 509: ...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 510: ...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 511: ...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 512: ...t bits allo cated to the CompoBus S I O Link Unit are one side of an I O link between the slave CPU Unit and the CPU Unit to which the Master Unit is connected Specifications CP1H CPU Unit Special fla...

Page 513: ...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 514: ...on I O Units that are also connected The Units can be connected in any order from the CPU Unit Indicator Name Color Meaning COMM Communications indicator Yellow ON Communications in progress OFF Commu...

Page 515: ...s of data transmitted from the Master CPU Unit at the same time will not always reach the Slave CPU Unit simultaneously and 8 bits of data transmitted from the Slave CPU Unit at the same time will not...

Page 516: ...supply before changing the DIP switch settings Wiring the CompoBus S Communications Path Wire the CompoBus S communications path as shown in the following dia grams Pin labels Contents 1 2 4 8 DR HOLD...

Page 517: ...8 5 3 Operation Examples 491 8 6 LCD Option Board Function 493 8 6 1 Function Overview 493 8 6 2 PLC Mode 496 8 6 3 I O Memory Setting 497 8 6 4 PLC Setup 502 8 6 5 Analog 504 8 6 6 Error 505 8 6 7 M...

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

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

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

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

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

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

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

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

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

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

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

Page 529: ...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 530: ...ge the PLC Mode from RUN to PRG 1 2 3 1 Switch to the Setup Mode 2 Press the OK button to enter the Mode Screen There is a choice of 3 PLC modes RUN MON PRG The line cursor will point to the present P...

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

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

Page 533: ...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 534: ...creen of I O memory W509 The following table shows the setting items Note If the display format is a decimal number or or the data length is a LongWord user cannot make a setting for bit 12 Move the c...

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

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

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

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

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

Page 540: ...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 541: ...e displayed 6 Press the Down button to select CLR Err 7 Press the OK button to enter the Error Clear Screen 8 Press the Down button to select OK 9 Press the OK button to clear the memory error in the...

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

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

Page 544: ...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 545: ...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 546: ...reen This function can set or delete User Monitor Screen It is possible to register up to 16 screens User can monitor his necessary data in the User Monitor Screen Each User Monitor Screen includes 4...

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

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

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

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

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

Page 552: ...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 553: ...ward button to move the column cursor to the bit state position 4 Press the Down or Up button to change the bit state to ON 5 Press the OK button to save the setting Press the ESC button to return to...

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

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

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

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

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

Page 561: ...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 562: ...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 563: ...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 564: ...time every 1 second to make control bit ON when the timer switch turns OFF the LCD Option Board will send com mand to PLC one time every 1 second to make control bit OFF 2 Move the LCD Option Board f...

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

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

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

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

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

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

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

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

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

Page 574: ...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 575: ...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 576: ...e settings and change it Noise disturbing Retry after the noise is reduced Display too faint Backlight is damaged Replace the LCD Option Board Contrast level is too low or too high Reset the contrast...

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

Page 578: ...544 Trouble Shooting Section 8 7...

Page 579: ...vice Specifications 552 9 5 2 Overview of FINS Communication Service 553 9 6 Part Names 554 9 7 Comparison with Previous Models 555 9 8 Installation and Initial Setup 557 9 8 1 Overview of Startup Pro...

Page 580: ...ion 3 1 or higher to make the routing table Except making the routing table for CP1W CIF41 other functions such as trans ferring the parameters and network structure are not supported by CX Integrator...

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

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

Page 583: ...Communications The following functions have been maintained according to the existing Ether net Unit models for CS CJ series The maximum number of nodes is 254 Communications are enabled even if the...

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

Page 585: ...of Buffers 8K bytes Transfer Media access method CSMA CD Modulation method Baseband Transmission paths Star form Baud rate 100 Mbit s 100Base TX 10 Mbit s 10Base T Half full auto negotiation for each...

Page 586: ...on Server specification Remote IP address spec Server specify IP addresses of clients permitted to connect Automatic FINS node address allocation Specify automatic allocation of client FINS node addre...

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

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

Page 589: ...e PLC and receive responses A computer automatically acquiring IP addresses can send commands to the PLC and receive responses FINS communication with computer without fixed node address Possible with...

Page 590: ...tic client FINS node address allocation function makes it possi ble to connect online to the PLC even if no FINS node address has been set for the host computer FINS message communications are enabled...

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

Page 592: ...to unlock the cover and then pull the cover out 2 Check the alignment to make the corner cut of the Ethernet Option Board fit in the Option Board slot and firmly press the Ethernet Option Board in unt...

Page 593: ...ch DipSW4 of the CPU unit to ON Note DipSW4 and DipSW5 are OFF at shipment Caution In CP1H or CP1L system option board setting should be set to Toolbus 115K to ensure the work normally There are two m...

Page 594: ...mended for use with the Ethernet Option Board Part Maker Model number Specifications Inquires Hub 100BASE TX OMRON W4S1 03B 10 100 Mbit s 3 port hub OMRON W4S1 05B C 10 100 Mbit s 5 port hub PHOE NIX...

Page 595: ...bject to excessive dirt and dust or to oil mist or other contaminants Hub Installation Environment Precautions Do not install the hub near devices that generate noise Do not install the hub in locatio...

Page 596: ...9 8 4 Web Browser Setting Function The Ethernet Option Board s system settings can be set using the Web browser of a personal computer or other device The Ethernet Option Board s Web window is displa...

Page 597: ...3 Installation and Initial Setup Section 9 8 2 Input the default password ETHERNET and click the Login Button 3 Select Settings from the menu on the left side of the window to display the Settings Men...

Page 598: ...em menu 5 Make the required settings i e the IP address in this example 6 After entering the correct values click the Transfer Button to transfer the settings to the Ethernet Option Board 7 To enable...

Page 599: ...that occur at the Ethernet Option Board is reflected as shown in the following diagram Offset D15 D0 m Service Status m 1 Error Status m 2 FINS TCP Connection Status Option Port No I O Capacity Unit...

Page 600: ...place the CPU Unit 5 Reserved Always 0 6 Routing table error Correct the routing tables If the problem cannot be resolved replace the CPU Unit 7 to 13 Reserved Always 0 14 Address disagree ment Make s...

Page 601: ...t IP address 192 168 250 1 Use this IP address to modify the IP address settings through Web browser 4 When the system settings are wrong A525 can be used to reset CP1W CIF41 Refer to Appendix C and A...

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

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

Page 604: ...ower is turned ON or the Ethernet Option Board restarted n 138 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Protect setting Connection No 1 Protect setting Connection No 2 Bit Set...

Page 605: ...nese Before setting users should select the appropriate language in the following ULC English page http Ethernet Option Board s IP address E00 htm Japanese page http Ethernet Option Board s IP address...

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

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

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

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

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

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

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

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

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

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

Page 616: ...om the error log and the most recent error will be recorded The following information is recorded in the error log table Main error code see table later in this section Detailed error code see table l...

Page 617: ...failed Create the routing tables correctly 0110 Too many relay points send failed Reconstruct the network or correct the routing tables so that commands are sent to within a 3 level network range 011...

Page 618: ...The automatic generation static method was used as the IP address conver sion method so remote IP address information in internal memory could not be changed 03C8 Socket Error Arbitrary Resend the pac...

Page 619: ...art the CPU Unit Replace the Ethernet Option Board if the error recurs Flashing CPU Unit fatal error A fatal error occurred in the CPU Unit 0015 Eliminate the cause of the error in the CPU Unit IP add...

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

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

Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...

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

Page 624: ...with a file name Then select Add Device from the Project Menu For each PLC register a PLC with a direct serial connection node address 0 and select it 4 With CX Integrator select Open from the PLC Men...

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

Page 626: ...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 MONITOR or PRO GRAM modes but not in R...

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

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

Page 629: ...as been completed the Online Editing Processing Flag A201 11 will turn OFF Online editing can also be temporarily disabled by turning ON the Online Edit ing Disable Bit A527 09 while online editing is...

Page 630: ...as been executed 2 Sampled data after step 1 above will be traced when the trace trigger condition is met and the data just after the delay see note 1 will be stored in Trace Memory 3 Memory data will...

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

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

Page 633: ...operation 11 1 Error Classification and Confirmation 600 11 2 Troubleshooting 605 11 2 1 Error Processing Flowchart 606 11 2 2 No Operation When Power Is Supplied 606 11 2 3 Fatal Errors 607 11 2 4 CP...

Page 634: ...m Non fatal Error A minor problem has occurred Operation will continue POWER RUN INH PRPHL BKUP ERR ALM POWER green Lit Power is ON Not lit Power is OFF RUN green Lit The CPU Unit is executing a progr...

Page 635: ...play switches at intervals of approximately 1 s If two or more errors occur at the same time the most serious error will be displayed first When that error is cleared the next most serious error will...

Page 636: ...splays for Locations of I O Bus Errors 0 0 0 0 First CJ series Unit 0 0 0 1 Second CJ series Unit 0 f 0 f 8 0 c a I O bus error for CP series Units 0 a 0 a 8 0 c e I O bus error for CJ series Units no...

Page 637: ...0 0 Indirect DM addressing BCD error 0 4 0 0 Illegal area access area 0 8 0 0 No END error 1 0 0 0 Task error 2 0 0 0 Differentiation overflow error 4 0 0 0 Illegal instruction error 8 0 0 0 UM overf...

Page 638: ...interrupt task error occurrence Interrupt task error Example Displays of Unit Numbers for which an Interrupt Task Error Has Occurred 8 0 0 0 Special I O Unit with unit number 1 8 0 0 f Special I O Un...

Page 639: ...6 Duplicate Spe cial I O Unit unit number A411 to A416 Too many I O error 80E1 A401 11 Details for too many I O error A407 I O setting error 80E0 A401 10 Program error 80F0 A401 09 Program error detai...

Page 640: ...nected wiring or poor contacts Check the power supply system and wiring POWER Indicator Lit but No Operation Check the RUN indicator if the POWER indicator is lit but the CPU Unit does not operate The...

Page 641: ...ll be held when the I O Memory Hold Bit is ON but outputs will be turned OFF Memory Errors POWER Lit RUN Not lit ERR ALM Lit INH BKUP PRPHL POWER RUN INH PRPHL BKUP ERR ALM 8 0 f 1 Memory error locati...

Page 642: ...bus error for CJ series Units error location unknown An error has occurred in data transfer for CJ series Units but the error location is not known Check the connections between the CPU Unit CJ Unit A...

Page 643: ...en segment display Probable cause and possible remedy 8 0 e 1 4 0 0 0 The total number of words for CP series Expansion Units and Expansion I O Units exceeds the restriction Configure the system so th...

Page 644: ...when an illegal access error has occurred The following operations are considered illegal access Reading writing the parameter area Writing to an area without memory installed Writing to a write prote...

Page 645: ...uctions not being executed into different tasks Consider using jump instructions for areas in the task that are not executed Prohibit cycle refreshing with Special I O Units that do not require exchan...

Page 646: ...eration i e in RUN or MONITOR mode CPU Unit Indicators Information on the non fatal error can be obtained from the error code on the 7 segment display and from the Error Tab Page of the CX Programmer...

Page 647: ...n None Seven segment display Probable cause and possible remedy 0 0 f 1 A315 15 will turn ON when writing to the internal flash memory fails Replace the CPU Unit when the internal flash memory has bee...

Page 648: ...ration of built in analog I O Replace the CPU Unit if the error is not cleared when the power supply is cycled Error flags Built in Analog I O Error Flag A315 14 Other Non fatal Error Flag A402 00 Err...

Page 649: ...m ber unknown Error flag Special I O Unit Error Flag A402 06 Error code A400 0300 to 035F 03FF Error information Special I O Unit Error Unit Number Flags A418 to A423 Seven segment display Probable ca...

Page 650: ...ce Confirm that the RS 232C port 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 w...

Page 651: ...ing status of the system When 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...

Page 652: ...or make sure that the Unit is refreshed from the program using IORF at least once every 11 s Symptom Cause Remedy Not all inputs turn ON or indi cators are not lit 1 External power is not supplied for...

Page 653: ...n the Input Unit and the loads 3 Terminal block screws are loose Tighten screws 4 Faulty terminal block connector contact Replace terminal block connector Error occurs in units of 8 points or 16 point...

Page 654: ...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 655: ...spection and Maintenance This section provides inspection and maintenance information 12 1 Inspections 622 12 1 1 Inspection Points 622 12 1 2 Unit Replacement Precautions 623 12 2 Replacing User serv...

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

Page 657: ...on nected securely and locked in place No looseness Press the connectors together completely and lock them with the sliders Check that the Option Boards and cable connectors are fully inserted and loc...

Page 658: ...clock and the following data in the retained regions of I O memory while the main power supply is OFF If the battery is not installed or battery voltage drops too low the internal clock will stop and...

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

Page 660: ...ncinerate the battery 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 o...

Page 661: ...nters 100 kHz 4 counters Pulse outputs 2 outputs at 100 kHz 2 outputs at 30 kHz Analog inputs 4 Analog outputs 4 CP1H XA40DT D 24 VDC 16 transistor outputs sinking CP1H XA40DT1 D 16 transistor outputs...

Page 662: ...DAM01 Used to monitor and change user specified messages time or other data of the CPU Unit Ethernet Option Board CP1W CIF41 Can be used to communicate with these units supported OMRON FINS TCP FINS U...

Page 663: ...O Units CP1W 20EDR1 24 VDC 12 inputs 8 relay outputs CP1W 20EDT 8 transistor outputs sink ing CP1W 20EDT1 8 transistor outputs sourcing 16 point Output Units CP1W 16ER None 16 relay outputs CP1W 16ET...

Page 664: ...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 665: ...s 0 to 5 V 1 to 5 V 0 to 10 V 10 to 10 V Resolution 1 8000 CJ1W DA021 2 analog outputs Analog I O Unit CJ1W MAD42 4 analog inputs and 2 analog outputs 0 to 5 V 1 to 5 V 0 to 10 V 10 to 10 V 4 to 20 mA...

Page 666: ...r outputs CJ1W NC133 Line driver outputs CJ1W NC213 2 control axes Open collector outputs CJ1W NC233 Line driver outputs CJ1W NC413 4 control axes Open collector outputs CJ1W NC433 Line driver outputs...

Page 667: ...s 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 End Plate PFP M I...

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

Page 669: ...635 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...

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

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

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

Page 673: ...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 674: ...tput 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 2 Two 4 5 dia holes 50 50 8 8 90 5 5 5 50 5 86 100 0...

Page 675: ...CP1W SRT21 CompoBus S I O Link Unit Products Related to Using CJ series Units CP1W EXT01 CJ Unit Adapter BD L NC BS NC BD H NC BS S COMM ERR No SRT21 EXP 50 8 90 5 5 66 Two 4 5 dia holes 100 0 2 56 0...

Page 676: ...642 Dimensions Diagrams Appendix B CJ1W TER01 End Cover CJ series Special I O Units and CPU Bus Units CJ1W MCH71 14 7 2 7 2 7 90 90 2 7 2 7 31 90 79 8 70 9 65...

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

Page 678: ...Counter PV These words contain the interrupt counter PVs for interrupt inputs operating in counter mode In increment mode the counter PV starts incrementing from 0 When the counter PV reaches the coun...

Page 679: ...ed Updated 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...

Page 680: ...x PV after underflow 80000000 hex Note If the coordinate system uses relative coordinates undefined origin the PV will be cleared to 0 when a pulse output starts i e when a pulse output instruction SP...

Page 681: ...hen this bit is turned ON Read Write Cleared when power is turned ON Pulse Output CW Limit Input Signal Flag This is the CW limit input signal for the pulse output which is used in the origin search T...

Page 682: ...t 4 digits in A262 0 to FFFFFFFF 0 to 429 496 729 5 ms 0 1 ms units Read only Present Cycle Time A264 to A265 These words contain the present cycle time in 8 digit hexadecimal with the leftmost 4 digi...

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

Page 684: ...er defined FALS 007 or system error occurs the 4 digit hexadecimal error code is written to this word Read only Name Address Description Access Updated Memory Error Flag fatal error A401 15 ON when an...

Page 685: ...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 686: ...mit when the number of words allocated to these Units exceeds the limit or when too many CJ series Units are mounted Read only Too Many I O Points Details A407 00 to A407 12 Always 0000 hex Read only...

Page 687: ...error occurred is turned ON Bits 00 to 15 correspond to unit numbers 0 to F Read only CPU Bus Unit Error Flag non fatal error A402 07 ON when an error occurs in a data exchange between the CPU Unit a...

Page 688: ...351 00 to A351 07 Seconds 00 to 59 BCD A351 08 to A351 15 Minutes 00 to 59 BCD A352 00 to A352 07 Hour 00 to 23 BCD A352 08 to A352 15 Day of the month 01 to 31 BCD A353 00 to A353 07 Month 01 to 12 B...

Page 689: ...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 690: ...the next time the Memory Cassette is accessed normally initialized written read or compared A342 13 ON when the Memory Cassette is being accessed OFF when processing has been completed A342 15 ON when...

Page 691: ...nput five times con secutively OFF Protection can be released ON Protection cannot be released Read only Task Read Protection Release Enable Flag A99 13 Indicates when task read protection cannot be r...

Page 692: ...rst Cycle Flags after Net work Communications Fin ished A214 00 to A214 07 Each flag will turn ON for just one cycle after communi cations have been completed Bits 00 to 07 correspond to ports 0 to 7...

Page 693: ...Communications Error Flag is OFF the explicit message end code is stored During communications 0000 hex will be stored and the suitable code will be stored when execution has been completed The code w...

Page 694: ...2 has completed the reception in no protocol mode Read only RS 232C Port Reception Overflow Flag No protocol mode A392 07 ON when a data overflow occurred during reception through the serial port 2 i...

Page 695: ...completed Turned ON Execution started ON Execution in progress OFF Not executed or execution completed Read only Serial Port 2 Modbus RTU Master Execution Normal Flag A640 01 ON when one command has...

Page 696: ...ON Data present Read only Name Address Description Access Updated FB Communications Instruc tion Response Required A580 15 0 Not required 1 Required Read only FB Communications Instruc tion Port No A5...

Page 697: ...e Running Timer 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...

Page 698: ...d ON Disabled Retained Retained When pro tection is set or cleared A99 12 UM Read Pro tection Release Enable Flag Indicates when UM read protection cannot be released because an incorrect password was...

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

Page 700: ...ot available Cleared A203 to A210 All Communica tions Port Completion Codes These words contain the completion codes for the corresponding port numbers when network instructions SEND RECV CMND or PMCR...

Page 701: ...to access Determine the cause of the error according to the Communications Port Completion Codes stored in A203 to A210 Note These flags are not effective until the next cycle after the communications...

Page 702: ...s exe cuted A274 A274 00 High speed Counter 0 Range 1 Com parison Condi tion Met Flag These flags indicate whether the PV is within the specified ranges when high speed counter 0 is being oper ated in...

Page 703: ...son Condi tion Met Flag These flags indicate whether the PV is within the specified ranges when high speed counter 1 is being oper ated in range comparison mode Cleared when operation starts Cleared w...

Page 704: ...leftmost 4 digits and A276 contains the rightmost 4 digits of the pulse output 0 PV A279 contains the leftmost 4 digits and A278 contains the rightmost 4 digits of the pulse output 1 PV Cleared when o...

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

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

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

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

Page 709: ...g I O Error Flag ON when a built in analog I O error occurs and stops the operation of built in analog I O CPU Unit opera tion will continue and the ERR ALM indicator will flash OFF when the error has...

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

Page 711: ...d Counter 3 Range 8 Com parison Condi tion Met Flag A321 08 High speed Counter 3 Comparison In progress Flag This flag indicates whether a com parison operation is being executed for high speed counte...

Page 712: ...from pulse output 2 according to an ACC 888 or PLS2 887 instruction and the output frequency is being changed in steps accelerating or decelerating Cleared when operation starts or stops OFF Constant...

Page 713: ...error ON Stop error occurred Cleared Refreshed when ori gin search starts Refreshed when a pulse out put stop error occurs A327 A327 00 Pulse Output 3 Accel Decel Flag This flag will be ON when pulses...

Page 714: ...while outputting pulses in the pulse output 3 origin search function The Pulse Output 3 Output Stop Error code will be written to A445 OFF No error ON Stop error occurred Cleared Refreshed when ori g...

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

Page 716: ...valid in Periph eral Bus Mode or NT Link mode ON Error OFF No error Retained Cleared Refreshed when error occurs A392 05 Serial Port 2 Send Ready Flag No protocol mode ON when the serial port 2 is ab...

Page 717: ...after the end code was received but before RXD 235 was exe cuted ON when 257 bytes are received before the end code ON Overflow OFF No overflow Retained Cleared A393 A393 00 to A393 07 Serial Port 2...

Page 718: ...defined FALS 006 or system error or a fatal error user defined FALS 007 or system error occurs the 4 digit hexadecimal error code is written to this word When two or more errors occur simultaneously...

Page 719: ...Cleared Cleared Refreshed when error occurs A405 08 A401 11 Too Many I O Points Flag fatal error ON when the number of CP series Expansion Units and Expansion I O Units exceeds the limit when the num...

Page 720: ...n A403 00 to A403 08 and A403 09 will be turned ON if there was an error during auto matic transfer at startup This flag will be turned OFF when the error is cleared The automatic transfer at startup...

Page 721: ...he CPU Unit will flash The location of the error will be written to A406 This flag will be turned OFF when the error is cleared ON Error OFF No error Cleared Cleared Refreshed when error occurs A406 A...

Page 722: ...ON A403 10 Flash Mem ory Error Flag ON when the flash memory is physi cally destroyed ON Error OFF No error Cleared Cleared Refreshed when error is detected A404 All I O Bus Error Details Contains in...

Page 723: ...ror Unit Number Flags When an error occurs in a data exchange between the CPU Unit and an CPU Bus Unit the CPU Bus Unit Error Flag A402 07 is turned ON and the bit in A417 corresponding to the unit nu...

Page 724: ...rcuit Error Flag A434 02 Analog Input 2 Open circuit Error Flag A434 03 Analog Input 3 Open circuit Error Flag OFF No error ON Error Retained Cleared When open cir cuit is detected A434 04 Analog Init...

Page 725: ...gins 8000 to 80FF hexadecimal Cleared Cleared See Func tion col umn A444 All Pulse Output 0 Stop Error Code If a Pulse Output Stop Error occurs for pulse output 0 the error code is written to this wor...

Page 726: ...Pointer A300 to 00 The contents of the Error Log Area itself A100 to A199 are not cleared This bit is automatically reset to 0 after the Error Log Pointer is reset OFF to ON Clear Retained Cleared A10...

Page 727: ...stablished A508 15 Sampling Start Bit When a data trace is started by turn ing this bit ON from the CX Program mer the PLC will begin storing data in Trace Memory by one of the three following methods...

Page 728: ...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 729: ...eripheral Bus Mode This bit is turned OFF automatically when the restart processing is com pleted OFF to ON Restart Retained Cleared A526 01 Serial Port 1 Restart Bit Turn this bit ON to restart the s...

Page 730: ...or FALS 007 When FAL 006 or FALS 007 is exe cuted and the number in A529 is the same as the one specified in the operand of the instruction the sys tem error given in the operand of the instruction wi...

Page 731: ...tomatically reset to 0 In decrement mode the counter PV starts decrementing from the counter SV When the counter PV reaches the 0 the PV is automatically reset to the SV Cleared when operation starts...

Page 732: ...to this flag Cleared A542 09 Pulse Out put 2 CCW Limit Input Signal Flag This is the CCW limit input signal for pulse output 2 which is used in the origin search To use this signal write the input fr...

Page 733: ...value to count before starting the interrupt task When interrupt counter 7 has counted the set number of pulses interrupt task 147 will be started Retained A548 All Interrupt Counter 4 Counter PV Sto...

Page 734: ...e words for the subroutine are transferred to A600 through A603 input parameter words Input data 4 words Cleared Cleared A604 to A607 All Macro Area Output Words After the subroutine specified in MCRO...

Page 735: ...OFF automatically by the system when communications have been completed Turned ON Execution started ON Execution in progress OFF Not exe cuted or execu tion completed Retained Cleared DM fixed alloca...

Page 736: ...99 See at left Retained Retained Written when power is turned ON A729 to A731 All Power ON Clock Data 4 These words contain the time at which the power was turned ON four times before the startup time...

Page 737: ...A747 08 to A747 15 Minutes 00 to 59 A748 00 to A748 07 Hour 00 to 23 A748 08 to A748 15 Day of month 00 to 31 A749 00 to A749 07 Month 01 to 12 A749 08 to A749 15 Year 00 to 99 See at left Retained R...

Page 738: ...tion when a bit is shifted into the Carry Flag etc Greater Than Flag Turns ON when the result of comparing two values is greater than when a value exceeds a specified range etc Equals Flag Turns ON wh...

Page 739: ...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 740: ...ile the task is being executed and will not turn ON if following cycles Classification Error code Meaning Error flags System defined fatal errors 80F1 Memory error A403 80C0 to 80C7 80CE 80CF I O bus...

Page 741: ...abled Flags A200 15 1 cycle Executed Executable status Online edit processing A201 10 Wait Online editing wait flag CMN SEND PMCR Port 0 Port 1 Port 7 Network communications in struction executed for...

Page 742: ...A302 00 to A302 15 CPU Bus Unit Initialization Flags Error record 1 Error record 20 Example Stored Stored Points to the next record to be used Stored next 00 to 14 hex A302 01 A501 01 or at startup Un...

Page 743: ...Error Flag A295 15 Illegal Instruction Flag A295 14 Distribution Overflow Error Flag A295 13 Task Error Flag A259 12 No END 001 Error Flag A295 11 Illegal Area Access Error Flag A295 10 Indirect DM Ad...

Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...

Page 745: ...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 746: ...Auxiliary Area 0BA00 to 0BBFF A448 to A959 Read Write Auxiliary Area 0BC00 to 0BDFF Reserved for system 0BE00 to 0BEFF T0000 to T4095 Timer Completion Flags 0BF00 to 0BFFF C0000 to C4095 Counter Compl...

Page 747: ...ns when wiring communications cables PLC power lines and high power lines When multi conductor signal cable is being used avoid using I O wires and other control wires in the same cable If wiring rack...

Page 748: ...cting to a CP series CPU Unit turn OFF pin 5 and turn ON pin 6 Communications cables PLC power supply and general control circuit wiring Power lines 200 mm min Ground to 100 or less Steel sheet metal...

Page 749: ...connection examples in the remainder of this section show only the basic connection diagrams We rec ommend that appropriate noise countermeasures be taken in actual applications including the use of...

Page 750: ...ternal device may damage the RS 232C Option Board or the external device 5 V power D sub 9 pin connector male NT AL001 Link Adapter Shield RS 232C Interface RS 232C Option Board Signal Signal Pin DIP...

Page 751: ...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 752: ...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 753: ...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 754: ...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 755: ...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 756: ...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 of...

Page 757: ...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 758: ...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 759: ...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 760: ...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 761: ...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 762: ...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 763: ...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 764: ...e the CP1W CIF11 If the CP1W CIF12 or NT AL001 is used the total transmission distance for the whole transmission path is 500 m max Connection with an RS 232C Port RS 232C connection is also possible...

Page 765: ...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 766: ...or less 4 A connection example is shown below Example Twisted pair Cable Connecting SD SG RD SG RTS SG and CTS SG Terminals in Toolbus Mode Note The Hood FG is internally connected to the ground termi...

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

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

Page 769: ...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 770: ...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 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...

Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...

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

Page 774: ...ckground Do not execute in back ground Execute in back ground At start of operation 198 15 0 1 2 String data process instructions Do not execute in background Do not execute in back ground Execute in...

Page 775: ...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 776: ...4 hex 8 ms 15 hex 16 ms 16 hex 32 ms 17 hex 2 1CH CIO 1 Same as above Same as above Same as above 10 08 to 15 Same as above 3 2CH CIO 2 11 00 to 07 4 3CH CIO 3 11 08 to 15 5 4CH CIO 4 12 00 to 07 6 5C...

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

Page 778: ...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 2 E 8 bit data 2 stop bits even parity 8 hex 8 2 O 8 bit...

Page 779: ...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 144 00 to 03 0 hex 7 2 O 7 bit data 2 stop bits odd parity 1 hex 7 2 N 7 bit data 2 stop bits...

Page 780: ...ycle 151 00 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 145 00 to 07 00 hex 115 200 high speed 0A hex 2 7 2 Link Words 10 default 1 10 default Ever...

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

Page 782: ...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 2 E 8 bit data 2 stop bits even parity 8 hex 8 2 O 8 bit data 2...

Page 783: ...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 00 to 03 0 hex 7 2 O 7 bit data 2 stop bits odd parity 1 hex 7 2 N 7 bit data 2 stop bits...

Page 784: ...ycle 167 00 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 00 to 07 00 hex 115 200 high speed 0A hex 2 7 2 Link Words 10 default 1 10 default Ever...

Page 785: ...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 786: ...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 787: ...l Normal When power is turned ON 59 04 to 07 0 hex Interrupt 1 hex Quick 2 hex 7 IN6 CIO 1 02 Normal Normal When power is turned ON 59 08 to 11 0 hex Interrupt 1 hex Quick 2 hex 8 IN7 CIO 1 03 Normal...

Page 788: ...C 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 NO 1 hex 1 7 Search High Speed 0 pps disabled 1 pps At start of...

Page 789: ...273 00 to 15 0001 hex 65535 pulses 4 ms FFFF hex Name Default Settings When setting is read by CPU Unit Internal address Bits Settings 1 Undefined Origin oper ation for limit signal turn ing ON Hold...

Page 790: ...C 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 NO 1 hex 1 7 Search High Speed 0 pps disabled 1 pps At start of...

Page 791: ...led 1 pulses 4 ms At start of operation 291 00 to 15 0001 hex 65535 pulses 4 ms FFFF hex Name Default Settings When setting is read by CPU Unit Internal address Bits Settings 1 Undefined Origin oper a...

Page 792: ...art of operation 392 08 to 11 0 hex NO 1 hex 1 6 Proximity Input Signal NC NC At start of operation 392 04 to 07 0 hex NO 1 hex 1 7 Search High Speed 0 pps disabled 1 pps At start of operation 385 and...

Page 793: ...397 00 to 15 0001 hex 65535 pulses 4 ms FFFF hex Name Default Settings When setting is read by CPU Unit Internal address Bits Settings 1 Undefined Origin oper ation for limit signal turn ing ON Hold H...

Page 794: ...hex NO 1 hex 1 6 Proximity Input Signal NC NC At start of operation 410 04 to 07 0 hex NO 1 hex 1 7 Search High Speed 0 pps disabled 1 pps At start of operation 403 and 402 00 to 15 0000 0001 hex 30 0...

Page 795: ...ead by CPU Unit Internal address Bits Settings 1 Built in analog resolution for all analog I O 6 000 Resolution 6 000 Resolution When power is turned ON 75 15 0 12 000 Resolution 1 Name Default Settin...

Page 796: ...Use averaging Do not use Do not use When power is turned ON 77 14 0 Use 1 Name Default Settings When setting is read by CPU Unit Internal address Bits Settings 1 Analog Input 0 Use Do not use Do not u...

Page 797: ...ration 227 15 0 Enable 1 48 SIOU 47 Disable Disable At start of operation 228 15 0 Enable 1 64 SIOU 63 Disable Disable At start of operation 229 15 0 Enable 1 80 SIOU 79 Disable Disable At start of op...

Page 798: ...Address 0 0 Every cycle 449 08 to 15 00 hex 127 7F hex 1 1 2 Node Address 1 1 Every cycle 449 00 to 07 01 hex 254 FE hex All nodes FF hex 1 2 Nodes excluded from protection tar gets 1 2 1 Network Addr...

Page 799: ...r CP1H CPU Units CPU Units Expansion I O Units Total Limit 1st unit 2nd unit 3rd unit Model CP1H XA40DR A Model CP1W DA041 3 units Model CP1W 40EDR 1 unit None 5V 0 42A 0 24A 0 08A 0 0A 0 47A 2 0A 24V...

Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...

Page 801: ...ations Port Enabled Flags 707 complete link method 350 Condition Flag saving and loading status 183 Condition Flags 181 connectors recommended models 560 coordinate systems absolute or relative 249 Co...

Page 802: ...shooting 599 Expansion I O Racks troubleshooting 618 external interrupts response time 103 F failure point detection 384 FAL Error Flag 651 FAL errors flag 687 FAL FALS Number for System Error Simulat...

Page 803: ...IOM Hold Bit 151 643 692 IORF 097 refreshing input bits and words 87 IR DR Operation between Tasks 649 IR00 Output for Background Execution 661 L Less Than Flag 182 Less Than or Equals Flag 182 Limit...

Page 804: ...replacing parts 624 peripheral port related flags bits 683 PLC Setup error information 652 Polled Units settings 354 Polling Unit setting 354 Polling Unit link method 350 positioning vertically convey...

Page 805: ...ated flags 355 356 simulating system errors 651 software reset 216 Special I O Unit Area 162 Special I O Units error information 661 Initialization Flags 648 680 Restart Bits 648 692 words allocated t...

Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...

Page 807: ...Information added on pulse output method Page 270 Information added on first pulse frequency word Pages 271 and 273 Information added on first settings table word Pages 375 to 384 Information added on...

Page 808: ...774 Revision History...

Page 809: ......

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