background image

5.3

Writing a Parameter (WRITE)

Writing a parameter is carried out via the fieldbus interface in a similar way to reading a parameter.
A

Write Request from the automation equipment informs the MOVITRAC

®

31.. frequency inverter of

the parameter index to be written, together with the new parameter data. When it receives the write
request, the inverter is instructed to re-define the transferred drive parameter (

Write Indication). The

service is then carried out in the inverter, and if the run is fault-free, the positive response is returned
to the higher-level automation equipment (

Write Response). The Write service is ended on receipt of

confirmation of the service (

Write Confirmation) by the automation equipment.

If it is impossible to carry out the write service in the inverter, e.g. if false parameter data have been
passed over, this is reported back to the automation equipment by a negative answer (

Negative Write

Response). The automation equipment thus receives a negative confirmation (Write Error
Confirmation) with a detailed breakdown of the error.

5.4

Instructions to the User when Adjusting Parameters

When adjusting the parameters of the MOVITRAC

®

31.. frequency inverter via the fieldbus system,

all drive parameters can generally be accessed. However, since some of the drive parameters relate
directly to communication via the fieldbus system, users should take note of the following instructions
when adjusting parameters.

MO

VI

TR

AC

®

841

E

Q

RUN

BUS
FAULT

Master

Slave

Write (1025; 2.5 s)

FIELDBUS

CONTROL MODE

2a. Parameter index 25

(1025-1000) is set to
2.5 s

Negative
write response

Write response

Error + return code

OR

O.K.

Write error
confirmation

3b. Write service faulty because, e.g., parameter value too large

Write
confirmation

3a. Write service was successfully carried out

Write indication

Write
request

1. Write request (e.g. Write to index 1025 = T11 ramp up a

parameter value of 2.5 s)

2b. An error has occurrend!

No data written

00335AEN

Fig. 28: Writing a parameter

Setting Inverter Parameters

5

48

MOVITRAC

®

31.. Fieldbus Unit Profile

Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]

Summary of Contents for MOVITRAC 31 series

Page 1: ...08 198 96 T MOVITRAC 31 Frequency Inverter Fieldbus Unit Profile Manual Edition 04 98 0922 7016 0498...

Page 2: ...s there is however the risk of parameters being changed which will not show outside i e the inverter but affect the behaviour of the inverter This may result in unexpected not uncontrolled though syst...

Page 3: ...User Manual for PROFIBUS FFP 31 option part number 0922 6818 User Manual for INTERBUS S FFI 31 option part number 0922 6915 User Manual Communications Interfaces and Parameter List MOVITRAC 31 part n...

Page 4: ...unctions 37 3 7 Active Output Terminal Functions 39 3 8 Integrated I O Module Functionality 39 3 8 1 Scale of Functions 39 3 8 2 Principle Mode of Operation 40 4 Monitoring Functions 42 4 1 Fieldbus T...

Page 5: ...6 6 5 2 Fieldbus Option PCB Type 56 6 5 3 Fieldbus Baud Rate 56 6 5 4 Fieldbus Address 56 7 Application Examples 57 7 1 Control Using 2 Process Data Words 57 7 1 1 Objective 57 7 1 2 Commissioning 58...

Page 6: ...he master module or via specific bus monitors which can often only be operated by specialists so intelligent field equipment should also provide extremely simple fieldbus diagnostic facilities The SEW...

Page 7: ...e consuming The fieldbus option pcbs are designed so that all settings specific to the fieldbus such as the fieldbus address can be made on the option pcb by means of a hardware switch These manual se...

Page 8: ...mmissioning and servicing For instance both the setpoints transmitted from the higher level control unit as well as the actual values can be checked with the fieldbus monitor in the hand held keypad I...

Page 9: ...ever the latter must first be switched to the relevant control mode This can be done with the parameter P841 Control Mode After the inverter is set to the factory settings this parameter is set to STA...

Page 10: ...ol mode fieldbus 2 For setting inverter parameter only switch on 24 V supply no mains voltage Apply a 24 V signal on input terminal 41 Function CW STOP e g set jumper as shown below 1 ENABLE the inver...

Page 11: ...ss data words 2PD 3 Process data words parameter channel 3PD PARAM 3 Process data words 3PD The parameter channel is only of significance for fieldbus systems without layer 7 functionality e g PROFIBU...

Page 12: ...acceptance of the process output data for setpoint processing via the fieldbus is automatically blocked The process output data received will not be processed according to the new actual value and se...

Page 13: ...s the MOVITRAC 31 inverter to interpret the setpoint transmitted in this process data word as speed setpoint Scaling of the speed setpoint see Section 3 3 5 If the speed setpoint is assigned to the pr...

Page 14: ...oint is specified generally Consequently programming both setpoint variants at the same time is technically not efficient and is treated as double assignment of the process output data channel which m...

Page 15: ...ieldbus will automatically deactivate parameters P202 F MAX 1 P212 F MAX 2 and P222 F MAX 3 The speed limit value specified via the process output data is generally active Current Limit MAX CURRENT Th...

Page 16: ...ve if the specified slip is lower or higher than the given value range Process Ramp RAMP The RAMP setting causes the MOVITRAC 31 inverter to interpret the transmitted setpoint as acceleration or decel...

Page 17: ...select via virtual terminals e g IPOS table positions IPOS CONTROL WORD 2 POSITION HI POSITION LO Inverter control and position entry via fieldbus and if applicable processing of the virtual terminals...

Page 18: ...the enable command The virtual terminals of control word 2 are evaluated directly only if they do not correspond to a control word 1 function 32 Bit Process Output Data Process data which are longer...

Page 19: ...al motor speed by means of a speed feedback facility In a slip compensated application the difference to the real motor speed depends solely on the accuracy of the slip compensation set by the user Ap...

Page 20: ...TION 3 3 4 Enable Fieldbus Setpoints Re parameterizing the process output data e g changing the PO2 setpoint description from speed setpoint to current setpoint is usually done by means of parameter a...

Page 21: ...ing to allow the setpoints and the actual values to be compared directly in the application program of the higher level automation unit There are four different process data types Speed 1 min Relative...

Page 22: ...or Relative speed setpoint Relative actual value of speed Providing the motor is wired correctly positive speed values indicate CLOCKWISE CW direction of rotation and in cases of hoist applications CL...

Page 23: ...55dec or 0483hex resp 67 IN 67 670dec FD62hex 0 1 670dec or FD62hex resp Scaling of the Ramp The process ramp for acceleration and deceleration is specified in milliseconds relative to a frequency rat...

Page 24: ...i e that the position setpoint high is always transmitted together with a position setpoint low Otherwise the inverter might approach undefined positions as e g an old position setpoint low and a new...

Page 25: ...ontrol 0 Hold control not active 1 Hold control active 4 Ramp generator selection 0 Ramp generator 1 1 Ramp generator 2 5 Parameter set selection 0 Parameter set 1 1 Parameter set 2 6 Reset 0 Not acti...

Page 26: ...id stop Controller inhibit Controller inhibit Controller inhibit Controller inhibit Controller inhibit Controller inhibit Rapid stop Stop Enable Control word command Terminal processing function Bit 0...

Page 27: ...me the inverter will activate the mechanical motor brake causing the drive to stop immediately by way of mechanical braking Motors which are not fitted with a mechanical brake will coast to rest when...

Page 28: ...ed with this control bit Par set Ramp gen set Valid ramp generator 1 1 P120 T11 Ramp up P121 T11 Ramp down P140 T13 Ramp stop 2 P130 T12 Ramp up down P140 T13 Ramp stop 2 1 P123 T21 Ramp up P124 T21 R...

Page 29: ...rotation for motor pot or internal setpoints 0 Direction of rotation CW 1 Direction of rotation CCW 9 10 Motor pot acceleration Motor pot deceleration 10 9 0 0 No change 1 0 Deceleration 0 1 Accelera...

Page 30: ...erators P151 T4 Ramp Up P152 T4 Ramp Down are used Internal fixed setpoints Selection of the internal fixed setpoints via the fieldbus interface is the same as via the standard input terminals To sele...

Page 31: ...l input terminal assignment for the standard MOVITRAC 31 unit with a digital input terminal expansion and their functionality Virtual input terminal Assigned to terminal Functionality 1 50 Terminal fu...

Page 32: ...AL 51 5 52 Terminal function programmable to P607 TERMINAL 52 6 53 Terminal function programmable to P608 TERMINAL 53 7 54 Terminal function programmable to P609 TERMINAL 54 8 None 15 14 13 12 11 10 9...

Page 33: ...n e g no mains supply 1 Drive ready for operation 2 Fieldbus mode active 0 Fieldbus mode not active 1 Fieldbus mode active control setpoint via fieldbus 3 Active ramp generator set 0 Ramp generator 1...

Page 34: ...e inverter parameters via the fieldbus interface is possible at any time independent of the set control mode Current Parameter Set Ramp Generator not for MOVITRAC 31 size 0 Bits 3 and 4 of the status...

Page 35: ...nable it to instruct the inverter to travel in the opposite direction While the terminal signals of the limit switches are active when 0 the condition of the limit switches in the status word of the i...

Page 36: ...ssary to implement the most diverse applications By programming the terminal functions of the output terminals you can process all the usual signals via the fieldbus system Fig 22 shows the assignment...

Page 37: ...erminal functionality remains almost the same in the fieldbus mode Safety relevant functions used to enable the inverter are connected with the fieldbus control word commands as shown in Fig 23 All ot...

Page 38: ...tion with basic control block Fig 23 Enable Stop OR AND relation with basic control block Fig 23 Parameter set selection OR Fixed setpoint n11 n21 OR Fixed setpoint n12 n22 OR Reset OR Motor potentiom...

Page 39: ...IPOS output 1 8 Not available for MOVITRAC 31 size 0 3 8 Integrated Input Output Module Functionality The input and output terminals of the inverter can be used for digital input output of sensor acto...

Page 40: ...The reflection of the physical input and output terminals onto the fieldbus takes place via the virtual input terminals of the control word 2 and the virtual output terminals of the status word 2 In...

Page 41: ...tus word 2 Virtual output terminals Control word 2 Virtual input terminals Terminal programming P600 Terminal 42 NO FUNCTION P612 Terminal 72 OUTPUT IPOS 2 Physical inputs 00956AEN Fig 24 Principle pr...

Page 42: ...0 00 Fieldbus timeout switched off Factory setting 0 5 s After a factory setting has been carried out the Fieldbus Timeout parameter is set at 0 5 seconds IMPORTANT In the case of the PROFIBUS DP para...

Page 43: ...arning When the time set for the fieldbus time out parameter has elapsed the inverter will carry out an immediate switch off i e the output stage will be disabled and the mechanical motor brake activa...

Page 44: ...ramp down the rapid stop ramp P140 T13 Stop Ramp P141 T23 Stop Ramp and at the same time issue a warning fault 87 The inverter has then already left the fieldbus mode After a signal transition on the...

Page 45: ...switchover to standard mode Unit off on mains supply 24V None No response Not required Fault 87 Warning Fault 87 is a warning i e the fault indication is automatically cleared when the fieldbus starts...

Page 46: ...from the master module or the higher level automation equipment so that adjustment of inverter parameters can be carried out via the corresponding fieldbus system Please see the User Manual for the fi...

Page 47: ...rvice Read Confirmation by the automation equipment If it is impossible to carry out the Read service in the inverter this is reported back to the automation equipment by a negative answer Negative Re...

Page 48: ...receives a negative confirmation Write Error Confirmation with a detailed breakdown of the error 5 4 Instructions to the User when Adjusting Parameters When adjusting the parameters of the MOVITRAC 31...

Page 49: ...aken that the digital input terminal signals following activation of the factory setting do not enable the inverter 5 4 2 Saving to EEPROM During parameter adjustment it should be borne in mind that a...

Page 50: ...lock 2 Once the parameter has been set to P801 Save OFF none of the parameters written subsequently will be stored memory resident 3 Once the P800 Parameter Lock YES parameter has been activated all p...

Page 51: ...this serial interface not permitted 00 1A Speed control active P770 00 1B Unauthorized access 00 1C Output stage not disabled 00 1D Invalid parameter value e g invalid intermediate value 00 1E Factory...

Page 52: ...ldbus option pcb in use Incorrect coding of a service via a parameter channel Incorrect indication of service length via a parameter channel Drive parameter accessing error Further information can be...

Page 53: ...073 Fieldbus address P074 PO1 setpoint hex P075 PI1 I actual value hex P076 PO2 setpoint hex P077 PI2 actual value hex P078 PO3 setpoint hex P079 PI3 actual value hex P560 Setpoint description PO1 P56...

Page 54: ...speed setpoints in units of 1 min 6 2 Diagnosis of Process Input Data As is the case with diagnosis of process output data the fieldbus monitor parameters P075 PI1 actual value hex P077 PI2 actual val...

Page 55: ...system 6 3 2 Control Using the Fieldbus Monitor In Control mode the fieldbus monitor can be used for manual control of the inverter via the PC In this case the inverter displays the same drive charac...

Page 56: ...annel is used This parameter is either set with a hardware switch on the fieldbus option pcb or via the fieldbus master during bus system start up e g with PROFIBUS DP 6 5 2 Fieldbus Option PCB Type T...

Page 57: ...is to be controlled by means of two process data words The process output data Control Word 1 and Speed Setpoint are to be specified by the higher level control unit Conversely the inverter is to retu...

Page 58: ...1 the process data length is configured in the master module Please see the user manuals on the relevant fieldbus option pcb for further information 3 Switch on the external 24 V supply As the inverte...

Page 59: ...ramp generator set of it are to be used the ramp generators T11 Ramp Up T11 Ramp Down and T13 Stop Ramp must be changed All the parameters for this application example have now been assigned 601 NO FU...

Page 60: ...transferred into the control word PW132 0 0 0 0 0 0 0 0 0 0 0 0 0 X X 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 Bit PW 132 PB 132 PB 133 0 Enable Enable Rapid stop Enable Stop 0 Hold control not activated 0 R...

Page 61: ...uired order e g via individual write services or via the download parameter block if supported by the option pcb However please note that all other parameters can only be written once the factory sett...

Page 62: ...that can be continually varied The rapid stop shall take place within 200 ms The inverter is also to recognize a bus error that lasts longer than 100 ms and to use the rapid stop to bring the drive t...

Page 63: ...corresponds to the factory setting you only have to change the process data description parameters for the third process data word to the setting specified 7 As you have changed the setpoint descript...

Page 64: ...igured rapid stop ramp although the fieldbus is transmitting a different control command via the control word IMPORTANT In this application example the assignment of the terminals has not been changed...

Page 65: ...p generator is first transferred from MW102 to PW136 ramp and the Stop command is then transferred to the control word with the coding 0002hex The process input data Status Word 1 Speed Actual Value a...

Page 66: ...inverter in the required order e g via individual write services or via the download parameter block if supported by the option pcb However please note that all other parameters can only be written on...

Page 67: ...C 31C 1 Set all the parameters specific to the fieldbus using the DIP switches on the fieldbus option pcb For this example configure the process data length to 2PD For the option FFI 31 INTERBUS S for...

Page 68: ...drive control 841 FIELDBUS CONTROL MODE 00343AEN Fig 53 Switching to control mode fieldbus using keypad 561 STATUS WORD 2 actual value description PI1 562 SPEED setpoint description PO2 563 SPEED actu...

Page 69: ...status word 2 organized in bits is possible via the common logic instructions The I O addresses contain the following information EW 32 status word 2 EW 34 speed actual value AW 32 control word 2 AW 3...

Page 70: ...utput terminal 1 Virtual output terminal 2 Virtual output terminal 3 input terminal 42 Virtual output terminal 4 input terminal 43 Virtual output terminal 5 input terminal 47 Virtual output terminal 6...

Page 71: ...e positioning process independently The complete control is to be carried out by the fieldbus master Further the current actual value of the position as well as the status of the inverter must be retu...

Page 72: ...tion example the process input data is described as follows P561 Actual value description PI1 status word 2 P563 Actual value description PI2 position high P565 Actual value description PI3 position l...

Page 73: ...dule Please refer to the User Manuals on the relevant fieldbus option pcb for further information 2 Switch on the external 24 V supply As the inverter has not yet had parameters set for fieldbus opera...

Page 74: ...ry setting via the keypad 841 FIELDBUS CONTROL MODE 00343AEN Fig 67 Switching to control mode fieldbus using keypad 561 STATUS WORD 2 setpoint description PI1 563 POSITION HIGH actual value descriptio...

Page 75: ...Now write the IPOS automatic program and use the command GOPA in order to be able to implement the position setpoint of the fieldbus Fig 74 shows the minimum program for the use of the position setpoi...

Page 76: ...le the process input and output data is mapped to the peripheral addresses PW132 PW134 and PW136 within a Simatic S5 the control and specification of the position setpoints can be implemented with the...

Page 77: ...ntrol word 1 and control word 2 18 D Diagnosis of the process input data 54 of the process output data 53 Download parameter block 50 E EEPROM Deactivate save function 49 Emergency stop concept 62 Err...

Page 78: ...tion 13 Position 24 Position setpoint 14 18 24 Process ramp 16 23 Slip compensation 16 Speed limit 15 22 Speed setpoint 13 17 21 Status word 33 Assignment of the basic control block 33 Basic control b...

Reviews: