Mect MPNE1001 Series User Manual Download Page 39

Inputs/outputs modules:  MPNE                         

Mect Srl 

38 

ME7087_13   04/21 

5.1.3  Management of IOs  

The management of Fast IOs, PTOs and encoders is done by setting the ControlWord 
register  (CW)  and the  bits  are shown  in  the  table. From  the  PLC  point of view,  the 
programmer  can  use  free  MECT-provided  libraries,  on  demand,  or  make  the 
following settings: 

 PTO Management 

To manage the PTOs, the programmer must set the CW for the following function:  

Bit 

Description 

15 

14 

13 

12 

11 

10 

PTO disabled. 

MPNE_ControlWord_A := 
16#0001;

 

PTO Start from PLC. 

 (Function 6)

 

MPNE_ControlWord_A := 
16#A001; 

Variables set:

 

MPNE_PTOTargetFreq_A 
MPNE_PTO_Steps_A 

When parameters change, the function 
must be re-armed by rewriting the CW 

PTO start following a rising edge on 
the associated input.

(Function 5)

 

MPNE_ControlWord_A := 
16#9013;

  

Variables set:

 

MPNE_PTOTargetFreq_A 
MPNE_PTO_Steps_A 
MPNE_FastInDelay_A 

When parameters change, the function 
must be re-armed by rewriting the CW 

0

 

0

 

0

 

0

 

Fast OUT 1 on PTO DONE 

(Function 4)

 

MPNE_ControlWord_A := 
16#A084; 

Variables set:

   

MPNE_PTOTargetFreq_A 
MPNE_PTO_Steps_A 

Summary of Contents for MPNE1001 Series

Page 1: ...Inputs outputs modules MPNE Mect Srl ME7087_13 04 21 User Manual MPNE1001 series Modbus RTU interface MANUALE D USO...

Page 2: ...Inputs outputs modules MPNE Mect Srl 1 ME7087_13 04 21...

Page 3: ...ures CODE 02 8 2 2 4 EXPANSION analog inputs outputs electric features CODE 05 8 2 2 5 EXPANSION digital outputs electric features CODE 06 PRELIMINARY 9 2 3 Electromagnetic compatibility 9 3 Product a...

Page 4: ...aud Rate settings 22 4 1 3 Parity and stop bit configuration 22 4 1 4 Factory configuration 24 4 2 ModBus connection 24 4 2 1 Installation example TPAC1007 TP1043 25 4 2 2 Installation example TPAC100...

Page 5: ...for malfunctions or damages caused by improper use of MECT devices due to the non compliance with information in this manual In MECT S r l there is an help desk service 1 2 Symbols Danger Follow thes...

Page 6: ...nd not internal fuse but it powers on immediately after the correct supply voltage has been supplied check the value of the supply voltage indicated on the instrument label under Supply Provide a powe...

Page 7: ...1 to communicate with an operator panel or a PLC MPNE1001 is a modular device consisting of a base plus one or two expansions to obtain different configurations of inputs and outputs The available exp...

Page 8: ...o IEC 60664 1 Pollution according to IEC 61131 2 2 Digital inputs 0V 24Vdc 15 Max current for each digital output CODE 02 200mAdc 24 Vdc Max current for each digital output CODE 06 500mAdc 24 Vdc Max...

Page 9: ...type Resolution Note PNP Modbus cycle time Max 200mA for each output max 2A totally 2 2 4 EXPANSION analog inputs outputs electric features CODE 05 Analog inputs 2 Input type Resolution Note 0 20 mA...

Page 10: ...1 High side 0 3 A Current read 2 3 Electromagnetic compatibility The electromagnetic compatibility tests have been carried out at accredited laboratories according to EN 61326 1 EN 61131 2 and EN 6100...

Page 11: ...8 digital PNP lines configurable as inputs or outputs two expansion modules can be added at choice between 1 8 digital PNP inputs module CODICE 01 2 8 digital PNP outputs module CODICE 02 3 2 universa...

Page 12: ...ly MPNE10 BASE Version 01 00 00 SG 24 8 fixed digital inputs 8 configurable digital I O 01 02 05 06 01 8 digital inputs 02 8 digital outputs 05 2 analog inputs 1 analog output 06 8 digital outputs 1 c...

Page 13: ...must be installed in a way that there is enough space for heat dissipation and cabling Avoid cables superimposition to prevent EMC problems 3 3 MPNE1001 Wiring 3 3 1 Isolation On MPNE1001 there is not...

Page 14: ...a 24VDC 15 power supply as shown in the figure The system is protected from the power supply polarity inversion Before turning on the device configure the Modbus setting see chapter Modbus parameters...

Page 15: ...allowable current per single output is 200mA for CODE 02 and 500mA for CODE 06 The current supplied by the outputs is supplied by the power supply of the terminal itself it is the responsibility of t...

Page 16: ...isturbances the connection cable between the operator panel and the MPNE1001 should be screened and connected to both devices GND 3 4 I O Connection 3 4 1 Base connection The MPNE1001 can be used eith...

Page 17: ...7_13 04 21 3 4 1 1 Base connection encoder Bidirectional encoder Mono directional encoder Fig Mono directional encoder connection Connect to the input In10 count Clock while in the input In9 the direc...

Page 18: ...be at most two expansions in combination between digital inputs digital and analog outputs As far as the digital inputs are concerned the pinout is as follows Fig Connection of the base digital input...

Page 19: ...analog outputs If the expansions are of digital type you obtain the following pinout Fig Connection of the base digital outputs Expansion boards The lines on expansion board 1 are from 17 to 24 the li...

Page 20: ...digital and analog outputs If the expansions are of analog type you obtain the following pinout Fig Connection of the base analog inputs output Expansion boards 3 4 7 Analog inputs output connection 3...

Page 21: ...the current delivered on a load up to 3A the connection is of high side type as defined in the figure mA V Input Analogue inputs 4 20mA and 0 10V are connected to input and GND terminals See figure t...

Page 22: ...carried out before the MPNE1001 is turned on because one of the first operations carried out at the turn on is the reading of the DIP status and if it detects that the address is zero it signals the e...

Page 23: ...ddress dips ID module are all zero the procedure for reading setting the configuration of the stop and parity bits is accessed The selection of the configuration type is made by reading dips 1 and 2 S...

Page 24: ...first 5 seconds Configuration LED RUN LINK No parity OFF ON Even parity ON OFF Odd parity ON ON Stop bit S1 1 S2 0 Procedure Set all dip switches to 0 except dip 1 Power up the instrument Wait a few...

Page 25: ...quires data in this format 4 1 4 Factory configuration If at the start all the dips are at 0 it is possible to restore the configuration to the default values and leds LED RUN and LINK are flashing un...

Page 26: ...describes an example for the commissioning of a system composed of MPNE1001 Master Modbus TPAC1007 TP1043 Fig Modbus connection 4 2 2 Installation example TPAC1008 TP1070 This section describes an exa...

Page 27: ...zero Once the watchdog is triggered on MPNE1001 the digital outputs are reset to zero and the LED LINK on the base is turned on 5 Memory map ModBus RTU registers The MPNE1001 is a RTU ModBus bridge Th...

Page 28: ...Value of digital input 15 MPNE_DigIn_16 WORD_BIT 16 8 RO Value of digital input 16 MPNE_DigIn_17 WORD_BIT 1 9 RO Value of digital input 17 MPNE_DigIn_18 WORD_BIT 2 9 RO Value of digital input 18 MPNE...

Page 29: ...IT 5 28 RW Driving of digital output 5 MPNE_DigOut_6 WORD_BIT 6 28 RW Driving of digital output 6 MPNE_DigOut_7 WORD_BIT 7 28 RW Driving of digital output 7 MPNE_DigOut_8 WORD_BIT 8 28 RW Driving of d...

Page 30: ...cCounter_B DINT 0 47 RO Special function line B Encoder Counter MPNE_MatchRegister_B DINT 0 49 RW Special function line B Match Encoder register MPNE_PTOTargetFreq_B UINT 0 51 RW Special function line...

Page 31: ...D1 UINT 0 80 RW Special function line D control register see paragraph special functions MPNE_PTORampDown_D UINT 0 81 RW Special function line D PTO s Deceleration MPNE_AnIn1Conf UINT 0 84 RO Analog i...

Page 32: ...nfiguration expansion 2 0 not configured 1 current 2 voltage MPNE_AnOut1 UINT 0 90 RW Analog output value expansion 1 MPNE_AnOut2 UINT 0 91 RW Analog output value expansion 2 MPNE_AnIn1Filter UINT 0 9...

Page 33: ...y cycle at 50 only for outputs 30 31 and 32 11 PWM with duty cycle from 0 to 100 only for outputs 30 31 and 32 MPNE_ExpPulseWidth2 _ms UINT 0 117 RW Pulse duration ms for outputs configured as monosta...

Page 34: ...ith output inputs is described in the following table LINE A resolution s LINE B resolution ms LINE C resolution ms LINE D resolution ms Fast Input IN13 IN14 IN15 IN16 Fast Output OUT 1 OUT 2 OUT 3 OU...

Page 35: ...c 1ms 3 Monostable output Following a command from the PLC the output remains ON for the set time and then returns to OFF A min 100 s max 65ms 4 Output at the end of the PTO Output goes to ON at the e...

Page 36: ...UT on Fast Input 6 Fast OUT on match register 7 Fast OUT on PTO DONE 8 Enable unidirectional Counter 9 Enable reset encoder on Fast Input 10 Reset Counter 11 Update Encoder conf 12 Update Fast Input 1...

Page 37: ...utput is ON and returns to OFF when the trigger condition intervenes If set to 0 the output is OFF and returns to ON when the trigger condition intervenes MPNE_FastInDelay_x UINT Time value expressed...

Page 38: ...A MPNE_PTO_RampDown_x UINT N A MPNE_StatusWord UINT Reading PTO status Variables 4 bit for each line are assigned 00 IDLE 01 STEPPING 10 DONE 11 ERROR The most significant bit of each line indicates...

Page 39: ...0 0 0 0 0 0 0 0 1 PTO disabled MPNE_ControlWord_A 16 0001 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 PTO Start from PLC Function 6 MPNE_ControlWord_A 16 A001 Variables set MPNE_PTOTargetFreq_A MPNE_PTO_Steps_A W...

Page 40: ...E_ControlWord_A 16 4004 1 1 0 1 0 0 0 0 0 0 1 0 0 1 1 0 Output is active following an edge on Fast In Function 1 and 2 MPNE_ControlWord_A 16 D026 Variables set Function 1 and 2 MPNE_FastOutDelay_X Fun...

Page 41: ...A 16 8908 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 Bidirectional Encoder MPNE_ControlWord_A 16 8808 1 1 0 0 1 0 0 0 0 1 0 0 0 1 0 0 The OUT 1 is activated when the encoder count value is reached with respect t...

Page 42: ...utConfig25_32 Respectively for module 1 and 2 The configuration consists of two bits for each line according to the following table MPNE_ExpDigitalOutConfig17_24 Standard output Monostable output PWM...

Page 43: ...that can be configured as PWM are only the last three for each module 5 2 2 Using lines as monostable The monostable lines are outputs when commanded by a writing they remain at an high level for the...

Page 44: ...MPNE_Frequency_PWM1 MPNE_Frequency_PWM2 MPNE_PWM_OUT22_OUT21_DC MPNE_PWM_OUT24_OUT23_DC MPNE_PWM_OUT30_OUT29_DC MPNE_PWM_OUT32_OUT31_DC Once the registers are configured bringing the corresponding lin...

Page 45: ...bus Communication active Fixed switched off Modbus Communication not active 6 3 Led LINK The LED LINK lights up if the watchdog is triggered Moreover during the start phase the LEDs signal the configu...

Reviews: