background image

 

 

 

 

MVI46-PDPS 

SLC Platform 

Profibus DP Slave Communication 
Module 

 

May 6, 2021    

USER MANUAL 

 

Summary of Contents for MVI46-PDPS

Page 1: ...MVI46 PDPS SLC Platform Profibus DP Slave Communication Module May 6 2021 USER MANUAL ...

Page 2: ... provided at our website http www prosoft technology com Important Installation Instructions Power Input and Output I O wiring must be in accordance with Class I Division 2 wiring methods Article 501 4 b of the National Electrical Code NFPA 70 for installation in the U S or as specified in Section 18 1J2 of the Canadian Electrical Code for installations in Canada and in accordance with the authori...

Page 3: ...s to prevent the rated voltage being exceeded by transient disturbances of more than 40 This device must be used only with ATEX certified backplanes D DO NOT OPEN WHEN ENERGIZED Warning This module is not hot swappable Always remove power from the rack before inserting or removing this module or damage may result to the module the processor or other connected devices Battery Life Advisory The MVI4...

Page 4: ...ng Your PC to the Module 14 2 MVI46 PDPS Configuration 15 2 1 Using ProSoft Configuration Builder 15 2 1 1 Setting Up the Project 15 2 1 2 Renaming PCB Objects 17 2 2 BACKPLANE 17 2 3 PROFIBUS SLAVE 18 2 3 1 Slave Address 18 2 3 2 Swap Input Bytes 18 2 3 3 Swap Output Bytes 18 2 3 4 Comm Failure Mode 18 2 3 5 Comm Timeout Multiplier 18 2 4 Downloading the Configuration to the Module Using Serial 1...

Page 5: ...Specifications 38 5 1 4 Functional Specifications MVI46 PDPS 39 5 2 Functional Overview 39 5 2 1 About the PROFIBUS Protocol 39 5 2 2 General Concepts 40 5 2 3 PROFIBUS DP Architecture 41 5 2 4 Backplane Data Transfer 43 5 2 5 Disabling the RSLinx Driver for the Com Port on the PC 50 5 2 6 RS 232 Configuration Debug Port 52 5 2 7 DB9 to RJ45 Adaptor Cable 14 52 6 Support Service Warranty 53 6 1 Co...

Page 6: ... the Sample Program to the Processor 11 Connecting Your PC to the Module 14 To get the most benefit from this User Manual you should have the following skills Rockwell Automation RSLogix software launch the program configure ladder logic and transfer the ladder logic to the processor Microsoft Windows install and launch programs execute menu commands navigate dialog boxes and enter data Hardware i...

Page 7: ...o Microsoft Windows Vista o Microsoft Windows 2000 Professional with Service Pack 1 2 or 3 o Microsoft Windows Server 2003 32 Mbytes of RAM minimum 64 Mbytes of RAM recommended 50 Mbytes of free hard disk space or more based on application requirements 16 color VGA graphics adapter 640 x 480 minimum resolution 256 Color 800 600 recommended 1 2 Package Contents The following components are included...

Page 8: ...ws Desktop so that you can find it easily when you have finished downloading 7 When the download is complete locate and open the file and then follow the instructions on your screen to install the program Note To use the RS Logix 500 under the Windows 7 OS you must be sure to install it using the Run as Administrator option To find this option right click the Setup exe program icon and then click ...

Page 9: ...g the Module in the Rack If you have not already installed and configured your SLC processor and power supply please do so before installing the MVI46 PDPS module Refer to your Rockwell Automation product documentation for installation instructions Warning You must follow all safety instructions when installing this or any other electronic devices Failure to follow safety procedures could result i...

Page 10: ...teady push snap the module into place 4 Check that the holding clips on the top and bottom of the module are securely in the locking holes of the rack 5 Make a note of the slot location You will need to identify the slot in which the module is installed in order for the sample program to work correctly Slot numbers are identified on the green circuit board backplane of the SLC rack 6 Turn power ON...

Page 11: ... User Manual ProSoft Technology Inc Page 11 of 53 1 6 Connecting Your PC to the Processor 1 Connect the right angle connector end of the cable to your controller at the communications port 2 Connect the straight connector end of the cable to the serial port on your computer ...

Page 12: ...u and then choose DOWNLOAD RSLogix will establish communication with the processor 2 Click the DOWNLOAD button to transfer the sample program to the processor 3 RSLogix will compile the program and transfer it to the processor This process may take a few minutes 4 When the download is complete RSLogix will open another confirmation dialog box Click YES to switch the processor from Program mode to ...

Page 13: ...nable to establish communication with the processor follow these steps 1 Open RSLinx 2 Open the COMMUNICATIONS menu and click CONFIGURE DRIVERS This action opens the Configure Drivers dialog box Note If the list of configured drivers is blank you must first choose and configure a driver from the Available Driver Types list The recommended driver type to choose for serial communication with the pro...

Page 14: ...verify that the cables are connected correctly between the processor and the serial port on your computer and then try again If you are still unable to auto configure the port refer to your RSLinx documentation for further troubleshooting steps 1 8 Connecting Your PC to the Module With the module securely mounted connect your PC to the Configuration Debug port using the RJ45 DB 9 Serial Adapter Ca...

Page 15: ...US SLAVE 17 Downloading the Configuration to the Module Using Serial 19 2 1 Using ProSoft Configuration Builder ProSoft Configuration Builder PCB provides a quick and easy way to manage module configuration files customized to meet your application needs PCB allows you to import information from previously installed known working configurations to new projects 2 1 1 Setting Up the Project To begin...

Page 16: ...on the right side of the window When you first start PCB the tree view consists of folders for DEFAULT PROJECT and DEFAULT LOCATION with a DEFAULT MODULE in the Default Location folder The following illustration shows the PCB window with a new project Your first task is to add the MVI46 PDPS module to the project 1 Use the mouse to select Default Module in the tree view and then click the right mo...

Page 17: ...y icon to view module information and configuration options 3 Double click any icon to open an Edit dialog box 4 To edit a parameter select the parameter in the left pane and make your changes in the right pane 5 Click OK to save your changes Printing a Configuration File 1 In the main PCB window right click the MVI46 PDPS MODULE icon and then choose VIEW CONFIGURATION 2 In the View Configuration ...

Page 18: ... bytes in each word A value of No indicates no byte swapping will occur 2 3 3 Swap Output Bytes Yes or No This parameter specifies if the data in the output data area of the module is to be byte swapped If the order of the bytes in the words stored in the database is not correct use this option A value of Yes causes the module s program to swap the bytes in each word A value of No indicates no byt...

Page 19: ...he project including the IP address After that you can use the Ethernet port to communicate with the module To download the project file 1 In the tree view in RS Logix 500 right click the module icon and choose DOWNLOAD FROM PC TO DEVICE The program scans your PC for a valid com port this may take a few seconds When the RS Logix 500 finds a valid COM port it opens the Download files from PC to mod...

Page 20: ...itions The sample ladder logic is extensively commented to provide information on the purpose and function of each rung For most applications the sample ladder will work without modification 3 1 Module Data All data related to the MVI46 PDPS module is stored in user defined data files and the module s M1 file Additionally a file should be defined to hold the module status data The status data shou...

Page 21: ...ft pane and then scroll to the bottom of the right pane 3 In the right pane double click OTHER REQUIRES I O CARD TYPE ID This action opens the OTHER TYPE IO CARD dialog box 4 The module s I O card ID number is 12835 Enter that value in the ID number field and then click OK to dismiss the dialog box 5 Observe that the module you selected is now in the list in the left pane of the I O Configuration ...

Page 22: ...ine ISR 0 M0 Length 200 M1 Length 200 G File Length 0 7 Click OK to save your configuration 8 Copy the ladder logic and data files from the sample program and paste them into your existing program Important Take care not to overwrite existing data files in your application with data files in the sample application Rename either the source or the destination data files and then search and replace r...

Page 23: ...able 4 1 Reading Status Data from the Module The MVI46 PDPS module returns a 20 word Status Data block that can be used to determine the module s operating status This data can be located in the module s database at registers at the location specified in the configuration This data is transferred to the SLC processor continuously with each read block 4 1 1 Definition of Module s Extended Diagnosti...

Page 24: ...46 35 ASCII 5 MVI56 36 ASCII 6 MVI69 37 ASCII 7 MVI71 51 ASCII Q PTQ Sample Diagnostics reported to master Translated as follows Extended diagnostics length 0E 14 bytes Product Version 56 V 30 0 31 1 2E 30 0 35 5 Product Name 50 P 44 D 53 S 34 4 MVI46 Status Register 0 41 SPC3 in passive idle and WD State is in DP_Control State Status Register 1 03 1 5 Baud rate Module State 04 not in data exchang...

Page 25: ...s To connect to the module s Configuration Debug serial port 1 Start PCB and then right click the module icon 2 On the shortcut menu choose DIAGNOSTICS This action opens the Diagnostics dialog box 3 Press to open the Main menu Important The illustrations of configuration debug menus in this section are intended as a general guide and may not exactly match the configuration debug menus in your own ...

Page 26: ...cable will not work 3 On computers with more than one serial port verify that your communication program is connected to the same port that is connected to the module If you are still not able to establish a connection contact ProSoft Technology for assistance Navigation All of the submenus in ProSoft Configuration Builder for this module contain commands to redisplay the menu or return to the pre...

Page 27: ...puter your terminal screen will be blank To activate the main menu press the key on your computer s keyboard If the module is connected properly the following menu will appear Caution Some of the commands available to you from this menu are designed for advanced debugging and system testing only and can cause the module to stop communicating with the processor or with other devices resulting in po...

Page 28: ... the contents of the input database Opening the Output Data View Menu Press O to open the Output Data View Menu Use this command to view the contents of the input database Viewing Version Information Press V to view version information for the module Use this command to view the current firmware version of the software Software Revision Level for the module as well as other important values You ma...

Page 29: ...y Technical Support staff Some of these command keys are not listed on the menu but are active nevertheless Please be careful when pressing keys so that you do not accidentally execute an unwanted command Press ESC to restart the module and force all drivers to be loaded The module will use the configuration stored in the module s flash memory to configure the module 4 1 4 PROFIBUS Slave Menu The ...

Page 30: ... Len see SPC3 specification and S is a pointer to this data in the SPC3 chip SSA Len is not used and should be 0 and its pointer S is N A Param Len is the length of the parameter data for the slave with S as the pointer in the SPC3 chip to the data Cfg Len is the configuration length for the slave with S as the pointer RCfg len is that received from the master with S as the pointer Ident is the PR...

Page 31: ... not yet fetched the diagnostics buffer Bit 3 RAM Access Violation Memory access 1 5kByte 0 No address violation 1 For addresses 1536 bytes 1024 is subtracted from the current address and there is access to this new address Bits 4 5 DP State DP State Machine state 00 Wait_Prm state 01 Wait_Cfg state 10 DATA_EX state 11 Not possible Bits 6 7 WD State Watchdog State Machine state 00 Baud_Search stat...

Page 32: ...he baud rate automatically The baud search state is located after each RESET and also after the watchdog WD timer has run out in the Baud_Control_state As a rule SPC3 begins the search for the set rate with the highest baud rate If no SD1 telegram SD2 telegram or SD3 telegram was received completely and without errors during the monitoring time the search continues with the next lowest baud rate A...

Page 33: ...e circuit does not check this setting Monitoring times between 2 ms and 650 s independent of the baud rate can be implemented with the permissible watchdog factors If the monitoring time runs out the SPC3 goes again to Baud_Control and the SPC3 generates the WD_DP_Control_Timeout Interrupt In addition the DP_State machine is reset that is generates the reset states of the buffer management If anot...

Page 34: ... The value of the last global command code received from the master Bit Designation Significance 0 Reserved 1 Clear_Data With this command the ASCI output data is deleted in data transfer buffer and is changed to next transfer data buffer contents 2 Unfreeze With Unfreeze freezing input data is cancelled 3 Freeze The ASCI input data is fetched from next transfer buffer to data transfer buffer and ...

Page 35: ...of a problem This section provides insight into the operation of the PROFIBUS Slave Port status LEDs 4 2 1 LEDs for the PROFIBUS Slave Port ACTIVE ERROR Description Flashing On PROFIBUS communication problem not receiving output Off On Module configured and waiting for first output data set Flashing together Configuration error during initialization Alternate flashing Watchdog timer expired On Off...

Page 36: ... is either absent or not running BATT Red Off The battery voltage is OK and running On The battery voltage is low or the battery is not present The battery LED will illuminate briefly upon the first installation of the module or if the unit has not had power for an extended period of time This behavior is normal however should the LED come on in a working installation please contact ProSoft Techno...

Page 37: ...nitoring and troubleshooting serial cable is included with product shipment After editing on a PC a configuration file is downloaded and stored on the MVI46 module The PROFIBUS DP slave gives access to the unit s input and output images with up to 244 bytes of input and output data for a maximum of 400 bytes total These input and output data blocks are mapped by the user within the module s data m...

Page 38: ...Configuration Connector RJ45 RS 232 Connector RJ45 to DB 9 cable shipped with unit Application Ports Application Serial port PRT1 PRT2 Serial Modules Two RJ45 RS 232 422 485 Application ports 5 1 3 PROFIBUS Slave Port Specifications Type Specifications General Parameters Internal Database 400 registers 200 words available GSD File Downloadable from www prosoft technology com web site PROFIBUS Slav...

Page 39: ...S pin out specification 5 2 Functional Overview The PROFIBUS slave protocol driver may exist in a single port implementation The driver can be configured as a slave interface with other PROFIBUS devices The PROFIBUS slave port can be used to continuously interface with other PROFIBUS devices over a PROFIBUS serial communication network 5 2 1 About the PROFIBUS Protocol PROFIBUS Process Field Bus i...

Page 40: ...n the configuration Main Logic Loop Upon completing the power up configuration process the module enters an infinite loop that performs the functions shown in the following diagram Call I O Handler Call CFG DEBUG Port Driver Call Network Slave Drivers Call I O Handler Transfers data between the module and processor user status etc Call Serial Port Driver Rx and Tx buffer routines are interrupt dri...

Page 41: ... this device Do not use PROFIBUS connectors with a conductive metal shell Bus Access Two different bus access procedures handle the various communication requirements for the PROFIBUS DP topology Token Passing Polling Token Passing Token passing ring is the basis for communication between the more complex active stations All stations have the same rights in that a token is passed from station to s...

Page 42: ...The communication between the Master and the slaves takes place in the following phases Parameterization and configuration phase Usable data transfer phase Before a DP slave can be integrated into the usable data transfer phase the parameterization and configuration phase runs a device identification test that verifies that the planned configuration matches the actual device configuration for each...

Page 43: ...ocessor the MVI46 PDPS module and the PDPS network User File User File User File M0 M1 PROFIBUS Data Input Data Output Data Input Data Output Data Ladder Logic M Files PROFIBUS Slave PROFIBUS Master M1 Status Data All data transferred between the module and the processor over the backplane is through the M0 and M1 files Ladder logic must be written in the SLC processor to interface the M file data...

Page 44: ...ule s M0 file If the read write handshake bits are equal the module owns the M files If they are not equal the SLC owns the M files Using this exclusive ownership data integrity is maintained over the whole PROFIBUS data areas Input Data Control Word Bit Definition 0 0 Initialization Request 0 module not active 1 module ready to run running 1 Initialization Compete 0 module not processed initial d...

Page 45: ...am scan counter 131 Status Block read counter 132 Status Block write counter 133 Status Block parse counter 134 Status Block error counter 135 Status PROFIBUS enable state 136 Status PROFIBUS state 137 Status PROFIBUS status register 0 138 Status PROFIBUS status register 1 139 Status Diagnostic state 140 Status PROFIBUS input counter 141 Status PROFIBUS output counter 142 Status Reserved 143 Statu...

Page 46: ...l word to be sent to master 122 to 199 Reserved Reserved for future use PROFIBUS Slave Port The MVI46 module supports this protocol as a slave module on a PROFIBUS network The relationship between the port labeling on the front of the MVI46 module and the application is as follows Port Label Function PROFIBUS Slave PROFIBUS Slave Port Debug Debug Configuration Port 0 Communication Port 0 The follo...

Page 47: ... Word Value Description 135 Status PROFIBUS enable state 136 Status PDPS module state 137 Status PROFIBUS status register 0 138 Status PROFIBUS status register 1 139 Status Diagnostic state 140 Status PROFIBUS input counter 141 Status PROFIBUS output counter 142 Status Reserved 143 Status Reserved 144 Status Reserved 145 Status Reserved 146 Status Reserved 147 Status Reserved 148 Status Last globa...

Page 48: ...ot yet fetched the diagnostics buffer Bit 3 RAM Access Violation Memory access 1 5kByte 0 No address violation 1 For addresses 1536 bytes 1024 is subtracted from the current address and there is access to this new address Bits 4 5 DP State DP State Machine state 00 Wait_Prm state 01 Wait_Cfg state 10 DATA_EX state 11 Not possible Bits 6 7 WD State Watchdog State Machine state 00 Baud_Search state ...

Page 49: ...elease no for SPC3 0000 Release 0 Rest Not possible Diagnostic state Word 139 0 Normal Operation or not in data exchange with Status Register 0 Bit 0x20 set 1 Not in data exchange state with the Status Register 0 bit 0x20 not set or normal operation with the Status Register 0 bit 0x20 not set 3 Not in a defined state or in module state 1 2 or 3 4 Normal operation with Status Register 0 bit 0x20 se...

Page 50: ... Sync The ASCI output data transferred with a WRITE_READ_DATA telegram is changed from data transfer buffer next state buffer The following transferred output data is kept in data transfer buffer until the next Sync command is given 6 7 Reserved The Reserved designation specifies that these bits are reserved for future function expansions 5 2 5 Disabling the RSLinx Driver for the Com Port on the P...

Page 51: ...driver your RSWho screen should look like this Branches are displayed or hidden by clicking on the or the icons 4 When you have verified that the driver is not being browsed go to COMMUNICATIONS CONFIGURE DRIVERS You may see something like this If you see the status as running you will not be able to use this com port for anything other than communication to the processor To stop the driver press ...

Page 52: ... above steps and it will not stop the driver then make sure you do not have RSLogix open If RSLogix is not open and you still cannot stop the driver then reboot your PC 5 2 6 RS 232 Configuration Debug Port This port is physically an RJ45 connection An RJ45 to DB 9 adapter cable is included with the module This port permits a PC based terminal emulation program to view configuration and status dat...

Page 53: ...own issues North America Corporate Location Europe Middle East Africa Regional Office Phone 1 661 716 5100 info prosoft technology com Languages spoken English Spanish REGIONAL TECH SUPPORT support prosoft technology com Phone 33 0 5 34 36 87 20 france prosoft technology com Languages spoken French English REGIONAL TECH SUPPORT support emea prosoft technology com Latin America Regional Office Asia...

Reviews: