background image

I/O Expansion Module Overview 

12 

 

HMC3000 Series I/O Module Guide 

12 

 

Configuring High-speed Counters 

Maple Systems’ HMC modules have built

-in High-Speed counters that link directly to specific inputs and outputs. 

Specific registers and bits are predefined for setup and control of these counters. No logic is required to run the 
counters, other than logic that may be used for configuration and control. 

Two inputs on the module are used as the 

Triggers

 for the High-Speed counters, and two outputs are used as 

the 

Done

 bits. The inputs support a maximum speed of 200 KHz. 

The following bits and registers are associated with a High-Speed counter: 

Register/ Bit 

Description 

Configuration 
Register 

The 16-bit register that controls how the High-Speed counter operates. 

Current Count 
Register 

The 32-bit register that counts the number of times that the Trigger has 
transitioned. The specified register is the Least Significant Word (LSW); the next 
consecutive register is the Most Significant Word (MSW). 

Preset Register 

The 32-bit register that defines the number of counts at which the Done bit will be 
set (see description of Done Bit below). The specified register is the Least Significant 
Word (LSW); the next consecutive register is the Most Significant Word (MSW). 

Trigger Bit 

The input bit that triggers the count. The counter will increment by one on each bit 
transition. The counter can operate on a falling (default) or rising edge. 

Enable Bit 

The counter will not run unless this bit is set. If this bit is reset while the counter is 
running, the current values will be maintained, but the Trigger bit will have no 
effect. The Done bit is reset if the Enable bit is reset. If the Current Count value is 
greater than or equal to the Preset value, the Done bit is set after the Enable bit is 
set again.  

Reset Bit 

When this bit goes from false to true, the current count will reset to 0 and the Done 
bit is reset. The reset occurs even when the Enable bit is reset. The reset is 
accomplished by an internal bit or a physical input. 

Done Bit 

The physical output that turns on when the Current Count is equal to or greater than 
the Preset value. The bit remains set until the Reset bit goes true, even if the 
counter counts beyond the preset. If the Enable bit is reset, the Done bit will reset. If 
the Enable bit is set while the Current Count is equal to or greater than the Preset, 
the Done bit is set. 

 
Reference the tables below when configuring each HSC Configuration Register: 

Input Mode 

Output Mode 

Register Value 

Normal Input 

N/A 

High Speed, 
Single Phase, 
Up/Down Counter 

Output ON when preset is reached 

Output ON when counter is enabled, 
OFF when preset is reached 

258 

Quadrature 4X 

Output ON when preset is reached 

131 

Output ON when counter is enabled, 
OFF when preset is reached 

387 

 

 

 

Содержание HMC3-M0808P0401T

Страница 1: ...ource _____________________ www maplesystems com Maple Systems Inc 808 134th St SW Suite 120 Everett WA 98204 425 745 3229 I O Module Guide For the HMC3000 Series For use with the following HMC3000 Se...

Страница 2: ...ple Systems equipment is prohibited without the specific written permission of Maple Systems WARRANTY Warranty Statements are included with each unit at the time of purchase and are available at www m...

Страница 3: ...finitions 10 Configuring High speed Counters 12 Configuring Pulse Width Modulation PWM Outputs 14 HMC3 M0808P0401T 19 Specifications 19 Configuration 21 Wiring 23 HMC3 M0808Y0401T 27 Specifications 27...

Страница 4: ...ction 4 HMC3000 Series I O Module Guide 4 Specifications 57 Configuration 59 Wiring 61 HMC3 M1614Y 64 Specifications 64 Configuration 65 Wiring 66 HMC3 M1616P 68 Specifications 68 Configuration 69 Wir...

Страница 5: ...age 0 5V 0 10V Current 0 20mA 4 20mA HMC3 M1212P0200 12 Digital Inputs 2 high speed pairs up to 200kHz 12 Digital Outputs 2 PWM up to 1kHz 2 Analog Inputs Voltage 0 5V 0 10V Current 0 20mA 4 20mA HMC3...

Страница 6: ...les The expansion modules for the HMC3000 base units attach onto the back of the HMC3000 via expansion slots and are secured with a Phillips screw on the top right and bottom left corners of the modul...

Страница 7: ...ose the IO Allocation window or click the Configure button to pre configure the module s input and output channels 5 In this example Slot 1 is identified with an I O module along with a description an...

Страница 8: ...from a window or via a power up task The available options will depend on the module being configured Select the channel and desired configuration then click the Confirm button to save the configurati...

Страница 9: ...Module Guide 9 8 For the Analog configuration of this module the behavior is the same choose the channel and the configuration then click the Confirm button to complete the configuration 9 Options fo...

Страница 10: ...s Each analog input terminal is associated with an internal Input Register XW in the tag database of the HMC3000 Similarly each analog output terminal is associated with an Output Register YW Sinking...

Страница 11: ...act can handle up to 230VAC with a 2A load per contact For DC loads each relay output contact can handle a 2A load per contact for up to 30VDC Analog Voltage Analog voltage inputs can measure DC volta...

Страница 12: ...riggers the count The counter will increment by one on each bit transition The counter can operate on a falling default or rising edge Enable Bit The counter will not run unless this bit is set If thi...

Страница 13: ...Up Counter HSC 011 Quadrature To Implement High speed Counter Operation 1 Connect a device that will provide the high speed pulses to one of the high speed inputs on the expansion module 2 Configure...

Страница 14: ...r LSW MSW MW0303 MW0304 MW0309 MW0310 Configuring Pulse Width Modulation PWM Outputs Maple Systems HMC3000 I O modules have built in Pulse Width Modulation functionality Specific registers and bits ar...

Страница 15: ...n Register MWnn24 MWnn30 Value 1 for this mode Frequency Setting Register MWnn25 MWnn31 Range 1 to 200000 ON Duty Setting Register Duty Cycle MWnn27 MWnn33 Range 0 to 100 Pulse Enable Flag Mnn576 Mnn5...

Страница 16: ...sed The frequency can be adjusted while running place a 4 in the Config register instead of 3 and the Duty Cycle is fixed at 50 Function Register Description Output PWM Pulse Y0 Channel 1 Y1 Channel 2...

Страница 17: ...can be adjusted while running place an 8 in the configuration register and the Duty Cycle is fixed at 50 Function Register Description Output PWM Pulse Y0 Channel 1 Y1 Channel 2 Physical Output Confi...

Страница 18: ...mode Minimum Frequency Register MWnn25 MWnn31 Range 1 to 100000 Maximum Frequency Register MWnn27 MWnn33 Range 1 to 100000 Acceleration Time Register MWnn37 MWnn38 Range 0 to 65535 Deceleration Time...

Страница 19: ...which are high speed inputs It also has eight digital sourcing PNP outputs two of which can be configured for PWM operation This module also has 4 universal analog inputs Voltage Current Thermocouple...

Страница 20: ...Output Voltage 22 VDC Maximum ON Output Voltage 30 VDC Minimum OFF Output Voltage 0 2 VDC Maximum OFF Output Voltage 1 VDC Rated Load 250mA 24VDC Nominal load 96 6W resistive 24VDC 6VA inductive UPF...

Страница 21: ...ite HSC Reset Bit Mnn081 Mnn177 Read Write Output Flag Y2 Y3 PWM Outputs Channel 1 Channel 2 Output Y0 Y1 Read Only PWM Configuration Register MWnn24 MWnn30 Read Write Frequency Setting Register MWnn2...

Страница 22: ...Pulse Direction variable frequency 8 Trapezoidal Fixed Pulse Mode 9 Reference the table below when configuring each Analog Input Configuration Register MWnn60 MWnn63 Input Signal Type Register Value V...

Страница 23: ...Type Register Value Voltage 0 to 10V 2 Voltage 0 to 5V 1 Current 4 to 20mA 5 Current 0 to 20mA 6 Analog expansion modules have an analog output resolution of 12 bits with values ranging from 0 4095 Ex...

Страница 24: ...HMC3 M0808P0401T 24 HMC3000 Series I O Module Guide 24 Analog Input Voltage Analog Input Current Analog Input mV Thermocouple Analog Input RTD...

Страница 25: ...HMC3 M0808P0401T 25 HMC3000 Series I O Module Guide 25 Analog Output Voltage Analog Output Current HSC Single Phase Up Counter HSC Single Phase Down Counter HSC Quadrature...

Страница 26: ...HMC3 M0808P0401T 26 HMC3000 Series I O Module Guide 26...

Страница 27: ...h are high speed inputs It also has eight outputs two sourcing PNP which can be configured for PWM operation and the other 6 are relay type This module also has 4 universal analog inputs Voltage Curre...

Страница 28: ...0KHz Minimum ON Output Voltage 22 VDC Maximum ON Output Voltage 30 VDC Minimum OFF Output Voltage 0 2 VDC Maximum OFF Output Voltage 1 VDC Rated Load 250mA 24VDC 2A 230VAC Nominal load 96 6W resistive...

Страница 29: ...ite HSC Reset Bit Mnn081 Mnn177 Read Write Output Flag Y2 Y3 PWM Outputs Channel 1 Channel 2 Output Y0 Y1 Read Only PWM Configuration Register MWnn24 MWnn30 Read Write Frequency Setting Register MWnn2...

Страница 30: ...Pulse Direction variable frequency 8 Trapezoidal Fixed Pulse Mode 9 Reference the table below when configuring each Analog Input Configuration Register MWnn60 MWnn63 Input Signal Type Register Value V...

Страница 31: ...Type Register Value Voltage 0 to 10V 2 Voltage 0 to 5V 1 Current 4 to 20mA 5 Current 0 to 20mA 6 Analog expansion modules have an analog output resolution of 12 bits with values ranging from 0 4095 Ex...

Страница 32: ...HMC3 M0808Y0401T 32 HMC3000 Series I O Module Guide 32 Analog Input Voltage Analog Input Current Analog Input mV Thermocouple Analog Input RTD...

Страница 33: ...HMC3 M0808Y0401T 33 HMC3000 Series I O Module Guide 33 Analog Output Voltage Analog Output Current HSC Single Phase Up Counter HSC Single Phase Down Counter HSC Quadrature...

Страница 34: ...HMC3 M0808Y0401T 34 HMC3000 Series I O Module Guide 34...

Страница 35: ...This module also has two analog inputs each measuring Voltage or Current Specifications Power 12 VDC from base Certifications CE UL Digital Inputs 12 bidirectional inputs 2 high speed pairs Rated Inpu...

Страница 36: ...um OFF Output Voltage 1 VDC Rated Load 250mA 24VDC Nominal load 96 6W resistive 24VDC 6VA inductive UPF High speed Channels No of inputs 2 channel pairs X0 X1 and X2 X3 Maximum Input Frequency 200 KHz...

Страница 37: ...n081 Mnn177 Read Write Output Flag Y2 Y3 PWM Outputs Channel 1 Channel 2 Output Y0 Y1 Read Only PWM Configuration Register MWnn24 MWnn30 Read Write Frequency Setting Register MWnn25 MWnn31 Read Write...

Страница 38: ...e 9 Reference the table below when configuring each Analog Input Configuration Register MWnn60 MWnn61 Input Signal Type Register Value Voltage 0 to 10V 1 Voltage 0 to 5V 6 Current 4 to 20mA 2 Current...

Страница 39: ...HMC3 M1212P0200 39 HMC3000 Series I O Module Guide 39 Wiring Digital Inputs Digital Outputs Analog Input Voltage Analog Input Current...

Страница 40: ...HMC3 M1212P0200 40 HMC3000 Series I O Module Guide 40 HSC Single Phase Up Counter HSC Single Phase Down Counter...

Страница 41: ...HMC3 M1212P0200 41 HMC3000 Series I O Module Guide 41 HSC Quadrature...

Страница 42: ...e other 10 outputs are relay type This module also has two analog inputs each measuring Voltage or Current Specifications Power 12 VDC from base Certifications CE UL Digital Inputs 12 bidirectional in...

Страница 43: ...m OFF Output Voltage 1 VDC Rated Load 250mA 24VDC 2A 230VAC Nominal load 96 6W resistive 24VDC 6VA inductive UPF High speed Channels No of inputs 2 channel pairs X0 X1 and X2 X3 Maximum Input Frequenc...

Страница 44: ...n081 Mnn177 Read Write Output Flag Y2 Y3 PWM Outputs Channel 1 Channel 2 Output Y0 Y1 Read Only PWM Configuration Register MWnn24 MWnn30 Read Write Frequency Setting Register MWnn25 MWnn31 Read Write...

Страница 45: ...e 9 Reference the table below when configuring each Analog Input Configuration Register MWnn60 MWnn61 Input Signal Type Register Value Voltage 0 to 10V 1 Voltage 0 to 5V 6 Current 4 to 20mA 2 Current...

Страница 46: ...HMC3 M1212Y0200 46 HMC3000 Series I O Module Guide 46 Wiring Digital Inputs Digital Outputs Analog Input Voltage Analog Input Current...

Страница 47: ...HMC3 M1212Y0200 47 HMC3000 Series I O Module Guide 47 HSC Single Phase Up Counter HSC Single Phase Down Counter...

Страница 48: ...HMC3 M1212Y0200 48 HMC3000 Series I O Module Guide 48 HSC Quadrature...

Страница 49: ...uts are PWM This module also has two analog inputs Voltage Current and one analog output Voltage Current Specifications Power 12 VDC from base Certifications CE UL Digital Inputs 12 bidirectional inpu...

Страница 50: ...inductive UPF Analog Outputs 1 configurable as 0 to 5V 0 to 10V 0 to 20mA 4 20mA Accuracy Overall Accuracy 0 2 of full scale 25 C max Load 1 K Min for V 500 Max for mA Output Resolution 12 bit High sp...

Страница 51: ...Read Only PWM Configuration Register MWnn24 MWnn30 Read Write Frequency Setting Register MWnn25 MWnn31 Read Write ON Duty Setting Register Duty Cycle MWnn27 MWnn33 Read Write Pulse Enable Flag Mnn576...

Страница 52: ...o 10V 1 Voltage 0 to 5V 6 Current 4 to 20mA 2 Current 0 to 20mA 3 The values in the appropriate analog input register range from 0 64000 with over and under indications at 65000 and 65001 while analog...

Страница 53: ...HMC3 M1210P0201 53 HMC3000 Series I O Module Guide 53 Wiring Digital Inputs Digital Outputs Analog Input Voltage Analog Input Current...

Страница 54: ...HMC3 M1210P0201 54 HMC3000 Series I O Module Guide 54 Analog Output Voltage Analog Output Current HSC Single Phase Up Counter...

Страница 55: ...HMC3 M1210P0201 55 HMC3000 Series I O Module Guide 55 HSC Single Phase Down Counter HSC Quadrature...

Страница 56: ...HMC3 M1210P0201 56 HMC3000 Series I O Module Guide 56...

Страница 57: ...ility and 8 are relay type This module also has two analog inputs Voltage Current and one analog output Voltage Current Specifications Power 12 VDC from base Certifications CE UL Digital Inputs 12 bid...

Страница 58: ...4VDC 6VA inductive UPF Analog Outputs 1 configurable as 0 to 5V 0 to 10V 0 to 20mA 4 20mA Accuracy Overall Accuracy 0 2 of full scale 25 C max Load 1 K Min for V 500 Max for mA Output Resolution 12 bi...

Страница 59: ...Read Only PWM Configuration Register MWnn24 MWnn30 Read Write Frequency Setting Register MWnn25 MWnn31 Read Write ON Duty Setting Register Duty Cycle MWnn27 MWnn33 Read Write Pulse Enable Flag Mnn576...

Страница 60: ...o 10V 1 Voltage 0 to 5V 6 Current 4 to 20mA 2 Current 0 to 20mA 3 The values in the appropriate analog input register range from 0 64000 with over and under indications at 65000 and 65001 while analog...

Страница 61: ...HMC3 M1210Y0201 61 HMC3000 Series I O Module Guide 61 Wiring Digital Inputs Digital Outputs Analog Input Voltage Analog Input Current...

Страница 62: ...HMC3 M1210Y0201 62 HMC3000 Series I O Module Guide 62 Analog Output Voltage Analog Output Current HSC Single Phase Up Counter...

Страница 63: ...HMC3 M1210Y0201 63 HMC3000 Series I O Module Guide 63 HSC Single Phase Down Counter HSC Quadrature...

Страница 64: ...pedance 4 9K ohms Minimum ON voltage 15 VDC Maximum OFF voltage 5 VDC Turn ON Time 10 mSec Turn OFF Time 10 mSec Isolation Optically isolated from internal circuit Digital Outputs 14 outputs 12 Relay...

Страница 65: ...Channel 2 Output Y0 Y1 Read Only PWM Configuration Register MWnn24 MWnn30 Read Write Frequency Setting Register MWnn25 MWnn31 Read Write ON Duty Setting Register Duty Cycle MWnn27 MWnn33 Read Write P...

Страница 66: ...HMC3 M1614Y 66 HMC3000 Series I O Module Guide 66 Wiring Digital Inputs Digital Outputs HSC Single Phase Up Counter...

Страница 67: ...HMC3 M1614Y 67 HMC3000 Series I O Module Guide 67 HSC Single Phase Down Counter HSC Quadrature...

Страница 68: ...ohms Minimum ON voltage 15 VDC Maximum OFF voltage 5 VDC Turn ON Time 10 mSec Turn OFF Time 10 mSec Isolation Optically isolated from internal circuit Digital Outputs 16 sourcing outputs PNP type 2 PW...

Страница 69: ...Channel 2 Output Y0 Y1 Read Only PWM Configuration Register MWnn24 MWnn30 Read Write Frequency Setting Register MWnn25 MWnn31 Read Write ON Duty Setting Register Duty Cycle MWnn27 MWnn33 Read Write P...

Страница 70: ...HMC3 M1616P 70 HMC3000 Series I O Module Guide 70 Wiring Digital Inputs Digital Outputs HSC Single Phase Up Counter...

Страница 71: ...HMC3 M1616P 71 HMC3000 Series I O Module Guide 71 HSC Single Phase Down Counter HSC Quadrature...

Страница 72: ...HMC3 M1616P 72 HMC3000 Series I O Module Guide 72...

Страница 73: ...Maple Systems Inc 808 134th St SW Suite 120 Everett WA 98204 425 745 3229 Your Industrial Control Solutions Source _____________________ www maplesystems com 1010 1056 Rev 04...

Отзывы: