background image

47

4-2-5

Application Examples

Linear Operating Mode: Controlling Conveyor Processing System Configuration

Output Unit C200H-OC224

Counter Unit

Control input IN1

Inputs A and B

Process indicators

Station 2

Station 1

Work piece

Encoder

Conveyor

Motor

Transfer
hand

An encoder adapter is required
if the C200H-CT002 is used with
an open-collector encoder.

C200H PC

Encoder adapter

Outputs 0 through 3

Photoelectric
switch

Operation

This example system detects the position of the work piece on the conveyor
by means of the pulse input from the encoder and processes the work piece
at the required positions.

1, 2, 3... 1.

The photoelectric switch detects that the work piece is loaded on the
conveyor belt from a transfer conveyor, and the counter value is reset.

2. 

The counter value is used to control processing at each station.

3. 

The PC controls the motor operation and drives the transfer hand.

Switch Settings

In this example, the unit number selector and the mode selector are both set
to 1. Pins 6 and 7 are turned ON on the back panel DIP switch to designate
offset phase inputs with no input multiplier and to make control input IN1 ef-
fective on its rising edge. All other pins on the DIP switch are turned OFF.

Wiring

1, 2, 3... 1.

Connect the output from the photoelectric switch to control input IN1.

2. 

Connect encoder outputs to the inputs A and B.

3. 

Connect outputs 0 through 3 to the process indicators.

4. 

Connect the Output Unit to the motor and the transfer hand.

Linear and Circular Modes

Section 4-2

Summary of Contents for SYSMAC C200H-CT001-V1

Page 1: ...Cat No W141 E1 4 High speed Counter Units SYSMAC C200H CT001 V1 CT002 OPERATION MANUAL...

Page 2: ......

Page 3: ...C200H CT001 V1 CT002 High speed Counter Units Operation Manual Revised September 2000...

Page 4: ...iv...

Page 5: ...ns word and is abbreviated Wd in documentation in this sense The abbreviation PC means Programmable Controller and is not used as an abbreviation for any thing else Visual Aids The following headings...

Page 6: ...vi...

Page 7: ...put Circuit Wiring Examples 18 2 4 Dimensions 24 SECTION 3 Operation 25 3 1 Operational Flow 26 3 2 Input Selection 26 3 3 Counter Reset Conditions 29 3 4 Data Transfer Timing 30 SECTION 4 Data Alloca...

Page 8: ......

Page 9: ...shows the Unit settings and connector cable pin specifications Instructions for the con struction of input and output connectors are provided Electrical schematics and examples are pres ented to furt...

Page 10: ......

Page 11: ...r the safe and reliable application of the C200H CT001 V1 CT002 High speed Counter Units You must read this section and understand the information contained before attempting to set up or operate a C2...

Page 12: ...rmance characteristics of the product are sufficient for the systems machines and equipment and be sure to provide the systems machines and equipment with double safety mechanisms This manual provides...

Page 13: ...C system Be sure that the operating environment is within the specified conditions at installa tion and remains within the specified conditions during the life of the system 5 Application Precautions...

Page 14: ...el attached may result in malfunction Double check all wiring and switch settings before turning ON the power sup ply Incorrect wiring may result in burning Wire correctly Incorrect wiring may result...

Page 15: ...g Unit nomenclature and then describes the type of system the Units are generally incorporated it This section ends with an introduction to the six operating modes which are described in more detail i...

Page 16: ...excessive cable length or a noise prone environment is anticipated Unless otherwise specified all information presented applies to both High Speed Counter Units Both the High Speed Counter Units are r...

Page 17: ...tive products Encoder adapter Many other applications are possible by combining other types of inputs and out puts Refer to Section 4 Data Allocation and Operating Modes for other applica tion example...

Page 18: ...388 607 to zero although it can also be increm ented During this decrement phase a total of 3 outputs may be switched ON and OFF according to ON OFF counter values When the counter value reaches zero...

Page 19: ...set interval after control input IN1 the count signal is turned ON Counting may be in either direction Counting always begins at zero and ranges between 8 388 608 and 8 388 607 The time interval must...

Page 20: ......

Page 21: ...ifications Instructions for the construction of input and output connectors are provided Electrical schematics and examples are presented to further explain Unit operation 2 1 Switch Settings 8 2 2 Wi...

Page 22: ...it no Used to set the unit number Unit numbers run from 0 through 9 and are the same for all Special I O Units i e unit number 0 may be assigned to a Position Control Unit unit number 1 to a High spee...

Page 23: ...rising edge OFF Input Z inoperative For Operating Mode 1 or 2 Input Z 6 7 Function OFF ON ON ON Control input IN1 effective on falling edge Control input IN1 effective on rising edge OFF Control input...

Page 24: ...17 Input B 5 VDC Input Z 24 VDC 16 Input Z 12 VDC Input Z 0 V 15 Input Z 5 VDC 14 13 Control input IN1 12 24 VDC Control input IN1 0 V 12 Control input IN1 5 VDC 11 Control input IN2 12 24 VDC Contro...

Page 25: ...t 1 Outputs 0 through 3 COM 0 V 6 Output 2 5 Output 3 Outputs 4 through 7 Power supply 5 to 24 VDC 4 Output 4 3 Output 5 Outputs 4 through 7 COM 0 V 2 Output 6 1 Output 7 Wiring Connectors Solder type...

Page 26: ...used as required by operating condi tions The jack is a Fujitsu model 360 1 2 3 1 FCN 361J040 solder type included with Counter Unit FCN 360C040 B connector cover 2 FCN 363J040 crimp type housing FCN...

Page 27: ...to pos sible sources of noise such as power lines 3 Use a stabilized power supply that is independent from other input and output power supplies The external power supply must be greater than or equal...

Page 28: ...B 12 VDC A17 Input B 5 VDC B17 Input B 0 V 1 6 k 560 Rectifier B16 Input Z 24 VDC A16 Input Z 12 VDC A15 Input Z 5 VDC B15 Input Z 0 V 1 6 k 560 Filter A13 A12 B12 Control input IN1 12 24 VDC Control...

Page 29: ...0 5 A B8 Output power supply 5 to 24 VDC A8 Output 0 A7 Output 1 A6 Output 2 A5 Output 3 B6 Output COM 0 V Fuse 0 5 A B4 Output power supply 5 to 24 VDC A4 Output 4 A3 Output 5 A2 Output 6 A1 Output...

Page 30: ...B pos B17 Input B neg A15 Input Z pos B15 Input Z neg Filter A13 A12 B15 Control input IN1 12 24 VDC Control input IN1 5 VDC Control input IN1 0 V 1 3 k Filter A11 A10 B10 Control input IN1 12 24 VDC...

Page 31: ...0 5 A B8 Output power supply 5 to 24 VDC A8 Output 0 A7 Output 1 A6 Output 2 A5 Output 3 B6 Output COM 0 V Fuse 0 5A B4 Output power supply 5 to 24 VDC A4 Output 4 A3 Output 5 A2 Output 6 A1 Output 7...

Page 32: ...used for a 12 VDC power supply and an incremental encoder with a open collector output Rectifier Rectifier Filter Input A Input B Input Z 24 V 12 V 5 V 0 V 24 V 12 V 5 V 0 V 24 V 12 V 5 V 0 V IA IA IB...

Page 33: ...FF When the encoder output is low the input to the Counter Unit turns ON Rectifier Rectifier Filter Input A Input B Input Z 24 V 12 V 5 V 0 V 24 V 12 V 5 V 0 V 24 V 12 V 5 V 0 V IA IA IB IB IZ IZ Shie...

Page 34: ...ttention must be paid to the ON voltage Rectifier Rectifier Filter Input A Input B Input Z 24 V 12 V 5 V 0 V 24 V 12 V 5 V 0 V 24 V 12 V 5 V 0 V IA IB IZ Shielded twisted pair cable 5 VDC power supply...

Page 35: ...nections should be wired so that Counter Unit inputs go ON when encoder outputs go ON Because the C500 AE001 Encoder Adapter uses an Am26LS31 compatible line driver high voltage is impressed on the po...

Page 36: ...ontacts as possible Sensor output Filter Filter Sensor output 12 to 24 VDC power supply 12 to 24 VDC 0 V Twisted pair cable Sensor Counter Unit Control input IN1 12 24 V 5 V 0 V 12 24 V 5 V 0 V Sensor...

Page 37: ...ay 0 V Counter Unit 5 to 24 VDC B4 A4 A3 A2 A1 B2 Output 4 Output 5 Output 6 Output 7 Fuse COM 0 5 A 0 V 5 VDC 0 V 5 VDC Output 4 Output 5 Output 6 Output 7 Buffers Pull up resistors 4 7 k 5 to 24 VDC...

Page 38: ...24 2 4 Dimensions Unit Dimensions Unit mm 130 35 100 5 Mounted Dimensions Unit mm 117 Approx 200 Connecting cable Rack Dimensions Section 2 4...

Page 39: ...are identified along with instructions for their use Data transfer timing is described in relation to the PC cycle time 3 1 Operational Flow 26 3 2 Input Selection 26 3 2 1 Offset Phases 26 3 2 2 Up a...

Page 40: ...ts i e two inputs with offset phases individual up and down inputs and pulse and direc tion inputs All three types of inputs include a reset input Any type of any input can be used with any of the ope...

Page 41: ...put B 1 4 T 1 8 T 90 45 ON OFF ON OFF Input A Input B T 360 Towards CCW Since the output phase difference is 90 45 the minimum phase difference produced by this encoder is as follows 90 45 45 Because...

Page 42: ...t B Input Z Encoder or sensor Sensor or switch Increment pulse Decrement pulse Reset input Counter Unit 3 2 3 Pulse and Direction With pulse and direction inputs the counter value is incremented or de...

Page 43: ...ulse width for the input Z is 0 1 ms that for the control input IN1 1 ms In the following table input Z is indicated by Z control input IN1 by IN1 and the internal reset bit by IRB The point at which...

Page 44: ...ese pins may be either ON or OFF 3 4 Data Transfer Timing Data transfer is available in linear and circular modes to change ranges limit set tings or the current counter value and in preset mode to ch...

Page 45: ...ther inputs C200H Counter Unit Data transfer would enter into the cycle time as shown below Cycle time Cycle time Cycle time I O refresh cycle Data transfer Transfer com pleted flag Internal process i...

Page 46: ......

Page 47: ...cation 34 4 2 1 Data Allocation 36 4 2 2 DM Area Settings 39 4 2 3 IR Area Settings 40 4 2 4 Timing Chart 46 4 2 5 Application Examples 47 4 3 Preset Mode 52 4 3 1 Data Allocation 52 4 3 2 DM Area Set...

Page 48: ...h cycle Note that input and out put designations are in reference to the PC e g command bits are outputs sta tus bits are inputs Each Counter Unit is also allocated 100 consecutive words as a paramete...

Page 49: ...29 Unit 2 130 through 139 Unit 3 140 through 149 Unit 4 150 through 159 Unit 5 160 through 169 Unit 6 170 through 179 Unit 7 180 through 189 Unit 8 190 through 199 Unit 9 Specified Data Area DM fixed...

Page 50: ...al aspect and data allocations for these two modes are the same except that in linear mode counter values range linearly between 8 388 608 and 8 388 607 while in circular mode counter values range fro...

Page 51: ...put pattern for range 3 Format same as that for range 0 m 30 m 34 Lower limit upper limit and output pattern for range 4 Format same as that for range 0 m 35 m 39 Lower limit upper limit and output pa...

Page 52: ...FER DATA data area 0 to 4 Not used Set to 0 Number of transfers 1 to 3 n n 1 Word Bit Function 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 n 8 n 9 0...

Page 53: ...limit is greater than the upper limit Ranges may over lap in which case all outputs specified for each are set Set all data for unused ranges to zeros Lower Limit Words m 10 and m 11 Range 0 The lower...

Page 54: ...utput force bits are OFF 4 Set ENABLE FORCED OUTPUT 5 Set the required output force bits Refer to 4 2 1 Data Allocation for the specific bit allocations Range Enable Bits Word n 1 Range enable bits ar...

Page 55: ...nd an error code of 34 will be output Number of Transfers Word n 3 bits 15 through 08 Set to between 1 and 3 When changing range parameters data for up to three ranges can be trans ferred at the same...

Page 56: ...gura tion consists of a Counter Unit unit 0 on a C200H PC and an Input Unit allocated word 00 The Input Unit is connected to two switches SW1 which is programmed to START 00000 and SW2 which is progra...

Page 57: ...Cycle Flag The following example shows use of TRANSFER DATA to transfer the count er value The system configuration consists of a Counter Unit unit 1 on a C200H PC and three Input Units allocated wor...

Page 58: ...word 113 The program is also used to input FF into the first word to indicate transfer of a counter value Program MOV 21 0000 030 25315 MOV 21 00FF 002 MOV 21 0002 112 DIFU 13 03000 SW2 00001 SW1 0000...

Page 59: ...can be set to access information on the error whenever the error flag is ON Error information is output to IR word n 5 If more then one error has occurred information on other errors can be output to...

Page 60: ...ctor terminals ENABLE OUTPUT Word n bit 02 ENABLE FORCED OUTPUT Word n bit 07 a Normal outputs b Forced outputs 1 2 3 1 START is effective on the rising edge 2 External outputs are prohibited when ENA...

Page 61: ...at the work piece is loaded on the conveyor belt from a transfer conveyor and the counter value is reset 2 The counter value is used to control processing at each station 3 The PC controls the motor o...

Page 62: ...upper limit 1200 Output pattern specifies that output 0 be turned ON when the counter value is within range 0 Range 1 work piece at station 2 Lower limit 2500 upper limit 2900 Output pattern specifies...

Page 63: ...9 11908 Start switch START and ENABLE OUTPUT are ON while the start switch is ON Internal outputs 11908 and 11909 are used to control position dependent pro cessing Process indicators are turned ON an...

Page 64: ...ls outputs according to shaft rotation Switch Settings In this example the unit number selector is set to 1 and the mode selector is set to 2 Pins 2 4 6 and 8 are turned ON on the back panel DIP switc...

Page 65: ...mit 200 0 is spanned Output pattern specifies that outputs 1 and 6 be turned ON when the counter value is within range 1 Range 2 work piece at transfer point Lower limit 600 upper limit 3100 Output pa...

Page 66: ...rd n bit 00 is used to start and stop i e as the start signal the Counter Unit when pin 4 on the back panel DIP switch is turned OFF Control input IN2 is used to start and stop the Counter Unit when p...

Page 67: ...rn 10 Word Function m 36 m 37 m 38 m 39 m 40 m 41 m 42 m 43 m 44 m 45 m 46 m 47 m 48 m 49 m 50 m 51 m 52 m 53 m 54 to m 99 Preset 11 and output pattern 11 Preset 12 and output pattern 12 Preset 13 and...

Page 68: ...OR command 06 RESET COUNTER command 07 ENABLE FORCED OUTPUT command 08 Output 0 force bit 09 Output 1 force bit 10 Output 2 force bit 11 Output 3 force bit 12 Output 4 force bit 13 Output 5 force bit...

Page 69: ...gh 08 The operating mode is set with the mode selector on the front panel Refer to 1 4 Operating Modes for an overview of available modes Presets DM words m 14 through m 53 Two words are used to hold...

Page 70: ...t 0 ON OFF Output 1 ON OFF Output 2 ON OFF Output 4 ON OFF Output 5 ON OFF Output 6 ON OFF Output 7 ON OFF ON time OFF Counter Value OFF Counter Value OFF Counter Value ON Counter Value ON Counter Val...

Page 71: ...8 is effective only when CHANGE PRE SET is turned ON before the start signal is turned ON Word n bit 06 RESET COUNTER is effective when the internal reset bit is designated with back panel DIP switch...

Page 72: ...ain the preset counter value and output pattern in the same format as that used in DM for the normal presets The numbers of the presets being transferred need not be consecutive Counting Flag Word n 4...

Page 73: ...d ON when the counter value is incremented passed 8 388 607 This flag turns OFF when the next counting operation is started Reset Flag Word n 4 bit 07 The reset flag turns ON for one PC cycle time aft...

Page 74: ...rd n bit 02 ENABLE FORCED OUTPUT Word n bit 07 a b a 1 0 1 0 RESET COUNTER Word n bit 06 4 Preset counter value Counter value External outputs Outputs to connector terminals a Normal outputs b Forced...

Page 75: ...r Controller Output Motor ON High low speed Brake Motor Encoder Bobbin An encoder adapter is required if the C200H CT002 is used with an open collector encoder Inputs A and B Outputs 0 through 2 and 4...

Page 76: ...and to enable RESET COUNT ER All other pins on the DIP switch are turned OFF Wiring 1 2 3 1 Connect encoder outputs to inputs A and B 2 Connect outputs 0 1 and 2 to the motor controller inputs as fol...

Page 77: ...odes In gate latch and sampling modes counter values are incremented and decre mented while the count signal is ON and according to any of the three types of input pulses All three modes permit counti...

Page 78: ...ins commands and status information Inputs and outputs are given in reference to the PC i e output data is sent from the PC to the Counter Unit input data from the Counter Unit to the PC The first IR...

Page 79: ...for details Designations are as follows 0000 Normal 0001 Cumulative 4 4 3 IR Area Settings Word n bit 01 SET TIME is turned ON to use the sampling time held in word n 1 The new sam pling time is effe...

Page 80: ...A Error Code List Counting Flag Word n 4 bit 00 The counting flag is ON whenever the Counter Unit is counting IN1 Flag Word n 4 bit 02 The IN1 flag indicates the status of control input IN1 When the f...

Page 81: ...ative Gate Mode C200H CT002 Only 1 0 1 0 1 0 Control input IN1 reset External or internal word n bit 03 Control input IN2 count pulse External or internal word n bit 04 Current counter value Words n 7...

Page 82: ...starts from 0 on the rising edge of IN1 2 The current counter value is latched frozen on the rising edge of IN2 latch signal and latched value is maintained until the next IN2 or IN1 signal 3 The int...

Page 83: ...ue is retained until the next IN1 signal 3 When SET DATA is turned ON while the counting flag is ON the new sampling time is set after completion of the counting operation and used for the next counti...

Page 84: ...es the re sulting length measurements to determine if product lengths are within stan dards Switch Settings In this example the unit number selector is set to and 1 and the mode selec tor is set to 4...

Page 85: ...ally ON Normally ON Compares counter value to minimum value Output when length is shorter than the standard Compares counter value to maximum value Output when length is longer than the standard Outpu...

Page 86: ...ged workpieces decre ment input B Control switch control input IN1 Latch switch Control input IN2 Encoder adapter Operation This example system monitors the number of work pieces in the processing sta...

Page 87: ...ment inputs Wiring 1 2 3 1 Connect the photoelectric switch outputs to input A increment and the input B decrement 2 Connect the count switch to control input IN1 3 Connect the latch switch to control...

Page 88: ...CLC 41 ROL 27 030 03000 03001 03002 03003 25313 Normally On 03015 03015 Normally On 25313 Initializes strobe data Outputs 101 and 100 when strobe 0 1 Outputs 103 and 102 when strobe 1 1 Outputs 105 an...

Page 89: ...ured only af ter all vibration has stopped Switch Settings In this example the unit number selector is set to 1 and the mode selector is set to 6 All pins except pins number 2 and 3 are turned OFF on...

Page 90: ...Sampling Mode Example 2 Measuring Speed System Configuration Counter Unit Input A C200H PC Encoder single Resolution 200 pulses revolution Motor An encoder adapter is required if the CT002 is used wit...

Page 91: ...to 6 All pins except pins 1 and 2 are turned OFF on the back panel DIP switch to designate pulse and direction inputs Wiring 1 2 3 1 Connect the incremental encoder output to the inputs A 2 Do not co...

Page 92: ...L 57 DM 0004 DM 0004 DM 0002 1101 Sets the sampling time to 1 000 ms Inputs 0000 and 0003 to DM 0000 and DM 0001 respec tively Inputs 0000 and 0010 to DM 0002 and DM 0003 respec tively Turn the intern...

Page 93: ...Processing This section presents possible errors and solutions and describes how to handle errors from the PC The AR area Error and Restart Flags are described 5 1 Error Indications 80 5 2 Troubleshoo...

Page 94: ...oting from the PC Errors in the Counter Unit can be monitored from the PC The Counter Unit is monitored as a Special I O Unit and as such is treated the same as a Position Control Unit or any other Sp...

Page 95: ...ot normally executed Bit Unit number AR 000 0 AR 001 1 AR 002 2 AR 003 3 AR 004 4 AR 005 5 AR 006 6 AR 007 7 AR 008 8 AR 009 9 Restart Flags The following restart flags are turned ON and OFF to restar...

Page 96: ......

Page 97: ...arameter error Error in parameters other than those covered under codes 11 12 and 14 above 32 Counter preset The counter preset number is not between 00 and 19 33 Transfer range no transfer preset no...

Page 98: ......

Page 99: ...ther Input multiplier x2 or x4 available for offset phase inputs Input signals Input Z Control input IN1 Control input IN2 External signal level CT001 V1 5 12 or 24 VDC Selected when wiring CT002 Same...

Page 100: ...ak current 0 1 mA max Residual voltage 0 4 V max ON OFF response time High speed counting process time 0 3 ms External power supply 5 to 24 VDC 10 50 mA max at 26 4 VDC Switching capacity Maximum Swit...

Page 101: ...response time Inputs A and B Waveform of inputs A and B Rise fall time 3 s max 50 kHz 50 pulse 10 s min 10 s min 20 s min 3 s max 3 s max Relation between inputs A and B for offset phase Inputs ON 50...

Page 102: ...1 ms max Minimum response time Input A and B Waveform at positive terminals 75 kHz 50 pulse ON 0V OFF Relation between inputs A and B for offset phase Inputs ON Input A 0V OFF ON Phase B 0V OFF T1 T2...

Page 103: ...PRESET ENABLE FORCED OUTPUT TRANSFER DATA START n 1 Range enable bits n 2 TRANSFER DATA beginning channel number n 3 Number of transfers TRANSFER DATA data area Input n 4 Reset Completed Count overflo...

Page 104: ...ea 7 6 5 4 3 2 1 0 Input n 4 Output flags Reset flag Count overflow flag Error flag Transfer completed flag IN1 flag Counting flag n 5 Error code Error location n 6 Current counter value 7 digits n 7...

Page 105: ...e 2 Lower limit range 3 Upper limit range 3 Output pattern range 3 Lower limit range 4 Upper limit range 4 Output pattern range 4 Lower limit range 5 Upper limit range 5 Output pattern range 5 Lower l...

Page 106: ...0 3 0 0 Operating mode OFF counter value for output 0 ON counter value for output 1 OFF counter value for output 1 OFF counter value for output 2 ON counter value for output 2 ON time for outputs 4 th...

Page 107: ...64 data format 36 data transfer 26 See also Unit Counter transferring data area 40 delay precaution 31 in Remote I O Systems 31 relation to PC scan time 30 source 41 DIP switch setting See Unit Count...

Page 108: ...allocation 26 34 L O latch mode description 4 operation 63 timing relationships 68 LED indicators 2 linear mode description 4 DM area allocation 37 IR area allocation 38 IR area settings commands 40...

Page 109: ...mple configuration 3 front view 2 indicators 2 input and output circuits 13 input circuit examples 18 input selection 26 linear mode 36 mounting location 3 Offset Phase input 26 operating modes 4 30 o...

Page 110: ...ers corrected for bits 10 through 15 Page 64 Explanation of ENABLE OUTPUT corrected Page 66 Information added on operation of counting flag Page 67 Information corrected concerning CT001 V1 support of...

Reviews: