background image

 

 

 

 

 

F&eIT Series 

 

 

16Bits Isolated 
Up-Counter Module 

12 - 24VDC type 

CNT16-8(FIT)GY 

5VDC type 

CNT16-8L(FIT)GY 

User’s Manual 

 

 

 

 

 

 

 

 

 

CONTEC CO.,LTD.

 

 

Summary of Contents for CNT16-8FITGY

Page 1: ...F eIT Series 16Bits Isolated Up Counter Module 12 24VDC type CNT16 8 FIT GY 5VDC type CNT16 8L FIT GY User s Manual CONTEC CO LTD ...

Page 2: ... items contact your retailer Product Configuration List Module One of the following 1 CNT16 8 FIT GY or CNT16 8 L FIT GY First Step Guide 1 CD ROM F eIT Series Setup Disk 1 1 Interface connector plug 1 1 The CD ROM contains various software and User s Manual this manual Module Interface connector plug CNT16 8L Device ID COM 0 NC COM 1 NC 0 3 1 2 6 5 4 7 CD ROM First step guide F eIT Series Setup D...

Page 3: ...t notice All relevant issues have been considered in the preparation of this document Should you notice an omission or any questionable item in this document please feel free to notify CONTEC CO LTD Regardless of the foregoing statement CONTEC assumes no responsibility for any errors that may appear in this document or for results obtained by the user as a result of using this product Trademarks F...

Page 4: ...ited One Year Warranty 4 How to Obtain Service 4 Liability 4 Safety Precautions 5 Safety Information 5 Handling Precautions 5 Environment 7 Inspection 7 Storage 7 Disposal 7 2 Module Nomenclature and Settings 9 Nomenclature of Module Components 9 Setting a Device ID 9 Setup Method 9 LED Indicator 10 3 Connecting to an External Device 11 Interface Connector 11 How to Connect an Interface Connector ...

Page 5: ...ontrol Command 14h 25 Digital Filter command 15h 25 Description of Output Commands 26 Initial Count Value command 00h 07h 26 Count Data Latching command 10h 26 Interrupt Mask command 11h 26 Status Reset command 12h 27 Counter initialization command 13h 27 Counter control command 14h 27 Digital Filter command 15h 28 Examples 30 Pulse Count no interrupts 30 Pulse Count with interrupts 33 5 Using the...

Page 6: ...DC external power supply Please read this manual carefully to create application programs and configure the system such as setting the switches and connecting it to external devices 1 The x in a model code represents a single digit or no digit indicating different products The same convention applies below Features Performs a 16 bit up count for eight channels Isolated from each other by an opto c...

Page 7: ...e CPU CAxx FIT GY Monitoring Control Server Unit SVR MMF2 FIT Monitoring Control Server Unit SVR MMF FIT GY Check each controller to which the module can be connected as well as the method of controlling the module when connected to that controller Connections to controllers O Permitted Not permitted C P U S B x x F I T G Y C P U C A x x F I T G Y S V R M M F 2 F I T S V R M M F F I T G Y CNT16 8 ...

Page 8: ...e For details see Chapter 4 Using the I O Address Map Control using the memory address map When connected to the CPU CAxx FIT GY the module can be accessed from the host computer over the network The module is assigned with its device ID in the memory managed by the controller module The application running on the host computer controls the module by reading writing the memory managed by the contr...

Page 9: ...e only when this device is returned freight prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office from which it was purchased This warranty is not applicable for scratches or normal wear but only for the electronic circuitry and original products The warranty is not applicable if the device has been tampered with or damaged...

Page 10: ...t use or store the equipment in a hot or cold place or in a place that is subject to severe temperature changes Operating temperature range 0 50 C Do not use or store the equipment in a place subject to direct sunlight or near a heating device such as a stove Do not use or store the equipment in a dusty or humid place Operating humidity range 10 90 RH No condensation As this product contains preci...

Page 11: ... and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause h...

Page 12: ...afely CNT16 8L Device ID COM 0 NC COM 1 NC 0 3 1 2 6 5 4 7 4 5 6 7 0 1 2 3 0 4 0 4 6 2 5 1 3 7 Check that the ventilation slit has no obstruction and has no dust or foreign matter adhering Storage When storing this product keep it in its original packing form 1 Put the module in the storage bag 2 Wrap it in the packing material then put it in the box 3 Store the package at room temperature at a pl...

Page 13: ...1 Before Using the Product 8 CNT16 8 FIT GY CNT16 8L FIT GY ...

Page 14: ... 4 7 4 5 6 7 0 1 2 3 0 4 0 4 6 2 5 1 3 7 LED indicator Figure 2 1 Names of Module Components Setting a Device ID The controller module distinguishes and keeps track of the modules that are connected to it by assigning device IDs to them Each module therefore should be assigned a unique ID A Device ID can be assigned in a 0 7 range so that a maximum of eight modules can be distinguished The factory...

Page 15: ...6 8L FIT GY LED Indicator Table 2 1 LED Indicator Name Function LED indicator ON Indicates current flowing in the input pin Counting pulse signal Status LED Input indicator 0 7 GREEN OFF Indicates no current flowing in the input pin Not counting pulse signal ...

Page 16: ...asten the inserted wire Applicable wires are AWG28 16 Turn the screw to fasten the wire CNT16 8L Device ID COM 0 NC COM 1 NC 0 3 1 2 6 5 4 7 Connector used 3 81mm pitch 12 pin type 8 0A rated current MC1 5 12 GF 3 81 made by Phoenix Contact Corp Applicable plug bundled Front screw type with connector stopper flange FRONT MC 1 5 12 STF 3 81 made by Phoenix Contact Corp Applicable wire AWG28 16 9 10...

Page 17: ...nnected to an external device using a 12 pin connector that is provided on the Module face COM 0 COM N C 0 IN 0 1 IN 1 2 IN 2 3 IN 3 4 IN 4 N C 5 IN 5 6 IN 6 7 IN 7 Common plus minus for input port COM 1 COM Pulse input 4points Pulse input 4points Common plus minus for input port Figure 3 2 Signal Layout on the Interface Connector ...

Page 18: ...f this module The power requirement for the CNT16 8 FIT GY is about 8 mA per input channel at 24 VDC about 4 mA at 12 VDC and for the CNT16 8L FIT GY is about 4 mA per input channel at 5 VDC Vcc 3kΩ 3kΩ External circuit Module Optocoupler Input pin Input pin common Input contact point Input contact point 12V 24VDC External power supply Optocoupler Figure 3 3 Input Circuit CNT16 8 FIT GY Vcc 1 2kΩ ...

Page 19: ... External power supply External circuit Module 1 2kΩ Vcc Figure 3 6 Example of a Connection to Current Sink Output CNT16 8L FIT GY Current source output Optocoupler Input pin Minus common 12V 24VDC External power supply External circuit Module 3kΩ Vcc Figure 3 7 Example of a Connection to Current Source Output CNT16 8 FIT GY Current source output Optocoupler Input pin Minus common 5VDC External po...

Page 20: ...08C0h will be used as a starting I O address Table 4 1 List of Starting I O Addresses CNT16 8 FIT GY CNT16 8L FIT GY ID No Occupied I O address 0 0800h 081Fh recommended 0840h 085Fh 0880h 089Fh 08C0h 08DFh 1 1800h 181Fh recommended 1840h 185Fh 1880h 189Fh 18C0h 18DFh 2 2800h 281Fh recommended 2840h 285Fh 2880h 289Fh 28C0h 28DFh 3 3800h 381Fh recommended 3840h 385Fh 3880h 389Fh 38C0h 38DFh 4 4800h ...

Page 21: ...gory Rivision Data 0 00h 0 0 1 1 Rivision Data 3 Rivision Data 2 Rivision Data 1 Rivision Data 0 Products ID Number 1 01h 0 0 0 0 0 0 0 1 Interrupt Status 2 02h Enable 0 Status 0 IRQ 9 0 IRQ 7 0 IRQ 5 0 3 03h 16 10h Reserved Data Status 17 11h Data 07 Data 06 Data 05 Data 04 Data 03 Data 02 Data 01 Data 00 18 12h 31 1Fh Reserved Figure 4 1 Input Port CNT16 8 FIT GY ...

Page 22: ...7 0 IRQ 5 0 3 04h 15 0Fh N A Command 16 10h Command Data 07 Command Data 06 Command Data 05 Command Data 04 Command Data 03 Command Data 02 Command Data 01 Command Data 00 Setting Data 17 11h Setting Data 07 Setting Data 06 Setting Data 05 Setting Data 04 Setting Data 03 Setting Data 02 Setting Data 01 Setting Data 00 18 12h 31 1Fh N A Figure 4 2 Output Port CNT16 8 FIT GY ...

Page 23: ...sion Data 0 00h 0 0 1 1 Rivision Data 3 Rivision Data 2 Rivision Data 1 Rivision Data 0 Products ID Number 1 01h 0 0 0 0 0 0 1 0 Interrupt Status 2 02h Enable 0 Status 0 IRQ 9 0 IRQ 7 0 IRQ 5 0 3 03h 16 10h N A Input Data 17 11h Data 07 Data 06 Data 05 Data 04 Data 03 Data 02 Data 01 Data 00 18 12h 31 1Fh Reserved Figure 4 3 Input Port CNT16 8L FIT GY ...

Page 24: ...7 0 IRQ 5 0 3 04h 15 0Fh N A Command 16 10h Command Data 07 Command Data 06 Command Data 05 Command Data 04 Command Data 03 Command Data 02 Command Data 01 Command Data 00 Setting Data 17 11h Setting Data 07 Setting Data 06 Setting Data 05 Setting Data 04 Setting Data 03 Setting Data 02 Setting Data 01 Setting Data 00 18 12h 31 1Fh N A Figure 4 4 Output Port CNT16 8L FIT GY ...

Page 25: ...sion Data D3 D0 This is product update information subject to change without notice that is managed by CONTEC Product Category D7 D4 This is a module function classification code For the CNT16 8 FIT GY and CNT16 8L FIT GY the code is 1h Table 4 2 Product Category Code Function 0 Bus expansion 1 Digital input output 2 Analog input output 3 Counter 4 Serial communications 5 GPIB 6 F Reserved Product...

Page 26: ...dicates an interrupt request status in the module When an interrupt event has occurred in the module and IRQ5 IRQ7 or IRQ9 is 1 this bit will also be 1 IRQ D2 D0 These bits allow you to verify the interrupt level that is currently set The current interrupt level is indicated as 1 Setting an interrupt level Starting I O address D7 D6 D5 D4 D3 D2 D1 D0 Output Interruput Status 2 02h Enable 0 Status ...

Page 27: ...t 16 each time Figures 4 8 and 4 9 show I O port bit assignments Starting I O address D7 D6 D5 D4 D3 D2 D1 D0 16 10h Undetermined Setting Data 17 11h Setting Data 07 Setting Data 06 Setting Data 05 Setting Data 04 Setting Data 03 Setting Data 02 Setting Data 01 Setting Data 00 Figure 4 8 Input Port Starting I O address D7 D6 D5 D4 D3 D2 D1 D0 Command 16 10h Command Data 07 Command Data 06 Command ...

Page 28: ... CH3 CH2 CH1 CH0 Interrupt mask 8 bit 12h CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0 Status reset 8 bit 13h CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0 Counter initialization 8 bit 14h CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0 Counter control 8 bit 15h Not allowed ST4 ST3 ST2 ST1 ST0 Digital filter 5 bit Table 4 4 Input Commands Command D7 D6 D5 D4 D3 D2 D1 D0 Function Data Size 00h CH0 count vaule CH0 count vaule 16 bit 01h CH1 ...

Page 29: ...utp ADR 16 0x0 OUT ADR 16 H0 LowerData inp ADR 17 LowerData INP ADR 17 UpperData inp ADR 17 UpperData INP ADR 17 In this case the count value latch for CH0 must be pre set to 1 Interrupt mask command 11h Command D7 D6 D5 D4 D3 D2 D1 D0 Function Data length 11h CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0 Interrupt masuk 8 bit This command allows you to monitor the status of the current interrupt mask that was ...

Page 30: ...t to 1 before another interrupt can be generated the affected sense bit must be reset For a description of how to reset a sense bit see Sense Reset on output ports Count control Command 14h Command D7 D6 D5 D4 D3 D2 D1 D0 Function Data length 14h CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0 Count control 8 bit Count operating status of each channel is displayed You can monitor the operaing status by issuing th...

Page 31: ...a corresponding channel to the READ register The command issues the value 10h to the output port 16 and sets a data latch on the output port 17 These bits are associated with the respective channels The command latches the count value by setting the applicable bit to 1 All channels can be latched simultaneously by setting all applicable bits to 1 CAUTION The initial condition is no latch 00h Inter...

Page 32: ...CH3 CH2 CH1 CH0 Counter initialization 8 bit This command resets the counter data of each channel to 0000h The command issues the value 13h to the output port 16 and resets on the output port 17 and sets the applicable bit to 1 Counter control command 14h Command D7 D6 D5 D4 D3 D2 D1 D0 Function Data length 14h CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0 Counter control 8 bit This command controls the corresp...

Page 33: ...than the time set for the digital filter the signal is treated as a valid input and the level of the PC signal is changed Accordingly if level changes occur at a higher frequency than the filter time the level changes will not be detected Input Signal Valid Filter Output Signal Input Signal Digital Filter Filter Output Signal Delay time 2a Max Bounce time m Filter Setting Time a Figure 4 11 Digita...

Page 34: ...ter Time 0 00h 1 Not used 7 07h 16μSec 14 0Eh 2 048mSec 1 01h 0 25μSec 8 08h 32μSec 15 0Fh 4 096mSec 2 02h 0 5μSec 9 09h 64μSec 16 10h 8 192mSec 3 03h 1μSec 10 0Ah 128μSec 17 11h 16 384mSec 4 04h 2μSec 11 0Bh 256μSec 18 12h 32 768mSec 5 05h 4μSec 12 0Ch 512μSec 19 13h 65 536mSec 6 06h 8μSec 13 0Dh 1024μSec 20 14h 131 072mSec 1 Factory setting CAUTION The default value for digital filter setting ti...

Page 35: ...Y CNT16 8L FIT GY Examples Pulse Count no interrupts Flowchart Yes No Start Initialization Set digital filter Status reset Data latch command Enter data Keyboard input End Set initial counter value Data input Figure 4 12 Pulse Count No Interrupts ...

Page 36: ...er struct REGS16 16 bit unsigned short count union ACCESS struct REGS08 Byte CH 8 bit struct REGS16 Whole CH 16 bit union ACCESS CountData Prototype void main void void Initialize unsigned char initialize void ReadData unsigned char unsigned short unsigned char read data Initialize void Initialize unsigned char ch outp ADR 0x10 0x15 digital filter set outp ADR 0x11 0x0d 1024us outp ADR 0x10 0x12 s...

Page 37: ... CountData Byte ch upper inp ADR 0x11 upper data CountData Whole ch count outp ADR 0x10 0x12 status sts unsigned char inp ADR 0x11 main void main void unsigned char ch sts unsigned short data ch 0 channel 0 CountData Whole ch count 0x0000 count data Initialize ch outp ADR 0x10 0x14 count start outp ADR 0x11 0x01 ch while kbhit ReadData ch data sts printf 01dch 08d Status 02x n ch data sts display ...

Page 38: ...ar the interrupt mask Status acquiring EOI Start Interrupt processing Count the number of interrupts End Return Status reset Start couner Show data End of interrupt Reset the interrupt level Restore interrupt vector Stop couner Reset the interrupt mask Initialize Set an interrupt level Interrupt vectors processing Figure 4 13 Pulse Count with Interrupts ...

Page 39: ... upper struct REGS16 16 bit unsigned short count union ACCESS struct REGS08 Byte CH 8 bit struct REGS16 Whole CH 16 bit union ACCESS CountData volatile int intcnt 0 interrupt counter volatile unsigned char intstatus 0 interrupt status volatile int IrqLevel IRQ5 interrupt level int OrgMasterImr OrgSlaveImr original IMR unsigned char IntVector 3 0x0d 0x0f 0x71 interruput vector unsigned char PicMask...

Page 40: ...a Byte ch upper upper change vector void ChgVect void OrgVect _dos_getvect IntVector IrqLevel _disable _dos_setvect IntVector IrqLevel inthandler if IrqLevel IRQ7 IMR and mask clear outp 0x21 OrgMasterImr inp 0x21 0xfb outp 0xa1 OrgSlaveImr inp 0xa1 PicMask IrqLevel outp 0x20 0x62 ISR clear master outp 0xa0 IsrClear IrqLevel ISR clear slave else IMR and mask clear outp 0x21 OrgMasterImr inp 0x21 P...

Page 41: ... IrqLevel OrgVect restore orgvect _enable enable interrupt handler void _interrupt _far inthandler void _enable enable intcnt count interrupt outp ADR 0x10 0x12 status sence intstatus unsigned char inp ADR 0x11 outp ADR 0x10 0x12 sense reset outp ADR 0x11 0xff _disable disable if IrqLevel IRQ7 EOI outp 0xa0 0x20 outp 0xa0 0x0b if inp 0xa0 outp 0x20 0x20 else outp 0x20 0x20 main void main void unsi...

Page 42: ... 0x11 0x00 outp ADR 0x10 0x14 count start outp ADR 0x11 0xff while intcnt 10 kbhit 0 ReadData read data Display display Display display outp ADR 0x10 0x11 interrupt mask close outp ADR 0x11 0xff outp ADR 0x2 0x0 interrupt level ResVect restore vector outp ADR 0x10 0x14 count stop outp ADR 0x11 0x00 End of file ...

Page 43: ...4 Using the I O Address Map 38 CNT16 8 FIT GY CNT16 8L FIT GY ...

Page 44: ...r Module see the Controller Module manual Following is an explanation of the memory areas necessary for the use of this I O module the module area the module information area and the basic data area Module Information area This area controls the settings and how the module is started The module becomes available when the necessary settings are written into this area and the module activation optio...

Page 45: ...unctions 1 R 01 Basic input Starting address 04 Number of basic input channels 1 R 08 8channels Starting address 05 Basic input data size 1 R 02 2bytes Starting address 06 Number of basic output channels 1 R 00 Starting address 07 Basic output data size 1 R 00 Starting address 08 Input channel settings address 1 R 20 20h Starting address 09 Input channel settings data size 1 R 08 8bytes Starting a...

Page 46: ...Starting address 37 CH2 Reserved 3 R None Starting address 38 Startup register 1 R W 00 Starting address 39 Status reset 1 R W 00 Starting address 3A Counter initialization 1 R W 00 Starting address 3B Starting address 3C Preset counter value 2 R W 0000 Starting address 3D Starting address 3F CH3 Reserved 3 R None Starting address 40 Startup register 1 R W 00 Starting address 41 Status reset 1 R W...

Page 47: ... 00 Starting address 5A Counter initialization 1 R W 00 Starting address 5B Starting address 5C Preset counter value 2 R W 0000 Starting address 5D Starting address 5F CH7 Reserved 3 R None Starting address 60 Startup register mask 1 R W 00 Starting address 61 Status reset mask 1 R W 00 Starting address 62 Counter initialization mask 1 R W 00 Starting address 63 Preset counter value mask 1 R W 00 ...

Page 48: ...f basic output channels The number of basic output channels for the CNT16 8x FIT GY is 0 00h No output channel Basic output data size The basic output data size for the CNT16 8x FIT GY is 0 00h byte Input channel settings address The addresses of the settings for each input channel are represented as offset addresses within the module setting area On the CNT16 8x FIT GY the locations of the input ...

Page 49: ...ing Sets the digital filter Table 5 2 Digital Filter Time and Setting Data Setting Data n Digital Filter Time Setting Data n Digital Filter Time Setting Data n Digital Filter Time 0 00h 1 Not used 7 07h 16μSec 14 0Eh 2 048mSec 1 01h 0 25μSec 8 08h 32μSec 15 0Fh 4 096mSec 2 02h 0 5μSec 9 09h 64μSec 16 10h 8 192mSec 3 03h 1μSec 10 0Ah 128μSec 17 11h 16 384mSec 4 04h 2μSec 11 0Bh 256μSec 18 12h 32 76...

Page 50: ...orresponding channel in module data area channel data and status goes to 01h The next carry up does not occur if the status for a channel is 01h Using status reset to output 01 to the corresponding channel clears the sense and permits the next count carry up to occur 00h No operation 01h Sense reset Changes to 00h when sense reset processing completes Counter initialization Resets the counter data...

Page 51: ...4 CH3 CH2 CH1 CH0 Update the Status reset values for the channels corresponding to bits set to 1 0 Ignore 1 Update Status reset value Counter initialization mask Use this function when you want to initialize channels simultaneously Write the settings and mask for CH0 CH7 in a single write operation Table 5 6 Counter initialization mask D7 D6 D5 D4 D3 D2 D1 D0 62h CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0 Up...

Page 52: ...ported functions 1 R 01 Starting address 04 Number of basic input channels 1 R 08 Starting address 05 Basic input data size 1 R 02 Starting address 06 Number of basic output channels 1 R 00 Starting address 07 Basic output data size 1 R 00 Starting address 08 Input channel settings address 1 R 20 Starting address 09 Input channel settings data size 1 R 08 Starting address 0A Output channel setting...

Page 53: ...dress 41 Status 1 R 00 Starting address 42 Starting address 47 CH4 Reserved 6 R None Starting address 48 Startup register 1 R 00 Starting address 49 Status 1 R 00 Starting address 4A Starting address 4F CH5 Reserved 6 R None Starting address 50 Startup register 1 R 00 Starting address 51 Status 1 R 00 Starting address 52 Starting address 57 CH6 Reserved 6 R None Starting address 58 Startup registe...

Page 54: ...This register displays the count operating status of each channel 00h Stopping 01h Operating Status Indicates a carry up occurred for the count on each channel The data corresponding to each channel is set to 01h when a carry up occurs on a channel 00h No carry 01h Carry Once a carry up has occurred for a channel the next carry up cannot be detected until the sense is reset for that channel See St...

Page 55: ...type Starting address 00 CH0 Counter value 2 R Starting address 02 CH1 Counter value 2 R Starting address 04 CH2 Counter value 2 R Starting address 06 CH3 Counter value 2 R Starting address 08 CH4 Counter value 2 R Starting address 0A CH5 Counter value 2 R Starting address 0C CH6 Counter value 2 R Starting address 0E CH7 Counter value 2 R Starting address 10 Starting address 7F Reserved 112 R Digi...

Page 56: ...Y is installed at device ID 0 Yes No Closing processing Get a count value End End Any error in error status bit Get a status Counter module type Start Yes No No Open processing Opened successfully No Yes Yes Digital filter setting Counter initialization Status reset Preset counter Status reset Carry up No Yes Set Module Startup in module startup register ...

Page 57: ...Information Common define FIT_PRODUCT_DIGITAL 0x01 define FIT_PRODUCT_ANALOG 0x02 define FIT_PRODUCT_COUNTER 0x03 define FIT_MODULE_START_OFF 0x00 define FIT_MODULE_START_ON 0x01 Address CNT define FIT_CNT_BIT 0x12 define FIT_CNT_D_FILTER 0x13 define FIT_CNT_CH_START 0x00 define FIT_CNT_CH_ST_RESET 0x01 define FIT_CNT_CH_INITIAL 0x02 define FIT_CNT_CH_PRESET 0x03 Sample define FIT_SAMPLE_IP_ADDRES...

Page 58: ...ry 02X H n byCategory FIT_Close hHandle return 1 Digital Filter Set byData 0x00 0x0D 1 024msec Write Digital Filter Settings wStatus FIT_Write hHandle dwVaBase dwVaOffset FIT_CNT_D_FILTER 0x01 byData 0 if wStatus 0 printf Error FIT_Write 04X H n wStatus Channel Offset dwVaChOffset 0x20 0x08 FIT_SAMPLE_CH Read Channel Configuration wStatus FIT_Read hHandle dwVaBase dwVaOffset dwVaChOffset 0x08 byDa...

Page 59: ..._IO_DEVICE_INFOR dwVaOffset FIT_IO_DEVICE_SIZE FIT_SAMPLE_DEVICE_ID dwVaChOffset 0x08 FIT_SAMPLE_CH dwVaBase_Data FIT_IO FIT_IO_INPUT dwVaChOffset_Data 0x02 FIT_SAMPLE_CH dwChCarryCnt 0 printf Hit Any Key Stop n while kbhit Read Counter Data wStatus FIT_Read hHandle dwVaBase_Data dwVaOffset dwVaChOffset_Data 2 byData 0 if wStatus 0 printf Error FIT_Read 04X H n wStatus Read Status Data Carry Up dw...

Page 60: ...5 Using the Memory Address Map CNT16 8 FIT GY CNT16 8L FIT GY 55 printf Counter CH d Data 02X 02X CarryUpCount d r FIT_SAMPLE_CH byData 1 byData 0 dwChCarryCnt Close FIT_Close hHandle return 0 ...

Page 61: ...5 Using the Memory Address Map 56 CNT16 8 FIT GY CNT16 8L FIT GY ...

Page 62: ...nce CNT16 8 FIT GY CNT16 8L FIT GY 57 6 System Reference Block Diagram Stack Connector Control Circuit Device ID Interface Connector IN00 IN07 Opto Coupler Transistor Output Data Latch Figure 6 1 Circuit Block Diagram ...

Page 63: ...n Approx 50m depending on wiring environment Physical dimensions mm 25 2 W x 64 7 D x 94 0 H exclusive of protrusions Weight of the module itself 100g Module connection method Stack connection by the connector that is provided with the side of module Module installation method One touch connection to 35mm DIN rails standard connection mechanism provided in the system Applicable wire AWG 28 16 Appl...

Page 64: ...ing on wiring environment Physical dimensions mm 25 2 W x 64 7 D x 94 0 H exclusive of protrusions Weight of the module itself 100g Module connection method Stack connection by the connector that is provided with the side of module Module installation method One touch connection to 35mm DIN rails standard connection mechanism provided in the system Applicable wire AWG 28 16 Applicable plug FRONT M...

Page 65: ...NT16 8 FIT GY CNT16 8L FIT GY Physical Dimensions 1 2 1 2 94 25 2 3 5 64 7 4 mm 14 0 31 5 14 0 35 0 45 0 CNT16 8L Device ID COM 0 NC COM 1 NC 0 3 1 2 6 5 4 7 4 5 6 7 0 1 2 3 0 4 0 4 6 2 5 1 3 7 Figure 6 2 Physical Dimensions ...

Page 66: ...ku Osaka 555 0025 Japan Japanese http www contec co jp English http www contec com Chinese http www contec com cn No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO LTD 08222008 07262004 Management No A 40 668 08222008_rev4 Parts No LYDQ283 ...

Reviews: