Home
Guide to the MVI46-DFCM User Manual
Contents
1. ecesececeeseeceeeeeceeeeeeneeeeeaaeeesnseeeeeseseeeeeeaeeeensaes 55 Cable Connections eeecceeeeeneeeeenneeeeeneeeeeeaeeeeeeaeeeenneeeeesneeeeeenas 71 MVI46 DFCM Command Control 0 ccceeeeeeeeeeeeeenneeeeeeneeeeenneeeeneaa 77 Se Kel Ooo i EEE E ETTE T E ETT 78 DF1 Command Set For ProSoft Technology Communication Modules 80 DF1 Command List Form 0 0 eeeeceeeesneeeeeeeeeeeeeneeeeeenaeeeeeenaeeeenneeeeneaa 92 5 1 Product Specifications The MVI46 DF1 Master Slave Communication Module is an SLC backplane compatible module that allows Rockwell Automation SLC I O compatible processors to interface easily with DF1 protocol compatible devices and hosts Devices commonly supporting the protocol include Rockwell Automation PLCs and power monitoring equipment as well as several other third party devices in the marketplace The MVI46 DFCM Master Slave Communications module allows Rockwell Automation SLC I O compatible processors to interface easily with other DF 1 protocol compatible devices Compatible devices include not only Rockwell Automation PLCs which all support the DF1 protocol but also a wide assortment of end devices The MVI46 DFCM module has two Application Serial ports supporting the DF 1 protocol with each port user configurable to act as a master or as a slave Data transfer between the module and the SLC processor is asynchronous to the DF1 network with the module s internal database being used to exch
2. Page 72 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module You may see something like this Configure Drivers 3 r Available Driver Types 7 Add New r Configured Drivers Status Name and Description 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 the Stop on the side of the window Configure Startup Start Stop Delete 5 After you have stopped the driver you will see the following Configure Drivers Available Driver Types 7 Add New Configured Drivers Name and Description Status AB_DF1 1 DH485 Sta 10 COM1 STOPPED Stopped 6 Upon seeing this you may now use that com port to connect to the debug port of the module Note You may need to shut down and restart your PC before it will allow you to stop the driver usually only on Windows NT machines If you have followed all of the above steps and it will not stop the driver then make sure you do not have RS Logix open If RSLogix is notopen and you still cannot stop the driver then reboot your PC ProSoft Technology Inc Page 73 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module 5 3 2 RS 232 When the RS 232 interface is selected the use of hardware handshaking control a
3. N10 11 11 12 N32 14 5014 Termination Type N32 15 5015 Baud Rate This parameter specifies the error checking for all DF1 messages 0 BCC 1 CRC This is the baud rate to be used on the port Enter the baud rate as a value Baud Rate 110 150 300 600 1200 2400 4800 9600 14 400 19 200 28 800 38 400 Parameter Value 110 150 300 600 12 or 1200 24 or 2400 48 or 4800 96 or 9600 14 114 or 14400 19 192 or 19200 28 288 or 28800 38 384 or 38400 57 600 57 or 576 115 200 115 or 1152 N10 12 13 N32 16 5016 Parity This is the Parity code to be used for the port The coded values are as follows 0O None 1 Odd 2 Even 3 Mark and 4 Space N10 13 14 N32 17 5017 Data Bits This parameter sets the number of data bits for each word used by the protocol Valid value in the range of 5 to 8 ProSoft Technology Inc October 20 2008 Page 23 of 103 MVI46 DFCM SLC Platform DF1 Communication Module Installing and Configuring the Module Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N10 14 15 N32 18 5018 Stop Bits This parameter sets the number of stop bits to be used with each data value sent Valid value of 1 or 2 N10 15 16 N32 19 5019 Minimum This parameter sets the number Response of milliseconds to wait before a Delay response message is sent out of
4. Q8G00oO J1 Vv Vv J2 rN DCD PERD TXD ES 2 f 4 RXD RXD 4 iS ARD i TXD i i i DTR j a i GND GND GND i 5 i DSR RXD Cle Hs O 4 i CTS TXRXD TXD i Ine i T l Wiring Diagram 5 4 MVI46 DFCM Command Control Command Control data is received from other nodes on the network that can control the MVI46 DFCM module Specific values are written to regions of this block to control the module Currently the module is programmed to handle the receipt of the following requests write configuration to processor warm boot and cold boot The remote node controls the module by writing one of the following values to register 7800 address N46 0 9997 Write configuration in database to the processor and warm boot the module 9998 Warm boot the module 9999 Cold boot the module The control register is cleared a value of 0 after the operation is executed with the exception of the 9997 command If the module fails to successfully transfer the configuration to the processor an error code will be returned in the control register as follows 0 No error transfer successful 1 Error transferring general configuration information Ladder logic must handle the 9997 command No ladder logic is required when using the warm or cold boot commands ProSoft Technology Inc Page 77 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communic
5. View menu See Database Menu section Master Command Errors Opens Command Error List menu See Command Error List section EF FFF Master Command List Opens Command List menu Slave Status List Pa A Displays Slave Status screen Y Version Infirmation Pa J Displays Version Information screen m a Reboots the module D0 NOT USEunless Mio Narn Boot Modula directed to do so by ProSot technical support A A Y Transfer Module Cfg to Processor Prompts to upload configuration file Comunication Status Pay Displays Communication Status sereen Port Configuration X Displays Port Coniguration screen h its back to the 5 unless directed to do so by Pro Soft technical support See Command List section Ete Esc Exit Program Opening the Data Analyzer Menu Press A to open the Data Analyzer Menu Use this command to view all bytes of data transferred on each port Both the transmitted and received data bytes are displayed Refer to Data Analyzer for more information about this menu Page 38 of 103 ProSoft Technology Inc October 20 2008 Diagnostics and Troubleshooting MVI46 DFCM SLC Platform DF1 Communication Module Important When in analyzer mode program execution will slow down Only use this tool during a troubleshooting session Before disconnecting from the Config Debug port please press S to stop the data analyzer and then pr
6. 1 4 Install the Module in the Rack 0 cecceeecceceeeeeeeeeeeeeeeeeeeeseceneaeeeeeeeeesessesniaeeeeeess 11 1 5 Connect your PC to the Processo seoid irei in eene n ia a aTa ia 13 1 6 Download the Sample Program to the ProCeSSOl ccccceeeseeeeeeeeeeeeeeeesueeeeeeeaes 14 1 7 Connect your PC to the MOdUIe socere ni ai a AEA A a EERE 17 2 Installing and Configuring the Module 19 2 1 Module Configuration raosira a REE R EE T T 21 2 2 MVI46 DFCM Configura onre a neteet iee aana eeh REEE ERARE EAA TREE AEEA 21 3 Ladder Logic 33 4 Diagnostics and Troubleshooting 35 4 1 Reading Status Data from the Module esseessseseersseerrssesrraarernesrnineaarnrnesrenanarennes 35 4 2 CED Stat s IndicatorsS A menia aii aniei ae tap iaeia aaah iae aiaa aaea a 50 5 Reference 53 5 1 Prod ct Specifications issen eeo ae ana einoh pi eenaa edatera araea Da T 53 5 2 Functional OVervieW sssrini reed e a eare I E E eS Ara teats 55 5 3 Cable Connections 4 iiicet etd tenet dee eee es 71 5 4 MVI46 DFCM Command Control cccccceeeeeeeeeeeeeneeeeeeceeeeesnaeeeeeeaaeeeeeenaeeeeneaaes 77 5 5 Error COdGS y ox 20 Arts Goren aa Maa aea eE aa a a aeaea ba a e tate ts and e canted desire Aa Ete 78 5 6 DF1 Command Set For ProSoft Technology Communication Modules 80 5 7 DET Command List FOr aotar yu Sanane a Na naa AEA AARRE S Ra ERA 92 6 Support Service amp Warranty 93 6 1 How to Contact Us Technical Support cccc
7. 39 P Package Contents 10 PD 89 Pinouts 71 77 PLC 5 Command Set Functions 65 PLC 5 Processor Specifics 89 PLC 5 Sub Element Codes 89 Please Read This Notice 2 Port 1 Commands 30 Port 1 Setup 23 Port 2 Commands 30 Port 2 Setup 26 Port Parameters 70 Procedures for Return of Units Out of Warranty 95 Procedures for Return of Units Under Warranty 95 Product Specifications 7 53 ProS oft Product Documentation 3 Purchasing Warranty Extension 95 Index R Reading Status Data from the Module 35 Redisplaying the Current Page 48 49 Reference 7 53 Remote STS Error Codes 78 Removing Timing Marks in the Data Analyzer 42 Required Hardware 36 Required Software 36 Return Material Authorization RMA Policies and Conditions 94 Returning to the Main Menu 43 47 48 49 RS 232 74 Modem Connection 74 Null Modem Connection Hardware Handshaking 75 Null Modem Connection No Hardware Handshaking 75 RS 232 Configuration Debug Port 71 RS 422 76 RS 485 76 RS 485 and RS 422 Tip 76 S Setting J umpers 11 Skipping 500 Registers of Data 47 Slave Driver Mode 64 Slave Polling Control and Status 71 Slave Status Data 59 SLC File Types 90 91 SLC Processor Notin Run 56 SLC Processor Specifics 90 SLC 500 Command Set Functions 65 Start Here 7 9 Starting the Data Analyzer 42 Status Data 70 Stopping the Data Analyze
8. Count This parameter specifies the number of polls to be skipped on the slave before trying to re establish communications After the slave fails to respond the master will skip commands to be sent to the slave the number of times entered in this parameter Valid value in the range of 0 to 65535 N10 26 27 N32 30 5030 Slave List Pointer This parameter specifies the starting address in the virtual database where the 256 slave status values will be written If the parameter is set to 1 the slave data will not be placed in the database Valid value in the range of 1 to 4743 N10 27 28 N32 31 5031 Slave List Frequency Not used in this version of the software ProSoft Technology Inc October 20 2008 Page 25 of 103 MVI46 DFCM SLC Platform Installing and Configuring the Module DF1 Communication Module Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N10 28 29 N32 32 5032 First File This parameter is used when a request for a file is received on the communication port This field is required when responding to PLC5 and SLC DF1 commands Use this parameter to define the virtual file s to be simulated on the module This value is fixed at 7 for N7 N10 29 30 N32 33 5033 File Size This parameter specifies the size of each file to be simulated on the module All files simulated are defined to have the same assigned size This value is fixed at
9. M on your keyboard The organization of the menu structure is represented in simplified form in the following illustration Child Menu A Child Sub Menu 1 Child Sub Menu 2 Child Sub Menu 3 Child Menu B Child Menu C Child Sub Menu 1 Child Sub Menu 1 Child Sub Menu 2 The remainder of this section shows you the menus available for this module and briefly discusses the commands available to you Keystrokes The keyboard commands on these menus are almost always non case sensitive You can enter most commands in lower case or capital letters The menus use a few special characters that must be entered exactly as shown Some of these characters will require you to use the Shift Ctrl or Alt keys to enter them correctly For example on US English keyboards enter the command as Shift Also take care to distinguish capital letter I from lower case letter I L and number 1 likewise for capital letter 0 and number 0 Although these characters look nearly the same on the screen they perform different actions on the module ProSoft Technology Inc Page 37 of 103 October 20 2008 MVI46 DFCM SLC Platform Diagnostics and Troubleshooting DF1 Communication Module 4 1 5 Main Menu When you first connect to the module from your computer your terminal screen will be blank To activate the main menu press the key on your
10. No communication will occur with the slave until this state is cleared by the ladder logic Slaves are defined to the system when the module initializes the master command list Each slave defined will be set to a state of one in this initial step If the master port fails to communicate with a slave device retry count expired on a command the master will set the state of the slave to a value of 2 in the status table This suspends communication with the slave device for a user specified scan count Error Delay Counter value in the module configuration for each port Each time a command in the list is scanned that has the address of a suspended slave the delay counter value will be decremented When the value reaches zero the slave state will be set to one This will enable polling of the slave ProSoft Technology Inc Page 59 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module In order to read the slave status table ladder logic must be written and the slave status data must be located in the user data area The module will constantly update the user defined data area with the slave data for each DF1 master port This data can be transferred to a user defined file in the processor using the COP instruction Ladder logic can be written to override the value in the slave status table to disable slaves state value of 3 by sending a special block of data from the processor to the slave Port 1 sl
11. Serial Modules Two RJ45 RS 232 422 485 Application ports 5 1 3 Functional Specifications DF1 ports Full and half duplex modes supported CRC and BCC error checking Full hardware handshaking control User definable module memory usage supporting the storage and transfer of up to 5000 registers to from the control processor Up to 125 word read and write command lengths supported Floating point data movement supported DF1 Master Protocol Specifications The ports on the DF1 module can be individually configured as Master ports When configured in master mode the DFCM module is capable of reading and writing data to remote DF1 devices enabling the SLC platform to act as a SCADA sub master Command List Up to 100 commands per Master port each fully configurable for function slave address register to from addressing and word byte count Status Data Error codes available on an individual command basis In addition a slave status list is maintained per active master port Polling of Command List User configurable polling of commands including disabled continuous and on change of data write only Page 54 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module DF1 Slave Protocol Specifications The module accepts DF1 commands from an attached DF1 master unit When in slave mode the module can accept DF1 commands from a master to read write
12. You configure the module by entering values in a user defined data table In the example ladder logic file N10 stores the general module configuration information N11 stores the command list for port 2 Each register in the files has an associated symbol and description to help you enter the data Refer to MV146 DFCM Configuration for the items that must be configured for the module and their associated location in the MO file Backplane Parameters All data transferred between the SLC processor and the module is held in the module s M1 file This simplifies the ladder logic In order to read data in the module copy the specific data area in the M1 file into a user defined file Repeat this operation for each data area Remember the maximum data area that can be copied with the COP instruction is 128 words In order to write data to the module copy the data in the user defined file to the specific data area in the M1 file The read and write data operations should be limited to the M1 words 0 to 4999 The modules status data can be read from the M1 file starting at register 7600 Only two parameters are used in this section of the configuration The Backplane Fail determines if the module should continue communicating on the DF 1 network when the backplane transfer operation fails A value of zero indicates that the module should continue communicating when the backplane is not operational If the value is greater than zero the backplane wil
13. data stored in the module s internal registers This data can be derived from other DF1 slave devices on the network through a master port or from the processor and is easily transferred to the processor s data registers Tested Hardware Connections Several hardware connections have been tested by ProSoft Technology or have been customer field tested The following physical connections have been tested successfully RA Panel view Full Duplex point point DFCM as slave RA Processors Full Half duplex DFCM as either master or slave RA Power Monitors 485 Half Duplex DFCM as Master 5 2 Functional Overview This section provides an overview of how the MVI46 DFCM module transfers data using the DFCM protocol You should understand the important concepts in this chapter before you begin installing and configuring the module 5 2 1 General Concepts The following discussion explains several concepts that are important for understanding the operation of the MVI46 DFCM module Module Power Up On power up the module begins performing the following logical functions 1 Initialize hardware components o Initialize SLC backplane driver o Test and Clear all RAM o Initialize the serial communication ports 2 Wait for Module Configuration from SLC processor 3 Initialize Module Register space 4 Enable Slave Driver on selected ports 5 Enable Master Driver on selected ports After the module has received the Module Configuration Block from the pro
14. the port This parameter is required when interfacing to a slow responding device Valid value in the range of 0 to 65535 N10 16 17 N32 20 5020 RTS On This parameter sets the number Delay of milliseconds to delay after RTS is asserted before the data will be transmitted Valid value in the range of 0 to 65535 N10 17 18 N32 21 5021 RTS Off Delay This parameter sets the number of milliseconds to delay after the last byte of data is sent before the RTS modem signal will be set low Valid value in the range of 0 to 65535 N10 18 19 N32 22 5022 Use CTS Line This parameter specifies if the CTS modem control line is to be used If the parameter is set to 0 the CTS line will not be monitored If the parameter is set to 1 the CTS line will be monitored and must be high before the module will send data Normally this parameter is required when half duplex modems are used for communication 2 wire N10 19 20 N32 23 5023 ENQ Delay This parameter specifies the number of milliseconds to wait after a DLE ACK is received from a slave using half duplex mode before the DLE ENQ request is made for data Valid value in the range of 0 to 65535 N10 20 21 N32 24 5024 Command Count This parameter specifies the number of commands to be processed for the port Valid value of 0 to 100 Page 24 of 103 ProSoft Technology Inc October 20 2008 Installing and Configuring the Module MVI46 DFCM SLC
15. 200 N10 30 31 N32 34 5034 File Offset This parameter sets the database register location of the first element in the first file simulated in the module All offsets in the first file and subsequent files will be computed using the address specified This value is fixed at 0 Therefore the module assumes N7 0 starts at the database offset of 0 and each file is 200 words in size N A N A N32 35 5035 Spare Not used N A N A N32 36 5036 Spare Not used N A N A N32 37 5037 Spare Not used N A N A N32 38 5038 Spare Not used N A N A N32 39 5039 Spare Not used 2 2 3 Port 2 Setup Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N10 31 32 N32 40 5040 Enable This parameter defines if this port will be utilized If the parameter is set to 0 the port is disabled A value of 1 will enable the port N10 32 33 N32 41 5041 Type This parameter defines if the port will emulate a master or slave device Enter 0 to emulate a master device and 1 to emulate a slave device N10 33 34 N32 42 5042 Local Station This parameter specifies the local ID station ID for all DF1 messages sent from this master port A value of 255 is not permitted as this is the broadcast address Valid value in the range of 0 to 254 N10 34 35 N32 43 5043 Protocol O full duplex 1 half duplex Page 26 of 103 ProSoft Technology Inc October 20 2008 Installing and Config
16. Analyzer mode has been selected press to view the Data Analyzer menu You will see the following menu DATA ANALYZER VIEW MENU Display Menu 1 Select Port 1 2 Select Port 2 9 1 mSec Ticks 6 5 mSec Ticks 7 10 mSec Ticks 8 50 mSec Ticks 9 100 mSec Ticks O No mSec Ticks H Hex Format A ASCII Format B Start S Stop M Main Menu Port 1 Format HEX Tick 10 ProSoft Technology Inc Page 43 of 103 October 20 2008 MVI46 DFCM SLC Platform Diagnostics and Troubleshooting DF1 Communication Module From this menu you can select the Port the format and the ticks that you can display the data in For most applications HEX is the best format to view the data and this does include ASCII based messages because some characters will not display on HyperTerminal and by capturing the data in HEX we can figure out what the corresponding ASCII characters are supposed to be The Tick value is a timing mark The module will print a _TT for every xx milliseconds of no data on the line Usually 10milliseconds is the best value to start with After you have selected the Port Format and Tick we are now ready to start a capture of this data The easiest way to do so is to go up to the top of you HyperTerminal window and do a Transfer Capture Text as shown below Transfer Help Send File Receive File Capture Text Send Text File Capture to Printer After selecting the above option the fo
17. C5 gt lt CD gt lt R gt _TT_TT_ pan IL lE lE lE H lE lE lE A f f 0 0 0 0 0 0 0 0 T 4 1 0 1 0 1 6 0 0 0 T 0 T AOON OAHAODeNODRAROLHOFARODU Se See a e a i kai eee mmmmammnmmamnmamnma mm OOOHOO Cr OOM DEwuUOPrPODe o amp mmmmmmmnm mm mm m O O Ohe O O OOGO OU mM The lt R gt means that the module is transitioning the communications line to a transmit state All characters shown in lt gt brackets are characters being sent out by the module The lt R gt shows when the module is done transmitting data and is now ready to receive information back And finally all characters shown in the brackets is information being received from another device by the module After taking a minute or two of traffic capture you will now want to stop the Data Analyzer To do so press the S key and you will then see the scrolling of the data stop When you have captured the data you want to save open the Transfer menu and choose Capture Text On the secondary menu choose Stop final Transfer Help Send File Receive File ss Capture Text Em Send Text File Pause You have now captured and saved the file to your PC This file can now be used in analyzing the communications traffic on the line and assist in determining communication errors ProSoft Technology Inc Page 45 of 103 October 20 2008 MVI46 DFCM SLC Platform Diagnostics and Troublesh
18. Code Int Code Hex Description 1 OxFFFF CTS modem control line not set before transmit 2 OxFFFE Timeout while transmitting message 10 OxFFF6 Timeout waiting for DLE ACK after request 11 OxFFF5 Timeout waiting for response after request 12 OxFFF4 Reply data does not match requested byte count 20 OxFFEC DLE NAK received after request 21 OxFFEB DLE NAK sent after response DF1 Command Set For ProSoft Technology Communication Modules 5 6 1 Introduction This document contains a complete description of the command set required to communicate with DF1 protocol devices using a ProSoft communication module ProSoft communication modules that contain a virtual DF1 master device use this command set to control and monitor data in DF1 protocol devices These include Rockwell Automation PLC SLC MicroLogix and ControlLogix controllers and field devices supporting the DF1 protocol ProSoft supports the DF1 protocol on both the serial and network interface The network interface requires the use of the port service address OxAF12 as specified in the ControlNet Specification Rockwell Automation supports this feature in the ControlLogix 5550 PLC5 xx E and SLC 5 05 processors The ProSoft modules contain a virtual database that is defined by the user This database is used as the source for write commands and the destination for read commands issued on the virtual DF1 master devices The module interfaces data contain
19. Inc Page 83 of 103 October 20 2008 MVI46 DFCM SLC Platform DF1 Communication Module Reference Function Code 101 Word Range Read PLC 5 Command Binary Address Column Parameter Description Parameter 1 Enable Type Word 0 Disabled and 1 Continuous 2 Virtual Database Address This parameter defines the database address of the first data point to be associated with the command 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command 0 None 1 S wap words 2 Swap words amp bytes and 3 swap bytes in each word 6 Node Address Address of unit to reach on the data highway 7 Function Code 101 Word Range Write Command 8 File Number PLC 5 file number to be associated with the command P1 If a value of 1 is entered for the parameter the field will not be used in the command and the default file will be used 9 Element Number The parameter defines the element in the file where P2 write operation will start If a value of 1 is entered for the parameter the field will not be used in the command and the default element will be used 10 Sub E lement Number This parameter defines the sub element to be used with P3 the command Refer to the AB documentation for a list of valid sub element codes If the value is set to 1 the default sub element
20. Platform DF1 Communication Module Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N10 21 22 N32 25 5025 Minimum Command Delay This parameter specifies the number of milliseconds to wait between the initial issuance of a command This parameter can be used to delay all commands sent to slaves to avoid flooding commands on the network This parameter does not affect retries of a command as they will be issued when failure is recognized Valid value in the range of 0 to 65535 N10 22 23 N32 26 5026 Command Error Pointer This parameter sets the address in the internal DF1 database where the command error data will be placed If the value is set to 1 the data will not be transferred to the database Valid value of 0 to 4999 N10 23 24 N32 27 5027 Response Timeout This parameter represents the message response timeout period in 1 ms increments This is the time that a port configured as a master will wait before re transmitting a command if no response is received from the addressed slave The value is set depending upon the communication network used and the expected response time of the slowest device on the network N10 24 25 N32 28 5028 Retry Count This parameter specifies the number of times a command will be retried if it fails Valid value in the range of 0 to 10 N10 25 26 N32 29 5029 Error Delay
21. R gt _TT__TT_ 1 021 001 031 00 041 001 051 001 061 00 071 00 lt 1 gt lt 82 gt lt 88 gt lt 80 gt lt 08 gt lt BA gt lt F8 gt lt O D gt lt R gt _TT__TT__TT _TT_ lt R gt lt 1 gt lt 03 gt lt 00 gt lt 00 gt lt 89 gt lt A gt lt C5 gt lt CD gt lt R gt _TT TO01_TT_ 021 001 031 001 041 001 051 001 861T OIT _TT_ lt R gt lt 1 gt lt 81 gt lt 00 gt lt 80 gt lt B0 gt lt AB gt lt 30 gt lt 72 gt lt R gt _TT__T 1001 021_TT_ 001 031 601 041 001 051 0011861 O01 O _TT__TT_ lt R gt lt 1 gt lt 04 gt lt 00 gt lt 00 gt lt 00 gt lt OA gt lt 70 gt lt OD gt lt R gt _TT__ I011 00 _TT_ 02 100 03 00 L04 00 105 L00 106 T00ITO _TT_TT_ lt R gt lt 01 gt lt 02 gt lt 00 gt lt 00 gt lt 00 gt lt 0A gt lt F8 gt lt 0D gt lt R gt _TT_T IB8I_TT__TT_ lt R gt lt 01 gt lt 03 gt lt 00 gt lt 00 gt lt 00 gt lt 0A gt lt C5 gt lt CD gt lt R gt _T 51 _TT_TT_ lt R gt lt 01 gt lt 01 gt lt 00 gt lt 00 gt lt 00 gt lt A0 gt lt 3C gt lt 72 gt lt R gt _TT_TT_ 00 01 00 02 _TT_ 0QO 03 00 04 00 0S 00 06 001 07 0 TT__TT_ lt R gt lt 1 gt lt 04 gt lt 00 gt lt 0 gt lt 00 gt lt GA gt lt 70 gt lt OD gt lt R gt _TT__TT_ 011 04 J 00I_TT_ 02 100 1 03 L00 04 001105110011061 T00 07IL00 08 TT_ lt R gt lt 01 gt lt 02 gt lt 00 gt lt 00 gt lt 00 gt lt 0A gt lt F8 gt lt 0D gt lt R gt _TT_TT_TT_ OL I J B8 _TT_TT_ lt R gt lt 01 gt lt 03 gt lt 00 gt lt 00 gt lt 00 gt lt 0A gt lt
22. This function should work on the following devices SLC 500 SLC 5 03 and SLC 5 04 Function Code 509 Protected Typed Logical Write Two Address Fields Column Parameter Description Parameter 1 Enable Type Word 0 Disabled 1 Continuous and 2 C onditional 2 Virtual Database Address This parameter defines the database address of the first data point to be associated with the command 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command 0 None 1 Swap words 2 Swap words amp bytes and 3 swap bytes in each word 6 Node Address Address of unit to reach on the data highway ProSoft Technology Inc October 20 2008 Page 87 of 103 MVI46 DFCM SLC Platform Reference DF1 Communication Module Column Parameter Description Parameter 7 Function Code 509 Logical Write Command 8 File Type SLC file type letter as used in file name string Valid P1 values for the system are N S F A a 9 File Number SLC file number to be associated with the command P2 10 Element Number The parameter defines the element in the file where P3 write operation will start 11 Not Used This field is not used by the command Values entered P4 in this column will be ignored This function writes one or more words of
23. Valid value in the range of 0 to 10 N10 50 51 N32 59 5059 Error Delay Count This parameter specifies the number of polls to be skipped on the slave before trying to re establish communications After the slave fails to respond the master will skip commands to be sent to the slave the number of times entered in this parameter Valid value in the range of 0 to 65535 N10 51 52 N32 60 5060 Slave List Pointer This parameter specifies the starting address in the virtual database where the 256 slave status values will be written If the parameter is set to 1 the slave data will not be placed in the database Valid value in the range of 1 to 4743 N10 52 53 N32 61 5061 Slave List Frequency Not used in this version of the software N10 53 54 N32 62 5062 First File This parameter is used when a request for a file is received on the communication port This field is required when responding to PLC5 and SLC DF1 commands Use this parameter to define the virtual file s to be simulated on the module This value is fixed at 7 for N7 N10 54 55 N32 63 5063 File Size This parameter specifies the size of each file to be simulated on the module All files simulated are defined to have the same assigned size This value is fixed at 200 N10 55 56 N32 64 5064 File Offset This parameter sets the database register location of the first element in the first file
24. following devices 1774 PLC PLC 2 PLC 3 and PLC 5 Page 82 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module Function Code 5 Unprotected Write Basic Command Set Column Parameter Description Parameter 1 Enable Type Word 0 Disabled 1 Continuous and 2 Conditional 2 Virtual Database Address This parameter defines the database address of the first data point to be associated with the command 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command 0 None 1 Swap words 2 Swap words amp bytes and 3 swap bytes in each word 6 Node Address Address of unit to reach on the data highway 7 Function Code 5 Unprotected Write Function 8 Word Address Word address where to start the write operation P1 9to11 Not Used These fields are not used by the command Values P2 to P4 entered in these columns will be ignored This function writes one or more words of data to the PLC memory This function should work on the following devices 1774 PLC PLC 2 PLC 3 PLC 5 SLC 500 SLC 5 03 SLC 5 04 and MicroLogix 1000 Function Code 100 Word Range Write PLC 5 Command Binary Address Column Parameter Description Parameter 1 Enable Type Word 0 Disabled 1 Continuous and 2
25. lt 01 gt lt 63 gt lt 06 gt lt 40 gt lt 80 gt lt 6A gt lt C5 gt lt CD gt lt R gt _TT_ 61 63 14 60 66 60 66 60 80 TT G0 G0 06 90 90 00 99 96 66 96 66 60 66 60 AS 67 _TT_ lt R gt lt 61 gt lt 83 gt lt 00 gt lt 80 gt lt 00 gt lt A gt lt C5 gt lt CD gt lt R gt _TT_ 61 63 14 08 08 68 60 60 06 TT_ 60 66 66 60 00 96 80 66 98 86 86 68 90 80 AS 67 _TT_ lt R gt lt 61 gt lt 83 gt lt 86 gt lt 86 gt lt G0 gt lt GA gt lt G5 gt lt CD gt lt R gt _TT_ 61 83 14 88 86 60 68 66 66 66 66 60 86 O6 G0 G6 G8 96 TT 68 98 00 60 06 A3 67 _ TT_ lt R gt lt 61 gt lt 83 gt lt 00 gt lt 80 gt lt 86 gt lt HA gt lt C5 gt lt GD gt lt R gt _TT_ 61 03 14 00 00 00 00 60 66 60 60 66 66 90 60 H6 G0 G0 TT 96 90 00 00 80 A3 67 _ TT _ lt R gt lt 81 gt lt 63 gt lt 80 gt lt 86 gt lt G0 gt lt GA gt lt C5 gt lt CD gt lt R gt _TT_ 61 93 14 89 00 86 86 66 TT 66 66 68 66 66 66 66 66 86 G6 G6 6 96 96 89 AZ 67 _TT_ lt R gt lt 61 gt lt 83 gt lt 88 gt lt 8O gt lt 88 gt lt BA lt C5 gt lt CD gt lt R gt _TT_ 61 83 14 96 66 06 908 86 66 TT _ 66 60 66 60 66 66 66 66 66 HO G6 G6 G6 00 A3 67 TT_ The Data Analyzer displays the following special characters Page 42 of 103 ProSo
26. number will be used 11 Not Used This field is not used by the command Values entered P4 in this column will be ignored This function reads one or more words of data from a PLC data table This function should work on the following devices PLC 5 Function Code 102 Read Modify Write PLC 5 Command Binary Address Column Parameter Description Parameter 1 Enable Type Word 0 Disabled 1 Continuous and 2 Conditional 2 Virtual Database Address This parameter defines the database address for the data to be associated with the command 3 Poll Interval Minimum number of seconds to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command Always zero 0 6 Node Address Address of unit to reach on the data highway 7 Function Code 102 Read Modify Write Command 8 File Number PLC 5 file number to be associated with the command P1 If a value of 1 is entered for the parameter the field will not be used in the command and the default file will be used Page 84 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module Column Parameter Description Parameter 9 Element Number The parameter defines the element in the file where P2 write operation will start If a value of 1 is entered for the parameter the field will not be used in the command
27. of the module The function requires that all data associated with the command use the same mask 5 6 3 PLC 5 Processor Specifics This section contains information specific to the PLC 5 processor with relation to the DF1 command set The commands specific to the PLC 5 processor contain a sub element code field This field selects a sub element field in a complex data table For example to obtain the current accumulated value for a counter or timer the sub element field should be set to 2 The tables below show the sub element codes for PLC 5 complex data tables PLC 5 Sub Element Codes Timer Counter Code Description 0 Control 1 Preset 2 Accumulated Control Code Description 0 Control 1 Length 2 Position PD Code Description 0 Control 2 SP 4 Kp 6 Ki 8 Kd 26 PV All PD values are floating point values so they are two words long ProSoft Technology Inc Page 89 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module BT Code Description 0 Control 1 RLEN 2 DLEN 3 Data file 4 Element 5 Rack Grp Slot MG Code Description 0 Control 1 Error 2 RLEN 3 DLEN 5 6 4 SLC Processor Specifics This section contains information specific to the SLC processor based family when used with the DF1 command set The SLC processor commands support a file type field entered as a
28. or humidity power failure or power surges or viii disasters such as fire flood earthquake wind and lightning c The information in this Agreement is subject to change without notice ProSoft shall not be liable for technical or editorial errors or omissions made herein nor for incidental or consequential damages resulting from the furnishing performance or use of this material The user guide included with your original product purchase from ProSoft contains information protected by copyright No part of the guide may be duplicated or reproduced in any form without prior written consent from ProSoft 6 3 3 Disclaimer Regarding High Risk Activities Product manufactured or supplied by ProSoft is not fault tolerant and is not designed manufactured or intended for use in hazardous environments requiring fail safe performance including and without limitation the operation of nuclear facilities aircraft navigation of communication systems air traffic control direct life support machines or weapons systems in which the failure of the product could lead directly or indirectly to death personal injury or severe physical or environmental damage collectively high risk activities ProSoft specifically disclaims any express or implied warranty of fitness for high risk activities 6 3 4 Intellectual Property Indemnity Buyer shall indemnify and hold harmless ProSoft and its employees from and against all liabilities losses claims costs a
29. simulated in the module All offsets in the first file and subsequent files will be computed using the address specified This value is fixed at 0 Therefore the module assumes N7 0 starts at the database offset of 0 and each file is 200 words in size N A N A N32 65 5065 Spare Not used N A N A N32 66 5066 Spare Not used N A N A N32 67 5067 Spare Not used N A N A N32 68 5068 Spare Not used N A N A N32 69 5069 Spare Not used ProSoft Technology Inc October 20 2008 Page 29 of 103 MVI46 DFCM SLC Platform Installing and Configuring the Module DF1 Communication Module 2 2 4 Port 1 Commands Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N11 0 to 57 to 68 N33 0 to 5200 to Command 1 This set of registers contains the N11 11 N33 11 5211 parameters for the first command in the master command list The structure of this data area is as described in the data object section of the documentation N11 12 to 69 to 80 N33 12 to 5212 to Command 2 Command 2 data set N11 23 N33 23 5223 1245 to 1256 N38 188 to 6388 to Command 100 Command 100 data set N38 199 6399 2 2 5 Port 2 Commands Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N16 0 to 1257 to 1268 N39 0 to 6400 to Command 1 This set of registers contains the N16 11 N39 11 6411 parameters for
30. single character to denote the data table to interface with in the command The following table defines the relationship of the file types accepted by the module and the SLC file types SLC File Types File Type File Type Command Code Description S 83 Status B 66 Bit T 84 Timer C 67 Counter R 82 Control N 78 Integer F 70 Floating point Z 90 String A 65 ASCII The File Type Command Code is the ASCII character code value of the File Type letter This is the value to enter into the File Type parameter of the DF1 Command configurations in the data tables in the ladder logic Additionally the SLC specific functions 502 510 and 511 support a sub element field This field selects a sub element field in a complex data table For example to obtain the current accumulated value for a counter or timer the sub element field should be set to 2 Page 90 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module 5 6 5 MicroLogix Processor Specifics This section contains information specific to the MicroLogix processor based family when used with the DF1 command set The MicroLogix processor commands support a file type field entered as a single character to denote the data table to interface with in the command This field is the same as that used for a SLC processor The following table defines the relationship of the file types accepted by the
31. technology com Copyright ProSoft Technology Inc 2000 2008 All Rights Reserved MV146 DFCM User Manual 10 20 2008 ProSoft Technology ProLinx inRAx ProTalk and RadioLinx are Registered Trademarks of ProSoft Technology Inc ProSoft Product Documentation In an effort to conserve paper ProSoft Technology no longer includes printed manuals with our product shipments User Manuals Datasheets Sample Ladder Files and Configuration Files are provided on the enclosed CD and are available at no charge from our web site http www prosoft technology com Printed documentation is available for purchase Contact ProSoft Technology for pricing and availability Asia Pacific 603 7724 2080 Europe Middle East Africa 33 5 34 36 87 20 Latin America 1 281 298 9109 North America 1 661 716 5100 Contents MVI46 DFCM SLC Platform DF1 Communication Module Contents Please Read This Notice 2 Battery Life AdViSOMry j2 2 ceieciadeccivaeccaveiadec sak diadeceieadeceavladeccevnae deck euaiecehvndicescnbndidecheiveceneweceheeeaeeneiie 2 Your Feedback Please a a e a chante aa a a fated ezccbe A aE a a aaa aa a aa aaa scaled aoai 2 ProSoft Product Documentation essien errn A AEAEE aE EEA EENE 3 Guide to the MVI46 DFCM User Manual 7 1 Start Here 9 1 1 System Requirements 2 isis ta ait atin a ain ARS 9 1 2 Package Contents anra ea A ade DR dn eddie eee ees 10 1 3 Setting JUPES a a a ate aaah highend dee des 11
32. with an identification code of 9001 The structure of the block is displayed below MO Offset Description Length 0 9001 1 1to6 Backplane Set Up 6 7 to 31 Port 1 Configuration 25 32 to 56 Port 2 Configuration 25 57 to 68 Port 1 Command 0 Definition 12 69 to 80 Port 1 Command 1 Definition 12 81 to 1244 Port 1 Commands 2 to 98 1164 1245 to 1256 Port 1 Command 99 Definition 12 1257 to 1268 Port 2 Command 0 Definition 12 1269 to 1280 Port 2 Command 1 Definition 12 1281 to 2444 Port 2 Commands 2 to 98 1164 2445 to 2456 Port 2 Command 99 Definition 12 If there are any errors in the configuration the bit associated with the error will be set in one of the two configuration error words The error must be corrected before the module starts operating Slave Status Data Slave status data sends status information of each slave device on a master port Slaves attached to the master port can have one of the following states Status Description 0 The slave is inactive and not defined in the command list for the master port 1 The slave is actively being polled or controlled by the master port and communications is successful 2 The master port has failed to communicate with the slave device Communications with the slave is suspended for a user defined period based on the scanning of the command list 3 Communications with the slave has been disabled by the ladder logic
33. word 6 Node Address Address of unit to reach on the data highway 7 Function Code 150 Word Range Write Command 8 File String PLC 5 address as specified as an ASCII string For P1 example N 10 300 9to 11 Not Used These fields are not used by the command Values P2 to P4 entered in these columns will be ignored This function writes one or more words of data to a PLC data table This function should work on the following devices PLC 5 Function Code 151 Word Range Read PLC 5 Command ASCII Address Column Parameter Description Parameter 1 Enable Type Word 0 Disabled and 1 Continuous 2 Virtual Database Address This parameter defines the database address of the first data point to be associated with the command 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command 0 None 1 Swap words 2 Swap words amp bytes and 3 swap bytes in each word ProSoft Technology Inc Page 85 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module Column Parameter Description Parameter 6 Node Address Address of unit to reach on the data highway 7 Function Code 151 Word Range Read Command 8 File String PLC 5 address as specified as an ASCIl string For P1 example N 10 300 9to11 Not Used These fields are not us
34. 10 41 42 N32 50 5050 RTS On This parameter sets the number Delay of milliseconds to delay after RTS is asserted before the data will be transmitted Valid value in the range of 0 to 65535 N10 42 43 N32 51 5051 RTS Off This parameter sets the number Delay of milliseconds to delay after the last byte of data is sent before the RTS modem signal will be set low Valid value in the range of 0 to 65535 ProSoft Technology Inc Page 27 of 103 October 20 2008 MVI46 DFCM SLC Platform Installing and Configuring the Module DF1 Communication Module Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N10 43 44 N32 52 5052 Use CTS This parameter specifies if the Line CTS modem control line is to be used If the parameter is set to 0 the CTS line will not be monitored If the parameter is set to 1 the CTS line will be monitored and must be high before the module will send data Normally this parameter is required when half duplex modems are used for communication 2 wire N10 44 45 N32 53 5053 ENQ Delay This parameter specifies the number of milliseconds to wait after a DLE ACK is received from a slave using half duplex mode before the DLE ENQ request is made for data Valid value in the range of 0 to 65535 N32 54 5054 Command This parameter specifies the Count number of commands to be processed for the port Valid value of 0 to 100 N32 55 5055 Minimum This paramete
35. 36 0x0600 Duplicate node detected 1792 0x0700 Station is offline 2048 0x0800 Hardware fault 5 5 2 Remote STS Error Codes Code Int Code Hex Description 0 0x0000 Success no error 4096 0x1000 Illegal command or format 8192 0x2000 Host has a problem and will not communicate 12288 0x3000 Remote node host is missing disconnected or shut down 16384 0x4000 Host could not complete function due to hardware fault 20480 0x5000 Addressing problem or memory protect rungs 24576 0x6000 Function not allowed due to command protection selection 26872 0x7000 Processor is in Program mode 32768 0x8000 Compatibility mode file missing or communication zone problem 28672 0x9000 Remote node cannot buffer command 24576 OxA000 Wait ACK 1775 KA buffer full 20480 0xB000 Remote node problem due to download Page 78 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module Code Int Code Hex Description 16384 0xC000 Wait ACK 1775 KA buffer full 12288 0xD000 Not used 8192 OxE000 Not used OxFOnn Error code in the EXT STS byte nn contains EXT error code 5 5 3 Errors When EXT STS Is Present Code Int Code Hex Description 4096 OxFO00 Not used 4095 OxFO01 A field has an illegal value 4094 OxFO02 Less levels specified in address than minimum for any address 4093 OxF003 More levels s
36. 5000 registers for user data 4999 2800 words of configuration 5000 and status data 7799 200 words of command control 7999 8000 2000 words of data only available to communication ports 9999 ProSoft Technology Inc Page 57 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module User data contained in this database is continuously read from the M1 file The configuration data is only updated in the M1 file after each configuration request by the module to the SLC All data in the M1 file is available to devices on the DF1 networks This permits data to be transferred from these devices to the SLC using the user data area Additionally remote devices can alter the module s configuration read the status data and issue control commands Block identification codes define specific functions to the module The block identification codes used by the module are listed below Block Range Descriptions 1000 Event Port 1 2000 Event Port 2 3000 to 3001 Port 1 slave polling control 3100 to 3101 Port 2 slave polling control 5000 to 5006 Port 1 command control 5100 to 5106 Port 2 command control 9000 Configuration request from module 9001 Configuration ready from controller 9997 Write configuration to controller 9998 Warm boot control block 9999 Cold boot control block Each block has a defined structure depending on the data content and the
37. 5100 to 5106 1 1 Number of commands added to command queue 1 Page 62 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module Write Configuration This block is sent from the SLC processor to the module to force the module to write its current configuration back to the processor This function is used when the module s configuration has been altered remotely using database write operations The write block contains a value of 9997 in the first word The module will respond with a block containing the module configuration data Ladder logic must handle the receipt of the block The block transferred from the module is as follows MO Offset Description Length 0 9997 1 1to6 Backplane Set Up 6 7 to 31 Port 1 Configuration 25 32 to 56 Port 2 Configuration 25 57 to 68 Port 1 Command 0 Definition 12 69 to 80 Port 1 Command 1 Definition 12 81 to 1244 Port 1 Commands 2 to 98 1164 1245 to 1256 Port 1 Command 99 Definition 12 1257 to 1268 Port 2 Command 0 Definition 12 1269 to 1280 Port 2 Command 1 Definition 12 1281 to 2444 Port 2 Commands 2 to 98 1164 2445 to 2456 Port 2 Command 99 Definition 12 Ladder logic must process this block of information and place the data received in the correct data files in the SLC The processor requests this block of information using the following write block M1 Offset Description Lengt
38. 8 0 2200 N18 0 2400 N20 0 2600 N21 0 2800 N22 0 3000 N23 0 3200 N24 0 3400 N25 0 3600 N26 0 3800 N27 0 4000 N28 0 4200 N29 0 4400 N30 0 4600 N31 0 4800 N32 0 5000 Note The way these files are emulated depends of the First File and File Size parameters The previous example shows using the First Fileparameter set to 7 and the File Size parameter set to 200 In order to retrieve data from the modules database register 200 the remote master would issue a command using the address N8 0 In order to interface with database base register 405 the remote master would use the address N9 5 The following table outlines the complete file emulation for the module Register Range File Start File End Content Size 0 to 4999 N7 0 N31 199 User Data 5000 5000 to 5009 N32 0 N32 9 Backplane Configuration 10 5010 to 5039 N32 10 N 32 39 Port 1 Setup 30 Page 66 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module Register Range File Start File End Content Size 5040 to 5069 N32 40 N32 69 Port 2 Setup 30 5070 to 5199 N32 70 N32 199 Reserved 130 5200 to 6399 N33 0 N38 199 Port 1 Commands 1200 6400 to 7599 N39 0 N44 199 Port 2 Commands 1200 7600 to 7700 N45 0 N45 199 Misc Status Data 200 7800 to 7999 N46 0 N46 199 Command Control 200 8000 to 9999 N47 0 N56 199 Reserved 2000
39. All the data in the module is available to a remote host This permits the host device to remotely configure the module and view the status data Master Driver Mode In Master Mode the MVI46 DFCM module is responsible for issuing read or write commands to slave devices on the DF1 network These commands are user configured in the module via the Master Command List received from the SLC processor or issued directly from the SLC processor event command control Command status is returned to the processor for each individual command in the command list status block The location of this status block in the module s internal database is user defined The following flow chart and associated table describe the flow of data into and out of the module DFCM Memo Processor Memory Backplane Interface Module s SLC User Database 1 i I Li Data Files A 1 i i 1 ke Register Data 0 to 4999 1 Register i Data 1 storage J i T 1 gt M1 File w i Status e l from Module i i Configurati i Mo amp m Data gt Files Event Cmd H Data lt 3 MO amp M1 iW Files Master Command Control y a Step Description 1 The Master driver obtains configuration data from the SLC processor The configuration data obtained includes the number of commands and the Master Command List These values are used by the Master driver to determine the
40. Communication Module Module 1 Cable Cable 15 RS232 For RS232 Connection to the CFG Port Null Modem 3 Cable Cable 14 RJ45 to For DB9 Connection to Module s Port DB9 Male Adapter cable 2 Adapter 1454 9F Two Adapters DB9 Female to Screw Terminal For RS422 or RS485 Connections to Port 1 and 2 of the Module 1 ProSoft Contains sample programs utilities and Solutions CD documentation for the MVI46 DFCM module If any of these components are missing please contact ProSoft Technology Support for replacement parts Page 10 of 103 ProSoft Technology Inc October 20 2008 Start Here MVI46 DFCM SLC Platform DF1 Communication Module 1 3 Setting Jumpers If you use an interface other than RS 232 default you must change the jumper configuration to match the interface The following illustration shows the MV146 DFCM jumper configuration SHUNT Bs NOT JUMPERED The Setup Jumper acts as write protection for the module s flash memory In write protected mode the Setup pins are not connected and the module s firmware cannot be overwritten Do not jumper the Setup pins together unless you are directed to do so by ProSoft Technical Support 1 4 Install 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 DFCM module Refer to your Rockwell Automation product documentation for installation instructions Warnin
41. Conditional 2 Virtual Database Address This parameter defines the database address of the first data point to be associated with the command 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command 0 None 1 Swap words 2 Swap words amp bytes and 3 swap bytes in each word 6 Node Address Address of unit to reach on the data highway 7 Function Code 100 Word Range Write Command 8 File Number PLC 5 file number to be associated with the command P1 If a value of 1 is entered for the parameter the field will not be used in the command and the default file will be used 9 Element Number The parameter defines the element in the file where P2 write operation will start If a value of 1 is entered for the parameter the field will not be used in the command and the default element will be used 10 Sub E lement Number This parameter defines the sub element to be used with P3 the command Refer to the AB documentation for a list of valid sub element codes If the value is set to 1 the default sub element number will be used 11 Not Used This field is not used by the command Values entered P4 in this column will be ignored This function writes one or more words of data to a PLC data table This function should work on the following devices PLC 5 ProSoft Technology
42. Is Not Covered By This Warranty a ProSoft makes no representation or warranty expressed or implied that the operation of software purchased from ProSoft will be uninterrupted or error free or that the functions contained in the software will meet or satisfy the purchaser s intended use or requirements the Customer assumes complete responsibility for decisions made or actions taken based on information obtained using ProSoft software Page 96 of 103 ProSoft Technology Inc October 20 2008 Support Service amp Warranty MV1I46 DFCM SLC Platform DF1 Communication Module b This Warranty does not cover the failure of the Product to perform specified functions or any other non conformance defects losses or damages caused by or attributable to any of the following i shipping ii improper installation or other failure of Customer to adhere to ProSoft s specifications or instructions iii unauthorized repair or maintenance iv attachments equipment options parts software or user created programming including but not limited to programs developed with any IEC 61131 3 C or any variant of C programming languages not furnished by ProSoft v use of the Product for purposes other than those for which it was designed vi any other abuse misapplication neglect or misuse by the Customer vii accident improper testing or causes external to the Product such as but not limited to exposure to extremes of temperature
43. LC Scanner 1747 SDN DeviceNet Scanner Module 1394 SJT GMC Turbo System 1203 5M1 SCANport Comm Module Basic SCANport Comm Module Enhanced RIO Scanner Other Requires 1 0 Card Type ID Hide All Cards ProSoft Technology Inc Page 19 of 103 October 20 2008 MVI46 DFCM SLC Platform Installing and Configuring the Module DF1 Communication Module Select the Other module from the list This action opens the following dialog box Other type I0 card xi Enter the I0 card s ID number decimal fi 2835 Cancel Enter the module I O card ID number as 12835 and then click OK Double click the mouse on the module just added to the rack Fill in the dialog box presented as shown below Advanced 1 0 Configuration x Slot 1 OTHER 1 0 Module ID Code 12835 OK Cancel Maximum Input Words 2 Maximum Output Words 2 Help r Setup Scanned Input Words o Scanned Output Words Interrupt Service Routine ISR pO MO Length fsooo M1 Length froooo G File Length zz Edit G Data Click OK to apply these settings to the module Then close the I O Configuration dialog box Next define the user defined data areas to hold the configuration port command lists status and read and write database areas At this point take the time to fill in the configuration values in the DFCM configuration data table Refer to the Module Data section of this document for information
44. Page 71 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module Disabling the RSLinx Driver for the Com Port on the PC The communication port driver in RSLinx can occasionally prevent other applications from using the PC s COM port If you are not able to connect to the module s configuration debug port using ProSoft Configuration Builder PCB HyperTerminal or another terminal emulator follow these steps to disable the RSLinx Driver 1 Open RSLinx and go to Communications gt RSWho 2 Make sure that you are not actively browsing using the driver that you wish to stop The following shows an actively browsed network iol x Browsing node 10 found 3 DF1 COM1 UNTITLED H Linx Gateways Ethernet AB_DF1 1 DH 485 H g 01 SLC 5 05 UNTITLED 10 Workstation DF1 COM1 3 Notice how the DF1 driver is opened and the driver is looking for a processor on node 1 If the network is being browsed then you will not be able to stop this driver To stop the driver your RSWho screen should look like this Eelrswho 1 Autobrowse Refresh Not Browsing fe BWorkstation PSFT VAIO 1 ey Linx Gateways Ethernet E 2E AB_DF1 1 DH 485 z5 aa Linx AB_DF1 1 Gatew DH 485 Branches are displayed or hidden by clicking on the or the icons G ga AB_DF1 1 DH 485 4 When you have verified that the driver is not being browsed go to Communications gt Configure Drivers
45. TECHNOLOGY Where Automation Connects COMMUNICATIONS i X Mom PF MVi46 DFCM SLC Platform DF1 Communication Module TECHHOLOGY 1 661 716 5100 P2 APPLICATION P3 APPLICATION 4 10 20 2008 USER MANUAL Please Read This Notice Successful application of this module requires a reasonable working knowledge of the Rockwell Automation SLC hardware the MVI46 DFCM Module and the application in which the combination is to be used For this reason it is important that those responsible for implementation satisfy themselves that the combination will meet the needs of the application without exposing personnel or equipment to unsafe or inappropriate working conditions This manual is provided to assist the user Every attempt has been made to ensure that the information provided is accurate and a true reflection of the product s installation requirements In order to ensure a complete understanding of the operation of the product the user should read all applicable Rockwell Automation documentation on the operation of the Rockwell Automation hardware Under no conditions will ProSoft Technology be responsible or liable for indirect or consequential damages resulting from the use or application of the product Reproduction of the contents of this manual in whole or in part without written permission from ProSoft Technology is prohibited Information in this manual is subject to change without notice and does not r
46. a list of commands available on this menu M Main Menu Protocol Menu Command List Menu Display Menu X Redisplays refeshes this menu Show Again Redisplays last selected page ofdata P Previous Page Goes back one page of data N Next Page Goes forward one page of data M Main Menu ia X Goes up one level to main menu Redisplaying the Current Page Press S to display the current page of data Viewing the Previous 50 Commands Press to view the previous 50 commands Viewing the Previous Page of Commands Press P to display the previous page of commands Viewing the Next 50 Commands Press to view the next 50 commands from the master command list Viewing the Next Page of Commands Press N to display the next page of commands Returning to the Main Menu Press M to return to the Main Menu ProSoft Technology Inc Page 49 of 103 October 20 2008 MVI46 DFCM SLC Platform DF1 Communication Module 4 2 LED Status Indicators Diagnostics and Troubleshooting The LEDs indicate the module s operating status as follows Module Color Status Indication CFG Green On Data is being transferred between the module and a remote terminal using the Configuration Debug port Off No data is being transferred on the Configuration Debug port P1 Green On Data is being transferred between the module and the DF1 n
47. abase address of the first data point to be associated with the command 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command 0 None 1 Swap words 2 Swap words amp bytes and 3 swap bytes in each word 6 Node Address Address of unit to reach on the data highway 7 Function Code 1 Protected Write Function 8 Word Address Word address where to start the write operation P1 9to11 Not Used These fields are not used by the command Values P2 to P4 entered in these columns will be ignored This function writes one or more words of data into a limited area of the slave device This function should work on the following devices 1774 PLC PLC 2 PLC 3 PLC 5 and PLC 5 250 Function Code 2 Unprotected Read Basic Command Set Parameter Column Parameter Description 1 Enable Type Word 0 Disabled and 1 Continuous 2 Virtual Database Address This parameter defines the database address of the first data point to be associated with the command 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command 0 None 1 Swap words 2 Swap words amp bytes and 3 swap bytes in each word 6 Node Address Address of unit to re
48. ach on the data highway 7 Function Code 2 Unprotected Read Function 8 Word Address Word address where to start the read operation P1 ProSoft Technology Inc October 20 2008 Page 81 of 103 MVI46 DFCM SLC Platform Reference DF1 Communication Module Column Parameter Description Parameter 9 toll Not Used These fields are not used by the command Values P2 to P4 entered in these columns will be ignored This function reads one or more words of data from the PLC memory This function should work on the following devices 1774 PLC PLC 2 PLC 3 PLC 5 SLC 500 SLC 5 03 SLC 5 04 and MicroLogix 1000 Function Code 3 Protected Bit Write Basic Command Set Column Parameter Description Parameter 1 Enable Type Word 0 Disabled 1 Continuous and 2 Conditional Virtual Database Address This parameter defines the database address for the data to be associated with the command The address defined represents a register address and nota bit address This function will update one or more words of data as defined by the count parameter 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command Always zero 0 6 Node Address Address of unit to reach on the data highway 7 Function Code 3 Protected Bit Write Function 8 Word Address Word address wh
49. an be assigned values from 0 to 255 Func This parameter specifies the function to be performed by the command Valid entries are those defined in the DF1 Command Set for ProS oft Technology Communication Modules document Parameter_1to These are the parameters required for the selected function Each command has its own unique set Parameter_4 of one or more parameters Refer to the DF1 Command Set document for a complete list of command parameters Status Data This data area views the status of the module Use this data to monitor the state of the module at a real time rate Refer to the Reference chapter for a complete listing of the data stored in this object This data can be read from the module s M1 file starting at register 7600 User data file N30 is defined in the example ladder logic for this purpose Page 70 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module User Data All user data is stored in the module s M1 file in registers 0 to 4999 This 5000 word area is directly accessible from the ladder logic The COP instruction should be used to move blocks of data between the user data files and the module s M1 file This will limit the number of accesses to the M1 data area and provide faster system response In the example ladder logic N31 holds data read from the module and N32 stores data to write to the module Slave Polling Control and Status T
50. and the default element will be used 10 Sub E lement Number This parameter defines the sub element to be used with P3 the command Refer to the AB documentation for a list of valid sub element codes If the value is set to 1 the default sub element number will be used 11 Not Used This field is not used by the command Values entered P4 in this column will be ignored This function writes one or more words of data to a PLC data table This function should work on the following devices PLC 5 The command constructed contains an AND mask and an OR mask Values in the AND mask have the following definitions O0 Reset and 1 Leave the Same Values in the OR mask have the following definitions O Leave the Same and 1 Set The module is responsible for setting the mask values to correctly construct the message from the virtual database values Function Code 150 Word Range Write PLC 5 Command ASCII Address Column Parameter Description Parameter 1 Enable Type Word 0 Disabled 1 Continuous and 2 Conditional 2 Virtual Database Address This parameter defines the database address of the first data point to be associated with the command 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command 0 None 1 Swap words 2 Swap words amp bytes and 3 swap bytes in each
51. ange data between the processor and the DF1 network 5 1 1 General Specifications Single Slot 1746 backplane compatible Local or extended I O rack only Remote rack not supported The module is recognized as an Input Output module and has access to processor memory for data transfer between processor and module using MO M1 files Ladder Logic is used for data transfer between module and processor Configuration data obtained through user defined ladder Sample ladder file included ProSoft Technology Inc Page 53 of 103 October 20 2008 MVI46 DFCM SLC Platform DF1 Communication Module Reference 5 1 2 Hardware Specifications Specification Backplane Current Load Description 800 ma 5V from backplane Operating Temperature 0 to 60 C 32 to 140 F Storage Temperature 40 to 85 C 40 to 185 F Shock 30g operational 50g non operational Relative Humidity 5 to 95 non condensing Vibration 5 g from 10150 Hz Processor Compatible with Rockwell Automation SLC 5 02 MO M1 capable processors or newer LED indicators Module status Backplane transfer status Application status Serial activity and error LED status Debug Configuration port CFG CFG Port CFG RJ45 DB 9M with supplied cable RS 232 only Configuration Connector RJ45 RS 232 Connector RJ45 to DB 9 cable shipped with unit Application Ports Application Serial port PRT1 PRT2
52. anties express or implied including but not limited to the implied warranties of merchantability and fitness for a particular purpose 6 3 6 Limitation of Remedies In no event will ProSoft or its Dealer be liable for any special incidental or consequential damages based on breach of warranty breach of contract negligence strict tort or any other legal theory Damages that ProSoft or its Dealer will not be responsible for included but are not limited to Loss of profits loss of savings or revenue loss of use of the product or any associated equipment loss of data cost of capital cost of any substitute equipment facilities or services downtime the claims of third parties including customers of the Purchaser and injury to property Some areas do not allow time limitations on an implied warranty or allow the exclusion or limitation of incidental or consequential damages In such areas the above limitations may not apply This Warranty gives you specific legal rights and you may also have other rights which vary from place to place Page 98 of 103 ProSoft Technology Inc October 20 2008 Support Service amp Warranty MV1I46 DFCM SLC Platform DF1 Communication Module 6 3 7 Time Limit for Bringing Suit Any action for breach of warranty must be commenced within 39 months following shipment of the Product 6 3 8 No Other Warranties Unless modified in writing and signed by both parties this Warranty is unders
53. are latched in this mode for a long period of time look at the configuration error words in the configuration request block The structure of the block is as shown below MO Offset Description Length 0 9000 1 1 Spare 1 2 Port 1 Configuration Errors 1 3 Port 2 Configuration Errors 1 Page 50 of 103 ProSoft Technology Inc October 20 2008 Diagnostics and Troubleshooting MVI46 DFCM SLC Platform DF1 Communication Module The port configuration error words have the following definitions Bit Description Value 0 Type code is not valid Enter a value from O master to 1 slave 0x0001 1 Protocol parameter is not valid 0x0002 2 Termination type parameter is not valid 0x0004 3 Baud rate parameter is not valid 0x0008 4 Parity parameter is not valid 0x0010 5 Data bits parameter is not valid 0x0020 6 Stop bits parameter is not valid 0x0040 7 Command count parameter is not valid 0x0080 8 Retry count parameter is not valid 0x0100 9 Spare 0x0200 10 Spare 0x0400 11 Spare 0x0800 12 Spare 0x1000 13 Spare 0x2000 14 Spare 0x4000 15 Spare 0x8000 Correct any invalid data in the configuration for proper module operation When the configuration contains a valid parameter set all the bits in the configuration words will be clear This does not indicate that the configuration is valid for the user application Make sure each parameter is set correctly for the specific applic
54. atabase in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N A N A 45 9 7609 Port1 Command This field contains the number of List Requests requests made from this port to slave devices on the network N A N A 45 10 7610 Port1 Command This field contains the number of slave ListResponse response messages received on the port N A N A 45 11 7611 Port1 Command This field contains the number of List Errors command errors processed on the port These errors could be due to a bad response or command IA IA 45 12 7612 Port1 Requests This field contains the total number of messages sent out the port IA IA 45 13 7613 Port1 This field contains the total number of Responses messages received on the port N A N A 45 14 7614 Port 1 Errors This field contains the total number of Sent message errors sent out the port IA IA 45 15 7615 Port 1 Errors This field contains the total number of Received message errors received on the port N A N A 45 16 7616 Port2 Command This field contains the number of List Requests requests made from this port to slave devices on the network N A N A 45 17 7617 Port2 Command This field contains the number of slave ListResponse response messages received on the port N A N A 45 18 7618 Port2 C
55. ation If the APP BP ACT and OK LEDs blink at a rate of every one second this indicates a serious problem with the module Call ProSoft Technology support to arrange for repairs 4 2 1 Clearing a Fault Condition Typically if the OK LED on the front of the module turns red for more than ten seconds a hardware problem has been detected in the module or the program has exited To clear the condition follow these steps Turn off power to the rack Remove the card from the rack Verify that all jumpers are set correctly If the module requires a Compact Flash card verify that the card is installed correctly Re insert the card in the rack and turn the power back on Verify the configuration data being transferred to the module from the SLC processor khOND oo If the module s OK LED does not turn green verify that the module is inserted completely into the rack If this does not cure the problem contact ProSoft Technology Support ProSoft Technology Inc Page 51 of 103 October 20 2008 MVI46 DFCM SLC Platform Diagnostics and Troubleshooting DF1 Communication Module 4 2 2 Troubleshooting Use the following troubleshooting steps if you encounter problems when the module is powered up If these steps do not resolve your problem please contact ProSoft Technology Technical Support Processor Errors Problem Description Steps to take Processor Fault Verify that the module is plugged into the slot
56. ation Module 5 5 Error Codes The module error codes are listed in this section Error codes returned from the command list process are stored in the command list error memory region A word is allocated for each command in the memory area The error codes are formatted in the word as follows The least significant byte of the word contains the extended status code and the most significant byte contains the status code Use the error codes returned for each command in the list to determine the success or failure of the command If the command fails use the error code to determine the cause of failure Note The Module Specific error codes not DF 1 compliant are returned from within the module and never returned from an attached DF1 slave device These are error codes that are part of the DF1 protocol or are extended codes unique to this module The standard DF 1 error codes can be found in the DF1 Protocol and Command Set Reference Manual Publication 1770 6 5 16 from Rockwell Automation The most common errors for the DF 1 protocol are shown in the following tables 5 5 1 Local STS Error Codes Code Int Code Hex Description 0 0x0000 Success no error 256 0x0100 DST node is out of buffer space 512 0x0200 Cannot guarantee delivery Link Layer 768 0x0300 Duplicate token holder detected 1024 0x0400 Local port is disconnected 1280 0x0500 Application layer timed out waiting for response 15
57. aves are disabled using block 3000 and Port 2 slaves are disabled using block 3100 Each block contains the slave node addresses to disable The structure of the block is displayed below M1 Offset Description Length 7800 3000 or 3100 1 7801 Number of Slaves in Block 1 7802 to 7927 Slave indexes 126 The module will respond with a block with the same identification code received and indicate the number of slaves acted on with the block The format of this response block is displayed below MO Offset Description Length 0 3000 or 3100 1 1 Number of slaves processed 1 Ladder logic can be written to override the value in the slave status table to enable the slave state value of 1 by sending a special block Port 1 slaves are enabled using block 3001 and Port 2 slaves are enabled using block 3101 Each block contains the slave node addresses to enable The format of the block is displayed below M1 Offset Description Length 7800 3001 or 3101 1 7801 Number of Slaves in Block 1 7802 to 7927 Slave indexes 126 The module will respond with a block with the same identification code received and indicate the number of slaves acted on with the block The format of this response block is displayed below MO Offset Description Length 0 3001 or 3101 1 1 Number of slaves processed 1 Page 60 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Commun
58. ble Type Word 0 Disabled 1 Continuous and 2 C onditional 2 Virtual Database Address This parameter defines the database address of the data to be associated with the command The first word of data contains the bit mask and the second word contains the data 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command Always zero 0 6 Node Address Address of unit to reach on the data highway 7 Function Code 511 Logical Write with mask Page 88 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module Column Parameter Description Parameter 8 File Type SLC file type letter as used in file name string Valid P1 values for the system are N S F A n 9 File Number SLC file number to be associated with the command P2 10 Element Number The parameter defines the element in the file where P3 write operation will start 11 Sub E lement Number This parameter defines the sub element to be used P4 with the command Refer to the AB documentation for a list of valid sub element codes This function writes one or more words of data from a PLC data table controlling individual bits in the table The bit mask used for the command is OxFFFF This provides direct manipulation of the data in the device with the internal data
59. cceeeeeccecceeeeeeeseeeneaeeeeeeesesessisateees 93 6 2 Return Material Authorization RMA Policies and Conditions eee 94 6 3 LIMIFED WARRANTY 242 diteale rida oleae oa beau eA hee Haase 96 ProSoft Technology Inc Page 5 of 103 October 20 2008 Contents MVI146 DFCM SLC Platform DF1 Communication Module Index 101 Page 6 of 103 ProSoft Technology Inc October 20 2008 Start Here MVI46 DFCM SLC Platform DF1 Communication Module Guide to the MVI46 DFCM User Manual Function Section to Read Details Introduction Start Here page 9 This Section introduces the customer to the Must Do module Included are package contents system requirements hardware installation and basic configuration Verify Communication Diagnostic and Troubleshooting Verifying Communication page 50 Diagnostics and Troubleshooting page 35 This section describes how to verify communications with the network Diagnostic and Troubleshooting procedures Reference Product Specifications Functional Overview Glossary Reference page 53 Functional Overview page 55 Product Specifications page 53 These sections contain general references associated with this product Specifications and the Functional Overview Support Service and Warranty Index Support Service and Warranty page 93 This section contains Support Service a
60. cessor the module will begin communicating with other nodes on the network depending on the configuration ProSoft Technology Inc Page 55 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module Main Logic Loop Upon completing the power up configuration process the module enters an infinite loop that performs the following functions From P ower Up Logic Call 1 0 Handler Call I O Handler Transfers data between the module and processor user status etc Call CFG DEBUG Port Driver Call Serial Port Driver Rx and Tx buffer routines are interrupt driven Call to serial port routines check to see if there is any data in the buffer and depending on the value will either service the buffer or wait for more characters Call Network Master amp Slave Drivers Generate messages and respond to messages received Call Network Master amp Slave Drivers SLC Processor Not in Run Whenever the module detects that the processor has gone out of the Run mode that is Fault or PGM the DF1 ports will be shut down When the processor is returned to a running state the module will resume communications on the network No backplane data transfers will occur when the processor is not in run mode Backplane Data Transfer The MVI46 DFCM module communicates directly over the SLC backplane All data for the module is contained in the module s M1 file Data is moved between the module and t
61. computer s keyboard If the module is connected properly the following menu will appear on your terminal screen DFi MASTER SLAVE COMMUNICATION MODULE Display Menu A Data Analyzer B Block Transfer Statistics C Module Configuration D Database View Master Command Errors E Port 1 F Port 2 Master Command List I Port 1 J Port 2 Slave Status List O Port 1 P Port 2 U Version Information W Warm Boot Module Y Transfer Module Cfg to Processor Communication Status 1 Port 1 2 Port 2 Port Configuration 6 Port 1 7 Port 2 Esc Exit Program 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 potential data loss or other failures Only use these commands if you are specifically directed to do so by ProSoft Technology 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 M Main Menu Display Menu Redisplays refeshes this menu A Data Analyzer Opens the Data Analyzer menu J See Data Analyzer section B Block Transfer Statistics Displays Block Transfer Statistics screen C Module Configuration Displays Module Configuration screen D Database Aew ha Opens Database
62. ctions Function Command Function Definition PLC5 SLC500 amp Power ControlLogix Code MicroLogix monitor Il 501 0x0F 0xA1 Protected Typed X X Logical Read With Two Address Fields 502 0x0F 0XA2 Protected Typed X X X Logical Read With Three Address Fields 509 0x0F 0XA9 Protected Typed X X Logical Write With Two Address Fields 510 0x0F OXAA Protected Typed X X X Logical Write With Three Address Fields 511 0x0F OXAB Protected Typed X X Logical Write With ask Three Address Fields Each command list record has the same general format The first part of the record contains the information relating to the communication module and the second part contains information required to interface to the DF1 slave device ProSoft Technology Inc Page 65 of 103 October 20 2008 MVI46 DFCM SLC Platform DF1 Communication Module Reference The PLC 5 and SLC 500 command set require the use of files These files are emulated in the module The module defines these files each as containing 200 word registers that overlay the internal database The following table shows the relationship of the files to the user data area of the internal database File Database Register N7 0 0 N8 0 200 N9 0 400 N10 0 600 N11 0 800 N12 0 y 1000 N13 0 1200 N14 0 1400 N15 0 1600 N16 0 1800 N17 0 2000 N1
63. cuit board backplane of the SLC rack 6 Turn power ON Note If you insert the module improperly the system may stop working or may behave unpredictably Page 12 of 103 ProSoft Technology Inc October 20 2008 Start Here MVI46 DFCM SLC Platform DF1 Communication Module 1 5 Connect your PC to the Processor 1 Connect the right angle connector end of the cable to your controller at the communications port Communications Port 2 Connect the straight connector end of the cable to the serial port on your computer ProSoft Technology Inc Page 13 of 103 October 20 2008 MVI46 DFCM SLC Platform Start Here DF1 Communication Module 1 6 Download the Sample Program to the Processor To download the sample program from RSLogix 500 to the SLC processor Note The key switch on the front of the SLC processor must be in the REM position 1 If you are not already online to the processor open the Communications menu and then choose Download RSLogix will establish communication with the processor Communications M Autobrowse Fetes E Browsing node 1 found Workstation Address Device Type Online Name Status Sa Linx Gateways Ethernet amp loo Workstation DF1 COM9 Program da AB_DF1 2 DH 485 S901 SLC 5 03 UNTITLED Remote 00 workstation DF1 COM9 01 SLC 5 03 UNTITLED Online as AB_ETHIP 1 Ethernet me 5 PLC_Controllogi Ethernet Down
64. data to a PLC data table Function Code 510 Protected Typed Logical Write Three Address Fields Column Parameter Description Parameter 1 Enable Type Word 0 Disabled 1 Continuous and 2 Conditional 2 Virtual Database Address This parameter defines the database address of the first data point to be associated with the command 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command 0 None 1 Swap words 2 Swap words amp bytes and 3 swap bytes in each word 6 Node Address Address of unit to reach on the data highway 7 Function Code 510 Logical Write Command 8 File Type SLC file type letter as used in file name string Valid P1 values for the system are N S F A a 9 File Number SLC file number to be associated with the command P2 10 Element Number The parameter defines the element in the file where P3 write operation will start 11 Sub Element Number This parameter defines the sub element to be used with P4 the command Refer to the AB documentation for a list of valid sub element codes This function writes one or more words of data to a PLC data table This function should work on the following devices SLC 500 SLC 5 03 and SLC 5 04 Function Code 511 Protected Typed Logical Write with Mask Three Address Fields Column Parameter Description Parameter 1 Ena
65. defines the element in the file where P3 write operation will start 11 Not Used This field is not used by the command Values entered P4 in this column will be ignored This function reads one or more words of data from a PLC data table Function Code 502 Protected Typed Logical Read Three Address Fields Column Parameter Description Parameter 1 Enable Type Word 0 Disabled and 1 Continuous 2 Virtual Database Address This parameter defines the database address of the first data point to be associated with the command 3 Poll Interval Minimum number of seconds to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command 0 None 1 Swap words 2 Swap words amp bytes and 3 swap bytes in each word 6 Node Address Address of unit to reach on the data highway 7 Function Code 502 Logical Read Command 8 File Type SLC file type letter as used in file name string Valid P1 values for the system are N S F A 9 File Number SLC file number to be associated with the command P2 10 Element Number The parameter defines the element in the file where P3 write operation will start 11 Sub Element Number This parameter defines the sub element to be used with P4 the command Refer to the AB documentation for a list of valid sub element codes This function reads one or more words of data from a PLC data table
66. e The module does not support the PLC 5 ASCII Address commands 150 to 152 as outlined in the DF1 Command Set documentation The following table describes the functions supported by the module and the format of each command Module Information Data Device Information Data Col 1 2 3 4 5 6 7 8 9 10 11 Function Enable Internal Poll Count Swap Node Function Function Parameters Code Code Address Interval Code Address Code Time FC 1 Code Register Seconds Count Code Node 1 Word Address FC 2 Code Register Seconds Count Code Node 2 Word Address FC 3 Code Register Seconds Count 0 ode 3 Word Address FC 4 Code Register Seconds Count 0 Node 4 Word Address PCS Code Register Seconds Count Code Node 5 Word Address FC 100 Code Register Seconds Count Code Node 100 File Element Sub Number Element FC 101 Code Register Seconds Count Code Node 101 File Element Sub Number Element FC 102 Code Register Seconds Count 0 ode 102 File Element Sub Number Element FC 501 Code Register Seconds Count Code Node 501 File File Element Type umber FC 502 Code Register Seconds Count Code Node 502 File File Element Sub Type Number Element FC 509 Code Register Seconds Count Code Node 509 File File Element Type umber FC 510 Code Register Seconds Count Code Node 510 File File Element Sub Type umber Element FC 511 Code Register Seconds Count 0 ode 511 File File Element Sub Type Number E
67. e block construct the command The Internal DB Address parameter specifies the module s database location to associate with the command The Point Count parameter defines the number of registers for the command The Swap Code changes the word or byte order The Node Address parameter defines the device on the DF1 network to consider The Function Code parameter is one of those defined in the ProSoft DF1 Command Set documentation The parameter fields in the block should be completed as required by the selected function code Each command has its own set of parameters When the block is received the module will process it and place the command in the command queue The module will respond to each event command block with a read block with the following format MO Offset Description Length 0 1000 or 2000 1 1 0 Fail 1 Success 1 ProSoft Technology Inc Page 61 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module Word one of the block can be used by the ladder logic to determine if the command was added to the command queue of the module The command will only fail if the command queue for the port is full 100 commands for each queue or the command requested is invalid Command Control Command control blocks place commands in the command list into the command queue Each port has a command queue of up to 100 commands The module services commands in the queue before the master command list Th
68. e total number of Count command blocks received from the processor N A N A N45 28 7628 Error Block This field contains the total number of Count block errors recognized by the module N A N A N45 29 7629 Port 1 Current Fora slave port this field contains the Error lndex value of the current error code returned Fora master port this field contains the index of the currently executing command N A N A N45 30 7630 Port 1 Last Fora slave port this field contains the Error Index value of the last error code returned For a master port this field contains the index of the command with an error N A N A N45 31 7631 Port2 Current Fora Slave port this field contains the Error Index value of the current error code returned Fora master port this field contains the index of the currently executing command N A N A N45 32 7632 Port 2 Last Fora slave port this field contains the Error Index value of the last error code returned For a master port this field contains the index of the command with an error A data file should be allocated in the ladder logic to hold this block of data The size of the block of data is 33 words 2 2 7 Command Control Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N A N A N46 0 7800 Command Code Enter one of the valid control command codes in this register to control the module 9997 9998 or 9999 Refer to the Reference chapter for more informat
69. ecution each scan of the command list and will be controlled by the Polllnt parameter 2 The command will only execute if the data associated with the command has changed since the command was last issued This option is only available for write commands 999 The command will issue a poll command to the slave unit indicated in the command This option is only valid for a half duplex network IntAddress This parameter specifies the starting internal register address to be associated with the command Valid entry for this parameter is 0 to 9999 Pollint This parameter defines the Minimum time in tenths of a second to wait between the execution of continuous commands Enable 1 This poll interval command can be used to lighten the communications load on a busy network Valid entry for this parameter is 0 to 65535 Count This parameter defines the number of registers to be considered by the command Valid entry for this parameter is 1 to 100 Swap This parameter specifies if the data used in the command must be altered when a reading data from a node on the network Values that can be assigned are as follows 0 no swapping of data 1 swap word values 2 swap word and byte values and 3 swap byte values This option is used when interfacing the module with ASCII and floating point data on other devices Node This parameter assigns the DF1 slave node address for the module to reach with the command on the network This parameter c
70. ed by the command Values P2 to P4 entered in these columns will be ignored This function reads one or more words of data from a PLC data table This function should work on the following devices PLC 5 Function Code 152 Read Modify Write PLC 5 Command ASCII Address Column Parameter Description Parameter 1 Enable Type Word 0 Disabled 1 Continuous and 2 Conditional 2 Virtual Database Address This parameter defines the database address for the data to be associated with the command The first database register is used as the AND mask for the command and the second is used for the OR mask Values in the AND mask have the following definitions 0 Resetand 1 Leave the Same Values in the OR mask have the following definitions 0 Leave the Same and 1 Set 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command Always zero 0 6 Node Address Address of unit to reach on the data highway 7 Function Code 152 Read Modify Write Command 8 File String PLC 5 address as specified as an ASCIl string For P1 example N 10 300 9to11 Not Used These fields are not used by the command Values P2 to P4 entered in these columns will be ignored This function writes one or more words of data to a PLC data table This function should work on the following d
71. ed in remote DF1 slave devices to the virtual database using the DF1 master User commands are issued out of the DF1 master from a command list These commands gather or control data in the DF1 slave devices The following illustration shows the relationships discussed above DF1 Slaves tRead for D tWrite Function I I oT Read Command List Page 80 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module Each command issued from the DF1 master contains a field that indicates the location in the virtual database to be associated with the command Care must be taken when designing a system to be sure the read and write data regions for the database do not overlap for a single device The read area of one device can overlap the write section of another device to transfer the data from one slave device to another 5 6 2 Command Function Codes This section describes DFCM commands to be configured by the user Module Information Data Device Information Data 1 2 3 4 5 6 7 8 9 10 11 Enable Internal Poll Count Swap Node Function Function Parameters Code Address Interval Code Address Code Time Function Code 1 Protected Write Basic Command Set Column Parameter Description Parameter 1 Enable Type Word 0 Disabled 1 Continuous and 2 Conditional 2 Virtual Database Address This parameter defines the dat
72. ee Address Fields 88 Function Code 511 Protected Typed Logical Write with Mask Three Address Fields 88 Functional Overview 7 55 Functional Specifications 54 G General Concepts 55 General Specifications 53 Guide to the MVI46 DFCM User Manual 7 H Hardware Specifications 54 How to Contact Us Technical Support 93 94 Install the Module in the Rack 11 Installing and Configuring the Module 19 58 Intellectual Property Indemnity 97 Introduction 80 ProSoft Technology Inc October 20 2008 Page 101 of 103 MVI46 DFCM SLC Platform DF1 Communication Module K Keystrokes 37 L Ladder Logic 33 LED Status Indicators 7 50 Limitation of Remedies 98 LIMITED WARRANTY 95 96 Local STS Error Codes 78 ain Logic Loop 56 ain Menu 38 aster Command Error List Menu 48 aster Command List Menu 49 aster Driver Mode 67 G 90 icroLogix Processor Specifics 91 iscellaneous Status 30 odule Configuration 21 64 odule Configuration Data 59 odule Data 69 odule Power Up 55 odule Specific Error not DFNT Compliant 80 oving Back Through 5 Pages of Registers 47 V146 DFCM Command Control 77 V146 DFCM Configuration 21 N avigation 37 No Other Warranties 99 ormal Data Transfer 58 O Opening the Command Error List Menu 39 Opening the Command List Menu 39 Opening the Data Analyzer Menu 38 Opening the Database Menu
73. eggo This screen displays the current page of 100 registers in the database Page 46 of 103 ProSoft Technology Inc October 20 2008 Diagnostics and Troubleshooting MVI46 DFCM SLC Platform DF1 Communication Module Moving Back Through 5 Pages of Registers Press from the Database View menu to skip back to the previous 500 registers of data Viewing the Previous 100 Registers of Data Press P from the Database View menu to display the previous 100 registers of data Skipping 500 Registers of Data Hold down Shift and press to skip forward to the next 500 registers of data Viewing the Next 100 Registers of Data Press N from the Database View menu to select and display the next 100 registers of data Viewing Data in Decimal Format Press D to display the data on the current page in decimal format Viewing Data in Hexadecimal Format Press H to display the data on the current page in hexadecimal format Viewing Data in Floating Point Format Press F from the Database View menu Use this command to display the data on the current page in floating point format The program assumes that the values are aligned on even register boundaries If floating point values are not aligned as such they are not displayed properly Viewing Data in ASCII Text Format Press A to display the data on the current page in ASCII format This is useful for regions of the database that contain ASCII data Returning t
74. epresent a commitment on the part of ProSoft Technology Improvements and or changes in this manual or the product may be made at any time These changes will be made periodically to correct technical inaccuracies or typographical errors Battery Life Advisory All modules in the MVI series use a rechargeable Lithium Vanadium Pentoxide battery to backup the 512K SRAM memory real time clock and CMOS The battery should last for the life of the module The module must be powered for approximately twenty hours before it becomes fully charged After it is fully charged the battery provides backup power for the CMOS setup and configuration data the real time clock and the 512K SRAM memory for approximately 21 days Before you remove a module from its power source ensure that the battery within the module is fully charged A fully charged battery will hold the BIOS settings after being removed from its power source for a limited number of days When the battery is fully discharged the module will revert to the default BIOS settings Note The battery is not user replaceable Your Feedback Please We always want you to feel that you made the right decision to use our products If you have suggestions comments compliments or complaints about the product documentation or support please write or call us ProSoft Technology 1675 Chester Avenue Fourth Floor Bakersfield CA 93301 1 661 716 5100 1 661 716 5101 Fax http www prosoft
75. ere to start the write operation P1 9to 11 Not Used These fields are not used by the command Values P2 to P4 entered in these columns will be ignored This function sets or resets individual bits within a limited area of the PLC data table This function should work on the following devices 1774 PLC PLC 2 PLC 3 PLC 5 and PLC 5 250 Function Code 4 Unprotected Bit Write Basic Command Set Column Parameter Description Parameter 1 Enable Type Word 0 Disabled 1 Continuous and 2 Conditional 2 Virtual Database Address This parameter defines the database address for the data to be associated with the command The address defined represents a register address and nota bit address This function will update one or more words of data as defined by the count parameter 3 Poll Interval Minimum time in tenths of a second to wait before polling with this command 4 Count Number of data word values to be considered by the function 5 Swap Type Code Swap type code for command Always zero 0 6 Node Address Address of unit to reach on the data highway 7 Function Code 4 Unprotected Bit Write Function 8 Word Address Word address where to start the write operation P1 9to11 Not Used These fields are not used by the command Values P2 to P4 entered in these columns will be ignored This function sets or resets individual bits within a limited area of the PLC data table This function should work on the
76. ess M to return to the main menu This action will allow the module to resume its normal high speed operating mode Viewing Block Transfer Statistics Press B from the Main Menu to view the Block Transfer Statistics screen Use this command to display the configuration and statistics of the backplane data transfer operations between the module and the processor The information on this screen can help determine if there are communication problems between the processor and the module Tip To determine the number of blocks transferred each second mark the numbers displayed ata specific time Then some seconds later activate the command again Subtract the previous numbers from the current numbers and divide by the quantity of seconds passed between the two readings Viewing Module Configuration Press C to view the Module Configuration screen Use this command to display the current configuration and statistics for the module Opening the Database Menu Press D to open the Database View menu Use this menu command to view the current contents of the module s database Opening the Command Error List Menu Press I to open the Command Error List This list consists of multiple pages of command list error status data Press to view a list of commands available on this menu Opening the Command List Menu Press L to open the Command List menu Use this command to view the configured command list for the module Viewing
77. eturned Product These RMA Policies are subject to change by ProSoft without notice For warranty information see Limited Warranty In the event of any inconsistency between the RMA Policies and the Warranty the Warranty shall govern 6 2 1 All Product Returns a In order to return a Product for repair exchange or otherwise the Customer must obtain a Returned Material Authorization RMA number from ProSoft and comply with ProSoft shipping instructions b In the event that the Customer experiences a problem with the Product for any reason Customer should contact ProSoft Technical Support at one of the telephone numbers listed above page 93 A Technical Support Engineer will request that you perform several tests in an attempt to isolate the problem If after completing these tests the Product is found to be the source of the problem we will issue an RMA c All returned Products must be shipped freight prepaid in the original shipping container or equivalent to the location specified by ProSoft and be accompanied by proof of purchase and receipt date The RMA number is to be prominently marked on the outside of the shipping box Customer agrees to insure the Product or assume the risk of loss or damage in transit Products shipped to ProSoft using a shipment method other than that specified by ProSoft or shipped without an RMA number will be returned to the Customer freight collect Contact ProSoft Technical Support for further inf
78. etwork on Port 1 Off No data is being transferred on the port P2 Green On Data is being transferred between the module and the DF1 network on Port 2 Off No data is being transferred on the port APP Amber On The MVI46 DFCM module program has recognized a communication error on one of its ports or a backplane error Off The MVI46 DFCM is working normally BP ACT Amber On The LED is on when the module is performing a write operation on the backplane Off The LED is off when the module is performing a read operation on the backplane Under normal operation the LED should blink rapidly on and off OK Red Off The card is not receiving any power and is not securely Green plugged into the rack Green The module is operating normally Red The program has detected an error or is being configured If the LED remains red for over 10 seconds the program has probably halted Turn off the power to the rack remove the card from the rack and visually inspect the module Re insert the card and turn on the power to the rack to restart the module s program BAT Red Off The battery voltage is OK and functioning On The battery voltage is low or battery is not present Allow battery to charge by keeping module plugged into rack for 24 hours If BAT LED still does not go off contact ProSoft Technology as this is not a user serviceable item During module configuration the OK LED will be red and the APP and BP ACT LEDs will be on If the LEDs
79. evices PLC 5 The command constructed contains an AND mask and an OR mask Values in the AND mask have the following definitions 0 Reset and 1 Leave the Same Values in the OR mask have the following definitions 0 Leave the Same and 1 Set The module is responsible for setting the mask values to correctly construct the message from the virtual database values Function Code 501 Protected Typed Logical Read Two Address Fields Column Parameter Description Parameter 1 Enable Type Word 0 Disabled and 1 Continuous 2 Virtual Database Address This parameter defines the database address of the first data point to be associated with the command 3 Poll Interval Minimum number of seconds to wait before polling with this command 4 Count Number of data word values to be considered by the function Page 86 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module Column Parameter Description Parameter 5 Swap Type Code Swap type code for command 0 None 1 Swap words 2 Swap words amp bytes and 3 swap bytes in each word 6 Node Address Address of unit to reach on the data highway 7 Function Code 501 Logical Read Command 8 File Type SLC file type letter as used in file name string Valid values for the system are N S F A 9 File Number SLC file number to be associated with the command P2 10 Element Number The parameter
80. ft Technology Inc October 20 2008 Diagnostics and Troubleshooting MVI46 DFCM SLC Platform DF1 Communication Module Character Definition Data enclosed in these characters represent data received on the port lt gt Data enclosed in these characters represent data transmitted on the port lt R gt These characters are inserted when the RTS line is driven high on the port lt R gt These characters are inserted when the RTS line is dropped low on the port lt CS gt These characters are displayed when the CTS line is recognized high _TT_ These characters are displayed when the timing mark interval has been reached This parameter is user defined Stopping the Data Analyzer Press S to stop the data analyzer Use this option to freeze the display so the data can be analyzed To restart the analyzer press B Important When in analyzer mode program execution will slow down Only use this tool during a troubleshooting session Before disconnecting from the Config Debug port please press S to stop the data analyzer and then press M to return to the main menu This action will allow the module to resume its normal high speed operating mode Returning to the Main Menu Press M to return to the Main Menu 4 1 7 Data Analyzer Tips From the main menu press A for the Data Analyzer You should see the following text appear on the screen Data Analyzer Mode Selected After the Data
81. function of the data transfer as defined in the following topics Normal Data Transfer This version of the module provides for direct access to the data in the module All data related to the module is stored in the module s M1 file To read data from the module use the COP instruction to copy data from the module s M1 file to a user data file To write data to the module use the COP instruction to copy data from a user file to the module s M1 file Registers 0 to 4999 should be used for user data All other registers are reserved for other module functions Configuration Data Transfer When the module performs a restart operation it will request configuration information from the SLC processor This data is transferred to the module in a specially formatted write block in the MO file The module will poll for this information by placing the value 9000 in word 0 of the MO file The ladder logic must construct the requested block in order to configure the module Refer to Installing and Configuring the Module page 19 for a description of the data objects used with the blocks and the ladder logic required The format of the block for configuration is given in the following section Page 58 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module Module Configuration Data This block sends configuration information from the processor to the module The data is transferred in a block
82. g Y ou must follow all safety instructions when installing this or any other electronic devices Failure to follow safety procedures could result in damage to hardware or data or even Serious injury or death to personnel Refer to the documentation for each device you plan to connect to verify that suitable safety procedures are in place before installing or servicing the device After you have checked the placement of the jumpers insert MVI46 DFCM into the SLC chassis Use the same technique recommended by Rockwell Automation to remove and install SLC modules 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 1 Turn power OFF ProSoft Technology Inc Page 11 of 103 October 20 2008 MVI46 DFCM SLC Platform Start Here DF1 Communication Module 2 Align the module with the top and bottom guides and slide it into the rack until the module is firmly against the backplane connector 3 With a firm but steady 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 cir
83. ginal purchaser that the Product that is the subject of the sale will 1 conform to and perform in accordance with published specifications prepared approved and issued by ProSoft and 2 will be free from defects in material or workmanship provided these warranties only cover Product that is sold as new This Warranty expires three years from the date of shipment the Warranty Period If the Customer discovers within the Warranty Period a failure of the Product to conform to specifications or a defect in material or workmanship of the Product the Customer must promptly notify ProSoft by fax email or telephone In no event may that notification be received by ProSoft later than 39 months Within a reasonable time after notification ProSoft will correct any failure of the Product to conform to specifications or any defect in material or workmanship of the Product with either new or used replacement parts Such repair including both parts and labor will be performed at ProSoft s expense All warranty service will be performed at service centers designated by ProSoft b Warranty On Services Materials and labor performed by ProSoft to repair a verified malfunction or defect are warranteed in the terms specified above for new Product provided said warranty will be for the period remaining on the original new equipment warranty or if the original warranty is no longer in effect for a period of 90 days from the date of repair 6 3 2 What
84. gure the communication parameters with the following settings Baud Rate 57 600 Parity None Data Bits 8 Stop Bits 1 Software Handshaking None 3 Open the connection When you are connected press the key on your keyboard If the system is set up properly you will see a menu with the module name followed by a list of letters and the commands associated with them If there is no response from the module follow these steps 1 Verify that the null modem cable is connected properly between your computer s serial port and the module A regular serial cable will not work Page 36 of 103 ProSoft Technology Inc October 20 2008 Diagnostics and Troubleshooting MVI46 DFCM SLC Platform DF1 Communication Module 2 Verify that RSLinx is not controlling the COM port Refer to Disabling the RSLinx Driver for the Com Port on the PC page 72 3 Verify that your communication software is using the correct settings for baud rate parity and handshaking 4 Oncomputers 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 you can contact ProSoft Technology Technical Support for further assistance Navigation All of the sub menus for this module contain commands to redisplay the menu or return to the previous menu You can always return from a sub menu to the next higher menu by pressing
85. h 7800 9997 1 Warm Boot This block is sent from the SLC processor to the module when the module is required to perform a warm boot software reset operation This block is commonly sent to the module any time configuration data modifications are made in the configuration data area This will force the module to read the new configuration information and to restart The structure of the control block is shown below M1 Offset Description Length 7800 9998 1 Cold Boot This block is sent from the SLC processor to the module when the module is required to perform the cold boot hardware reset operation This block is sent to the module when a hardware problem is detected by the ladder logic that requires a hardware reset The structure of the control block is shown below M1 Offset Description Length 7800 9999 1 ProSoft Technology Inc Page 63 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module 5 2 2 Data Flow between MVI46 DFCM Module and SLC Processor The following topics describe the flow of data between the two pieces of hardware SLC processor and MVI46 DFCM module and other nodes on the DF1 network under the module s different operating modes Each port on the module is configured to emulate a DF1 master device or a DF1 slave device The operation of each port is dependent on this configuration The sections below discuss the operation of each mode Slave Driver Mode T
86. he SLC processor across the backplane using the module s M files The SLC scan rate and the communication load on the module determine the update frequency of the M files The COP instruction can be used to move data between user data files and the module s M1 file Page 56 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module The following illustration shows the data transfer method used to move data between the SLC processor the MVI46 DFCM module and the DF1 network SLC Processor MVI46 DFCM Module SLC Processor User Data Files Status Ladder Logic Hok Transfers data jodule s Read Data from module s Internal M1 File to data Database areas in the processor Ladder Logic transfers data from processor data areas to M1 File M1 File Special Control _ Ladder Logic Blocks processes special control command Ladder Logic transfers configuration from Processor data areas to MO File Backplane Driver All data transferred between the module and the processor over the backplane is through the MO and M1 files Ladder logic must be written in the SLC processor to interface the M file data with data defined in the user defined data files in the SLC All data used by the module is stored in its internal database The following illustration shows the layout of the database Module s Internal Database Structure
87. he Slave Driver Mode allows the MVI46 DFCM module to respond to data read and write commands issued by a master on the DF1 network The following flow chart and associated table describe the flow of data into and out of the module Processor Memory Backplane Interface DFCM Module Module 3 Database SLC User Data Files o Register Register Data storage 1 1 1 M File 1 1 1 1 Status a from Module i i 1 I i j i i i I i Data i 0 to 4999 i j i i i i I i I i 1 Configurati l Mo amp m bata lt 1 5 Fes 1 i Step Description 1 The DF1 slave port driver receives the configuration information from the SLC processor This information configures the serial port and define the slave node characteristics The module simulates N files to permit remote access of the database Each file has a fixed length of 200 word registers 2 A Host device such as the Rockwell Automation PLC or an HMI application issues a read or write command to the module s node address The port driver qualifies the message before accepting it into the module 3 After the module accepts the command the data is immediately transferred to or from the internal database in the module If the command is a read command the data is read out of the database and a response message is built If the command is a write command the data is written directly i
88. hen in analyzer mode program execution will slow down Only use this tool during a troubleshooting session Before disconnecting from the Config Debug port please press S to stop the data analyzer and then press M to return to the main menu This action will allow the module to resume its normal high speed operating mode Analyzing Data for the first application port Press 1 to display I O data for the first application port in the Data Analyzer The following illustration shows an example of the Data Analyzer output guapy i T a lt 5 B gt e ia Bod 8 Fm 7 OR ICDS BED AI FOME PAJ XRB ION 27 gt T_T WYATT Tot A 7 6 I 8 t a 2 1 R m R i R E5 Analyzing Data for the second application port Press 2 to display I O data for the second application port in the Data Analyzer ProSoft Technology Inc Page 41 of 103 October 20 2008 MVI46 DFCM SLC Platform Diagnostics and Troubleshooting DF1 Communication Module Displaying Timing Marks in the Data Analyzer You can display timing marks for a variety of intervals in the data analyzer screen These timing marks can help you determine communication timing characteristics Key Interval 5 1 milliseconds ticks 6 5 milliseconds ticks 7 10 milliseconds ticks 8 50 milliseconds ticks 9 100 milliseconds ticks 0 Turn off timing marks Removing Timing Marks in the Data Analyzer Press 0 to turn off timing ma
89. his data until it is commanded Ladder logic can be written to issue a Write Configuration command block 9997 to the module A remote device can set a value of 9997 at address 7800 N46 0 in the module to download the configuration to the processor Alternatively the configuration debug port on the module can be used to issue the command directly to the module All three of these methods will force the module to download the configuration to the SLC processor Ladder logic must exist in the processor to accept the block sent by the module If everything is configured correctly the module can receive its configuration from a remote device MVI46 DFCM Configuration This section contains a listing of the MVI46 DFCM configuration data locations in the SLC MO file as well as the same data locations as emulated in the MVI46 DFCM module s internal database The module will continually request the data from the processor until a valid configuration is received This information is stored in the module s M1 file and a reserved faster RAM area in the module Data is constantly moved from the M1 file data areas 0 to 4999 to the fast RAM area ProSoft Technology Inc Page 21 of 103 October 20 2008 MVI46 DFCM SLC Platform Installing and Configuring the Module DF1 Communication Module Register Range File Start File End Content Size 0 to 4999 7 0 31 199 User Data 5000 5000 to 5009 32 0 32 9 Backplane Conf
90. ication Module Command Control Block Command control blocks place commands in the command list into the command queue Each port has a command queue of up to 100 commands This module services commands in the queue before the master command list This gives high priority to commands in the queue Commands placed in the queue through this mechanism must be defined in the master command list Under normal command list execution the module will only execute commands with the Enable parameter set to one or two If the value is set to zero the command is skipped Commands may be placed in the command list with an Enable parameter set to zero These commands can then be executed using the command control blocks One to six commands can be placed in the command queue with a single request The format of the block is shown in the following table Event Command Event command control blocks send DF1 commands directly from the ladder logic to one of the master ports The format for these blocks is displayed below M1 Offset Description Length 7800 1000 or 2000 1 7801 Internal DB Address 1 7802 Point Count 1 7803 Swap Code 1 7804 Node Address 1 7805 Function Code 1 7806 Parameter 1 1 7807 Parameter 2 1 7808 Parameter 3 1 7809 Parameter 4 1 The block number defines the DF1 port to be considered Block 1000 commands are directed to Port 1 and block 2000 commands are directed to Port 2 The parameters passed with th
91. iguration 10 5010 to 5039 32 10 32 39 Port 1 Setup 30 5040 to 5069 32 40 32 69 Port2 Setup 30 5070 to 5199 32 70 32 199 Reserved 130 5200 to 6399 33 0 38 199 Port 1 Commands 1200 6400 to 7599 39 0 44 199 Port 2 Commands 1200 7600 to 7700 45 0 45 199 Misc Status Data 200 7800 to 7999 46 0 46 199 Command Control 200 8000 to 9999 47 0 56 199 Reserved 2000 The user data areas hold data collected from other nodes on the network master read commands or data received from the processor Additionally this data area is used as a data source for the processor read blocks or other nodes on the network write commands 2 2 1 Backplane Configuration Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description 10 0 1 32 0 5000 Write StartReg Notused in this version of the software N10 1 2 32 1 5001 Write Reg Not used in this version of the software Count 10 2 3 32 2 5002 Read StartReg Notused in this version of the software 10 3 4 32 3 5003 Read Reg ot used in this version of the software Count 10 4 5 32 4 5004 Backplane Fail This parameter specifies the number of successive transfer errors that must occur before the communication ports are shut down If the parameter is set to 0 the communication ports will continue to operate under all conditions If the value is set larger than 0 1 to 65535 communications will cease if the specified number of fail
92. ion n Status AB DF1 1 DH Sta 0 COM1 RUNNING Configure Startup Start Stop Delete 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 processor is RS 232 DF 1 Devices ProSoft Technology Inc Page 15 of 103 October 20 2008 MVI46 DFCM SLC Platform Start Here DF1 Communication Module 3 Click to select the driver and then click Configure This action opens the Configure Allen Bradley DF1 Communications Device dialog box Configure Allen Bradley DF1 Communications Device Device Name AB_DF1 1 Comm Port com me Device Logix 5550 Serial Port Baud Rate 19200 z elas ctal Parity None zi Error Checking CRC X Stop Bits fi Protocol Full Duplex Auto Configure Configure Dialer I Use Modem Dialer Cancel Delete Help 4 Click the Auto Configure button RSLinx will attempt to configure your serial port to work with the selected driver 5 When you see the message Auto Configuration Successful click the OK button to dismiss the dialog box Note If the auto configuration procedure fails 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 documentati
93. ion N A N A N46 1 to 7801 to Command Data Reserved for future use N46 199 7999 Page 32 of 103 ProSoft Technology Inc October 20 2008 Ladder Logic MVI46 DFCM SLC Platform DF1 Communication Module 3 Ladder Logic Ladder logic is required for application of the MVI46 DFCM module Tasks that must be handled by the ladder logic are module data transfer special block handling and status data receipt Additionally a power up handler may be needed to handle the initialization of the module s data and to clear any processor fault conditions The sample ladder logic on the ProSoft Solutions CD ROM is extensively commented to provide information on the purpose and function of each rung For most applications the sample ladder will work without modification ProSoft Technology Inc Page 33 of 103 October 20 2008 MVI46 DFCM SLC Platform Ladder Logic DF1 Communication Module Page 34 of 103 ProSoft Technology Inc October 20 2008 Diagnostics and Troubleshooting MVI46 DFCM SLC Platform 4 1 DF1 Communication Module Diagnostics and Troubleshooting InThis Chapter Reading Status Data from the Module seses 35 LED Status Ndi A OS a a a a a peiie 50 The module provides information on diagnostics and troubleshooting in the following forms Status data values are transferred from the module to the processor Data contained in the module can be viewed through the Configuration Debug por
94. is gives high priority to commands in the queue Commands placed in the queue through this mechanism must be defined in the master command list Under normal command list execution the module will only execute commands with the Enable parameter set to one or two If the value is set to zero the command is skipped Commands may be placed in the command list with an Enable parameter set to zero These commands can then be executed using the command control blocks One to six commands can be placed in the command queue with a single request The format of the block is displayed below M1 Offset Description Length 7800 5001 to 5006 or 5101 to 5106 1 7801 Command index 1 7802 Command index 1 7803 Command index 1 7804 Command index 1 7805 Command index 1 7806 Command index 1 Blocks in the range of 5001 to 5006 are used for Port 1 and blocks in the range of 5101 to 5106 are used for Port 2 The last digit in the block code defines the number of commands to process in the block For example a block code of 5003 contains 3 command indexes that are to be used with Port 1 The Command index parameters in the block have a range of 0 to 99 and correspond to the master command list entries The module responds to a command control block with a block containing the number of commands added to the command queue for the port The format of the block is displayed below MO Offset Description Length 0 5000 to 5006 or
95. is the power supply 1550 Can be repaired only if defect is the power supply 3350 3300 1500 All Purchasing Warranty Extension ProSoft s standard warranty period is three 3 years from the date of shipment as detailed in Limited Warranty page 96 The Warranty Period may be extended at the time of equipment purchase for an additional charge as follows e Additional 1 year 10 of list price e Additional 2 years 20 of list price e Additional 3 years 30 of list price ProSoft Technology Inc Page 95 of 103 October 20 2008 MVI46 DFCM SLC Platform Support Service amp Warranty DF1 Communication Module 6 3 LIMITED WARRANTY This Limited Warranty Warranty governs all sales of hardware software and other products collectively Product manufactured and or offered for sale by ProSoft and all related services provided by ProSoft including maintenance repair warranty exchange and service programs collectively Services By purchasing or using the Product or Services the individual or entity purchasing or using the Product or Services Customer agrees to all of the terms and provisions collectively the Terms of this Limited Warranty All sales of software or other intellectual property are in addition subject to any license agreement accompanying such software or other intellectual property 6 3 1 What Is Covered By This Warranty a Warranty On New Products ProSoft warrants to the ori
96. l Support Internet Web Site http www prosoft technology com support http www prosoft technology com support E mail address support prosoft technology com mailto support prosoft technology com Asia Pacific 603 7724 2080 support asia prosoft technology com mailto support asia prosoft technology com Languages spoken include Chinese English Europe location in Toulouse France 33 0 5 34 36 87 20 support EMEA prosoft technology com mailto support emea prosoft technology com Languages spoken include French English ProSoft Technology Inc Page 93 of 103 October 20 2008 MVI46 DFCM SLC Platform Support Service amp Warranty DF1 Communication Module 6 2 North America Latin America excluding Brasil location in California 1 661 716 5100 support prosoft technology com mailto support prosoft technology com Languages spoken include English Spanish For technical support calls within the United States an after hours answering system allows pager access to one of our qualified technical and or application support engineers at any time to answer your questions Brasil location in Sao Paulo 55 11 5084 5178 eduardo prosoft technology com mailto eduardo prosoft technology com Languages spoken include Portuguese English Return Material Authorization RMA Policies and Conditions The following RMA Policies and Conditions collectively RMA Policies apply to any r
97. l be retried the entered number of times before a failure will be reported and communication will cease on the ports When backplane communication is restored the module will start communicating on the network For example if you enter a value of 10 for the parameter the module will stop all DF1 communications if 10 successive ProSoft Technology Inc Page 69 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module backplane errors are recognized When a successful transfer is recognized the module will resume communications on the network The Error Status Pointer parameter defines the location in the module s database where the error status data will be stored If the value is set to 1 the data will not be stored in the user data area A value between 0 and 4939 will cause the module s program to store the data at the specified location Port Parameters These parameters define the operation of each of the DF1 ports on the module Refer to MVI46 DFCM Configuration Data Definition for the definition of each parameter DF1 Master Commands These records define the commands in the master command list The definition of each parameter required for each command is given below Command Description Enable This parameter defines if the command will be executed or will be disregarded The following values are valid 0 Disables the command and it will not execute 1 The command will be considered for ex
98. le will require depending on the operating modes to be supported Module Register Functional Name Description Address Modes Affected 5000 to 5009 Data Transfer General Module This section of the configuration data contains the module Configuration configuration data that defines the data transfer between the module and the SLC processor 5010 to 5039 and Masterand Slave Port These sections define the characteristics of each of the DF1 5040 to 5069 Configuration serial communication ports on the module These parameters must be set correctly for proper module operation 5200 to 6399 and Master Master If the module s Master Mode functionality is to be supported 6400 to 7599 Command List on a port the Master Command List must be set up Refer to MVI46 DFCM Configuration Data Definition for a description of the configuration of the module The MVI46 DFCM module must be configured at least once when the card is first powered and any time thereafter when the parameters must be changed 2 1 1 Changing Parameters During Operation A copy of the module s configuration data is mapped in the module s M1 file as displayed in the table above These values are initialized when the module first receives its configuration from the SLC processor Any node on the network can change this data A master port on the module may poll a slave for the data or a slave port could receive the data from a remote master unit The module will not use t
99. lement Node Address Destination Address for Message Page 68 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module If the DF1 master port is configured to support the DF1 half duplex protocol the master port can be used to route messages between slaves Peer to peer communication is accomplished by the master constantly polling all the slaves on the network and relaying the messages received The slaves must contain ladder logic with MSG commands to generate and accept messages This routing can be used in conjunction with the normal command processing discussed above If the slave node to be polled is not included in the command list a special command is required in the command list Enter a 999 in the Enable Code and the slave s node address in the Node Address fields of the command No other parameters are required for a device poll message This command will force the master port to issue an enquiry request to the slave device without first issuing a command Any messages held in the slave s message queue will be sent to the master and the master will route the messages that do not contain the master s station code 5 2 3 Module Data All data related to the MVI46 DFCM module is stored in user defined data areas You must up the data areas to match the specific application for which the module is used Each data area is discussed below Configuration Data
100. llowing window will appear Folder C ProSoft txt File C ProSoft tat a ees Next name the file and select a directory to store the file in In this example we are creating a file ProSoft txt and storing this file on our root C drive After you have done this press the t button Now you have everything that shows up on the HyperTerminal screen being logged to a file called ProSoft txt This is the file that you will then be able to email to ProSoft Technical Support to assist with issues on the communications network Page 44 of 103 ProSoft Technology Inc October 20 2008 Diagnostics and Troubleshooting MVI46 DFCM SLC Platform DF1 Communication Module To begin the display of the communications data you will then want to press B to tell the module to start printing the communications traffic out on the debug port of the module After you have pressed B you should see something like the following 0311001 0411001 0511001 0611001 07118011681100 lt 00 gt lt 80 gt lt 88 gt lt BA gt lt F8 gt lt OD gt lt R gt _TT__TT__TT_ 1 02 lt 01 gt lt 03 gt lt 00 gt lt O0 gt lt O0 gt lt BA gt lt C5 gt lt CD gt lt R gt _TT__TT_ 01 021 001 031 001 041 001 051 001 061 001 07100 lt 01 gt lt 01 gt lt 00 gt lt 00 gt lt 00 gt lt A0 gt lt 3C gt lt 72 gt lt R gt _TT_TT_ Q1 00 03 00 04 00 0S 00 06 1 00 07 00 08 lt 01 gt lt 04 gt lt 00 gt lt O0 gt lt O0 gt lt OA gt lt 70 gt lt OD gt lt
101. load lt Current Selection A Server RSLinx API Diver AB_DF1 2 Reply Timeout Node 1 Decimal 1 Octal Type SLC500 A ee m 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 Downloading Processor Image Cancel Writing Data Tables 4 When the download is complete RSLogix will open another confirmation dialog box Click Yes to switch the processor from Program mode to Run mode RSLogix 500 t Do you want to go Online e Yes No Note If you receive an error message during these steps refer to your RS Logix documentation to interpret and correct the error Page 14 of 103 ProSoft Technology Inc October 20 2008 Start Here MVI146 DFCM SLC Platform DF1 Communication Module 1 6 1 Configuring RSLinx If RSLogix is unable to establish communication with the processor follow these steps 1 Open RSLinx 2 Open the Communications menu and choose Configure Drivers Communications Station DDE OPC RsWho Configure Drivers Configure Shortcuts Configure Client Applications Configure CIP Options Driver Diagnostics CIP Diagnostics This action opens the Configure Drivers dialog box m Available Driver Types Cose RS 232 DF1 Devices Add New es Help Configured Drivers Name and Descript
102. made any Product supplied by ProSoft d Customer is granted no right or license to use any software or other intellectual property in any manner or for any purpose not expressly permitted by any license agreement accompanying such software or other intellectual property e Customer agrees that it shall not and shall not authorize others to copy software provided by ProSoft except as expressly permitted in any license agreement accompanying such software transfer software to a third party separately from the Product modify alter translate decode decompile disassemble reverse engineer or otherwise attempt to derive the source code of the software or create derivative works based on the software export the software or underlying technology in contravention of applicable US and international export laws and regulations or use the software other than as authorized in connection with use of Product f Additional Restrictions Relating To Software And Other Intellectual Property In addition to compliance with the Terms of this Warranty Customers purchasing software or other intellectual property shall comply with any license agreement accompanying such software or other intellectual property Failure to do so may void this Warranty with respect to such software and or other intellectual property 6 3 5 Disclaimer of all Other Warranties The Warranty set forth in What Is Covered By This Warranty page 96 are in lieu of all other warr
103. module and the SLC file types SLC File Types File Type File Type Command Code Description S 83 Status B 66 Bit T 84 Timer C 67 Counter R 82 Control N 78 Integer F 70 Floating point Z 90 String A 65 ASCII The File Type Command Code is the ASCII character code value of the File Type letter This is the value to enter into the File Type parameter of the DF1 Command configurations in the data tables in the ladder logic Additionally the SLC specific functions 502 510 and 511 support a sub element field This field selects a sub element field in a complex data table For example to obtain the current accumulated value for a counter or timer the sub element field should be set to 2 5 6 6 ControlLogix Processor Specifics This section contains information specific to the ControlLogix processor when used with the DF1 command set The current implementation of the DF1 command set does not use functions that can directly interface with the ControlLogix Tag Database In order to interface with this database the table mapping feature provided by RSLogix 5000 must be used The software permits the assignment of ControlLogix Tag Arrays to virtual PLC 5 data tables The ProSoft module using the PLC 5 command set defined in this document can then reach this controller data ProSoft Technology Inc Page 91 of 103 October 20 2008 5 7 MVI46 DFCM SLC Platform Reference DF1 Communicati
104. nd Warranty information Index of chapters ProSoft Technology Inc October 20 2008 Page 7 of 103 MVI46 DFCM SLC Platform Start Here DF1 Communication Module Page 8 of 103 ProSoft Technology Inc October 20 2008 Start Here MVI146 DFCM SLC Platform DF1 Communication Module 1 Start Here InThis Chapter System Requirement ec eeeeeeeceereeeeeeeeeeeeseaeeeeeenaeeeseneeeeeeneeeeneaaes 9 ae Package COMeMts 2 2ccessah cence liad epsstetesavsbccdsenanenssacescedssconezs rarios seeneniit 10 Setting JUMPESS cccccceczeeenesdhceseecceesnesccnseauieterseocecndbaqeesnesensrsescananesnese 11 Install the Module in the Rack 00 0 eeeseceeeeceeeeeneeeeeeneeeeneeeeeeenaeeeeeeaas 11 Connect your PC to the Processor ececeecceeeeeeeeeeenneeeeeeeeeeeeneeeeeeaas 13 Download the Sample Program to the Processol ccseeeeees 14 Connect your PC to the Module cececceeeeeeeeeeeeeaeeeeeeeseeeeaeeeeess 17 Installing the MVI46 DFCM module requires a reasonable working knowledge of the Rockwell Automation hardware the MVI46 DFCM Module and the application in which they will be used on It is important that those responsible for implementation can complete the application without exposing personnel or equipment to unsafe or inappropriate working conditions Safety quality and experience are Key factors in a successful installation 1 1 System Requi
105. nd expenses including attorney s fees and expenses related to any claim investigation litigation or proceeding whether or not ProSoft is a party which arises or is alleged to arise from Buyer s acts or omissions under these Terms or in any way with respect to the Products Without limiting the foregoing Buyer at its own expense shall indemnify and hold harmless ProSoft and defend or settle any action brought against such Companies to the extent based on a claim that any Product made to Buyer specifications infringed intellectual property rights of another party ProSoft makes no warranty that the product is or will be delivered free of any person s claiming of patent trademark or similar infringement The Buyer assumes all risks including the risk of suit that the product or any use of the product will infringe existing or subsequently issued patents trademarks or copyrights ProSoft Technology Inc Page 97 of 103 October 20 2008 MVI46 DFCM SLC Platform Support Service amp Warranty DF1 Communication Module a Any documentation included with Product purchased from ProSoft is protected by copyright and may not be duplicated or reproduced in any form without prior written consent from ProSoft b ProSoft s technical specifications and documentation that are included with the Product are subject to editing and modification without notice c Transfer of title shall not operate to convey to Customer any right to make or have
106. nd monitoring of modem signal lines is user definable If no hardware handshaking will be used the cable to connect to the port is as shown below RS 232 Application Port Cable No Handshaking DB 9 Male RS 232 Device RS 232 Modem Connection This type of connection is required between the module and a modem or other communication device RS 232 Application Port Cable Modem Connection DB 9 Male RS 232 Device Signal 5 Signal Common Common DTR DTR The Use CTS Line parameter for the port configuration should be set to Y for most modem applications Page 74 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module RS 232 Null Modem Connection Hardware Handshaking This type of connection is used when the device connected to the module requires hardware handshaking control and monitoring of modem signal lines RS 232 Application Port Cable Hardware Handshaking DB 9 Male RS 232 Device TxD RxD CTS RTS Signal Signal Common Common RS 232 Null Modem Connection No Hardware Handshakin This type of connection can be used to connect the module to a computer or field device communication port RS 232 Application Port Cable No Handshaking DB 9 Male RS 232 Device TxD RxD RTS RTS CTS jumper must be installed if CTS line CTS E monitoring enabled Signal Signal Common Common Note If the port is configured with the Use CTS Line se
107. nto the database and the M1 file and a response message is built 4 After the data processing has been completed in Step 3 the response is issued to the originating master node 5 Counters are available in the Status Block that permit the ladder logic program to determine the level of activity of the Slave Driver Refer to Module Configuration page 21 for a complete list of the parameters that must be defined for a slave port The slave driver supports the following DF 1 command set Page 64 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module Basic Command Set Functions Function Command Function Definition PLC5 SLC500 amp Power ControlLogix Code MicroLogix monitor Il 1 0x00 N A Protected Write X X 2 0x01 N A Unprotected Read X X X 3 0x02 N A Protected Bit Write X X 4 0x05 N A Unprotected Bit Write X X 5 0x08 N A Unprotected Write X X X PLC 5 Command Set Functions Function Command Function Definition PLC5 SLC500 amp Power ControlLogix Code MicroLogix monitor Il 100 Ox0F 0x00 Word Range Write X X Binary Address 101 0x0F 0x01 Word Range Read X X Binary Address 102 0x0F 0x26 Read Modify Write X X Binary Address 150 0x0F 0x00 Word Range Write X X ASCII Address 151 0x0F 0x01 Word Range Read X X ASCII Address 152 0x0F 0x26 Read Modify Write X X ASCII Address SLC 500 Command Set Fun
108. o the Main Menu Press M to return to the Main Menu ProSoft Technology Inc Page 47 of 103 October 20 2008 MVI46 DFCM SLC Platform Diagnostics and Troubleshooting DF1 Communication Module 4 1 9 Master Command Error List Menu Use this menu to view the command error list for the module Press to view a list of commands available on this menu M Main Menu Protocol Menu Command List Menu Display Menu XJ Redisplays reteshes this menu Show Again Redisplays last selected page ofdata P Previous Page Goes back one page of data N Next Page Goes forward one page of data M Main Menu i Goes up one level to main menu Redisplaying the Current Page Press S to display the current page of data Viewing the Previous 20 Commands Press to display data for the previous 20 commands Viewing the Previous Page of Commands Press P to display the previous page of commands Viewing the Next 20 Commands Press to display data for the next 20 commands Viewing the Next Page of Commands Press N to display the next page of commands Returning to the Main Menu Press M to return to the Main Menu Page 48 of 103 ProSoft Technology Inc October 20 2008 Diagnostics and Troubleshooting MVI46 DFCM SLC Platform DF1 Communication Module 4 1 10 Master Command List Menu Use this menu to view the command list for the module Press to view
109. ober 20 2008
110. ogy Inc Page 35 of 103 October 20 2008 MVI46 DFCM SLC Platform Diagnostics and Troubleshooting DF1 Communication Module 4 1 2 Required Hardware You can connect directly from your computer s serial port to the serial port on the module to view configuration information and perform maintenance ProSoft Technology recommends the following minimum hardware to connect your computer to the module 80486 based processor Pentium preferred 1 megabyte of memory At least one serial communications port available A null modem serial cable 4 1 3 Required Software In order to send and receive data over the serial port COM port on your computer to the module you must use a communication program terminal emulator A simple communication program called HyperTerminal is pre installed with recent versions of Microsoft Windows operating systems If you are connecting from a machine running DOS you must obtain and install a compatible communication program The following table lists communication programs that have been tested by ProSoft Technology DOS ProComm as well as several other terminal emulation programs Windows 3 1 Terminal Windows 95 98 HyperTerminal Windows NT 2000 XP HyperTerminal 4 1 4 Using the Configuration Debug Port To connect to the module s Configuration Debug port 1 Connect your computer to the module s port using a null modem cable 2 Start the communication program on your computer and confi
111. ommand This field contains the number of List Errors command errors processed on the port These errors could be due to a bad response or command N A N A 45 19 7619 Port2 Requests This field contains the total number of messages sent out the port IA IA 45 20 7620 Port 2 This field contains the total number of Responses messages received on the port N A N A 45 21 7621 Port 2 Errors This field contains the total number of Sent message errors sent out the port IA IA 45 22 7622 Port 2 Errors This field contains the total number of Received message errors received on the port IA IA 45 23 7623 Read Block This field contains the total number of Count read blocks transferred from the module to the processor IA IA 45 24 7624 Write Block This field contains the total number of Count write blocks transferred from the processor to the module IA IA 45 25 7625 Parse Block This field contains the total number of Count blocks successfully parsed that were received from the processor IA IA 45 26 7626 Command Event This field contains the total number of Block Count command event blocks received from the processor ProSoft Technology Inc October 20 2008 Page 31 of 103 MVI46 DFCM SLC Platform DF1 Communication Module Installing and Configuring the Module Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N A N A N45 27 7627 Command Block This field contains th
112. on Module DF1 Command List Form Module Information Data z Device Information Data Column 1 2 3 4 5 6 7 8 9 10 11 Functio Enable Internal Poll Count Swap Node Functio Function Parameters nCode Code Address Interval Code Address n Code Time Page 92 of 103 ProSoft Technology Inc October 20 2008 Support Service amp Warranty MV1I46 DFCM SLC Platform DF1 Communication Module 6 Support Service amp Warranty InThis Chapter How to Contact Us Technical Suppott ccccccceeseeeeeeeeeeeseeteeeeees 93 Return Material Authorization RMA Policies and Conditions 94 LIMITED WARRANTY cceeeceeeeeeceeeeeeeeeceeeeeeeeceaeeeeeeeseaeeeeeeeenaeeneneees 96 ProSoft Technology Inc ProSoft is committed to providing the most efficient and effective support possible Before calling please gather the following information to assist in expediting this process 1 Product Version Number 2 System architecture 3 Network details If the issue is hardware related we will also need information regarding 1 Module configuration and contents of file o Module Operation o Configuration Debug status information o LED patterns 2 Information about the processor and user data files as viewed through and LED patterns on the processor 3 Details about the serial devices interfaced if any 6 1 How to Contact Us Technica
113. on configuring the module The last step in the module setup is to add the ladder logic If the example ladder logic is used adjust the ladder to fit the application When the ladder example is not used copy the example ladder logic to your application and alter as necessary The module is now set up and ready to be used with your application Insert the module in the rack and attach the DF1 serial communication cables Download the new application to the controller and place the processor in run mode If all the configuration parameters are set correctly and the module is attached to a DF1 network the module s Application LED APP LED should remain off and the backplane activity LED BP ACT should blink very rapidly Refer to Diagnostics amp Troubleshooting page 35 if you encounter errors Attach a computer or terminal to Debug Configuration port on the module and look at the status of the module using the Configuration Debug Menu in the module Refer to Troubleshooting page 52 for a complete discussion of the use of this feature Page 20 of 103 ProSoft Technology Inc October 20 2008 Installing and Configuring the Module MVI46 DFCM SLC Platform 2 1 2 2 DF1 Communication Module Module Configuration In order for the MVI46 DFCM module to function a minimum amount of configuration data must be transferred to the module The following table provides an overview of the different types of configuration data that the modu
114. on for further troubleshooting steps Page 16 of 103 ProSoft Technology Inc October 20 2008 Start Here MVI146 DFCM SLC Platform DF1 Communication Module 1 7 Connect your PC to the Module With the module securely mounted connect your PC to the Configuration Debug port using an RJ45 DB 9 Serial Adapter Cable and a Null Modem Cable 1 Attach both cables as shown 2 Insert the RJ45 cable connector into the Configuration Debug port of the module 3 Attach the other end to the serial port on your PC or laptop Configuration Debug Port Null Modem Cable to Serial Port a j Ji a RJ45 DB9 Serial Null Modem Cable Y we Adapter Cable W ge J a ee Ra a a ALa RET ry i Ea 3 a a gt HO ProSoft Technology Inc Page 17 of 103 October 20 2008 MVI46 DFCM SLC Platform Start Here DF1 Communication Module Page 18 of 103 ProSoft Technology Inc October 20 2008 Installing and Configuring the Module MVI46 DFCM SLC Platform DF1 Communication Module 2 Installing and Configuring the Module InThis Chapter Module Configuration eeceeeeececeenneeeeeeeeeeeeneeeeeeaeeeeseeeeeneneeeeneaas 21 MVI46 DFCM Configuration 0 eee eeseeeeeeeeeeeeeneeeeeenaeeeeeenaeeeenieeeeneaa 21 This chapter describes how to install and configure the module to work with your application The configuration process consists of the follo
115. ooting DF1 Communication Module 4 1 8 Database View Menu Press D from the Main Menu to open the Database View menu Use this menu command to view the current contents of the module s database Press to view a list of commands available on this menu D Database Menu Display Menu V Redisplays refre shes this menu o s Pagesows000 FY Selects page 0 1000 2000 or 3000 S Show Again Redisplays last selected page of data Back 5 Pages D Goes hack five pages of data P Previous Pase FY Goes back one page of data Skip 5 Pages Goes fomard five pages of data N Next Page Peete taan ll D DecimaiDiwey PA Displays data in decimal format T ee H Hexadecimal Display I Displays data in hexformat A ASCII Display P Displays data in test format Goes up one level to main menu xb Mi hain Menu Viewing Register Pages To view sets of register pages use the keys described below Command Description 0 Display registers 0 to 99 1 Display registers 1000 to 1099 2 Display registers 2000 to 2099 And so on The total number of register pages available to view depends on your module s configuration Displaying the Current Page of Registers Again DATABASE DISPLAY TO 99 lt DECIMAL gt 100 161 162 4 12 13 14 1 cs a a a a a a a a a i i eeeggeoqoun Seegqgcgegggnn Seqgegcoosaoge eeegcecggy Seeeqcese
116. or 7 from the Main Menu to view configuration information for ports 1 and 2 Use this command to display detailed configuration information for the selected port Exiting the Program 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 potential data loss or other failures Only use these commands if you are specifically directed to do so by ProSoft Technology 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 ROM to configure the module 4 1 6 Data Analyzer The data analyzer mode allows you to view all bytes of data transferred on each port Both the transmitted and received data bytes are displayed Use of this feature is limited without a thorough understanding of the protocol Note The Port selection commands on the Data Analyzer menu differs very slightly in different modules but the functionality is basically the same Use the illustration above as a general guide only Refer to the actual data analyzer menu on your module for the specific port commands to use Important W
117. ormation d A 10 restocking fee applies to all warranty credit returns whereby a Customer has an application change ordered too many does not need etc Page 94 of 103 ProSoft Technology Inc October 20 2008 Support Service amp Warranty MV1I46 DFCM SLC Platform 6 2 2 DF1 Communication Module Procedures for Return of Units Under Warranty A Technical Support Engineer must approve the return of Product under ProSoft s Warranty a A replacement module will be shipped and invoiced A purchase order will b 6 2 3 a b c be required Credit for a product under warranty will be issued upon receipt of authorized product by ProSoft at designated location referenced on the Return Material Authorization Procedures for Return of Units Out of Warranty Customer sends unit in for evaluation If no defect is found Customer will be charged the equivalent of 100 USD plus freight charges duties and taxes as applicable A new purchase order will be required If unit is repaired charge to Customer will be 30 of current list price USD plus freight charges duties and taxes as applicable A new purchase order will be required or authorization to use the purchase order submitted for evaluation fee The following is a list of non repairable units Or O 0 Or OF OO lt O2 OO lt 0 6 2 4 a 3150 All 3750 3600 All 3700 3170 All 3250 1560 Can be repaired only if defect
118. pecified in address than system supports 4092 0xF004 Symbol not found 4091 OxF005 Symbol is of improper format 4090 OxFO06 Address does not point to something usable 4089 OxF007 File is wrong size 4088 OxFO08 Cannot complete request 4087 OxFO09 Data or file is too large 4086 OxFOOA Transaction size plus word address is too large 4085 OxFO0B Access denied improper privilege 4084 OxFOOC Condition cannot be generated resource is not available 4083 0xFOOD Condition already exists resource is already available 4082 OxFOOE Command cannot be executed 4081 OxFOOF Histogram overflow 4080 0xF010 No access 4079 0xF011 Illegal data type 4078 0xF012 Invalid parameter or invalid data 4077 0xF013 Address reference exists to deleted area 4076 0xF014 Command execution failure for unknown reason 4075 0xF015 Data conversion error 4074 OxF016 Scanner not able to communicate with 1771 rack adapter 4073 OxFO17 Type mismatch 4072 OxF018 1171 module response was not valid 4071 0xF019 Duplicate label 4070 OxFO1A File is open another node owns it 4069 0xF01B Another node is the program owner 4068 OxF01C Reserved 4067 0xF01D Reserved 4066 OxFO1E Data table element protection violation 4065 OxFO1F Temporary internal problem ProSoft Technology Inc October 20 2008 Page 79 of 103 MVI46 DFCM SLC Platform Reference DF1 Communication Module 5 6 5 5 4 Module Specific Error not DFNT Compliant
119. r 43 Support Service amp Warranty 7 93 System Requirements 9 T The Configuration Debug Menu 35 Time Limit for Bringing Suit 99 Timer Counter 89 Transferring Module Configuration to the Processor 40 Troubleshooting 20 52 U User Data 71 Using the Configuration Debug Port 36 V Viewing Block Transfer Statistics 39 Viewing Communication Status 40 Viewing Data in ASCII Text Format 42 47 Viewing Data in Decimal Format 47 Viewing Data in Floating P oint Format 47 Viewing Data in Hexadecimal Format 42 47 Viewing Module Configuration 39 Page 102 of 103 ProSoft Technology Inc October 20 2008 Index MVI146 DFCM SLC Platform DF1 Communication Module Viewing Port Configuration 41 Viewing Register Pages 46 Viewing the Next 100 Registers of Data 47 Viewing the Next 20 Commands 48 Viewing the Next 50 Commands 49 Viewing the Next Page of Commands 48 49 Viewing the Previous 100 Registers of Data 47 Viewing the Previous 20 Commands 48 Viewing the Previous 50 Commands 49 Viewing the Previous Page of Commands 48 49 Viewing the Slave Status List Port 1 and 2 39 Viewing Version Information 40 W Warm Boot 63 Warm Booting the Module 40 What Is Covered By This Warranty 96 98 What Is Not Covered By This Warranty 96 Write Configuration 63 Y Your Feedback Please 2 ProSoft Technology Inc Page 103 of 103 Oct
120. r specifies the Command number of milliseconds to wait Delay between the initial issuance of a command This parameter can be used to delay all commands sent to slaves to avoid flooding commands on the network This parameter does not affect retries of a command as they will be issued when failure is recognized Valid value in the range of 0 to 65535 N32 56 5056 Command This parameter sets the address Error Pointer in the internal DF1 database where the command error data will be placed If the value is set to 1 the data will not be transferred to the database Valid value of 0 to 4999 N32 57 5057 Response This parameter represents the Timeout message response timeout period in 1 ms increments This is the time that a port configured as a master will wait before re transmitting a command if no response is received from the addressed slave The value is set depending upon the communication network used and the expected response time of the slowest device on the network N10 45 46 N10 46 47 N10 47 48 N10 48 49 Page 28 of 103 ProSoft Technology Inc October 20 2008 Installing and Configuring the Module MVI46 DFCM SLC Platform DF1 Communication Module Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N10 49 50 N32 58 5058 Retry Count This parameter specifies the number of times a command will be retried if it fails
121. re active nevertheless Please be careful when pressing keys so that you do not accidentally execute an unwanted command Press W from the Main Menu to warm boot restart the module This command will cause the program to exit and reload refreshing configuration parameters that must be set on program initialization Only use this command if you must force the module to re boot Transferring Module Configuration to the Processor Press Y to transfer the module s configuration data to the processor Ladder logic is required in the processor to receive and implement the updated configuration You will be prompted to confirm the transfer If the operation is not successful an error code will be returned Code Description 0 Transfer successful 1 Error transferring module configuration data block 9000 2 Error transferring device definition data blocks 9100 to 9103 3 Error transferring master command list data blocks 6000 to 6007 After successful data transfer the module will perform a warm boot operation to read in the new data Viewing Communication Status Press 1 to view the communication status and statistics of the DF1 Network for the module s node address This command is useful for troubleshooting purposes Page 40 of 103 ProSoft Technology Inc October 20 2008 Diagnostics and Troubleshooting MVI46 DFCM SLC Platform DF1 Communication Module Viewing Port Configuration Press 6
122. rements The MVI46 DFCM module requires the following minimum hardware and software components Rockwell Automation SLC 5 02 MO M1 capable processors or newer with compatible power supply and one free slot in the rack for the MVI46 DFCM module The module requires 800mA of available power Rockwell Automation RSLogix 500 programming software Rockwell Automation RSLinx communication software Pentium II 500 MHz minimum Pentium III 733 MHz or better recommended Supported operating systems o Microsoft Windows 98 o Windows NT version 4 with SP4 or higher o Windows 2000 o Windows XP 32 Mbytes of RAM minimum 64 Mbytes of RAM recommended 50 Mbytes of free hard disk space or more based on application requirements ProSoft Technology Inc Page 9 of 103 October 20 2008 MVI46 DFCM SLC Platform Start Here DF1 Communication Module 16 color VGA graphics adapter 640 x 480 minimum resolution 256 Color 800 x 600 recommended CD ROM drive 3 5 inch floppy disk drive HyperTerminal or other terminal emulator program capable of file transfers using Ymodem protocol 1 2 Package Contents The following components are included with your MVI46 DFCM module and are all required for installation and configuration Important Before beginning the installation please verify that all of the following items are present Qty Part Name Part Number Part Description 1 MVI46 DFCM MVI46 DFCM DF1
123. rks in the Data Analyzer screen Viewing Data in Hexadecimal Format Press H to display the data on the current page in hexadecimal format Viewing Data in ASCII Text Format Press A to display the data on the current page in ASCII format This is useful for regions of the database that contain ASCII data Starting the Data Analyzer Press B to start the data analyzer After the key is pressed all data transmitted and received on the currently selected port will be displayed An example display is shown below lt R gt lt 681 gt lt 83 gt lt 8G gt lt 60 gt lt 88 gt lt HA gt lt C5 gt lt CD gt lt R gt _TT_ 61 63 14 G0 00 99 90 998 99 _TT_ 688 68 66 66 66 60 66 66 96 60 66 66 G6 G0 A3 67 _TT_ lt R gt lt 61 gt lt 83 gt lt 88 gt lt 88 gt lt 86 gt lt 6A gt lt C5 gt lt CD gt lt R gt _TT_ 61 63 14 68 66 66 06 46 6 66 48 00 60 66 00 60 66 60 TT 66 06 60 60 86 A3 67 TT lt R gt lt 01 gt lt 03 gt lt 00 gt lt 00 gt lt 66 gt lt 0A gt lt C5 gt lt CD gt lt R gt _TT_ 61 63 14 6 60 66 66 60 60 06 00 06 08 86 66 66 66 66 TT 60 60 66 60 60 AS 67 _TT_ lt R gt lt O1 gt lt 03 gt lt G0 gt lt 06 gt lt 00 gt lt 8A gt lt C5 gt lt CD gt lt R gt _TT_ 61 63 14 66 66 60 66 86 TT G6 96 96 96 66 96 66 66 66 60 66 66 66 aali 66 AS 67 TT lt R gt
124. t attached to a terminal emulator LED status indicators on the front of the module provide information on the module s status Reading Status Data from the Module The MVI46 DFCM module contains a 33 word Status Data block that can be used to determine the module s operating status This data is located in the module s database at registers 7600 N45 0 to 7632 N45 32 and at the location specified in the configuration This data can be transferred to the SLC processor continuously with use of ladder logic For a complete listing of the status data object refer to MVI46 DFCM STATUS DATA DEFINITION Refer to Diagnostics amp Troubleshooting page 35 for a discussion of the features available through the use of this utility 4 1 1 The Configuration Debug Menu The Configuration and Debug menu for this module is arranged as a tree structure with the Main Menu at the top of the tree and one or more sub menus for each menu command The first menu you see when you connect to the module is the Main menu Because this is a text based menu system you enter commands by typing the command letter from your computer keyboard in the terminal application for example HyperTerminal The module does not respond to mouse movements or clicks The command executes as soon as you press the command letter you do not need to press Enter When you type a command letter a new screen will be displayed in your terminal application ProSoft Technol
125. t to Y then a jumper is required between the RTS and the CTS line on the module connection ProSoft Technology Inc Page 75 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module 5 3 3 RS 422 RS 422 Application Port Cable DB 9 Male RS 422 Device TxD s ro Signal Signal Common Common RxD 2 ro RxD s H tw 5 3 4 RS 485 The RS 485 interface requires a single two or three wire cable The Common connection is optional and dependent on the RS 485 network The cable required for this interface is shown below RS 485 Application Port Cable DB 9 Male RS 485 Device TxD RxD TxD RxD TxD RxD s HK TxD RxD Signal 5 Signal Common Common Note Terminating resistors are generally not required on the RS 485 network unless you are experiencing communication problems that can be attributed to signal echoes or reflections In this case install a 120 ohm terminating resistor on the RS 485 line RS 485 and RS 422 Tip If communication in the RS 422 RS 485 mode does not work at first despite all attempts try switching termination polarities Some manufacturers interpret and A B polarities differently Page 76 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module 5 3 5 DB9 to RJ45 Adaptor Cable 14 Cable Assembly J1 J2
126. tate of California ProSoft Technology Inc Page 99 of 103 October 20 2008 MVI46 DFCM SLC Platform Support Service amp Warranty DF1 Communication Module Page 100 of 103 ProSoft Technology Inc October 20 2008 Index Index A All Product Returns 94 Allocation of Risks 99 Analyzing Data for the first application port 41 Analyzing Data for the second application port 41 B Backplane Configuration 22 Backplane Data Transfer 56 Backplane Parameters 69 Basic Command Set Functions 65 Battery Life Advisory 2 BT 90 C Cable Connections 71 Changing Parameters During Operation 21 Clearing a Fault Condition 51 Cold Boot 63 Command Control 32 62 Command Control Block 61 Command Function Codes 81 Configuration Data 69 Configuration Data Transfer 58 Configuring RSLinx 15 Connect your PC to the Module 17 Connect your PC to the Processor 13 Control 89 Controlling Law and Severability 99 ControlLogix Processor Specifics 91 D Data Analyzer 41 Data Analyzer Tips 43 Data Flow between MV146 DFCM Module and SLC Processor 64 Database View Menu 46 DB9 to RJ 45 Adaptor Cable 14 77 DF1 Command List Form 92 DF1 Command Set For ProS oft Technology Communication Modules 80 DF1 Master Commands 68 70 Diagnostics and Troubleshooting 7 20 35 Disabling the RSLinx Driver for the Com Port on the PC 37 72 Disclaimer of all O
127. that has been configured for the module Verify that the slot in the rack configuration has been set up correctly in the ladder logic Processor I O LED flashes This indicates a problem with backplane communications Verify that all modules in the rack are configured in the ladder logic Module Errors Problem Description Steps to take BP ACT LED remains off or blinks slowly This indicates that backplane transfer operations are failing Connect to the module s Configuration Debug port to check this To establish backplane communications verify the following items The processor is in Run mode The backplane driver is loaded in the module The module is configured for read and write block data transfer The ladder logic handles all read and write block situations The module is configured in the processor OK LED remains red The program has halted or a critical error has occurred Connect to the Configuration Debug port to see if the module is running If the program has halted turn off power to the rack remove the card from the rack and re insert the card in the rack and then restore power to the rack Page 52 of 103 ProSoft Technology Inc October 20 2008 Reference MVI46 DFCM SLC Platform DF1 Communication Module 5 Reference InThis Chapter 4 Product Specifications ccccccccsssescscsceeeeeaeaeseaeaeaeaeaeseaeaeaeaeaeaeaeaeaeaes 53 Functional OVErview
128. the Slave Status List Port 1 and 2 Press O port 1 or P port 2 to view the 256 slave status values associated with the ports The slave status values are defined as follows 0 slave is not used 1 slave being actively polled 2 slave suspended and 3 slave disabled ProSoft Technology Inc Page 39 of 103 October 20 2008 MVI46 DFCM SLC Platform Diagnostics and Troubleshooting DF1 Communication Module Viewing Version Information Press V to view Version information for the module Use this command to view the current version of the software for the module as well as other important values You may be asked to provide this information when calling for technical support on the product Values at the bottom of the display are important in determining module operation The Program Scan Counter value is incremented each time a module s program cycle is complete Tip Repeat this command at one second intervals to determine the frequency of program execution Warm Booting the Module 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 potential data loss or other failures Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff Some of these command Keys are not listed on the menu but a
129. the first command in the master command list The structure of this data area is as described in the data object section of the documentation N16 12 to 1269 to 1280 N39 12 to 6412 to Command 2 Command 2 data set N16 23 N39 23 6423 2445 to 2456 N44 188 to 7588 to Command 100 Command 100 data set N44 199 7599 2 2 6 Miscellaneous Status This section contains a description of the data present in the status data area This data is constantly transferred from the module to the M1 data area Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description IA IA 45 0 7600 Program Scan This value is incremented each time a Count complete program cycle occurs in the module IA IA 45 1 7601 Product Code These two registers contain the product A JA 45 2 7602 code of DFCM IA IA 45 3 7603 Product Version These two registers contain the product JA iA 45 4 7604 version for the currently running i software IA IA 45 5 7605 Operating These two registers contain the month N A N A 45 6 7606 System and year values for the program operating system IA IA 45 7 7607 Run Number These two registers contain the run N A N A 45 8 7608 number value for the currently running software Page 30 of 103 ProSoft Technology Inc October 20 2008 Installing and Configuring the Module MVI46 DFCM SLC Platform DF1 Communication Module D
130. ther Warranties 98 Disclaimer Regarding High Risk Activities 97 Displaying the Current Page of Registers Again 46 Displaying Timing Marks in the Data Analyzer 42 Download the Sample Program to the Processor 14 MVI46 DFCM SLC Platform DF1 Communication Module E Error Codes 78 Errors When EXT STS Is Present 79 Event Command 61 Exiting the Program 41 F Function Code 1 Protected Write Basic Command Set 81 Function Code 100 Word Range Write PLC 5 Command Binary Address 83 Function Code 101 Word Range Read PLC 5 Command Binary Address 84 Function Code 102 Read Modify Write PLC 5 Command Binary Address 84 Function Code 150 Word Range Write PLC 5 Command ASCII Address 85 Function Code 151 Word Range Read PLC 5 Command ASCII Address 85 Function Code 152 Read Modify Write PLC 5 Command ASCII Address 86 Function Code 2 Unprotected Read Basic Command Set 81 Function Code 3 Protected Bit Write Basic Command Set 82 Function Code 4 Unprotected Bit Write Basic Command Set 82 Function Code 5 Unprotected Write Basic Command Set 83 Function Code 501 Protected Typed Logical Read Two Address Fields 86 Function Code 502 Protected Typed Logical Read Three Address Fields 87 Function Code 509 Protected Typed Logical Write Two Address Fields 87 Function Code 510 Protected Typed Logical Write Thr
131. tood to be the complete and exclusive agreement between the parties suspending all oral or written prior agreements and all other communications between the parties relating to the subject matter of this Warranty including statements made by salesperson No employee of ProSoft or any other party is authorized to make any warranty in addition to those made in this Warranty The Customer is warned therefore to check this Warranty carefully to see that it correctly reflects those terms that are important to the Customer 6 3 9 Allocation of Risks This Warranty allocates the risk of product failure between ProSoft and the Customer This allocation is recognized by both parties and is reflected in the price of the goods The Customer acknowledges that it has read this Warranty understands it and is bound by its Terms 6 3 10 Controlling Law and Severability This Warranty shall be governed by and construed in accordance with the laws of the United States and the domestic laws of the State of California without reference to its conflicts of law provisions If for any reason a court of competent jurisdiction finds any provisions of this Warranty or a portion thereof to be unenforceable that provision shall be enforced to the maximum extent permissible and the remainder of this Warranty shall remain in full force and effect Any cause of action with respect to the Product or Services must be instituted in a court of competent jurisdiction in the S
132. type of commands to be issued to the other nodes on the DF1 network Refer to the MVI46 DFCM Module Set Up Guide 2 After configuration the Master driver begins transmitting read and or write commands to the other nodes on the network If writing data to another node the data for the write command is obtained from the module s internal database to build the command ProSoft Technology Inc Page 67 of 103 October 20 2008 MVI46 DFCM SLC Platform Reference DF1 Communication Module Step Description 3 Presuming successful processing by the node specified in the command a response message is received into the Master driver for processing 4 Data received from the node on the network is passed into the module s internal database and the M1 file assuming a read command 5 Status is returned to the SLC processor for each command in the Master Command List Refer to DF1 Master Commands page 70 for a complete description of the parameters required to define the virtual DF1 master port Refer to the DF1 Command Set for ProSoft Technology Communication Modules documentation for a complete discussion of the structure and content of each command Care must be taken in constructing each command in the list for predictable operation of the module If two commands write to the same internal database address of the module the results will not be as desired All commands containing invalid data will be ignored by the modul
133. ures occur N10 5 6 N32 5 5005 Error Status This parameter specifies the register Pointer location in the module s database where module status data will be stored Ifa value less than 0 is entered the data will not be stored in the database If the value specified is in the range of 0 to 4940 the data will be placed in the user data area N A N A N32 6 5006 Spare Not used N A N A N32 7 5007 Spare Not used N A N A N32 8 5008 Spare Not used N A N A N32 9 5009 Spare Not used Page 22 of 103 ProSoft Technology Inc October 20 2008 Installing and Configuring the Module 2 2 2 Port 1 Setup Database in SLC Database in MVI46 DFCM MVI46 DFCM SLC Platform DF1 Communication Module File MO Offset File Register Content Description N10 6 7 N32 10 5010 Enable This parameter defines if this port will be utilized If the parameter is set to 0 the port is disabled A value of 1 will enable the port N10 7 N32 11 5011 Type This parameter defines if the port will emulate a master or slave device Enter 0 to emulate a master device and 1 to emulate a slave device N10 8 N32 12 5012 Local Station ID This parameter specifies the local station ID for all DF1 messages sent from this master port A value of 255 is not permitted as this is the broadcast address Valid value in the range of 0 to 254 N10 9 10 N32 13 5013 Protocol 0 full duplex 1 half duplex N10 10
134. uring the Module MVI46 DFCM SLC Platform DF1 Communication Module Database in SLC Database in MVI46 DFCM File MO Offset File Register Content Description N10 35 36 N32 44 5044 Termination This parameter specifies the error Type checking for all DF1 messages 0 BCC 1 CRC N10 36 37 N32 45 5045 Baud Rate This is the baud rate to be used on the port Enter the baud rate as a value Baud Parameter Value Rate 110 110 150 150 300 300 600 600 1200 12 or 1200 2400 24 or 2400 4800 48 or 4800 9600 96 or 9600 14 400 14 114 or 14400 19 200 19 192 or 19200 28 800 28 288 or 28800 38 400 38 384 or 38400 57 600 57 or 576 115 200 115 or 1152 N10 37 38 N32 46 5046 Parity This is the Parity code to be used for the port The coded values are as follows 0O None 1 Odd 2 Even 3 Mark and 4 Space N10 38 39 N32 47 5047 Data Bits This parameter sets the number of data bits for each word used by the protocol Valid value in the range of 5 to 8 N10 39 40 N32 48 5048 Stop Bits This parameter sets the number of stop bits to be used with each data value sent Valid value of 1 or 2 N10 40 41 N32 49 5049 Minimum This parameter sets the number Response of milliseconds to wait before a Delay response message is sent out of the port This parameter is required when interfacing to a slow responding device Valid value in the range of 0 to 65535 N
135. wing steps 1 Use RSLogix 500 to identify the module to the processor and add the module to a project Note The RSLogix 500 software must be in offline mode to add the module to a project 2 Modify the example ladder logic to meet the needs of your application and copy the ladder logic to the processor Example ladder logic files are provided on the CD ROM Note If you are installing this module in an existing application you can copy the necessary elements from the example ladder logic into your application The rest of this chapter describes these steps in more detail First define the module to the system Select the I O Configuration option from the program screen This will display the following dialog box 1 0 Configuration BEI Raks m Current Cards Available 1 174644 45ltRack Z Filter an0 7 _Read I0 Config 1746 0BP8 8 Dutput 2 AJ TRANS SRC 24VDC 3 1 0 Rack Not Installed z 1746 0BP16 16 Dutput 1 AJITRANS SRC 24VDC 1746 0G16 16 Output TTL SINK 5YDC 1 746 08 8 Output TRANS SINK 10 50 DC 746 016 16 Output TRANS SINK 10 50 VDC 1746 0 P16 16 Output 1 A TRANS SINK 24VDC 746 032 32 Output TRANS SINK 10 50 YDC 746 04 4 Output RLY 240 VAC 746 08 8 Output RLY 240 VAC 1 746 0 W16 16 Output RLY 240 VAC 1746 0x8 8 Dutput Isolated Relay 1746 05 Synchronized Axes Module 1746 0V Open Loop Velocity Control 1747 RCIF Robot Control Interface Module 1747 SCNR ControlNet S
136. wo data areas can be allocated in the SLC to hold the polling status of each slave on the master ports This status data can be used to determine which slaves are currently active on the port are in communication error or have their polling suspended and disabled If the configuration supplies an address where this data resides copy the data from the M1 file to the reserved files in the SLC Using special blocks the processor can enable or disable the polling of selected slaves 5 3 Cable Connections The application ports on the MVI46 DFCM module support RS 232 RS 422 and RS 485 interfaces Please inspect the module to ensure that the jumpers are set correctly to correspond with the type of interface you are using Note When using RS 232 with radio modem applications some radios or modems require hardware handshaking control and monitoring of modem signal lines Enable this in the configuration of the module by setting the UseCTS parameter to 1 5 3 1 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 data in the module and to control the module The cable for communications on this port is shown in the following diagram RS 232 Config Debug Port Cable DB 9 Male Config Debug Port RxD 2 to TxD 3 ro com 5 _ _ com ProSoft Technology Inc
Download Pdf Manuals
Related Search
Related Contents
Accessories: Honeywell 3700-DEM User Manual Prosoft WARNING! - Safety 1st Affordable accessories for your two-way radios MPI-D, MPI-DN GE 21 Refrigerator User Manual Easypix V130-A Smile 取扱説明白 Copyright © All rights reserved.
Failed to retrieve file