background image

63

SECTION 6

I/O Memory

This section provides details of the settings made using the I/O memory areas in the Customizable Counter Unit.

6-1

Overview

64

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-1-1

I/O Memory Areas

64

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-1-2

Hold/Clear for I/O Memory Data

66

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-2

Details

67

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-2-1

Input and Output Areas

67

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-2-2

SR Area

67

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-2-3

TR Area

67

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-2-4

AR Area

67

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-2-5

LR Area

68

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-2-6

Timer/Counter Area

68

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-2-7

DM Area

69

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-2-8

EM Area

70

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-3

SR Area

71

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

6-4

AR Area

77

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

Содержание CS1 -

Страница 1: ...Cat No W378 E1 1 Customizable Counter Units SYSMAC CS1 CS1W HI001 HCP22 HCA22 OPERATION MANUAL...

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

Страница 3: ...CS1W HIO01 HCP22 HCA22 Customizable Counter Units Operation Manual Produced January 2001...

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

Страница 5: ...this sense The abbreviation PC means Programmable Controller and is not used as an abbreviation for any thing else Visual Aids The following headings appear in the left column of the manual to help yo...

Страница 6: ...vi...

Страница 7: ...ecifications 9 2 1 Performance Specifications 10 2 2 Contact I O Specifications All Units 18 SECTION 3 Nomenclature Installation and Wiring 21 3 1 Names and Functions of Parts 22 3 2 Installation 24 3...

Страница 8: ...tputs 105 SECTION 8 Unit Operation and Processing Time 109 8 1 Customizable Counter Unit Operation 110 8 2 Power Interruptions 111 8 3 Cycle Time 113 SECTION 9 Troubleshooting 127 9 1 Types of Trouble...

Страница 9: ...scribes the features of the Customizable Counter Units and the devices required in an ex tended system configuration Section 2 provides performance specifications and I O specifications for the Custom...

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

Страница 11: ...nd understand the information contained before attempting to set up or operate a Customizable Counter Unit 1 Intended Audience xii 2 General Precautions xii 3 Safety Precautions xii 4 Operating Enviro...

Страница 12: ...nit Be sure to read this manual before attempting to use the Unit and keep this manual close at hand for reference during operation WARNING It is extremely important that a PC and all PC Units be used...

Страница 13: ...hout confirming safety may result in injury Caution Tighten the screws on the terminal block of the AC power supply to the torque specified in the operation manual The loose screws may result in burni...

Страница 14: ...to ensure safety in the event that outputs from Output Units remain ON as a result of internal circuit failures which can occur in relays transistors and other elements Fail safe measures must be take...

Страница 15: ...t doing so may result in an unexpected operation Changing the operating mode of the PC Force setting force resetting any bit in memory Changing the present value of any word or any set value in memory...

Страница 16: ...DM 6655 expansion instructions information read write DM Area words DM 0000 to DM 6143 see note Flash memory Note The contents of DM 0000 to DM 6143 are written to flash memory only when SR 25200 DM A...

Страница 17: ...as well as counter present values has become corrupted to perform appropriate error processing 24914 Processing for corruption of data backed up for power interruptions DM 0000 to DM 6143 read write p...

Страница 18: ...he customer EMC related performance of the OMRON devices that comply with EC Direc tives will vary depending on the configuration wiring and other conditions of the equipment or control panel in which...

Страница 19: ...ouble insulation must be used for the Customiz able Counter Unit DC power supplies used for the communications and I O power supplies 3 The Customizable Counter Units complying with EC Directives also...

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

Страница 21: ...zable Counter Units and the devices required in an extended system configu ration 1 1 Outline 2 1 1 1 Features 2 1 1 2 Application Examples 4 1 2 Models and System Configurations 5 1 2 1 Models 5 1 2...

Страница 22: ...y the small capacity ladder program in the Customizable Counter Unit that achieves a high speed cycle The Custo mizable Counter Unit also supports various types of interrupt programming enabling it to...

Страница 23: ...Enable Bit when required or for er rors The SPED and ACC instructions can be used to control the analog output value independent of the END refresh The I O refresh time can be reduced by disabling the...

Страница 24: ...e defined value to change the pulse output during op eration Speed control via a pulse output can be achieved in response to the posi tion of a workpiece The present value of either a high speed count...

Страница 25: ...outputs CS1W HCA22 12 contact inputs 8 contact outputs 2 pulse inputs 2 analog outputs 1 2 2 System Configurations CS1W HIO01 Basic Model 12 contact inputs 4 of which can be used as interrupt inputs...

Страница 26: ...errupt inputs 8 contact outputs CS1W HCP22 Customizable Counter Unit Peripheral port I O memory Ladder program I O memory CS1 series CPU Unit Programming Device CX Programmer Creating transferring and...

Страница 27: ...ramming Devices The CX Programmer versions that can be used with the Customizable Counter Unit are given in the following table Name Model number Computer Serial communications mode Model setting on t...

Страница 28: ...I O to the connectors on the Customizable Counter Unit These connectors are provided with the Customizable Counter Unit and can be purchased separately The cables for these connectors must be provided...

Страница 29: ...cations and I O specifications for the Customizable Counter Unit 2 1 Performance Specifications 10 2 1 1 Available Models 10 2 1 2 Specifications 10 2 2 Contact I O Specifications All Units 18 2 2 1 C...

Страница 30: ...to C200H Expansion Racks or SYSMAC BUS Slave Racks is not possible Exchange of specific data with CPU Unit Special I O Unit Area CIO n to n 9 n 2000 unit number 10 10 words per Unit data exchanged co...

Страница 31: ...Programming Device connection switch enables disables servicing for the Programming Device connected to the peripheral port Display 25 LED indicators The Unit is equipped with the following indicator...

Страница 32: ...lect between the following 1 RUN STOP commands from the CPU Unit s allocated memory 2 Operating mode command at startup or command from the Programming Device after startup Status output to CPU Unit U...

Страница 33: ...AR 2715 These bits have specific functions TR Area 8 bits TR 0 to TR 7 These bits temporarily store the ON OFF status of an instruction block for branching LR Area 512 bits 32 words LR 00 to LR 31 The...

Страница 34: ...the Unit s built in input points input bits 00000 to 00003 Interrupts can be executed when the corresponding input turns ON OFF or both The response time between the input conditions being satisfied...

Страница 35: ...s ON Cycle time monitoring If the cycle time exceeds 10 ms the Cycle Time Over Flag SR 23509 turns ON and operation continues This function can be turned OFF in the Unit Setup Area When the cycle time...

Страница 36: ...ith Programming Console Yes Peripheral bus Used for communications with Programming Devices such as CX Programmer Yes Clock None Note The time of error occurrence that is recorded in the error log wil...

Страница 37: ...ernal pulse output is not possible CS1W HCA22 pulse inputs and analog outputs Pulse inputs high speed counters 2 inputs Each input can be set to either single phase or differential phase multiplicatio...

Страница 38: ...for the interrupt timing for each point Input Interrupt Mode or Counter Mode in the Unit Setup Area DM 6620 8 inputs input bits IR 00004 to IR 00011 can be used as normal inputs only Input voltage cu...

Страница 39: ...al input 2 Interrupt input or normal input bit 00002 External input 1 Interrupt input or normal input bit 00001 11 External input 3 Interrupt input or normal input bit 00003 Common for external inputs...

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

Страница 41: ...t 3 1 Names and Functions of Parts 22 3 2 Installation 24 3 2 1 Applicable Racks 24 3 2 2 Mounting the Unit All Units 25 3 2 3 Handling the Unit 26 3 3 Wiring 27 3 3 1 I O Connector Pin Arrangement Al...

Страница 42: ...e connector Indicators Unit number switches Rotary switches Setting range 0 to 95 Programming Device connection switch Peripheral port I O connector Special I O connector Indicators Data is exchanged...

Страница 43: ...can be pre vented by turning OFF this switch Programming Device connection switch Programming Device Set to ON TOOL ON OFF Connection enabled The switch must be turned ON to use a Programming Device S...

Страница 44: ...lit No errors at the Unit ERH CPU Unit error Red Lit An error at the CPU Unit fatal error WDT error monitor error or bus error or an initial setting error in the CPU Unit s allocated words in the DM...

Страница 45: ...I O Unit CPU Unit I O Unit I O Unit I O Unit Power Supply Unit Up to 7 Expansion Racks can be connected 3 2 2 Mounting the Unit All Units Use the following procedure to mount the Customizable Counter...

Страница 46: ...ower supply to the PC before mounting or dismount ing the Unit or performing wiring To reduce the influence of noise do not run I O signal lines in the same ducts as power cables or lines carrying hig...

Страница 47: ...al input bit 00008 External input 5 Normal input bit 00005 8 External input 9 Normal input bit 00009 External input 6 Normal input bit 00006 7 External input 10 Normal input bit 00010 External input 7...

Страница 48: ...17 CCW one shot pulse output CCW one shot pulse output with 1 6 k resistance 18 CCW one shot pulse output with 1 6 k resistance Output power supply 24 V 19 Output power supply 24 V Common 20 Common CS...

Страница 49: ...eses indicate the pin numbers on the minus side Example The wiring for an encoder 24 V with an open collector output is shown below These examples are for encoders with A B and Z phases Encoder power...

Страница 50: ...Counter Unit Orange with stripes Z 5 VDC 0 V Differential phase Input Mode Pulse input 1 Phase A LD Pulse input 1 Phase A LD Pulse input 1 Phase B LD Pulse input 1 Phase B LD Pulse input 1 Phase Z LD...

Страница 51: ...cifica tions 7 to 30 mA Output transistor Output Output 7 to 30 mA Open collector output Open collector output with 1 6 k series resistance 4 The transistors in the internal circuits for pulse output...

Страница 52: ...t Connections to the Special I O Connector Connector type Number of pins Ordering as a set OMRON Ordering individually Fujitsu Soldered See note 40 pins C500 CE404 Socket FCN 361J040 AU Connector cove...

Страница 53: ...oldered part with an insulating tube Soldered type connector included with Unit Insulating tube Wire 0 2 to 0 13 mm2 Note Be sure to check that the output power supply is not connected in reverse 4 As...

Страница 54: ...unter Unit Connector Connector Customizable Counter Unit 6 After wiring has been completed be sure to remove the label to allow proper heat dissipation After wiring Remove the label Connector lock scr...

Страница 55: ...r the Unit Setup Area are carried out using a Programming Device Programming Devices include Hand held Programming Consoles and the CX Programmer which is installed onto a computer Connec tion to eith...

Страница 56: ...rned OFF Turn OFF this switch however to prevent malfunctions due to operational errors Programming Device connection switch Programming Device Set to ON TOOL ON OFF Connection enabled The switch must...

Страница 57: ...the following table Name Model number Computer Serial communications mode Model setting on the CX Programmer Functional limitations CX Programmer Ver 1 2 or later on CD ROM WS02 CXPC1 E IBM PC AT or...

Страница 58: ...turn OFF It is possible for an output to remain ON or OFF due to a factors such as dam age to a transistor in the internal circuit of a contact output Provide any circuits necessary outside of the PC...

Страница 59: ...the PC output controls opposite operations such as forward and reverse operation of a motor or in cases where incorrect PC operation may cause an accident or damage to equipment set up interlock circ...

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

Страница 61: ...Words Allocated in CIO Area 43 4 1 3 Data Exchange Using the Words Allocated in DM Area 44 4 1 4 Data Exchange Using the LR Area Words 45 4 2 Words Allocated in CIO Area 45 4 2 1 Allocated Words 45 4...

Страница 62: ...tputs 2 pulse inputs 2 pulse outputs or 2 analog outputs Customizable Counter Unit CPU Unit Ladder program Ladder program SR Area Initial Setup Area User set words User set words LR Area Allocated CIO...

Страница 63: ...ds in the Customizable Counter Unit are specified in allocated DM Area words m 1 to m 5 General purpose 90 words total m 10 to m 99 At I O refresh See note 3 Data exchanged using LR Area words LR Area...

Страница 64: ...r Unit restart the Customizable Counter Unit s initial settings e g the startup operating mode are transferred from the CPU Unit s DM Area words m to m 9 2 General purpose data is exchanged cyclically...

Страница 65: ...Area in Customizable Counter Unit If the RUN STOP Command Bit is enabled i e if word m bits 00 to 07 are 00 Hex the RUN Stop Command Bit word n bit 00 will turn OFF and the op eration of the Customiza...

Страница 66: ...CIO 2080 to CIO 2089 9 CIO 2090 to CIO 2099 10 CIO 2100 to CIO 2109 n CIO 2000 n 10 to CIO 2000 n 10 9 95 CIO 2950 to CIO 2959 Data in the 10 allocated words is exchanged at the CPU Unit s I O refresh...

Страница 67: ...MONITOR mode from the Programming Device connected to the Customizable Counter Unit If anything other than 00 Hex is stored in word m bits 00 to 07 this RUN STOP command will be ignored If the RUN STO...

Страница 68: ...e than 10 ms occurs The Unit error code F8 is stored in bits 00 to 07 of word n 5 in the CPU Unit and consequently SR 23500 to SR 23507 in the Customizable Counter Unit 10 Unit non fatal error includi...

Страница 69: ...99 7 D20700 to D20799 8 D20800 to D20899 9 D20900 to D20999 10 D21000 to D21099 n D20000 n 100 to D20000 n 100 99 95 D29500 to D29599 The allocated words are divided into two areas The Initial Setting...

Страница 70: ...Unit The RUN STOP Command Bit n bit 00 turns OFF and Customizable Counter Unit operation stops Note There are errors for which the RUN STOP Command Bit may not turn OFF For details refer to 9 3 Troub...

Страница 71: ...xample the total number words transferred at input and output refresh must not exceed 90 words See note 12 to 15 Area in the Customizable Counter Unit 0 Hex DM 1 Hex IR 2 Hex LR 3 Hex AR 4 Hex EM m 3...

Страница 72: ...ted in DM Area is set to a value between 01 and 09 The number of transfer words is set to 91 or higher The area is set to a value outside the range 0 to 4 Hex A hexadecimal value that does not conform...

Страница 73: ...Area Sets the DM Area 0 Hex as the area and 40 words as the number of the output area in the Customizable Counter Unit Sets the first word address of the output area in the Customizable Counter Unit...

Страница 74: ...words 00 BCD Not refreshed 01 to 32 BCD 1 to 32 words o o e Customizable Counter Unit to the CPU Unit 08 to 15 CPU Unit area 00 BCD CIO 01 BCD WR 02 BCD AR 03 BCD HR 04 BCD DM 05 BCD EM Input refresh...

Страница 75: ...s section provides details on the settings made using the Unit Setup Area in the Customizable Counter Unit 5 1 Unit Setup Area 56 5 1 1 Overview 56 5 1 2 Details of Overall Unit Settings 57 5 1 3 Deta...

Страница 76: ...rns ON DM 6605 to DM 6614 Special I O DM 6615 to DM 6629 Overall Unit Settings Enabled at Startup and h i SR 24901 turns ON DM 6630 to DM 6639 Special I O when operation starts DM 6640 to DM 6644 Over...

Страница 77: ...12 to 15 Holding EM Area 0 Hex Clear 1 Hex Held DM 6601 00 to 07 General purpose I O between the Input refresh for inputs from the C No of refresh words 00 BCD Not refreshed 01 to 32 BCD 1 to 32 words...

Страница 78: ...ycle time 0000 BCD Variable cycle time 0001 to 0500 BCD Sets a constant cycle time in the range 0 1 to 50 0 ms in 1 ms units Even if all the necessary processing is completed in less than the set time...

Страница 79: ...ons mode Connection to a Programming Console Pro gramming Console bus Peripheral bus 04 to 15 Reserved by system DM 6651 00 to 07 Peripheral port baud rate Note This setting is valid when connected to...

Страница 80: ...restart Note The timing of power interruption for the encoder must be considered when using the present high speed counter value saved using this setting 08 to 15 Sampling time for high speed counter...

Страница 81: ...lse counter timer 08 to 15 Pulse output 1 clock frequency 00 Hex 25 MHz 01 Hex 6 25 MHz 25 4 02 Hex 1 5625 MHz 25 16 03 Hex 390 625 kHz 25 64 Pulse output frequency ranges 00 Hex 400 Hz to 200 kHz 01...

Страница 82: ...o 15 g Operation when output turned OFF g Settings Enabled at Startup and when Operation Starts Address Bits Function Details DM 6630 00 to 07 For both analog outputs 1 and 2 Analog output method 00 H...

Страница 83: ...tomizable Counter Unit 6 1 Overview 64 6 1 1 I O Memory Areas 64 6 1 2 Hold Clear for I O Memory Data 66 6 2 Details 67 6 2 1 Input and Output Areas 67 6 2 2 SR Area 67 6 2 3 TR Area 67 6 2 4 AR Area...

Страница 84: ...and control bits TR Area TR 0 to TR 7 8 bits These bits are used to temporarily store ON OFF status at program branches LR Area LR 00 to LR 31 LR 0000 to LR 3115 256 bits These bits are used to exchan...

Страница 85: ...ons They can be written to only by using a Programming Device Reading is possible using either instructions or a Programming Device DM 6600 to DM 6655 56 words Unit Setup Area This area is used to mak...

Страница 86: ...CNT 255 No Held Held Held Cleared Counter PVs TIM CNT 000 to TIM CNT 255 No Held Held Held Held DM Area General purpose read write words DM 0000 to DM 6143 No Held Held Held Held General purpose read...

Страница 87: ...as work bits Customizable Counter Unit s Built in Outputs 8 Points IR 001 Address Bits Function IR 001 00 to 07 These bits are used as normal outputs 08 to 15 These bits can be used as work bits 6 2...

Страница 88: ...d 01 to 32 BCD 1 to 32 words 08 to 15 C U U o e C s o b e Counter Unit CPU Unit area 00 BCD CIO 01 BCD WR 02 BCD AR 03 BCD HR 04 BCD DM 05 BCD EM DM 6602 00 to 07 Output area output from the Customiza...

Страница 89: ...Addresses Instructions Programming Device Reading Writing Reading Writing Error Log Area DM 6144 to DM 6199 OK NO OK OK The contents of one record are shown below Special I O Unit error code Details...

Страница 90: ...n be freely read and written to from the ladder program It is possible to specify whether or not EM Area settings are cleared at power interruptions This setting is made in bits 12 to 15 of DM 6600 in...

Страница 91: ...0 00 For exchanging data with words allocated in CPU Unit s CIO Area f d f Correspond ing word in CIO Area Details for commands from CPU Unit to Customizable Counter Unit n Monitors RUN STOP commands...

Страница 92: ...e errors below have occurred ON One of the following fatal errors has occurred FALS instruction executed no END instruction special I O error Cycle Monitor Time Exceeded set in DM 6618 in the Unit Set...

Страница 93: ...terrupt 1 IR 00001 Counter Mode PV sed Co e ode 0000 o Hex SR 246 00 to 15 Input Interrupt 2 IR 00002 Counter Mode PV SR 247 00 to 15 Input Interrupt 3 IR 00003 Counter Mode PV SR 248 00 to 03 Customi...

Страница 94: ...n the left occurs a memory error is gener ted 08 Turns ON when an address that does not exist in user memory e g the non existent HR Area is used is specified fatal error error is generated at the Cus...

Страница 95: ...bit automatically turns OFF after execution User 09 Reserved by system The settings of h bi lid 10 Unit Setup Area Reset Bit Turn this bit ON to reset the Unit Setup Area DM 6600 to DM 6655 The bit au...

Страница 96: ...uction Execution Error ER Flag Turns ON when an error occurs during execution of an instruction 04 Carry CY Flag Turns ON when there is a carry in the results of an instruction execution 05 Greater Th...

Страница 97: ...Controlled by Forced set reset AR 00 00 to 15 High speed Counter 1 Rightmost 4 digits Counter range 8000 0000 to 7FFF FFFF Hex 8 digits Unit Disabled AR 01 00 to 15 Co e PV Leftmost 4 digits e 8 d g...

Страница 98: ...stem 03 Phase Z Input Reset Flag ON for one cycle If the high speed counter reset method is phase Z software reset 1 Hex is set in bits 04 to 07 in DM 6605 this flag turns ON for one cycle when the hi...

Страница 99: ...eed counter 2 status Target Value Comparison Flag Same as for high speed counter 1 status Unit Enabled 09 Overflow Underflow Flag 10 Reserved by system 11 Phase Z Input Reset Flag ON for one cycle 12...

Страница 100: ...ement mode 1 or 2 OFF Measurement for high speed counter rate of change or frequency measurement is disabled ON Starts measurement for high speed counter rate of change or frequency measurement Note 1...

Страница 101: ...High speed counter 1 monitor data Range comparison result The instruction execution result that is output when the CTBL instruction is executed for a range comparison is stored here Bits 00 to 15 ON...

Страница 102: ...ulse output is stored in 8 digit hexadecimal 0000 0000 to 0000 270F U it S ifi d AR 15 the pulse output 1 operation mode bits 00 to 07 in DM 6613 is set to 04 Hex one shot pulse output Leftmost 4 digi...

Страница 103: ...Target Frequency Not Reached OFF Normal ON Pulse output has decelerated without reaching the target frequency when PLS2 is executed or during pulse output 03 Target Comparison in Progress OFF Stopped...

Страница 104: ...nds PV Reset OFF Pulse output 1 PV not reset ON Pulse output 1 PV reset User Enabled 01 Range Comparison Result Clear OFF The instruction execution result AR 20 or the output bit pattern AR 21 that is...

Страница 105: ...on from 1 to 16 that is satisfied OFF Condition not satisfied ON Condition satisfied Unit Enabled AR 21 00 to 15 Output bit pattern The output bit pattern that is output when the CTBL instruction is e...

Страница 106: ...ng instructions is specified in bits 00 to 07 of DM 6630 in the Unit Setup Area 00 Hex END refreshing The setting applies to both analog outputs 1 and 2 Note 2 The output signal range is specified in...

Страница 107: ...stem 08 Analog Output 1 Output SV Error ON A value that exceeds the allowable range has been set for analog output SV OFF The values set for analog output SV 09 Analog Output 2 Output SV Error OFF The...

Страница 108: ...bled in adjustment mode DM 6631 in Unit Setting Area set to 5A5A Hex 07 Adjustment Set The adjustment value is written when this bit is turned ON after adjusting the value with the Adjustment Up Bit a...

Страница 109: ...ine 93 7 3 3 Interrupt Modes 93 7 3 4 Interrupt Input Specifications 93 7 4 Executing Interrupt Tasks in the CPU Unit 93 7 4 1 Applicable Models 93 7 4 2 Outline 94 7 5 Pulse Inputs 94 7 5 1 Applicabl...

Страница 110: ...f rate measurement Sampling period 1 to 99 ms or each scan time Frequency measurement Measured frequency 0 to 200 kHz 1 counter only Pulse outputs 2 outputs no acceleration deceleration acceleration d...

Страница 111: ...ounter Unit to generate an external interrupt to the CPU Unit to execute an external interrupt task 7 2 2 Interrupt Priority The specified subroutine will be executed when an interrupt is generated Th...

Страница 112: ...re defined but these will not affect operation 7 2 3 Disabling and Enabling All Interrupts All interrupts can be disabled using the INT instruction The following interrupts are disabled and enabled by...

Страница 113: ...ls 0 The interrupt mode is set using the INT instruction for each interrupt input 7 3 4 Interrupt Input Specifications Input Interrupt Mode Item Specification Interrupt condition Input contacts 0 to 3...

Страница 114: ...e sure to use 100 plus the interrupt task number as the value of the first operand MCRO 110 000 000 MCRO N S D 00200 25506 SBN 110 RET Note 1 Program a dummy subroutine for the subroutine number speci...

Страница 115: ...phase x1 x2 x4 switchable Single phase x 2 Single phase direction Set in Unit Setup Area Port 1 Bits 00 to 03 of DM 6605 port 2 Bits 00 to 03 of DM 6607 Counter frequency set separately for each port...

Страница 116: ...Bits 00 to 03 of DM 6608 Measurement is started when the Measurement Start Bit AR 0902 or AR 0910 is turned ON The Measuring Flag AR 0806 or AR 0814 will turn ON during the measurement Pulse Input Sp...

Страница 117: ...form 50 kHz pulse with 50 duty ratio 20 s min 10 s min 10 s min Differential phase Inputs A and B T1 T2 T3 and T4 must be 4 5 s max There must be 4 5 s min between phase A and phase B change points 20...

Страница 118: ...ter PV PV of high speed counter read Reading high speed counter rate of change or frequency Rate of change or frequency of high speed counter read 7 5 4 Internal Circuit Configurations Phases A and B...

Страница 119: ...t counter timer Enables using the pulse output counter as a timer using the one shot pulse output timer Note Pulses are not output for this mode and the specified port cannot be used for pulse output...

Страница 120: ...utput No of output pulses pulse output value 2 Linear mode absolute pulse output No of output pulses PV of pulse output target pulse amount 3 Ring mode absolute pulse output As above If the ring set v...

Страница 121: ...t 0 1 mA max Residual voltage 0 4 V max Pulse output specifications Minimum pulse width Pulse fre Switching current load power supply quency 7 mA 5 VDC 5 30 mA 5 VDC 5 7 mA 24 VDC 10 30 mA 24 VDC 10 t...

Страница 122: ...ching capacity NPN open collector 7 mA at 5 to 24 VDC 10 Leakage current 0 1 mA max Residual voltage 0 4 V max Output pulse width Set time 1 s or 0 1 of set time whichever is larger Output pulse width...

Страница 123: ...LS Sets number of output pulses or absolute position OK No No No No SPED Controls pulse output without acceleration or deceleration number of pulses set with PULS for positioning OK No No OK No ACC Co...

Страница 124: ...The actual frequency that is output as generated by the dividing circuit Dividing circuit Actual output frequency Integer dividing ratio set according to the target frequency set by user Clock genera...

Страница 125: ...lowing END refresh Immediate refresh via SPED or ACC execution END refresh If the Analog Output Conversion Enable Bit is ON port 1 AR 1600 port 2 AR 1601 the value in AR 14 or AR 15 is output after pr...

Страница 126: ...one output is being adjusted in adjustment mode Offset gain adjustment The output values can be offset as required by the connected device In Adjustment Mode set in DM 6631 of the User Setup Area for...

Страница 127: ...0 8V 5 0V 5 2V 0FA0 1068 FF38 Resolution 4 000 Applicable Instructions END Refresh Use instructions such as MOV to store the analog output value in AR 14 and AR 15 and then turn ON the Analog Output C...

Страница 128: ...to 11 000 decimal 0 to 10 V 0 to 5 V or 1 to 5 V 0000 to 1130 Hex 0 to 4 400 decimal C 1 Analog Output Target Value C 1 is set to the target analog output value as a 4 digit hexadecimal value 10 to 10...

Страница 129: ...ounter Unit Operation 110 8 1 1 Operation Flowchart 110 8 1 2 Operational Characteristics and Precautions in Using Flash Memory 111 8 2 Power Interruptions 111 8 2 1 Operation at Power Interruptions 1...

Страница 130: ...munications Check hardware and Program Memory Check OK No Yes Set error flags and activate indicators ERROR or ALARM ALARM flashing ERROR lit Execute user s program End of program Check cycle time set...

Страница 131: ...ms and the user program area and Unit Setup Area will be rewritten with interrupts disabled when changing to RUN or MONITOR mode and the under the following conditions Program changes for online edit...

Страница 132: ...nal Operation always stopped at this point regardless Internal 5 V power after interrupt detection Power hold time Fixed at 10 ms Power OFF detected Power OFF detected Processing time after power inte...

Страница 133: ...for executing instructions Varies according to content of user s program Cycle time calculation Standby until set time when minimum cycle time is set See note 1 Calculation of cycle time Preset cycle...

Страница 134: ...O01 User s program 2 000 instructions consisting of LD and OUT instructions Cycle time Variable no minimum set Note The average processing time for a single instruction in the user s program is as sum...

Страница 135: ...2 8 DM for SV 9 5 10 0 1 9 CNT Normal 5 8 F 5 1 Constant for SV 3 0 1 9 1 9 Fast 5 1 DM for SV 3 0 1 8 1 9 Special Instructions Code Mnemonic ON execution time s Conditions Top min bottom max OFF exec...

Страница 136: ...14 2 When transferring DM to DM 23 BIN 9 6 When converting a word to a word 0 9 19 1 When converting DM to DM 24 BCD 10 0 When converting a word to a word 0 9 18 9 When converting DM to DM 25 ASL 4 8...

Страница 137: ...53 DVB 11 1 Word constant word 0 9 12 0 Word word word 26 5 DM DM DM 54 ADDL 16 1 Word word word 0 9 31 2 DM DM DM 55 SUBL 16 0 Word word word 0 9 31 3 DM DM DM 56 MULL 45 3 Word word word 0 9 61 5 D...

Страница 138: ...word constant to FIFO stack 11 8 When setting a word word to FIFO stack 29 7 When setting a DM DM to FIFO stack via DM 11 0 When setting a word constant to LIFO stack 11 7 When setting a word word to...

Страница 139: ...cy 15 9 Designating output via DM reading rate of change or frequency 63 CTBL High speed counters 1 and 2 or pulse output from ports 1 and 2 on CS1W HCP22 HCA22 0 9 38 3 Target table with 1 target in...

Страница 140: ...0 9 24 0 Comparing word results to word 39 5 Comparing DM results to DM 69 STIM 22 0 Word set one shot interrupt start 0 9 27 2 DM set one shot interrupt start 22 0 Word set scheduled interrupt start...

Страница 141: ...0 9 175 0 Linear approximation with 256 item table EM not held 195 2 256 item table value via DM designation 199 0 Linear approximation with 256 item table via DM designation AVG 14 9 One cycle avera...

Страница 142: ...esignation 2 3 7 6 Word designation 6 8 DM designation 8 3 3 I O Response Time The I O response time is the time it takes after an input signal has been received i e after an input bit has turned ON f...

Страница 143: ...ion below In that case a delay of approximately one cycle will occur I O refresh Overseeing etc Input ON delay Input point Input bit Internal processing Instruction execution Instruction execution Out...

Страница 144: ...en online editing is executed during operation Data Exchange with CPU Unit Interrupts will be disabled when processing for data exchange with the CPU Unit is being performed The time for which interru...

Страница 145: ...ut immediately from the interrupt subroutine by using the SPED and ACC instructions if the Unit Set up Area is set to update analog inputs immediately for instruction execution The results of processi...

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

Страница 147: ...izable Counter Unit 9 1 Types of Troubleshooting Information 128 9 2 Error Log 128 9 2 1 Error Log Contents 129 9 2 2 Special I O Unit Error Codes and Detailed Information 129 9 3 Troubleshooting Tabl...

Страница 148: ...l error information for Special I O Units Customizable Counter Unit error codes Only the Customizable Counter Unit SR 23500 to SR 23507 and detailed information in error log Specific error information...

Страница 149: ...t error code de tailed information and time Up to 11 error records are stored in the order they occur The number of records that have been stored will be stored in the first word in hexadecimal Note 1...

Страница 150: ...SR 25214 will turn OFF automatically 9 3 Troubleshooting Tables There are basically two types of error that can occur for the Customizable Count er Unit Fatal errors which stop operation and non fatal...

Страница 151: ...nstructions in the program are supported by the Unit and retransfer the program SR 24908 Out of range operands were found in the program Make sure that all addresses used in the program are supported...

Страница 152: ...e time has exceeded the FALS 9F Cycle Time Monitoring Time DM 6618 Check the cycle time and adjust the Cycle Time Monitoring Time if necessary CPU Errors Resulting in Customizable Counter Unit Fatal E...

Страница 153: ...ror is not detected Commu nications error Lit OFF SR 23512 A communications error occurred for the peripheral port Check the cables Also check the communications settings for the peripheral port in DM...

Страница 154: ...he CPU Unit will be stopped so the status of the RUN STOP Command Bit will not change Error processing in this situation must be performed in the Customizable Counter Unit If RUN STOP Command Bit has...

Страница 155: ...s The same number cannot be used as both an FAL number and an FALS number To clear an FAL error correct the cause of the error execute FAL 00 and then clear the error using the Programming Console FAL...

Страница 156: ...le Count er Unit Power indicator lit RUN indicator lit ERC indicator lit or flashing Is I O sequence normal Operating environment normal Check for fatal errors See page 138 Check I O See page 140 Chec...

Страница 157: ...equate See note Are there any loose terminal screws or bro ken wires Connect power supply Is Power indicator lit Set supply voltage with in acceptable limits Is Power indicator lit Tighten screws or r...

Страница 158: ...Replace the Custo mizable Counter Unit Is there any CPU Unit error or is it on standby Correct the problem at the CPU Unit Connect a Programming Device to the Customizable Counter Unit and turn ON th...

Страница 159: ...it Identify the error see page 130 eliminate its cause and clear the error ERC indicator lit or flashing Is a fatal or non fatal error indicated Is the ERC indicator lit or flashing Replace the Custo...

Страница 160: ...a Peripheral Device No Check the voltage at the IR 00100 terminals Wire correctly Replace the connec tor Operation OK Start Is output wiring correct Is terminal block making prop er contact Disconnec...

Страница 161: ...r Unit Is the connector soldering faulty Operation OK Wire correctly Is input wiring correct Rewire the connec tor Replace connector Is connector making proper con tact Check input devices LS1 and LS2...

Страница 162: ...C Is the ambient temperature above 0 C Is noise being controlled Is the installation envi ronment okay Consider using a heater Consider using an air conditioner Install surge pro tectors or other nois...

Страница 163: ...before executing the transfer An error will occur if this checkmark is not removed Set the Unit Setup Area using normal DM Area editing functions Always following the precautions given later in this...

Страница 164: ...ted will be 10 times the actual cycle time of the Customizable Counter Unit For example if the CX Programmer displays 10 ms the cycle time is 1 ms Startup Operating Mode If the User Setup Area is set...

Страница 165: ...ge it to the correct address for the Customizable Counter Unit SR 23509 Unit Cycle Time Over Flag CQM1H symbol name CQM1H memory contents Customizable Counter Unit area function Function CQM1H address...

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

Страница 167: ...76 checksum error 74 CIO Area words shared with SR Area in Unit 3 clock 16 common processing 13 compiler error 74 conditional ON OFF outputs 3 Connector Terminal Block Conversion Units 8 23 connector...

Страница 168: ...130 reading 36 144 Error Log Area allocation 14 details 69 Error Log Reset Bit 75 execution modes 12 Expansion Racks 24 external interrupt tasks using MCRO 4 F fail safe circuits 38 FAL 06 135 FALS 0...

Страница 169: ...upt Input Mode 93 interrupt inputs 10 58 details 93 ON delay 124 specifications 93 interrupt processing disabling enabling all interrupts 92 example 124 executing tasks in CPU Unit 93 maximum response...

Страница 170: ...ry interruptions 111 Programmable Controller 111 startup operation after 113 power OFF processing 111 113 precautions xi applications xiv xv changing PC operating mode xv circuit failures xiv crimp te...

Страница 171: ...I O Setup Area 57 details 60 Special I O Unit Area 10 Special I O Units allocated CIO words 25 error codes 129 specifications contact I O 18 performance 10 17 SPED and analog outputs 3 and pulse outpu...

Страница 172: ...otection 15 details 55 62 overview 56 settings enabled at startup 57 settings enabled at startup and start of operation 58 Unit Setup Area Reset Bit 75 user memory capacity exceeded 74 protection 15 5...

Страница 173: ...atalog number on the front cover of the manual Cat No W378 E1 1 Revision code The following table outlines the changes made to the manual during each revision Page numbers refer to the previous versio...

Отзывы: