background image

305

Pulse Outputs

Section 5-3

W0.04

C0000

0.05

W0.05

W0.06

100.02

W0.07

100.02

W0.07

0.04

W0.07

W0.08

W0.09

W0.08

W0.09

A280.03

@PLS2(887)

#0000

#0001

D10

D16

@INI(880)

#0000

#0003

0

W0.04

C0000

W0.06

 

0.06

A540.08

0.07

A540.09

When the stocker is not full (C0=OFF), store PCB, 
and repeat lift positioning after PCB storage is completed.

Lift 
positioning 
completed

Stocker
full

PCB Stored

When the stocker is full (C0=ON), move the stocker, 
and start lower positioning after stocker 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 positioning
start

Positioning
Lower to "0" position (absolute pulses)

Lower 
positioning 
start

Lower 
positioning
start

Lower positioning
in progress

Lower 
positioning
in progress

Pulse 
output 
completed

Lower positioning 
completed

Emergency Stop (Pulse Output Stopped)

Emergency
stop 
switch

Repeat Limit Input Settings

Limit inputs are allocated to external sensors using the following programming.

Built-in
input

CW limit input 
signal

Built-in
input

CCW limit input 
signal

Содержание CP1H CPU UNITS - PROGRAMMING 05-2007

Страница 1: ...Cat No W450 E1 06 CP1H CPU Unit SYSMAC CP Series CP1H X40D_ _ CP1H XA40D_ _ CP1H Y20DT D OPERATION MANUAL...

Страница 2: ......

Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 18: ...xviii...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 370: ...336 Analog I O XA CPU Units Section 5 5...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 552: ...518 Trouble Shooting Section 8 7...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...

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

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

Страница 598: ...564 Sample Application Section 9 12...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 642: ...608 Standard Models Appendix A...

Страница 643: ...609 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...

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

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

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

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

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

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

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

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

Страница 652: ...618 Dimensions Diagrams Appendix B...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 776: ...742 PLC Setup Appendix G...

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

Страница 778: ...744 Specifications for External Power Supply Expansion Appendix H...

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

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

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

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

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

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

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

Страница 786: ...752 Revision History...

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

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

Отзывы: