background image

Cat. No. W450-E1-06

CP1H CPU Unit

SYSMAC CP Series
CP1H-X40D_-_
CP1H-XA40D_-_
CP1H-Y20DT-D

OPERATION MANUAL

Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007

Page 1: ...Cat No W450 E1 06 CP1H CPU Unit SYSMAC CP Series CP1H X40D_ _ CP1H XA40D_ _ CP1H Y20DT D OPERATION MANUAL...

Page 2: ......

Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...

Page 4: ...iv...

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

Page 6: ...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 dev...

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: ...menclature and Specifications 41 2 1 Part Names and Functions 42 2 2 Specifications 48 2 3 CP1H CPU Unit Operation 74 2 4 CPU Unit Operation 82 2 5 CPU Unit Operating Modes 87 2 6 Power OFF Operation...

Page 12: ...1 Interrupt Functions 184 5 2 High speed Counters 208 5 3 Pulse Outputs 228 5 4 Quick response Inputs 320 5 5 Analog I O XA CPU Units 323 SECTION 6 Advanced Functions 337 6 1 Serial Communications 338...

Page 13: ...2 Differential Monitoring 523 9 3 System Configuration 524 9 4 Specifications 525 9 5 FINS Communications 526 9 6 Part Names 528 9 7 Comparison with Previous Models 529 9 8 Installation and Initial Se...

Page 14: ...ppendices 601 A Standard Models 601 B Dimensions Diagrams 609 C Auxiliary Area Allocations by Function 619 D Auxiliary Area Allocations by Address 639 E Memory Map 685 F Connections to Serial Communic...

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: ...S DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE...

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

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

Page 22: ...xxii...

Page 23: ...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: ...ing or abnormal signals caused by broken signal lines momentary power interruptions or other causes Not doing so may result in serious accidents WARNING Do not apply the voltage current outside the sp...

Page 26: ...n Flags and HR Area can be held during power interruptions with a battery If there is a battery error the contents of these areas may not be accurate after a power interruption If the contents of the...

Page 27: ...removing the Memory Cassette or Option Board Setting DIP switches or rotary switches Connecting or wiring the cables Connecting or disconnecting the connectors Caution Failure to abide by the followi...

Page 28: ...ansferring to the new CPU Unit and or Spe cial I O Units the contents of the DM HR and CNT Areas required for resuming operation Not doing so may result in an unexpected operation Confirm that no adve...

Page 29: ...the PLC while the Memory Cassette is being accessed Doing so may corrupt the data in the Memory Cas sette The 7 segment LED will light to indicate writing progress while the Memory Cassette is being...

Page 30: ...Conformance to EC Directives 6 1 Applicable Directives EMC Directives Low Voltage Directive 6 2 Concepts EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC sta...

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: ...d 2 Connection 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...

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: ...tput specifica 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 different...

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: ...24 inputs 16 relay outputs 380 g max CP1W 40EDT CPM1A 40EDT 16 transistor outputs sinking 320 g max CP1W 40EDT1 CPM1A 40EDT1 16 transistor outputs sourcing CP1W 32ER None 32 relay outputs 465 g max C...

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

Page 54: ...outputs CP1W 16ER CPM1A 16ER None 2 0 042 A 0 090 A CP1W 16ET 0 076 A CP1W 16ET1 8 inputs CP1W 8ED CPM1A 8ED 1 None 0 018 A 8 outputs CP1W 8ER CPM1A 8ER None 1 0 026 A 0 044 A CP1W 8ET CPM1A 8ET 0 075...

Page 55: ...2 04 06 08 10 00 02 04 06 08 10 00 01 02 03 04 06 00 01 03 04 06 COM COM COM COM 05 07 COM 02 COM 05 07 IN OUT DIN Track PFP M End Plates CP1W EXT01 CJ Unit Adapter CJ series CPU Bus Units Special I O...

Page 56: ...Output Units CJ1W DA041 021 0 12 A 150 g max CJ1W DA08V 0 14 A Analog I O Unit CJ1W MAD42 0 58 A 150 g max Process Input Units CJ1W PTS51 52 0 25 A 150 g max CJ1W PTS15 16 0 18 A CJ1W PDC15 0 18 A Tem...

Page 57: ...two CJ series Special I O Units or CPU Bus Units can be con nected to the CP1H via a CJ Unit Adapter No CJ series Basic I O Units can be connected Example Calculating the Limit on the Number of Connec...

Page 58: ...age 26 4 V 55 Ambient temperature C 100 55 Ambient temperature C 100 75 47 55 Ambient temperature C 100 67 47 55 Ambient temperature C Input voltage 24 V Input voltage 26 4 V 100 75 47 55 Ambient temp...

Page 59: ...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 60: ...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 61: ...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 62: ...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 63: ...29 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 64: ...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 65: ...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 66: ...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 67: ...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 68: ...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 69: ...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 70: ...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 71: ...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 72: ...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 Serial PLC Link communications Note 2 With Modbus RTU e...

Page 73: ...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 74: ...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 75: ...ansfers 80 2 4 CPU Unit Operation 82 2 4 1 General Flow 82 2 4 2 I O Refreshing and Peripheral Servicing 83 2 4 3 I O Refresh Methods 84 2 4 4 Initialization at Startup 86 2 5 CPU Unit Operating Modes...

Page 76: ...minal block 12 Option Board slots 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 Connector...

Page 77: ...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 78: ...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 79: ...nk 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 Output...

Page 80: ...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 81: ...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 82: ...ontrol selection for RD See note 2 OFF RS control disabled Data always received 6 ON RS control enabled RS control selection for SD See note 3 OFF RS control disabled Data always sent O N 1 2 3 4 5 6...

Page 83: ...C power supplies Dielectric 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...

Page 84: ...l interrupt 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 Ri...

Page 85: ...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 86: ...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 87: ...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 88: ...roximity input signal 04 Normal input 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 c...

Page 89: ...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 90: ...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 91: ...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 92: ...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 93: ...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 94: ...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 and CIO 101 02 to CIO 101 07 Sourcing Outputs Item Specification CIO 100 00 to CIO 100 0...

Page 95: ...PWM Outputs CIO 101 00 and CIO 101 01 2 2 4 Built in Analog I O Specifications XA CPU Units Only Analog I O Terminal Block Arrangement Note Do not connect the shield Item Specification Max switching c...

Page 96: ...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 97: ...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 98: ...oxim ity input signal Input terminal block Input operation setting High speed counter operation setting Origin search function Word Terminal Bit Normal inputs Interrupt inputs See note Quick response...

Page 99: ...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 100: ...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 101: ...be used in the PLC Setup and an origin search is executed by the ORG instruction When the PWM instruction is executed Terminal Word Bit Normal output Fixed duty ratio pulse output Variable duty ratio...

Page 102: ...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 103: ...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 104: ...fication Input voltage 24 VDC 10 15 Input impedance 4 7 k Input 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 m...

Page 105: ...current 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...

Page 106: ...output 4 5 to 30 VDC 0 3 A output OUT00 01 4 5 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...

Page 107: ...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 108: ...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 109: ...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 110: ...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 111: ...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 112: ...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 113: ...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 114: ...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 115: ...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 116: ...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 117: ...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 118: ...s 1 2 3 1 Cyclic refresh period 2 When instructions with an immediate refresh variation are executed 3 When IORF 097 is executed Cyclic Refreshing I O is refreshed after all the instructions in execut...

Page 119: ...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 120: ...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 121: ...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 122: ...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 123: ...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 124: ...ted voltage or less for AC power 90 of the rated voltage or less or DC power 0 to 10 ms for AC 0 to 2 ms for DC Greater than 10 ms for AC Greater than 2 ms for DC Operation will continue or stop depen...

Page 125: ...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 126: ...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 127: ...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 128: ...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 129: ...96 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 every cycle and is recorded in 32 bit bina...

Page 130: ...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 are used Serial Commu nications U...

Page 131: ...is determined by the following conditions Number of steps changed Editing operations insert delete overwrite Types of instructions Item Details CP1H CPM1A 40EDR 40 pt I O Unit 2 Units CPM1A 20EDT 20 p...

Page 132: ...esult to be output to an output terminal 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 ti...

Page 133: ...nse 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 134: ...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 min No...

Page 135: ...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 136: ...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 137: ...3 Connecting CJ series Units 113 3 3 4 DIN Track Installation 114 3 4 Wiring CP1H CPU Units 116 3 4 1 Wiring Power Supply and Ground Lines 117 3 4 2 Wiring Built in I O 119 3 4 3 Wiring Safety and No...

Page 138: ...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 139: ...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 140: ...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 141: ...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 142: ...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 143: ...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 144: ...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 145: ...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 146: ...xpansion I O Unit s expansion 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 Expa...

Page 147: ...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 148: ...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 149: ...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 150: ...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 151: ...range Note 1 Before connecting the power supply make sure that the CPU Unit re quires an AC power supply and not a DC power supply The CPU Unit s internal circuitry will be damaged if AC power is mist...

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

Page 153: ...power supply wiring Use crimp terminals or solid wire for wiring Do not connect bare stranded wires directly to terminals Tighten the terminal block screws to the torque of 0 5 N m Use crimp terminals...

Page 154: ...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 155: ...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 156: ...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 157: ...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 158: ...r 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 speed counter 0 t...

Page 159: ...utputs 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 CIO 100 CIO 1...

Page 160: ...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 161: ...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 162: ...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 163: ...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 164: ...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 165: ...m 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 occurs the instability can be rem...

Page 166: ...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 167: ...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 40 point I O Units CP1W 40EDR CPM1A 40EDR 24 24 VDC inputs 16 re...

Page 168: ...sistor 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...

Page 169: ...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 CIO n 1 C...

Page 170: ...al 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 3 CIO n 4...

Page 171: ...put Units CP1W 16E CPM1A 16E Output Wiring CP1W 16ER CPM1A 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...

Page 172: ...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 07 COM 01 03...

Page 173: ...PM1A 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 U...

Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...

Page 175: ...sion Units and Expansion I O Units 152 4 2 5 I O Allocation Examples 156 4 3 Built in Analog I O Area XA CPU Units Only 157 4 4 Data Link Area 158 4 5 CPU Bus Unit Area 159 4 6 Special I O Unit Area 1...

Page 176: ...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 177: ...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 178: ...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 179: ...tead of the DeviceNet Area Internal I O Area These words can be used in programming they cannot be used for I O exchange with external I O terminals Be sure to use the work words provided in the Work...

Page 180: ...CP1H Programming Manual for details Data Memory Area D The DM Area is a multi purpose data area that is normally accessed only in word units These words retain their content when the PLC is turned ON...

Page 181: ...F Flags The Condition Flags are specified with symbols 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...

Page 182: ...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 183: ...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 184: ...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 185: ...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 186: ...and 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...

Page 187: ...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 CPM1A 20EDR1 12 bits 1 wor...

Page 188: ...utput Expansion Output Unit No input words are allocated Output bits 08 to 15 can be used as work bits Units with 40 I O Points CPM1A 40ED 40EDT 40ED Twenty four input bits in two words are allocated...

Page 189: ...S I O Link Units CP1W SRT21 CPM1A 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...

Page 190: ...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 191: ...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 192: ...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 193: ...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 194: ...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 195: ...ed 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 Programmer 4 When PLC operation is...

Page 196: ...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 197: ...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 198: ...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 199: ...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 200: ...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 201: ...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 202: ...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 203: ...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 204: ...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 205: ...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 206: ...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 207: ...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 208: ...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 209: ...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 210: ...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 211: ...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 212: ...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 213: ...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 214: ...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 215: ...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 216: ...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 217: ...5 5 2 4 PLC Setup 216 5 2 5 High speed Counter Terminal Allocation 216 5 2 6 Pulse Input Connection Examples 219 5 2 7 Ladder Program Example 220 5 2 8 Additional Capabilities and Restrictions 223 5 3...

Page 218: ...uts and executes the corresponding interrupt task when the count reaches the SV The maximum input response frequency for input interrupts in counter mode is 5 kHz Scheduled Interrupts This function ex...

Page 219: ...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 220: ...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 221: ...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 222: ...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 223: ...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 224: ...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 225: ...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 226: ...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 227: ...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 228: ...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 229: ...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 230: ...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 231: ...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 232: ...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 233: ...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 234: ...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 235: ...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 236: ...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 237: ...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 238: ...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 239: ...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 240: ...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 241: ...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 242: ...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 243: ...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 244: ...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 245: ...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 246: ...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 247: ...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 248: ...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 249: ...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 250: ...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 251: ...ent 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 counter 0 Phas...

Page 252: ...ection input High speed counter 2 Phase Z or Reset input Upper Terminal Block Inputs CIO 0 Inputs CIO 1 High speed counter terminals High speed counter 2 Phase A Increment or Count input High speed co...

Page 253: ...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 254: ...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 255: ...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 256: ...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 257: ...he high speed counters are operating in Incrementing or Up Down Input Modes 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 FFF...

Page 258: ...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 259: ...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 260: ...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 261: ...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 262: ...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 263: ...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 264: ...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 265: ...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 266: ...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 267: ...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 268: ...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 269: ...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 270: ...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 271: ...ut signal open collector 03 Normal input 9 Interrupt 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...

Page 272: ...pulses are being output accord ing to an ACC 888 or PLS2 887 instruc tion and the output frequency is being changed in steps accelerating or deceler ating 0 Constant speed 1 Accelerating or decelerat...

Page 273: ...ncy higher or lower of the pulse output in one step SPED 885 Continu ous SPED 885 Continu ous Port Continu ous Target fre quency Change speed smoothly Changing the speed smoothly during operation Chan...

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

Page 275: ...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 276: ...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 277: ...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 278: ...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 279: ...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 280: ...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 281: ...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 282: ...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 283: ...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 284: ...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 285: ...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 286: ...ations The INT function extracts an integer from the fraction The non integer remainder is rounded Source clock frequency Dividing ratio Clock frequency x 2 Set frequency Set frequency kHz x 2 Actual...

Page 287: ...0 000 41 481 927 to 493 827 487 804 99 201 005 to 203 045 202 020 100 199 004 to 201 005 200 000 101 197 044 to 199 004 198 019 200 99 750 to 100 250 100 000 164 99 696 to 100 000 100 000 201 99 255 t...

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

Page 289: ...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 290: ...gin Proximity Input Signal goes from OFF ON OFF 1 Read the Origin Input Signal after the Origin Proximity Input Signal goes from OFF ON 2 Just read the Origin Input Signal with out using the Origin Pr...

Page 291: ...d NC Line driver 3 Normally open NO Line driver Y CPU Units Pulse outputs 2 and 3 0 Normally closed NC 1 Normally open NO When power is turned ON Positioning monitor time 0000 to 270F hex 0 to 9 999 m...

Page 292: ...In this operating mode the Origin Input Signal will be detected if it is received during this deceleration and an Origin Input Signal Error error code 0202 will be generated In this case the motor wi...

Page 293: ...o 30 ms When the Origin Proximity Input Signal 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 wi...

Page 294: ...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 295: ...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 296: ...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 297: ...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 298: ...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 299: ...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 300: ...d Sets the motor s speed after the Origin Proximity Input Signal is detected Specify the speed in the number of pulses per second pps Origin Search Acceleration Rate Sets the motor s acceleration rate...

Page 301: ...ioning opera tion has been completed i e the pulse output has been completed A Posi tioning Timeout Error error code 0300 will be generated if the motor driver s Positioning Completed Signal does not...

Page 302: ...n Function Pulse output number 0 1 2 3 Output Stopped Error Flags ON when an error occurred while outputting pulses in the origin search function 0 No error 1 Stop error occurred A280 07 A281 07 A326...

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

Page 304: ...OFF Origin search direction 0 CW direction System Configuration Instructions Used ORG 889 I O Allocations Example X XA CPU Units Inputs CW limit detection sensor Origin Proximity Input sensor Workpiec...

Page 305: ...tput 0 Origin Search Operating Mode 1 hex Mode 1 Pulse Output 0 Origin Search Operation Setting 0 hex Reverse mode 1 Pulse Output 0 Origin Detection Method 0 hex Origin detection method 0 Pulse Output...

Page 306: ...to the target speed moving at the target speed and then decelerating to a stop at the origin position ORG 0000 0000 CW limit detection sensor 1 06 CW Limit Input Signal 1 07 CCW limit detection sensor...

Page 307: ...for both pulse output 0 and pulse output 1 Various origin return parameter settings Execution of ORG 889 To specify the origin return operation set bits 12 to 15 of the second operand to 1 hex Determi...

Page 308: ...n and CW CCW method 1000 Origin search and pulse direction method 1100 Determine the pulse output method output frequency and port Pulse output method CW CCW inputs Pulse outputs 0 to 3 Pulse directio...

Page 309: ...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 310: ...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 311: ...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 312: ...creating stepwise changes in the speed Operand Contents P Port specifier 0000 Pulse output 0 0001 Pulse output 1 0002 Pulse output 2 0003 Pulse output 3 T Pulse type 0000 Relative pulse output 0001 Ab...

Page 313: ...method See note 0 hex CW CCW 1 hex Pulse direction Bits 12 to 15 Not used Always 0 hex F First pulse frequency word F and F 1 contain the pulse frequency setting in units of 1 Hz F contains the rightm...

Page 314: ...5 Hz Specify the increase or decrease in the frequency per pulse control period 4 ms S 1 and S 2 S and S 1 contain the target frequency setting in units of 1 Hz S 1 contains the rightmost 4 digits and...

Page 315: ...Bits 0 to 3 Mode 0000 Relative pulse output 0001 Absolute pulse output Bits 4 to 7 Direction 0 hex CW 1 hex CCW Bits 8 to 11 Pulse output method See note 0 hex CW CCW 1 hex Pulse direction Bits 12 to...

Page 316: ...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 317: ...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 318: ...Flag Note This section explains the functions related to pulse outputs only For details on the PRV 881 instruction s high speed counter or interrupt functions refer to 5 1 Interrupt Functions or 5 2 H...

Page 319: ...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 320: ...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 321: ...deceleration The acceleration deceleration rate can be changed The rate can even be changed during acceleration or deceleration The output mode and direction cannot be switched 8 PLS2 887 to PLS2 887...

Page 322: ...0 interrupt task number 140 starts a scheduled interrupt with a scheduled time of 0 5 ms The scheduled interrupt task executes the pulse output instructions and stops the scheduled interrupt PWM outpu...

Page 323: ...6 Sets the number of output pulses SPED 885 Starts the pulse output Preparation PLC Setup Built in Input Settings Pulse Output 0 Settings PLC Setup setting details Use built in input 0 00 as the inter...

Page 324: ...setting units in the PLC Setup PLC Setup setting details Data Set the scheduled interrupt time units to 0 1 ms 0002 hex 0000 0100 MSKS 690 P_First_Cycle_Task Task Start Flag Built in interrupt input 0...

Page 325: ...886 0000 P_On Always ON Flag Pulse output 0 Relative pulse specification Number of output pulses 100 000 pulses Pulse output 0 Specifies CW CCW outputs CW direction and independent mode Target freque...

Page 326: ...rated at a constant speed for a short time between the acceleration and deceleration Jog Operation Specifications and Operation Low speed jog operation CW will be executed from pulse output 1 while in...

Page 327: ...be made in the PLC Setup DM Area Settings Settings to Control Speed while Jogging D0 to D1 and D10 to D15 Target frequency 100 000 Hz CW High speed jog 1 06 CCW high speed jog 1 07 Acceleration de ce...

Page 328: ...200 01 SPED 885 0010 RSET 200 01 Low speed CW Start Pulse Output in Progress Pulse output 1 Specifies CW CCW output method CW side and continuous mode Target frequency Low speed CW output in progress...

Page 329: ...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 330: ...imes 6 When the operation has been completed the Cutting Operation Finished Output OUT 101 01 is turned ON The feeding operation can be canceled and operation stopped at any point using the Emergency...

Page 331: ...etting details Address Data Acceleration rate 1 000 Hz 4 ms D10 03E8 Deceleration rate 1 000 Hz 4 ms D11 03E8 Target frequency 10 000 Hz D12 2710 D13 0000 Number of output pulses 50 000 pulses D14 C35...

Page 332: ...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 333: ...SPED 885 for the jog operation If ACC 888 is used acceleration deceleration can be included in the jog op eration Vertically Conveying PCBs Multiple Progressive Positioning Specifications and Operatio...

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

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

Page 336: ...S2 887 for Fixed distance Positioning D0 to D7 Settings for PLS2 887 to Return to Start D10 to D17 Setting details Enable origin search function for pulse output 0 Setting details Address Data Acceler...

Page 337: ...eats of Fixed distance Positioning Operation D20 Starting frequency 100 Hz D16 0000 D17 0000 Setting details Address Data Setting details Address Data Number of repeats of fixed distance positioning o...

Page 338: ...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 339: ...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 340: ...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 341: ...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 342: ...p switch CIO 0 05 CW CW ECRST ECRST CCW CCW 1 6 k 1 6 k 1 6 k Shell Servo Driver RUN input Servo Driver alarm reset input 1 2 5 6 8 13 14 18 10 35 34 7 CW CW ECRST ECRST INP 33 ZCOM 32 Z 24VIN RUN RES...

Page 343: ...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 344: ...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 345: ...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 346: ...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 347: ...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 348: ...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 349: ...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 350: ...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 351: ...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 352: ...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 353: ...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 354: ...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 355: ...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 356: ...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 357: ...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 358: ...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 359: ...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 360: ...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 361: ...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 362: ...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 363: ...tion 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...

Page 364: ...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 365: ...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 366: ...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 367: ...2 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 368: ...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 369: ...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 370: ...336 Analog I O XA CPU Units Section 5 5...

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

Page 372: ...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 373: ...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 374: ...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 375: ...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 376: ...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 377: ...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 378: ...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 379: ...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 380: ...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 381: ...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 382: ...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 383: ...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 384: ...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 385: ...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 386: ...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 387: ...l Port 1 Restart Bit A526 01 Turn ON this bit to restart serial port 1 Read write Cleared when power is turned ON Turn ON to restart serial port 1 except when communicating in peripheral bus mode Note...

Page 388: ...l Port 2 Restart Bit A526 00 Turn ON this bit to restart Serial Port 2 Read write Cleared when power is turned ON Turn ON to restart Serial Port 2 except when communicating in peripheral bus mode Note...

Page 389: ...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 390: ...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 391: ...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 392: ...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 393: ...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 394: ...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 395: ...and PV 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 tim...

Page 396: ...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 397: ...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 398: ...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 399: ...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 400: ...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 401: ...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 402: ...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 403: ...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 404: ...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 The data to be verified can be specified individually Th...

Page 405: ...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 406: ...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 407: ...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 408: ...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 409: ...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 410: ...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 411: ...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 412: ...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 413: ...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 414: ...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 415: ...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 416: ...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 417: ...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 418: ...en IOM Hold Bit OFF all outputs from Output Units are turned OFF when the operating mode is changed from RUN MONITOR mode to PROGRAM mode The Output OFF Bit can be used to turn OFF all outputs without...

Page 419: ...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 420: ...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 421: ...O Units 7 1 Connecting CP series Expansion Units and Expansion I O Units 388 7 2 Analog Input Units 389 7 3 Analog Output Units 398 7 4 Analog I O Units 406 7 4 1 CPM1A MAD01 Analog I O Units 406 7 4...

Page 422: ...4 2 Analog Output Unit CP1W DA041 CPM1A DA041 80 124 4 Analog I O Unit CPM1A MAD01 66 66 2 1 CP1W MAD11 CPM1A MAD11 83 110 Temperature Control Unit CP1W TS001 CPM1A TS001 40 59 2 CP1W TS101 CPM1A TS1...

Page 423: ...output words so a maximum of three Units can be connected Part Names CP1W AD041 CPM1A AD041 1 Analog Input Terminals Connected to analog output devices CP1H CPU Unit Expansion I O Unit 40 I O points...

Page 424: ...e 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 common 3 V IN4 Voltage input...

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

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

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

Page 428: ...nputs 1 2 Set data inputs 3 4 Analog input 3 conversion value Analog input 4 conversion value Analog Input Unit Ladder program Analog input 1 conversion value Analog input 2 conversion value Analog de...

Page 429: ...4 When there is noise in the power supply line install a noise filter on the input section and the power supply 5 Refer to the following information on open circuits when using voltage in puts 2 Wiri...

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

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

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

Page 433: ...are connected to a CP1H CPU Unit A maximum of seven Units can be connected including other Expansion Units and Expan sion I O Units 3 Expansion connector 1 Analog output terminals CH I OUT1 I OUT3 I O...

Page 434: ...git hexadecimal Full scale for 10 to 10 V F448 to 0BB8 Hex Full scale for other ranges 0000 to 1770 Hex Conversion time 2 ms point 8 ms all points Isolation method Photocoupler isolation between analo...

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

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

Page 437: ...If this status is a problem take the following 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...

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

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

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

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

Page 442: ...04 05 06 07 N C N C N C C H E X P IN 00 02 01 C OM 0 3 C OM 0 5 07 04 06 C H 00 01 02 03 08 09 10 11 8ED E X P CPM1A 20EDR1 Expansion I O Unit CPM1A 8ED Expansion I O Unit CPM1A MAD01 Analog I O Unit...

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

Page 444: ...0 V 4 to 20 mA Analog input Read converted data Analog output Write set value CPU Unit CPM1A MAD01 Analog I O Unit IN OUT V O U T CO M IIN 1 VIN 2 CO M 2 IO U T VIN 1 CO M 1 IIN 2 MAD01 C H C H E X P...

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

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

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

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

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

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

Page 451: ...ed including any other Expansion Units and Expansion I O Units that are also connected Pin1 Average processing for analog input 0 OFF Average processing not performed ON Average processing performed P...

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

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

Page 454: ...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 455: ...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 456: ...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 457: ...lues MOV 21 MOVE instruction Ladder program Range code Word n 1 Word m 1 Word m 2 CPU Unit Analog I O Unit Writes the range code Reads the converted values Analog input 0 converted value Analog input...

Page 458: ...of the last eight input values is output 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 Funct...

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

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

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

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

Page 463: ...be con nected Up to 14 temperature sensor input points can be connected by using three CP1W TS002 TS102 or CPM1A TS002 TS102 Temperature Sensor Units and one CP1W TS001 TS101 or CPM1A TS001 TS101 Tem...

Page 464: ...Expansion Units or Expansion I O Units Main Specifications Note Accuracy for a K type sensor at 100 C or less is 4 C 1 digit max 5 Expansion Connector 1 Temperature Sensor Input Terminals 4 Expansion...

Page 465: ...erature ranges Connect the temperature sensors Program operation in the ladder program Connect the Temperature Sensor Unit Set the temperature unit 2 decimal place Mode if required and set the tempera...

Page 466: ...n those for which temperature ranges are given in the following table An incorrect setting may cause operating errors The rotary switch is used to set the temperature range SW1 Setting 1 Temperature u...

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

Page 468: ...Units are allocated words in the same way as CP series Expansion Units or Expansion I O Units in order of connection A Tempera ture Sensor Unit is allocated the next input words following the input wo...

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

Page 470: ...ated two bits each Use these flags in the program 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 sam...

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

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

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

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

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

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

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

Page 478: ...put 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 CIO 2000 CIO 2002 CIO 2 Leftmost 3 dig...

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

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

Page 481: ...as its input word and n 1 as its output word In the following example a CompoBus S I O Link Unit is connected as the first Unit after the CP1H CPU Unit Connect the Unit Determine the node address of...

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

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

Page 484: ...d outputs The input and output bits allo cated to the DeviceNet I O Link Unit are one side of an I O link between the slave CPU Unit and the CP1H CPU Unit to which the Master Unit is con nected Note R...

Page 485: ...n the DIP switch to ON If communica tions are set to be cleared the timing for clearing outputs and set ting the Error Flags may not agree Baud rate setting See note Pin 1 Pin 2 Baud rate Max transmis...

Page 486: ...for initialization to start Reset in progress NS Green Lit Online and commu nications estab lished Network normal and com munications established Flashing Online and commu nications not estab lished...

Page 487: ...ne and commu nications estab lished Network normal and com munications established Flashing Online and commu nications not estab lished Network normal and com munications not estab lished Red Lit Fata...

Page 488: ...Unit All of the words allocated to the DeviceNet I O Link Unit are used to read and write data between the CPU Unit of the DeviceNet I O Link Unit and the CPU Unit of the DeviceNet master as shown in...

Page 489: ...and SW3 to set DeviceNet node number The set ting range is from 00 to 63 and 64 to 99 cannot be set Rotary switch settings go into effect when the power is turned ON Note The actual range of node num...

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

Page 491: ...8 5 3 Operation Examples 465 8 6 LCD Option Board Function 467 8 6 1 Function Overview 467 8 6 2 PLC Mode 470 8 6 3 I O Memory Setting 471 8 6 4 PLC Setup 476 8 6 5 Analog 478 8 6 6 Error 479 8 6 7 M...

Page 492: ...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 493: ...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 494: ...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 495: ...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 496: ...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 497: ...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 498: ...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 499: ...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 500: ...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 501: ...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 502: ...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 482 for details User Monitor Screen Se...

Page 503: ...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 504: ...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 505: ...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 506: ...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 507: ...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 508: ...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 509: ...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 510: ...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 511: ...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 512: ...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 513: ...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 514: ...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 515: ...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 516: ...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 517: ...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 518: ...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 519: ...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 520: ...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 521: ...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 522: ...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 523: ...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 524: ...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 525: ...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 526: ...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 527: ...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 528: ...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 529: ...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 530: ...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 531: ...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 532: ...498 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 533: ...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 534: ...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 535: ...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 536: ...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 537: ...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 538: ...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 539: ...505 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 540: ...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 541: ...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 542: ...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 543: ...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 544: ...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 545: ...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 546: ...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 547: ...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 548: ...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 549: ...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 550: ...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 551: ...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 552: ...518 Trouble Shooting Section 8 7...

Page 553: ...5 1 FINS Communications Service Specifications 526 9 5 2 Overview of FINS Communication Service 527 9 6 Part Names 528 9 7 Comparison with Previous Models 529 9 8 Installation and Initial Setup 530 9...

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

Page 555: ...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 556: ...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 557: ...ed FINS Message Communications The following functions have been maintained according to the existing Ether net Unit models for CS CJ series The maximum number of nodes is 254 Communications are enabl...

Page 558: ...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 559: ...100Base TX 10 Mbit s 10Base T Half full auto negotiation for each port Link speed auto sensing for each port Transmission media Unshielded twisted pair UDP cable Categories 5 5e Shielded twisted pair...

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

Page 561: ...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 562: ...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 563: ...automatically acquiring IP addresses can send commands to the PLC and receive responses Same as previous models FINS communication with computer without fixed node address Possible with Automatic all...

Page 564: ...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 565: ...ver and then pull the cover out 2 Check the alignment to make the corner cut of the Ethernet Option Board fit in the Option Board slot and firmly press the Ethernet Option Board in until it snaps into...

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

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

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

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

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

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

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

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

Page 574: ...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 575: ...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 576: ...0 0 0 0 this area will act as an IP address setting area The value will be read by the Ethernet Option Board when the power is turned ON or the Ethernet Option Board restarted and is used as the loca...

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

Page 578: ...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 579: ...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 580: ...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 581: ...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 582: ...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 583: ...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 584: ...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 585: ...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 586: ...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 587: ...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 588: ...0 Error Log Location When an error is detected the error codes and time stamp are recorded in the error log in RAM inside the Ethernet Option Board Serious errors are also recorded in EEPROM The maxim...

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

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

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

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

Page 593: ...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 594: ...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 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...

Page 596: ...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 597: ...node address 1 on relay network number 2 2 Save the routing table file File Save local routing table file 3 Select New from the Project Menu and save with a file name Then select Add Device from the P...

Page 598: ...564 Sample Application Section 9 12...

Page 599: ...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 566 10 2 Trial Operation and Debugging 566 10 2 1 Forced Set R...

Page 600: ...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 601: ...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 602: ...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 603: ...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 604: ...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 605: ...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 606: ...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 607: ...operation 11 1 Error Classification and Confirmation 574 11 2 Troubleshooting 579 11 2 1 Error Processing Flowchart 580 11 2 2 No Operation When Power Is Supplied 580 11 2 3 Fatal Errors 581 11 2 4 CP...

Page 608: ...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 609: ...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 610: ...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 611: ...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 612: ...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 613: ...l 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 details A294 to A299 Cyc...

Page 614: ...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 615: ...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 616: ...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 617: ...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 618: ...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 619: ...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 620: ...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 621: ...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 622: ...ror flags Built in Analog I O Error Flag A315 14 Other Non fatal Error Flag A402 00 Error code A400 Error information Analog Input 0 Open circuit Error Flag A434 00 Analog Input 1 Open circuit Error F...

Page 623: ...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 624: ...nications between the periph eral port and connected device Confirm that the peripheral port settings in the PLC Setup are correct An error has occurred in the communications between the RS 232C port...

Page 625: ...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 626: ...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 627: ...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 628: ...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 629: ...spection and Maintenance This section provides inspection and maintenance information 12 1 Inspections 596 12 1 1 Inspection Points 596 12 1 2 Unit Replacement Precautions 597 12 2 Replacing User serv...

Page 630: ...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 631: ...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 632: ...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 633: ...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 634: ...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 635: ...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 636: ...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 637: ...20EDR1 24 VDC 12 inputs 8 relay outputs CP1W 20EDT CPM1A 20EDT 8 transistor outputs sink ing CP1W 20EDT1 CPM1A 20EDT1 8 transistor outputs sourcing 16 point Output Units CP1W 16ER CPM1A 16ER None 16 r...

Page 638: ...CP1W DA041 CPM1A DA041 4 analog outputs 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA 4 to 20 mA Resolution 1 6 000 Temperature Sensor Units CP1W TS001 CPM1A TS001 Thermocouple inputs K or J 2 inputs CP1W...

Page 639: ...TS15 Thermocouple inputs B E J K L N R S T U WRe5 26 PLII or DC voltage 100 mV 2 inputs CJ1W PTS16 Platinum resistance thermometer inputs Pt100 or JPt100 JPt50 or Ni508 4 2 inputs Isolated type DC Inp...

Page 640: ...s 128 inputs and 128 outputs Name and appearance Model Specifications Remarks Position Control Unit CJ1W NCF71 MECHATROLINK II compliant 16 control axes Motion Control Unit CJ1W MCH71 MECHATROLINK II...

Page 641: ...y CJ1W BAT01 Installed in the CPU Unit Name and appearance Model Specifications Remarks DIN Track PFP 50N PFP 100N PFP 100N2 End Plate PFP M I O Connecting Cable CP1W CN811 Used to install CP series E...

Page 642: ...608 Standard Models Appendix A...

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

Page 644: ...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 645: ...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 646: ...COM COM COM COM COM 03 06 01 03 06 00 02 04 06 08 10 00 01 02 04 05 07 00 02 04 05 07 00 02 04 06 08 10 01 03 05 07 09 11 01 03 05 07 09 11 IN 40EDR OUT CH CH CH CH EXP CH CH CH 11 10 09 08 07 06 05...

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

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

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

Page 650: ...616 Dimensions Diagrams Appendix B Products Related to Using CJ series Units CP1W EXT01 CJ Unit Adapter CJ1W TER01 End Cover 5 7 7 6 95 4 90 65 5 65 5 65 16 4 14 7 2 7 2 7 90...

Page 651: ...617 Dimensions Diagrams Appendix B CJ series Special I O Units and CPU Bus Units CJ1W MCH71 90 2 7 2 7 31 90 79 8 70 9 65...

Page 652: ...618 Dimensions Diagrams Appendix B...

Page 653: ...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 654: ...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 655: ...gh speed Counter Count Direction This flag indicates whether the high speed counter is currently being incremented or decremented The counter PV for the current cycle is compared with the PLC in last...

Page 656: ...only Cleared when power is turned ON Cleared when operation starts Updated each cycle during over see process Updated when the PV is changed by the INI 880 instruc tion Pulse Output Accel Decel Flag...

Page 657: ...is the CW limit input signal for the pulse output which is used in the origin search To use this signal write the input from the actual sensor as an input condition in the lad der program and output...

Page 658: ...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 659: ...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 660: ...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 661: ...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 662: ...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 663: ...Unit where the 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...

Page 664: ...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 665: ...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 666: ...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 667: ...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 668: ...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 669: ...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 670: ...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 671: ...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 672: ...ackground processing starts or power is turned ON Read only Name Address Description Access Updated FB Program Data Flag A345 00 Turns ON if the FB program memory contains FB pro gram data OFF No data...

Page 673: ...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 674: ...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 675: ...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 676: ...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 677: ...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 678: ...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 679: ...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 680: ...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 681: ...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 682: ...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 683: ...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 684: ...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 685: ...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 686: ...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 687: ...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 688: ...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 689: ...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 690: ...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 691: ...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 692: ...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 693: ...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 694: ...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 695: ...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 696: ...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 697: ...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 698: ...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 699: ...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 700: ...t 1 Open circuit 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...

Page 701: ...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 702: ...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 703: ...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 704: ...to 59 A518 08 to A518 15 Minutes 01 to 59 A519 00 to A519 07 Hour 00 to 23 A519 08 to A519 15 Day of month 01 to 31 A520 00 to A520 07 Month 01 to 12 A520 08 to A520 15 Year 00 to 99 Note If an error...

Page 705: ...the serial port 1 is restarted These flags are not valid in periph eral bus mode and only bit 5 is valid in NT Link mode PLC Link Polling Unit Bit 13 ON for timeout error PLC Link Polled Unit Bit 11...

Page 706: ...3 in counter mode Sets the count value at which the interrupt task will start Interrupt task 143 will start when interrupt counter 3 has counted this number of pulses Retained Retained A536 All Interr...

Page 707: ...A323 A542 08 Pulse Out put 2 CW Limit Input Signal Flag This is the CW limit input signal for pulse output 2 which is used in the origin search To use this signal write the input from the actual senso...

Page 708: ...errupt task 146 will be started Retained A547 All Interrupt Counter 7 Counter SV Used for an input interrupt in Counter Mode Set the value to count before starting the interrupt task When interrupt co...

Page 709: ...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 710: ...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 711: ...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 712: ...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 713: ...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 714: ...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 715: ...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 716: ...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 717: ...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 718: ...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 719: ...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 720: ...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 721: ...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 722: ...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 723: ...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 724: ...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 725: ...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 726: ...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 727: ...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 728: ...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 729: ...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 730: ...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 731: ...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 732: ...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 733: ...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 734: ...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 735: ...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 736: ...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 737: ...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 738: ...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 739: ...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 740: ...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 741: ...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 742: ...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 743: ...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 744: ...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 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...

Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...

Page 747: ...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 748: ...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 749: ...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 750: ...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 751: ...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 752: ...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 753: ...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 754: ...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 755: ...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 756: ...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 757: ...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 758: ...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 759: ...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 760: ...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 761: ...mal 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 Norma...

Page 762: ...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 0 pps At start of...

Page 763: ...ation 271 and 270 00 to 15 0000 0001 hex 100 000 pps maxi mum for X XA CPU Unit 1 000 00 0 pps maximum for Y CPU Unit 0001 86A0 hex 000F 4240 hex 2 Acceleration Ratio 0 disabled 1 pulses 4 ms At start...

Page 764: ...Input Signal Operation Search Only Search Only When power is turned ON 274 04 to 07 0 hex Always 1 hex 3 Limit Input Signal NC NC At start of operation 286 00 to 03 0 hex NO 1 hex 4 Search Return Ini...

Page 765: ...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 0 pps At start of...

Page 766: ...ation 289 and 288 00 to 15 0000 0001 hex 100 000 pps maxi mum for X XA CPU Unit 1 000 00 0 pps maximum for Y CPU Unit 0001 86A0 hex 000F 4240 hex 2 Acceleration Ratio 0 disabled 1 pulses 4 ms At start...

Page 767: ...2 to 15 0 hex Undefined 1 hex 2 Limited Input Signal Operation Search Only Search Only When power is turned ON 380 04 to 07 0 hex Always 1 hex 3 Limit Input Signal NC NC At start of operation 392 00 t...

Page 768: ...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 0 pps At start of operation 385 and...

Page 769: ...ed 0 pps disabled 1 pps At start of operation 395 and 394 00 to 15 0000 0001 hex 30 000 pps 0000 7530 hex 2 Acceleration Ratio 0 disabled 1 pulses 4 ms At start of operation 396 00 to 15 0001Hex 65535...

Page 770: ...2 to 15 0 hex Undefined 1 hex 2 Limited Input Signal Operation Search Only Search Only When power is turned ON 398 04 to 07 0 hex Always 1 hex 3 Limit Input Signal NC NC At start of operation 410 00 t...

Page 771: ...ex 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 0 pps At start of operation 403 and 402 00 to 15 0000 0001 hex 30 00...

Page 772: ...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 773: ...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 774: ...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 775: ...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 776: ...742 PLC Setup Appendix G...

Page 777: ...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 778: ...744 Specifications for External Power Supply Expansion Appendix H...

Page 779: ...ommunications Port Enabled Flags 682 complete link method 348 Condition Flag saving and loading status 181 Condition Flags 179 connectors recommended models 533 coordinate systems absolute or relative...

Page 780: ...gs 637 Special I O Units 637 troubleshooting 573 Expansion I O Racks troubleshooting 592 external interrupts response time 101 F failure point detection 382 FAL Error Flag 627 FAL errors flag 663 FAL...

Page 781: ...s error flag 684 error information 628 interrupts processing times 625 IOM Hold Bit 149 619 668 IORF 097 refreshing input bits and words 85 IR DR Operation between Tasks 625 IR00 Output for Background...

Page 782: ...verflow Flag 180 P Parameter Area 686 Parameter Date 378 386 631 parts replacing parts 598 peripheral port related flags bits 659 PLC Setup error information 628 Polled Units settings 352 Polling Unit...

Page 783: ...161 Serial PLC Links 348 allocated words 351 PLC Setup 352 related flags 353 354 simulating system errors 627 software reset 214 Special I O Unit Area 160 Special I O Units error information 637 Initi...

Page 784: ...750 Index V variable duty ratio pulse outputs details 287 vertical conveyor 299 W Work Area 163 work bits 163 work words 163 write protection 377...

Page 785: ...ormation changed in input functions table Pages 247and 248 Information added on origin search parameters Page 264 Information added on origin search parameters Pages 266 and 267 Information added on p...

Page 786: ...752 Revision History...

Page 787: ...rlands Tel 31 2356 81 300 Fax 31 2356 81 388 OMRON ELECTRONICS LLC 1 East Commerce Drive Schaumburg IL 60173 U S A Tel 1 847 843 7900 Fax 1 847 843 8568 OMRON ASIA PACIFIC PTE LTD 83 Clemenceau Avenue...

Page 788: ...Authorized Distributor Cat No W450 E1 06 Note Specifications subject to change without notice Printed in Japan This manual is printed on 100 recycled paper...

Reviews: