background image

5 Functions of the PWM outputs (PWM1 and PWM2)

5.1 Functions of the PWM outputs (PWM1 and PWM2)

XI/ON: XNE-2CNT-2PWM

04/2011 MN05002035Z-EN

www.eaton.com

73

Special function Zx (PWM): Hardware latch retrigger

If Zx is parameterized as latch retrigger signal for the PWM output (Parameter data of the 
module (page 25)),
 Zx is used as hardware (HW) latch retrigger

 Enable/disable the special function (

 see page 70)

With a signal change 0 

 1 at input Zx:

1

The content of register REG_PWMx_CNTDC is stored to REG_PWM_LATCH page 95, 

2

and REG_PWMx_CNTDC is reloaded via REG_PWMx_CNTSV . 

3

If the enabling is set via SW gate (PWMx_ENABLE), the signal output is started immedi-
ately. 

After a latch retrigger event occurred, bit MSG_ PWM1_ SFKT (page 28)
MSG_ PWM2_ SFKT (page 28) 
in the check-back interface is set. It can be reset via bit 
PWMx_LOGMSG page 32 in the control interface with 0 

 1 

 0.

• Single signal output:

If the single signal output (PWMx_SINGLE = 1) is parameterized in the Process output / 
control interface (page 32),
 the function is only executed once with the 

first

 signal change 

 1 at Zx after enabling the output with PWMx_SFKT_DISABLE = 0. 

• Periodical signal output:

If the periodical signal output (PWMx_SINGLE = 0) is parameterized in the Process output 
/ control interface (page 32), t
he function is executed with the 

every 

signal change 0 

 1 

at Zx after enabling the output with PWMx_SFKT_DISABLE = 0.

When executing a 

HW

 latch retrigger, the following applies:

(REG_PWMx_LATCH) = (REG_PWMx_CNTDC) and
(REG_PWMx_CNTDC) = (REG_PWMx_CNTSV) and
MSG_PWMx_SFKT = 1

if

PWMx_GENERAL_DISABLE = 0 and
PWMx_SFKT_DISABLE = 0 and
Zx 0 

 1

Note

software (SW) latch retrigger 

is also possible (

 see also Latch Retrigger (CNT) 

(page 38)). Please use byte 2 (PWM1) or byte 3 (PWM2) bit 5 PWMx_SW_LR of the 
Process output / control interface (page 32). 

When executing a SW latch retrigger, the following applies:

(REG_PWMx_LATCH) = (REG_CNTx_CNTDC) and 
(REG_PWMx_CNTDC) = (REG_CNTx_CNTSV) and 
MSG_PWMx_SW_LR = 1

if

PWMx_GENERAL_DISABLE = 0 and
PWMx_SW_LR 0 

 1

Содержание XNE-2CNT-2PWM

Страница 1: ...04 2011 MN05002035Z EN User Manual XI ON XNE 2CNT 2PWM Technology Module...

Страница 2: ...CH 9008 St Gallen All rights reserved also for the translation None of this document may be reproduced or processed duplicated or distributed by electronic systems in any form print photocopy microfi...

Страница 3: ...he automation devices Ensure a reliable electrical isolation of the low voltage for the 24 volt supply Only use power supply units complying with IEC HD 60364 4 41 DIN VDE 0100 Part 410 Deviations of...

Страница 4: ...EN www eaton com All work relating to transport installation commissioning and maintenance must only be carried out by qualified personnel IEC HD 60364 DIN VDE 0100 and national work safety regulation...

Страница 5: ...Diagnostic and status messages 23 3 2 5 Diagnostic data of the module 24 3 2 6 Parameter data of the module 25 3 2 7 Process data of the module 28 4 Functions of the count inputs CNT1 and CNT2 35 4 1...

Страница 6: ...Internal registers reading and writing 89 9 1 1 Write access 89 9 1 2 Read access 90 9 2 Register description and register access 91 9 2 1 Register interface 91 10 Representation of the XNE 2CNT 2PWM...

Страница 7: ...line XI ON In addition to the description of the technical features and functions it also contains a descrip tion of the I O module s representation in different field bus systems 1 1 1 Additional do...

Страница 8: ...nd to the facility This sign means for the operator work with extreme caution Attention This sign can be found next to all notes that indicate a potential hazard This can refer to possible danger to p...

Страница 9: ...tenance guarantee the trouble free and safe operation of these devices 1 3 2 Notes concerning planning installation of this product Attention Please read this section carefully Safety aspects cannot b...

Страница 10: ...1 About this manual 1 3 Overview 10 XI ON XNE 2CNT 2PWM 04 2011 MN05002035Z EN www eaton com...

Страница 11: ...and direc tion signals with the direction evaluation being optional Operation modes Counting Pulse and direction see page 43 AB mode see page 44 Measurement Frequency measurement rotational speed meas...

Страница 12: ...erface page 28 Current count value Process input check back interface page 28 byte 12 to byte 15 AUX_REG1_RD_DATA Byte 0 to AUX_REG1_RD_DATA Byte 3 contain the current count value of CNT1 Enable The c...

Страница 13: ...he user has to set the process output bit CNT1_ ENABLE 0 1 see Process output control interface page 32 byte 0 bit 1 6 The count operation is enabled with CNT1_ ENABLE 1 7 The pulses are counted accor...

Страница 14: ...simplified repre sentation Ax encoder signal Counter value Bx encoder signal Direction STS CNTx RUN Process input check back interface CNTx_GENERAL_DISABLE Process ouput control interface CNTx_ENABLE...

Страница 15: ...be generally disabled using PWM1_ GENERAL_ DISABLE 1 An enabled PWM function is displayed via STS_PWM1_GENERAL_ EN 1 see Process input check back interface byte 4 bit 4 page 28 1 The user has to enabl...

Страница 16: ...te For further functions of the XNE 2CNT 2PWM parameterization process image in ternal registers etc please read the following chapters Px output PWM OUT Dx output Direction STS_PWMx_RUN Process input...

Страница 17: ...data and settings concerning the module Module information hardware version software version etc Process data Parameter data Diagnostic data Example for registers in the register interface Note Please...

Страница 18: ...he address for one register access is directly defined via the Process output control interface page 32 byte 6 and 7 REG_WR_ADR and REG_RD_ADR 2 Address assignment via parameters The address of three...

Страница 19: ...e 28 24 byte process output data see page 32 Additionally the module provides 4 byte diagnostic data see page 32 and 16 byte parameter data see page 25 Figure 3 Schematic rep resentation of the regist...

Страница 20: ...3 2 1 Block diagram Figure 4 XNE 2CNT 2PWM Figure 5 Block diagram 3 x DI 24 VDC 3 x DI 24 VDC 2 x DO 24 VDC 0 5 A Push Pull 2 x DO 24 VDC 0 5 A Push Pull A1 B1 Z1 A2 B2 Z2 P1 D1 P2 D2 UL GNDL P D P D...

Страница 21: ...consumption from module bus IMB 30 mA Power loss of the module PV 2 W Counter function Sensor supply Output voltage UL 24VDC Output current 0 5 A not protected Digital inputs for count signals A B Z I...

Страница 22: ...hing frequency at ohmic load 20 kHz Short circuit proof Yes Insulation voltage UMB to IOs 500 Veff UMB to FE UL to FE 500 Veff Measurement ranges Count mode all modes up to 200 kHz Frequency measureme...

Страница 23: ...lays LED Display Meaning Remedy DIA red flashing 0 5 Hz Diagnosis pending red Module bus communication failure Check if more than two adjoining electronics modules have been pulled Check the power sup...

Страница 24: ...X 1 HW_ERR CNT2_ PAR_ERR X X X X X X 2 HW_ERR PWM1_ PAR_ERR X X X X P1_DIAG D1_DIAG 3 HW_ERR PWM2_ PAR_ERR X X X X P2_DIAG D2_DIAG Table 5 Diagnostics of the XNE 2CNT 2PWM Diagnostic message Values Me...

Страница 25: ...old input A B Z CNT1 2 mode Z1 mode CNT1 3 input A2 input B2 input Z2 X diagnostic measurement mode CNT2 main count direction CNT2 4 filter Z2 filter A2 B2 X pull up Z2 X threshold input A B Z CNT2 5...

Страница 26: ...nal logic remains LOW 0 HIGH 1 1 Invert signal before processing Threshold input A B Z CNTx 0 A Threshold 7 5V only valid for Ax Bx Zx 1 Threshold 2 5V only valid for Ax Bx Zx Pull Up Zx 0 A Pull Up r...

Страница 27: ...d via process data Mode PWMx see page 60 0000 A PD DC Definition 0001 HT LT Definition 0010 to 0111 reserved 1111 P just output Substitute value Px Dx 0 A The output of the substitute value depends on...

Страница 28: ...ENERAL_ EN 3 MSG_CNT2_ SW_LR MSG_CNT2_ SFKT MSG_CNT2_ FQE MSG_CNT2_ ND MSG_CNT2_ OFLW MSG_CNT2_ UFLW MSG_CNT2_ CMP1 MSG_CNT2_ CMP0 PWMx page 30 4 STS_PWM1_ LOGMSG STS_PWM1_ SFKT_EN STS_PWM1_ RUN STS_P...

Страница 29: ...G 0 Curent status of MSG bits 1 Status of MSG bits are frozen STS_CNTx_DIR 0 CNTx Counter counts down 1 CNTx Counter counts up Ax Bx Zx 0 Digital input is LOW 1 Digital input is HIGH MSG_CNTx_CMP0 0 N...

Страница 30: ...also page 49 has been activated via bit CNTx_SW_LR 1 see also page 33 PWMx MSG_PWM1x_SW_LR 0 The function Latch Retrigger see also page 49 has not been acti vated 1 The function Latch Retrigger see al...

Страница 31: ...1 No change of register contents through a process output Write access REG_WR to the register interface is only possible if this bit was zero before handshake for data transfer to the registers REG_W...

Страница 32: ...LE CNT2_ GENERAL_ DISABLE PWM x page 33 2 X PWM1_ SINGLE PWM1_ SW_LR PWM1_ SFKT_ DISABLE X PWM1_ LOGMSG PWM1_ ENABLE PWM1_ GENERAL_ DISABLE 3 X PWM2_ SINGLE PWM2_ SW_LR PWM2_ SFKT_ DISABLE X PWM2_ LOG...

Страница 33: ...LE 0 Enable the special function of input Zx depending on the parameterization Mode Zx 1 Disable the special function of input Zx CNTx_SW_LR 0 Not activated 1 A Software SW latch retrigger page 38 has...

Страница 34: ...ng page 89 1 Writing of the Register interface with the register contents in AUX_REGx_WR_DATA is enabled see also Internal registers reading and writing page 89 REG_WR 0 Initial state 1 Triggering a w...

Страница 35: ...due to certain events These events have to be defined via the Parameter data of the module page 25 Register name Register no Max value Min value Default value REG_CNT1_CNT 32 0 20 2147483647 0 7F FF...

Страница 36: ...0 80 00 00 00 2147483648 0 80 00 00 00 REG_CNT1_HILIMIT upper count limit CNT1 37 0 25 2147483647 0 7F FF FF FF REG_CNT2_LOLIMIT lower count limit CNT2 68 0 44 2147483647 0 7F FF FF FF REG_CNT2_HILIM...

Страница 37: ...order to use Zx to enable the count operation the special function of the input Zx has to be enabled as well see Special function Zx CNT HW gate page 47 The following applies for the HW gate STS_CNTx_...

Страница 38: ...h bit MSG_CNTx_SW_LR of the Process input check back interface page 28 bit 7 in byte 1 CNT1 and byte 3 CNT2 4 1 6 Function of the CMPx compare registers Each counter provides two compare registers If...

Страница 39: ...e jumps to the load value Lower count limit If while counting downwards the counter reaches the lower count limit and another counting pulse is received the counter value jumps to the load value Inter...

Страница 40: ...ulse is received the counter value jumps to the load value The counter continues counting starting at the load value Internal enable The internal enable is not automatically reset The counter remains...

Страница 41: ...counter continues counting starting at the lower count limit Lower count limit If while counting downwards the counter reaches the lower count limit and another counting pulse is received the counter...

Страница 42: ...CNT2 in the Parameter data of the module page 25 Possible functions see page 42 Pulse and direction Ax pulse Bx direction single sample Ax pulse Bx direction double sample AB mode Single sample Doubl...

Страница 43: ...input Ax are evaluated depending on the parameterization of input Ax If the function pulse direction double sample see Parameter data of the module page 25 is set the rising and falling edges of inpu...

Страница 44: ...e and direction are determined by the phasing of the input signals Ax and Bx The counter counts upwards if the signal sequence is run through from the left to the right pos count direction The counter...

Страница 45: ...1 Table 11 functions Z1 and Z2 Bit 7 Bit 4 Value mode Z1 see byte 2 of the Parameter data of the module page 25 mode Z2 see byte 5 of the Parameter data of the module page 25 A Default setting 0000 Al...

Страница 46: ...T Continuous synchronization for CNT1 Z1 and HW gate Z2 for CNT1 The enabling of Z1 and Z2 is done via CNT1_SFKT_EA with the first signal change 0 1 at Z1 the current count value is copied into the re...

Страница 47: ...larm signal occurred bit MSG_CNTx_SFKT page 28 in the Process input check back interface is set Special function Zx CNT HW gate Enable disable the special function see page 45 If Zx is parameterized a...

Страница 48: ...es are not influenced Figure 11 Count function Zx as HW gate Upper count limit REG_CNTx_CNT Count value Load value Zero Lower count limit Bx Direction STS CNTx_RUN Counter active CNTx_GENERAL_DISABLE...

Страница 49: ...age 28 in the check back interface is set It can then be reset via bit CNTx_LOGMSG page 32 in the control interface with 0 1 0 Single synchronization If in the Process output control interface page 32...

Страница 50: ...e latch retrigger is possible as well see also Software SW latch retrig ger page 38 Please use byte 0 CNT1 or byte 1 CNT2 bit 5 CNTx_SW_LR Process output control interface page 32 When executing a SW...

Страница 51: ...onisation Load value Lower count limit Upper count limit Single synchronisation Load value Lower count limit STS_CNTx_RUN Counter active CNTx_READY Counter prepare CNTx_ENABLE Release Counter CNTx_SW_...

Страница 52: ...urement value 33 0 21 RO REG_CNT1_INTTIME Integration time CNTx 10 ms bit max 17800 x 10 ms 41 0 29 10 0 00 00 00 0A 100 ms RW REG_CNT1_MUL Multiplicator CNTx 42 0 2A 1 0 00 00 00 01 RW REG_CNT1_DIV D...

Страница 53: ...measurement is activated if CNTx_FQPD 0 see Parameter data of the module byte 0 bit2 page 25 The frequency measurement is done in the following basic measurement modes Calculation of the frequency in...

Страница 54: ...erated see page 30 if for a defined Time out time in REG_CNTx_TO the content of the register for the measured value REG_CNTx_MV 0 or if the measured value in REG_CNTx_MV is 0 FF FF FF FF If the time o...

Страница 55: ...in the following basic measurement modes Calculation of the period duration measurement in s Calculation of the period duration measurement in ms Restrictions The following settings are not allowed R...

Страница 56: ...ated see page 30 if after a defined time out time in REG_CNTx_TO the period duration measurement has not been finished yet or if the measured value in REG_CNTx_MV is 0 FF FF FF FF If the time out time...

Страница 57: ...utions speed in 1 s Input registers Value REG_CNT1_MUL 60 REG_CNT1_DIV Pulses per encoder revolution 1000 REG_CNT1_INTTIME Integration time Multiple of 10 ms Output registers REG_CNT1_MV Revolutions s...

Страница 58: ...1 MN05002035Z EN www eaton com Downtime monitoring In revolutions speed measurement downtime monitoring can be realized by means of a time out time This time is defined as a multiple of 10 ms in REG_C...

Страница 59: ...the content of certain registers is used to define the nature of the output signal In order to support the PWM function each channel provides an output Dx which for example can be used as direction si...

Страница 60: ...yte 7 of the Parameter data of the module page 25 Mode PWM 2 see byte 9 of the Parameter data of the module page 25 0000 A PD DC Definition Period Duration Duty Cycle Definition see page 61 0001 HT LT...

Страница 61: ...WM1 97 0 61 Content of REG_PWM1_DC_RV volatile for changes during normal operation REG_PWM1_DC_RV 105 0 69 0 7F FF FF FF 50 non volatile for defined values during start reset REG_PWM1_CNTSV Load value...

Страница 62: ...FF FF FF FE corresponds to static ON 50 0 7F FF FF FF 0 0 00 00 00 00 corresponds to static OFF 2 Frequency modulation FM Changing the frequency for the pulse output by means of a dynamic change of th...

Страница 63: ...he space duration Both are set in 41 667 ns bit These values can be written directly Table 14 Reset value registers for a restart REG_PWMx_DC 0 x 7F FF FF FF Duty Cycle 50 REG_PWMx_PD in steps of 41 6...

Страница 64: ...e duration PWM1 in 41 667 ns bit 115 0 73 Content of REG_PWM1_DLOW_RV volatile for changes during normal operation REG_PWM1_DLOW_RV 107 0 6B 0 x 00 00 2E E0 500 s non volatile for defined values durin...

Страница 65: ...er entries The signal output can be started or stopped using the SW gate or if parameterized using the HW gate see also Enabling the pulse output page 68 The value of the 32 bit counters is preserved...

Страница 66: ...value in the register is decremented with every signal change 1 0 of the output signal REG_PWMx_CNTDC 0 6 REG_PWMx_CNTDC 0 Number of pulses to be given out REG_PWMx_CNTDC 0 7 MSG_PWMx_NDDC 1 Message z...

Страница 67: ...l form 1 1 REG_PWMx_CNTSV Number of pulses to be given out 1 2 REG_PWMx_DC REG_PWMx_PD or for operation mode Period Duration Duty Cycle Definition page 61 1 3 REG_PWMx_DLOW REG_PWMx_DHIGH for operatio...

Страница 68: ...has to be enabled as well see Special function Zx PWM HW gate page 71 The following applies for the HW gate STS_PWMx_RUN 1 if PWMx_GENERAL_DISABLE 0 and PWMx_SFKT_DISABLE 0 and Zx 1 Software gate SW...

Страница 69: ...EG_PWMx_CNTDC REG_PWMx_CNTSV The signal output is continued The pulse output has to be enabled see Enabling the pulse output page 68 in order to execute this latch retrigger Hardware HW latch retrigge...

Страница 70: ...ion is ac knowledged via STS_PWMx_SFKT_EN 1 The disabling of the special function is done via PWMx_SFKT_DISABLE 1 Table 15 functions Z1 and Z2 Bit 7 Bit 4 Value Mode Z1 see byte 0 of the Parameter dat...

Страница 71: ...the Process input check back interface and can only be reset after the HW gate is closed again Start Stop via HW gate Stopping the PWM output interrupts the signal output The current signal status of...

Страница 72: ...ABLE 0 and PWMx_SFKT_DISABLE 0 and Zx 1 Figure 15 Pulse output with HW and SW gate PWM SW_LR PWM Latch Retrigger PWMx_ENABLE Release PWM PWMx_SFKT_EA Release S_function Zx S_function HW gate MSG_PWMx...

Страница 73: ...output If the single signal output PWMx_SINGLE 1 is parameterized in the Process output control interface page 32 the function is only executed once with the first signal change 0 1 at Zx after enabli...

Страница 74: ...ut until it becomes 0 Figure 16 Latch retrigger at the PWM PWMx_SW LR PWM out latch retrigger PWMx_SFKT_DISABLE Release HW_function Zx HW Latch Retrigger MSG_PWMx SFKT Message HW LR happened MSG_PWMx...

Страница 75: ...mple it can be used as direction signal for the PWM 6 1 2 Parameterization of the function mode Dx 2 By using the parameter mode Dx see Parameter data of the module page 25 other functions can be defi...

Страница 76: ...FKT_EN 01 0111 reserved 01 1000 D 1 at CNT 0 01 1001 D 1 at CMP0 CNT CMP1 REG_CNT1_CMP 0 REG_CNT1_CNT REG_CNT1_CMP 01 1010 D 1 at UFLW CNT CMP0 REG_CNTx_UFLW REG_CNTx_CNT REG_CNTx_CMP0 01 1011 D 1 at...

Страница 77: ...D 1 for Tx at MSG_CNT_CMP0 Dx 0 1 at MSG_CNTx_CMP0 0 1 Dx is switched on for defined pulse time if the count value is equal to the compare value 0 MSG_CNTx_CMP0 page 85 10 0001 D 1 for Tx at MSG_CNT_...

Страница 78: ...at PWMx was executed MSG_PWMx_SW_LR page 86 10 1001 D 1 for Tx at MSG_PWM_NDDC Dx 0 1 at MSG_PWMx_NDDC 0 1 Dx is switched on for defined pulse time if a zero crossing has been detected at the PWM MSG...

Страница 79: ...0 Value Mode Dx see byte 6 D1 and byte 8 D2 of the Parameter data of the module page 25 11 0000 D 1 at CNT CMP0 Hys Dx 0 1 at REG_CNTx_CNT REG_CNTx_CMP0 REG_CNTx_DO1_HYS output 0 1 if count value comp...

Страница 80: ...ples hysteresis 10 pulses REG_CNT1_DO1_HYS 10 switching event Mode Dx D 1 at CNT CMP0 Hys this means output 0 1 if count value REG_CNTx_CNT compare value 0 REG_CNTx_CMP0 If the count value toggles aro...

Страница 81: ...t value of CNT1 exceeded the count limits REG_CNT1_CNT REG_CNT1_HILIMIT or REG_CNT1_CNT REG_CNT1_LOLIMIT 1 The load value of CNT1 exceeded the count limits REG_CNT1_LOADVAL REG_CNT1_HILIMIT or REG_CNT...

Страница 82: ...CNT2_LOLIMIT 11 The compare value CMP0 of CNT1 exceeded the count limits REG_CNT2_CMP0 REG_CNT1_HILIMIT or REG_CNT2_CMP0 REG_CNT2_LOLIMIT 12 The compare value CMP1 of CNT1 exceeded the count limits RE...

Страница 83: ...t REG_PWM1_PD 0 x FF FF FF FE 19 invalid duty cycle pulse width set REG_PWM1_DC 0 x FF FF FF FE 20 22 reserved 23 A diagnostic message is pending The diagnostic byte 2 for CNT2 0 see Diagnostic data o...

Страница 84: ...7 Report of configuration errors 7 1 Error register 84 XI ON XNE 2CNT 2PWM 04 2011 MN05002035Z EN www eaton com...

Страница 85: ...T1 Process input check back interface byte 1 CNT2 Process input check back interface byte 3 Table 21 MSG for CNTx Designation Description Triggering event MSG_CNTx_CMP0 Checking the count value for re...

Страница 86: ...ring event MSG_PWMx_SW_LR A software latch retrigger has been executed PWMx_SW_LR of the counter in the control interface changes from 0 1 MSG_PWMx_NDDC Checking the count value for a zero crossing MS...

Страница 87: ...MSG 0 The states of the MSG bits held in the process input data can now be read out without newly incoming MSG going lost Resetting the control bits If now the control bits CNTx_LOGMSG or PWMx_LOGMSG...

Страница 88: ...8 Error handling in the control interface check back interface 8 1 Error messages of the module 88 XI ON XNE 2CNT 2PWM 04 2011 MN05002035Z EN www eaton com...

Страница 89: ...ce page 32 the value to be written in REG_WR_DATA Byte 0 to REG_WR_DATA Byte 3 Process output control interface page 32 the write command with REG_WR 1 Process output control interface page 32 The mod...

Страница 90: ...free reading of the register is confirmed by REG_RD_ABORT 0 the read register content is shown in REG_RD_DATA Byte 0 to REG_RD_DATA Byte 3 Abort of the read command REG_RD_ABORT 1 shows that the regis...

Страница 91: ...on RD REG_SF 0 04 Special function register V WR REG_IF_VER 0 05 Version of the register interface RD reserved RD REG_CONFIG_ERRSTS 0 0A report of configuration errors V RD reserved REG_DATA_IN1 byte...

Страница 92: ...1 0 00 00 00 00 NV WR RD WR REG_PARA2 byte 7 4 0 1D 32 bit unsigned 0 00 00 00 00 NV WR RD WR REG_PARA3 byte 11 8 0 1E 0 00 00 00 00 NV WR RD WR REG_PARA4 byte 15 12 0 1F parameter data 3 0 00 00 00 0...

Страница 93: ...er 32 bit signed V RD REG_CNT1_INTTIME 0 29 Integration time CNT1 in 10 ms bit 32 bit unsigned 0 00 00 00 0A 100 ms NV WR RD REG_CNT1_MUL 0 2A Factor CNT1 0 00 00 00 01 NV WR RD REG_CNT1_DIV 0 2B Divi...

Страница 94: ...H 0 48 Buffer V RD REG_CNT2_INTTIME 0 49 Integration time CNT2 in 10 ms bit 32 bit unsigned 0 00 00 00 0A 100 ms NV WR RD REG_CNT2_MUL 0 4A Factor CNT2 0 00 00 00 01 NV WR RD REG_CNT2_DIV 0 4B Divisor...

Страница 95: ...r of pulse which still have to be given out PWM1 V RD REG_PWM1_LATCH 0 66 Buffer PWM1 V RD REG_PWM1_LOGMSG 0 67 Buffer of the MSG bits at MSGLOG PWM1 V RD REG_PWM1_PD_RV 0 68 Start value after reset P...

Страница 96: ...out PWM1 V RD REG_PWM2_LATCH 0 76 Buffer PWM2 V RD REG_PWM2_LOGMSG 0 77 Buffer of the MSG register at MSGLOG PWM2 V RD REG_PWM2_PD_RV 0 78 Start value after reset Period duration PWM2 in 41 667 ns bi...

Страница 97: ...WMx_PD REG_PWMx_DC REG_PWMx_DHIGH and REG_PWMx_DLOW see page 95 ff are loaded with the content of the respective reset value registers for example REG_PWM1_PD_RV Values that have been entered before g...

Страница 98: ...9 Register interface 9 2 Register description and register access 98 XI ON XNE 2CNT 2PWM 04 2011 MN05002035Z EN www eaton com...

Страница 99: ...he XNE 2CNT 2PWM in PROFIBUS DPV1 10 1 Process data of the module in PROFIBUS DPV1 Note The structure of the process data bits in PROFIBUS DPV1 basically corresponds to the general structure of the pr...

Страница 100: ...B2 Z2 STS_CNT2_ DIR STS_CNT2_ LOGMSG STS_CNT2_ SFKT_EN STS_CNT2_ RUN STS_CNT2_ GENERAL_ EN 3 MSG_CNT2 _SW_LR MSG_CNT2 _SFKT MSG_CNT2 _FQE MSG_CNT2 _ND MSG_CNT2 _OFLW MSG_CNT2 _UFLW MSG_CNT2 _CMP1 MSG_...

Страница 101: ...CNT1_ GENERAL_ DISABLE 1 X CNT2 _ SINGLE CNT2_ SW_LR CNT2_SFKT _DISABLE X CNT2_ LOGMSG CNT2_ ENABLE CNT2_ GENERAL_ DISABLE PWM x page 32 2 X PWM1_ SINGLE PWM1_ SW_LR PWM1_ SFKT_ DISABLE X PWM1_ LOGMS...

Страница 102: ...port the diagnostic function according to PROFIBUS DP speci fication IEC EN 61158 type 3 Please read the corresponding gateway manuals for the description of the diagnostic message structure of the DP...

Страница 103: ...t for the control system 4 bytes are used to transfer the diagnostic data Note A more detailed description of the module s diagnostic data can be found in the field bus independent module description...

Страница 104: ...meter in DPV1 Note The module XNE 2CNT 2PWM can only be used with the XI ON DPV1 gateways These gateways support the parameterization according to PROFIBUS DP specifica tion IEC EN 61158 type 3 Please...

Страница 105: ...CNT1 measurement mode CNT1 main count direction CNT1 1 filter Z1 filter A1 B1 X pull up Z1 X threshold input A B Z CNT1 2 mode Z1 mode CNT1 3 input A2 input B2 input Z2 X diagnostic measurement mode...

Страница 106: ...10 Representation of the XNE 2CNT 2PWM in PROFIBUS DPV1 10 3 Parameter in DPV1 106 XI ON XNE 2CNT 2PWM 04 2011 MN05002035Z EN www eaton com...

Страница 107: ...801hex Encoder Config page 109 5802hex Encoder Status page 111 5803hex Encoder Flags page 112 5804hex Encoder Diag page 113 5805hex Encoder Native Status page 114 5806hex Encoder Optional Status page...

Страница 108: ...5931hex PWM Latch Value page 135 Objects according to DS 406 offset 0 800 6810hex Preset Value For Multi Sensor Devices page 136 6820hex Preset Value For Multi Sensor Devices page 137 6B00hex CAM 1 St...

Страница 109: ...input filter sensor parameters behavior on failure of the higher level PLC Write accesses initiate a parameter update via the internal module bus of the XI ON station The parameter is stored as a non...

Страница 110: ...Bit 19 Bit 18 Bit 17 Bit 16 mode Z1 0 03 mode CNT1 0 00 3 Bit 31 msb Bit 30 Bit 29 Bit 28 Bit 27 Bit 26 Bit 25 Bit 24 X ADR AUX REG1 RD DATA 0 20 n 1 CNT2 0 input A2 0 00 input B2 0 00 input Z2 0 00...

Страница 111: ...a a common bit STS_CNTx_DIR page 28 but using the two bits STS_CNT1_UP and STS_CNT1_DN Table 26 Object 5802hex Feature Sub index Description Name Encoder Status Object code ARRAY PDO mapping Data type...

Страница 112: ...put check back interface page 28 Table 27 Object 5803hex Feature Sub index Description Name Encoder Flags Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 8 Access SDO 0 00...

Страница 113: ...ble 28 Object 5804hex Feature Sub index Description Name Encoder Diag Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 8 Access 0 00 ro 0 01to 0 47 ro Default value 0 00 0...

Страница 114: ...Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 lsb n CNT1 0 A1 B1 Z1 STS_CNT1_ DIR STS_CNT1_ LOGMSG STS_CNT1_ SFKT_EN STS_CNT1_ RUN STS_CNT1_ GENERAL_E N 1 Bit 15 msb Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 MS...

Страница 115: ...dex Description Name Encoder Optional Status Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 8 Access 0 00 ro 0 01to 0 47 ro Default value 0 00 0 01to 0 47 Sub index 0 00...

Страница 116: ...ucture of the data bytes Table 31 Object 5808hex Feature Sub index Description Name Encoder Control Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 8 Access SDO 0 00 ro 0...

Страница 117: ...to this value is event driven Structure of the data bytes Table 32 Object 5810hex Feature Sub index Description Name Encoder Load Prepare Value Object code ARRAY PDO mapping Data type 0 00 Unsigned 8...

Страница 118: ...he value respectively Structure of the data bytes Table 33 Object 5811hex Feature Sub index Description Name Encoder Pulse Width Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Uns...

Страница 119: ...ime is entered in 10 ms bit Structure of the data bytes Table 34 Object 5820hex Feature Sub index Description Name Measuring Integration Time Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0...

Страница 120: ...de page 52 Structure of the data bytes Table 35 Object 5824hex Feature Sub index Description Name Encoder Measuring Divisor Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned...

Страница 121: ...ode page 52 Structure of the data bytes Table 36 Object 5825hex Feature Sub index Description Name Encoder Measuring Factor Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned...

Страница 122: ...uration measurement Structure of the data bytes Table 37 Object 5827hex Feature Sub index Description Name Encoder Measuring Time Out Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 4...

Страница 123: ...ta bytes Table 38 Object 5830hex Feature Sub index Description Name Encoder Measuring Value Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 32 Access 0 00 ro 0 01to 0 47 r...

Страница 124: ...re of the data bytes Table 39 Object 5831hex Feature Sub index Description Name Encoder Latch Value Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 32 Access 0 00 ro 0 01t...

Страница 125: ...ture of the data bytes Table 40 Object 5901hex Feature Sub index Description Name PWM Config Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 32 Access 0 00 ro 0 01to 0 47...

Страница 126: ...0 00 substitute value P2 0 00 substitute value D2 0 00 mode PWM2 0 00 2 Bit 23 Bit 22 Bit 21 Bit 20 Bit 19 Bit 18 Bit 17 Bit 16 X 3 Bit 31 msb Bit 30 Bit 29 Bit 28 Bit 27 Bit 26 Bit 25 Bit 24 X ADR A...

Страница 127: ...Y PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 8 Access 0 00 ro 0 01to 0 47 ro Default value 0 00 0 01to 0 47 Sub index 0 00 n 0 47 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 n...

Страница 128: ...gs Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 8 Access SDO 0 00 ro 0 01to 0 47 rw Access PDO 0 01to 0 47 r Default value 0 00 0 01to 0 47 Note By means of this access...

Страница 129: ...ex Description Name PWM Diag Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 8 Access 0 00 ro 0 01to 0 47 ro Default value 0 00 0 01to 0 47 Note By means of this access th...

Страница 130: ...storing of Error messages of the module page 85 for readout without data loss enabling or disabling of the special function executing a software latch retrigger Setting the single continuous signal ou...

Страница 131: ...lsb n PWM1 0 X PWM1_ SINGLE PWM1_ SW_LR PWM1_ SFKT_ DISABLE X PWM1_ LOGMSG PWM1_ ENABLE PWM1_ GENERAL_D ISABLE 1 Bit 15 msb Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 X X X X X X SET_P1 SET_D1 n...

Страница 132: ...to be given out to this value is event driven Structure of the data bytes Table 45 Object 5910hex Feature Sub index Description Name PWM Load Prepare Value Object code ARRAY PDO mapping Data type 0 00...

Страница 133: ...e Sub index Description Name PWM Duty Cycle Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Integer 32 Access 0 00 ro 0 01to 0 47 rw Default value 0 00 0 01to 0 47 Sub index 0 00 n...

Страница 134: ...x Description Name PWM Period Duration Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Integer 32 Access SDO 0 00 ro 0 01to 0 47 rw Access PDO 0 01to 0 47 rw Default value 0 00 0 0...

Страница 135: ...f the data bytes Table 48 Object 5931hex Feature Sub index Description Name PWM Latch Value Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 32 Access 0 00 ro 0 01to 0 47 r...

Страница 136: ...rectly writes the counter value for the counter Structure of the data bytes Table 49 Object 6810hex Feature Sub index Description Name Preset Value For Multi Sensor Devices Object code ARRAY PDO mappi...

Страница 137: ...ture of the data bytes Table 50 Object 6820hex Feature Sub index Description Name Preset Value For Multi Sensor Devices Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 32...

Страница 138: ...20hex The following applies STS_DBPx 1 at REG_CNTx_CMP0 REG_CNTx_CNT REG_CNTx_CMP1 Structure of the data byte Table 51 Object 6B00hex Feature Sub index Description Name CAM 1 State Register Object cod...

Страница 139: ...Object 6B00hex CAM 1 State Register Function setting for the special functions of the outputs Structure of the data byte Table 52 Object 6B01hex Feature Sub index Description Name CAM 1 Enable Registe...

Страница 140: ...AM 1 State Register Function setting for the special functions of the outputs Structure of the data byte Table 53 Object 6B02hex Feature Sub index Description Name CAM1 Polarity Register Object code A...

Страница 141: ...iption Name CAM 1 Low Limit Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 32 Access 0 00 ro 0 01to 0 47 rw Default value 0 00 0 01to 0 47 Sub index 0 00 n 0 47 Byte Desc...

Страница 142: ...iption Name CAM 1 High Limit Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 32 Access 0 00 ro 0 01to 0 47 rw Default value 0 00 0 01to 0 47 Sub index 0 00 n 0 47 Byte Des...

Страница 143: ...data bytes Note See Chapter 6 Special functions of the outputs Dx Pulse output defined by a hys teresis page 79 Table 56 Object 6B31hex Feature Sub index Description Name CAM 1 Hysteresis Object code...

Страница 144: ...tion The object corresponds to object 6400hex in accordance with CiA DS 406 Structure of the data byte Note See Chapter 6 Special functions of the outputs Dx Pulse output defined by a hys teresis page...

Страница 145: ...it Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 32 Access 0 00 ro 0 01to 0 47 rw Default value 0 00 0 01to 0 47 Sub index 0 00 n 0 47 Byte Description Register Register...

Страница 146: ...t Object code ARRAY PDO mapping Data type 0 00 Unsigned 8 0 01to 0 47 Unsigned 32 Access 0 00 ro 0 01to 0 47 rw Default value 0 00 0 01to 0 47 Sub index 0 00 n 0 47 Byte Description Register Register...

Страница 147: ...supported The object contains the value 0 00 0A 01 96 The low word 0 01 96 406dec specifies the device profile The high word 0 00 0A describes the encoder type in accordance with CiA DS 406 10dec Mult...

Страница 148: ...communication error not only the Emergency Error Code but also the Error register and additional information will be transmitted so that the error can be more precisely identified Only a part of the 5...

Страница 149: ...unit CNTx is active With each edge 0 1 of the Latch Retrigger signal CNTx_SW_LR after the activation of the function unit STS_CNTx_GENERAL_EA 1 the actual counter value is copied into the latch regist...

Страница 150: ...if necessary Acknowledge that function unit PWMx is active Acknowledge that a Latch Retrigger was done Acknowledge that the signal output is enabled At STS_PWMx_RUN 1 the output is enabled at STS_PWMx...

Страница 151: ...cial function Zx CNT HW gate 47 special function Zx CNT synchr HW latch re trigger 49 CNTx_LOGMSG 87 configuration errors 81 count inputs 11 35 count operation flow chart 149 D diagnostic and status m...

Страница 152: ...HW gate 71 special function Zx synchr HW latch retrigger 73 PWMx_LOGMSG 87 R REG_CNTx_LOGMSG 87 REG_CONFIG_ERRSTS 81 REG_PWMx_LOGMSG 87 register 89 CNT1 93 CNT2 94 PWM1 95 PWM2 96 read access 90 stand...

Отзывы: