ProSoft Technology MVI56-DFCMR User Manual

MVI56-DFCMR
ControlLogix Platform
DF1 Interface Module with Reduced Data Block
10/20/2008
USER MANUAL
Successful application of this module requires a reasonable working knowledge of the Rockwell Automation ControlLogix hardware, the MVI56-DFCMR 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 represent 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.
Warnings
UL Warnings
A Warning - Explosion Hazard - Substitution of components may impair suitability for Class I, Division 2. B Warning - Explosion Hazard - When in Hazardous Locations, turn off power before replacing or rewiring
modules. Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is known to be nonhazardous.
C Suitable for use in Class I, division 2 Groups A, B, C and D Hazardous Locations or Non-Hazardous Locations.
ATEX Warnings and Conditions of Safe Usage:
Power, Input, and Output (I/O) wiring must be in accordance with the authority having jurisdiction
A Warning - Explosion Hazard - When in hazardous locations, turn off power before replacing or wiring modules. B Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is
known to be non-hazardous.
C These products are intended to be mounted in an IP54 enclosure. The devices shall provide external means to
prevent the rated voltage being exceeded by transient disturbances of more than 40%. This device must be used only with ATEX certified backplanes.
D DO NOT OPEN WHEN ENERGIZED.
Electrical Ratings
Backplane Current Load: 800 mA @ 5 V DC; 3mA @ 24V DC  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; Vibration: 5 g from 10 to 150 Hz  Relative Humidity 5% to 95% (non-condensing)  All phase conductor sizes must be at least 1.3 mm(squared) and all earth ground conductors must be at least
4mm(squared).
Markings:
II 3 G 0C <=Ta<= 60C EEx nA IIC T4 DEMKO 07ATEX0710717X
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.
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
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-technology.com
Copyright © ProSoft Technology, Inc. 2000 - 2008. All Rights Reserved.
MVI56-DFCMR User Manual 10/20/2008
ProSoft Technology ®, ProLinx ®, inRAx ®, ProTalk® and RadioLinx ® are Registered Trademarks of ProSoft Technology, Inc.
Contents MVI56-DFCMR ♦ ControlLogix Platform DF1 Interface Module with Reduced Data Block
Contents
Please Read This Notice 2
Warnings ............................................................................................................................................. 2
Battery Life Advisory ...........................................................................................................................3
ProSoft® Product Documentation....................................................................................................... 3
Your Feedback Please........................................................................................................................ 3
Guide to the MVI56-DFCMR User Manual 7
1 Start Here 9
1.1 System Requirements ............................................................................................... 9
1.2 Package Contents ...................................................................................................10
1.3 Setting Jumpers ......................................................................................................11
1.4 Install the Module in the Rack .................................................................................12
1.5 Connect your PC to the Processor.......................................................................... 13
1.6 Open the Sample Ladder Logic ..............................................................................14
1.7 Download the Sample Program to the Processor................................................... 18
1.8 Connect your PC to the Module ..............................................................................19
2 Installing and Configuring the Module 21
2.1 Modifying the Configuration Data............................................................................ 25
2.2 Configuration Data ..................................................................................................27
3 Ladder Logic 37
3.1 Configuration Objects..............................................................................................37
3.2 Module Data Object (DFCMModuleDef) ................................................................. 41
3.3 Status Object (DFCMInStat)....................................................................................42
3.4 User Data Objects ...................................................................................................43
3.5 Slave Polling Control and Status............................................................................. 43
4 Diagnostics and Troubleshooting 45
4.1 Reading Status Data from the Module .................................................................... 45
4.2 LED Status Indicators..............................................................................................60
5 Reference 63
5.1 Product Specifications.............................................................................................63
5.2 Functional Overview................................................................................................65
5.3 Cable Connections ..................................................................................................79
5.4 MVI56-DFCMR Database Definition ....................................................................... 85
5.5 MVI56-DFCMR Status Data Definition....................................................................85
5.6 Error Codes .............................................................................................................87
ProSoft Technology, Inc. Page 5 of 113 October 20, 2008
Contents MVI56-DFCMR ♦ ControlLogix Platform DF1 Interface Module with Reduced Data Block
5.7 DF1 Command Set For ProSoft Technology Communication Modules................. 89
5.8 DF1 Command List Form ..................................................................................... 101
6 Support, Service & Warranty 103
6.1 How to Contact Us: Technical Support................................................................. 103
6.2 Return Material Authorization (RMA) Policies and Conditions............................. 104
6.3 LIMITED WARRANTY.......................................................................................... 106
Index 111
Page 6 of 113 ProSoft Technology, Inc. October 20, 2008
Start Here MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
Guide to the MVI56-DFCMR User Manual
Function Section to Read Details
Introduction
(Must Do)
Verify Communication, Diagnostic and Troubleshooting
Reference
Product Specifications
Functional Overview
Glossary
Support, Service, and Warranty
Index
Start Here (page 9)
Verifying Communication (page 60)
Diagnostics and Troubleshooting (page 45)
Reference (page 63)
Functional Overview (page 65)
Product Specifications (page
63)
Support, Service and Warranty (page
103)
This Section introduces the customer to the module. Included are: package contents, system requirements, hardware installation, and basic configuration.
This section describes how to verify communications with the network. Diagnostic and Troubleshooting procedures.
These sections contain general references associated with this product, Specifications, and the Functional Overview.
This section contains Support, Service and Warranty information.
Index of chapters.
ProSoft Technology, Inc. Page 7 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Start Here DF1 Interface Module with Reduced Data Block
Page 8 of 113 ProSoft Technology, Inc.
October 20, 2008
Start Here MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
1 Start Here
In This Chapter
System Requirements .............................................................................9
Package Contents .................................................................................10
Setting Jumpers ....................................................................................11
Install the Module in the Rack ...............................................................12
Connect your PC to the Processor ........................................................ 13
Open the Sample Ladder Logic............................................................. 14
Download the Sample Program to the Processor.................................. 18
Connect your PC to the Module ............................................................19
Installing the MVI56-DFCMR module requires a reasonable working knowledge of the Rockwell Automation hardware, the MVI56-DFCMR Module and the application in which they will be used.
Caution: It is important that those responsible for implementati on can complete the application without exposing personnel, or equipment, to unsafe or inappropriate working conditions. Safety, quality and experience ar e key factors in a successful installation.
1.1 System Requirements
The MVI56-DFCMR module requires the following minimum hardware and software components:
Rockwell Automation ControlLogix™ processor, with compatible power
supply and one free slot in the rack, for the MVI56-DFCMR module. The module requires 800mA of available power.
Rockwell Automation RSLogix 5000 programming software version 2.51 or
higher.
Rockwell Automation RSLinx communication software Pentium® II 450 MHz minimum. Pentium III 733 MHz (or better)
recommended
Supported operating systems:
o Microsoft Windows XP Professional with Service Pack 1 or 2 o Microsoft Windows 2000 Professional with Service Pack 1, 2, or 3 o Microsoft Windows Server 2003
128 Mbytes of RAM minimum, 256 Mbytes of RAM recommended 100 Mbytes of free hard disk space (or more based on application
requirements)
ProSoft Technology, Inc. Page 9 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Start Here DF1 Interface Module with Reduced Data Block
256-color VGA graphics adapter, 800 x 600 minimum resolution (True Color
1024 × 768 recommended)
CD-ROM drive ProSoft Configuration Builder, HyperTerminal or other terminal emulator
program.
Note: You can install the module in a local or remote rack. For remote rack installation, the modul e requires EtherNet/IP or ControlNet communication with the processor.
1.2 Package Contents
The following components are included with your MVI56-DFCMR 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
1 Cable
3 Cable
2 Adapter 1454-9F
1
MVI56­DFCMR Module
ProSoft Solutions CD
MVI56-DFCMR DF1 Interface Module with Reduced Data Block
Cable #15, RS232 Null Modem
Cable #14, RJ45 to DB9 Male Adapter cable
For RS232 Connection to the CFG Port
For DB9 Connection to Module's Port
Two Adapters, DB9 Female to Screw Terminal. For RS422 or RS485 Connections to Port 1 and 2 of the Module
Contains sample programs, utilities and documentation for the MVI56-DFCMR module.
If any of these components are missing, please contact ProSoft Technology Support for replacement parts.
Page 10 of 113 ProSoft Technology, Inc.
October 20, 2008
Start Here MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
1.3 Setting Jumpers
If you use an interface other than RS-232 (default), you must change the jumper configuration to match the interface. There are three jumpers located at the bottom of the module.
The following illustration shows the MVI56-DFCMR jumper configuration:
1 Set the PRT 2 (for application port 1) and PRT 3 (for application port 2)
jumpers for RS232, RS422 or RS485 to match the wiring needed for your application. The default jumper setting for both application ports is RS-232.
2 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.
ProSoft Technology, Inc. Page 11 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Start Here DF1 Interface Module with Reduced Data Block
1.4 Install the Module in the Rack
If you have not already installed and configured your ControlLogix processor and power supply, please do so before installing the MVI56-DFCMR module. Refer to your Rockwell Automation product documentation for installation instructions.
Warning: You must follow all safety instructions when installing this or any other electronic devices. Failure to follow safety procedures could result 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 ar e in place before installing or servicing the device.
After you have checked the placement of the jumpers, insert MVI56-DFCMR into the ControlLogix chassis. Use the same technique recommended by Rockwell Automation to remove and install ControlLogix modules.
Warning: When you insert or remove the module while backplane power is on, an electrical arc can occur. This could cause an explosion in hazardous location installations. Verify that power is removed or the area is non-hazardous before proceeding. Repeated electrical arcing causes excessive wear to contacts on both the module and its mating connector. Worn contacts may create electrical resistance that can affect module operation.
1 Turn power OFF. 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.
Page 12 of 113 ProSoft Technology, Inc.
October 20, 2008
Start Here MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
4 Check that the holding clips on the top and bottom of the module are securely
in the locking holes of the rack.
5 Make a note of the slot location. You will need to identify the slot in which the
module is installed in order for the sample program to work correctly. Slot numbers are identified on the green circuit board (backplane) of the ControlLogix rack.
6 Turn power ON.
Note: If you insert the module improperly, the system may stop working, or may behave unpredictably. Note: If you are installing MVI56-DFCMR with other modul es connected to the PCI bus, the peripheral modules will not have holding clips. Make sure all of the modules are ali gned with their respective slots before you snap them into place.
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.
2 Connect the straight connector end of the cable to the serial port on your
computer.
ProSoft Technology, Inc. Page 13 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Start Here DF1 Interface Module with Reduced Data Block
1.6 Open the Sample Ladder Logic
The sample program for your MVI56-DFCMR module includes custom tags, data types and ladder logic for data I/O and status monitoring. For most applications, you can run the sample ladder program without modification, or, for advanced applications, you can incorporate the sample program into your existing application.
The inRAx Solutions CD provides one or more versions of the sample ladder logic. The version number appended to the file name corresponds with the firmware version number of your ControlLogix processor. The firmware version and sample program version must match.
1.6.1 To Determine the Firmware Version of your Processor
Important: The RSLinx service must be installed and running on your computer in order for RSLogix to communicate with the processor. Refer to your RSLinx and RSLogix documentation for help configuring and troubleshooting these applications.
1 Connect an RS-232 serial cable from the COM (serial) port on your PC to the
communication port on the front of the processor.
2 Start RSLogix 5000 and close any existing project that may be loaded. 3 Open the Communications menu and choose Go Online. RSLogix will
establish communication with the processor. This may take a few moments.
4 When RSLogix has established communication with the processor, the
Connected To Go Online dialog box will open.
Page 14 of 113 ProSoft Technology, Inc.
October 20, 2008
Start Here MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
5 On the Connected To Go Online dialog box, click the General tab. This tab
shows information about the processor, including the Revision (firmware) version. In the following illustration, the firmware version is 11.32
1.6.2 Select the Slot Number for the Module
The sample application is for a module installed in Slot 1 in a ControlLogix rack. The ladder logic uses the slot number to identify the module. If you are installing the module in a different slot, you must update the ladder logic so that program tags and variables are correct, and do not conflict with other modules in the rack.
To change the slot number
1 In the Controller Organization list, select the module [1] 1756-MODULE
MVI56, and then click the right mouse button to open a shortcut menu.
2 On the shortcut menu, choose Properties. This action opens the Module
Properties dialog box.
ProSoft Technology, Inc. Page 15 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Start Here DF1 Interface Module with Reduced Data Block
3 In the Slot: field, use the spinners on the right side of the field to select the
slot number where the module will reside in the rack, and then click OK.
RSLogix will automatically apply the slot number change to all tags, variables and ladder logic rungs that use the MVI56-DFCMR slot number for computation.
1.6.3 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.
This action opens the Configure Drivers dialog box.
Note: If the list of configured drivers is blank, you must first choose and configure a driver from the Available Driver Types list. The recommended driv er type to choose for serial communicatio n with the processor is "RS-232 DF1 Devices".
Page 16 of 113 ProSoft Technology, Inc.
October 20, 2008
Start Here MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
3 Click to select the driver, and then click Configure. This action opens the
Configure Allen-Bradley DF1 Communications Device dialog box.
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 correc tly between the processor and the serial port on your computer, and then try again. If you ar e still unable to auto-configure the port, refer to yo ur RSLinx documentation for further troubleshooti ng steps.
ProSoft Technology, Inc. Page 17 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Start Here DF1 Interface Module with Reduced Data Block
1.7 Download the Sample Program to the Processor
Note: The key switch on the front of the ControlLogix module must be in the REM position.
To download the sample program from RSLogix 5000 to the ControlLogix processor
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.
2 When communication is established, RSLogix will open a confirmation dialog
box. Click the Download button to transfer the sample program to the processor.
3 RSLogix will compile the program and transfer it to the processor. This
process may take a few minutes.
4 When the download is complete, RSLogix will open another confirmation
dialog box. Click OK to switch the processor from Program mode to Run mode.
Note: If you receive an error message during these steps, refer to your RSLogix documentation to interpret and correct the error.
Page 18 of 113 ProSoft Technology, Inc.
October 20, 2008
Start Here MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
1.8 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.
ProSoft Technology, Inc. Page 19 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Start Here DF1 Interface Module with Reduced Data Block
Page 20 of 113 ProSoft Technology, Inc.
October 20, 2008
Installing and Configuring the Module MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
2 Installing and Configuring the Module
In This Chapter
Modifying the Configuration Data ..........................................................25
Configuration Data ................................................................................27
This chapter describes how to install and configure the module to work with your application. The configuration process consists of the following steps.
1 Use RSLogix 5000 to identify the module to the processor and add the
module to a project.
Note: The RSLogix 5000 software must be in "offline" mode to a dd 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 existin g 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. Right-click the mouse button on the I/O Configuration option in the Controller Organization window to display a pop-up
menu. Select the New Module option from the I/O Configuration menu.
ProSoft Technology, Inc. Page 21 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Installing and Configuring the Module DF1 Interface Module with Reduced Data Block
This action opens the following dialog box.
Select the 1756-Module (Generic 1756 Module) from the list and click the OK
button. The following dialog box appears:
Page 22 of 113 ProSoft Technology, Inc.
October 20, 2008
Installing and Configuring the Module MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
Fill in the dialog box as shown adjusting the Name, Description and Slot options
for your application. You must select the Comm Format as Data - INT in the dialog box. Failure to set the Assembly Instance and Size values correctly will
result in a module that will not communicate over the backplane of the
ControlLogix rack. Click the OK button to display the next dialog box.
Select the Request Packet Interval value for scanning the I/O on the module. This value represents the minimum frequency that the module will handle scheduled events. This value should not be set to less than 1 millisecond. Values between 1 and 10 milliseconds should work with most applications.
After completing the module setup, the Controller Organization window displays the module's presence. The data required for the module will be defined to the application, and objects will be allocated in the Controller Tags data area.
ProSoft Technology, Inc. Page 23 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Installing and Configuring the Module DF1 Interface Module with Reduced Data Block
Next, define the User Defined Data Types to be used with the module. Copy these data types from the example ladder logic if you are not using the example. They will be defined if you are starting from the example ladder logic. The Controller Organization window should display the User Defined Data Types shown in the following example:
Next, define the data tag to be used to interface with the module and the ladder logic. Open the Controller Tags Edit Tags dialog box and enter the values shown in the following example. The MVI56-DFCMR module is defined in the example as DFCM1. You can set the tag name to any valid tag name you desire. If you are using the example ladder logic, this step has already been performed.
At this point, take the time to fill in the configuration values in the DFCM1 data table and adjust array sizes. Refer to the Module Data Object section of this document for information on configuring the module.
Page 24 of 113 ProSoft Technology, Inc.
October 20, 2008
Installing and Configuring the Module MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
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 ladder logic shown in the Controller Organization window below to the application.
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 places 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 should remain on and the backplane activity LED (BP ACT) should blink very rapidly. Refer to the Diagnostics and Troubleshooting section if you encounter errors.
Attach a computer or terminal to Port 1 on the module and look at the status of the module using the Configuration/Debug Menu in the module.
2.1 Modifying the Configuration Data
In order for the MVI56-DFCMR 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 module will require, depending on the operating modes to be supported.
Block Range
9000 Data Transfer
9001 Master and Slave Port 1 Configuration
Functional Modes Affected
Name Description
Backplane Configuration
This section of the configuration data contains the module configuration data that defines the data transfer between the module and the ControlLogix processor.
This section defines the characteristics of the DF1 serial communication port 1 on the module. These parameters must be set correctly for proper module operation.
ProSoft Technology, Inc. Page 25 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Installing and Configuring the Module DF1 Interface Module with Reduced Data Block
Block Range
9002 Master and Slave Port 2 Configuration
6000 to 6033
6100 to 6133
7000 to 7004
7100 to 7104
Functional Modes Affected
Master Port 1 Command List
Master Port 2 Command List
Master and Slave
Master and Slave
Name Description
Port 1 Override File Map
Port 2 Override File Map
This section defines the characteristics of the DF1 serial communication port 2 on the module. These parameters must be set correctly for proper module operation.
If the module's Master Mode functionality is to be supported on a port, the Master Command List must be set up.
If the module's Master Mode functionality is to be supported on a port, the Master Command List must be set up.
Overrides default file maps. Used when the module is a DF1 slave device.
Overrides default file maps
Refer to the Modifying the Module Configuration section for a description of the
configuration of the module. The MVI56-DFCMR 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 database as displayed in the table above. These values are initialized when the module first receives its configuration from the ControlLogix 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 this 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 ControlLogix processor. Ladder logic must exist in the processor to accept the blocks sent by the module. If everything is configured correctly, the module can receive its configuration from a remote device.
Page 26 of 113 ProSoft Technology, Inc.
October 20, 2008
Installing and Configuring the Module MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
2.2 Configuration Data
This section contains listings of the MVI56-DFCMR module's database that are related to the module's configuration. This data is available to any node on the network and is read from the ControlLogix processor when the module first initializes. Additionally, this section contains the miscellaneous status data and command control database layout.
2.2.1 Backplane Setup
Register Content Description
5000 Write Start Reg Not used in this version of the software
5001 Write Reg Count Not used in this version of the software
5002 Read Start Reg Not used in this version of the software
5003 Read Reg Count Not used in this version of the software
5004 Backplane Fail
5005 Error Status Pointer
5006 to 5009 Spare
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 failures occur.
This parameter specifies the register location in the module's database where module status data will be stored. If a 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.
2.2.2 Port 1 Setup
Register Content Description
5010 Enable
5011 Type
5012 Local Station ID
5013 Protocol 0=full duplex, 1=half-duplex
5014 Termination Type
ProSoft Technology, Inc. Page 27 of 113 October 20, 2008
This parameter is used to define 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.
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.
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. Enter a value in the range of 0 to 254.
This parameter specifies the error checking for all DF1 messages. 0=BCC, 1=CRC
MVI56-DFCMR ControlLogix Platform Installing and Configuring the Module DF1 Interface Module with Reduced Data Block
Register Content Description
5015 Baud Rate
5016 Parity
5017 Data Bits
5018 Stop Bits
5019
5020 RTS On Delay
5021 RTS Off Delay
5022 Use CTS Line
Minimum Response Delay
This is the baud rate to be used on the port. Enter the baud rate as a value.
Baud Rate Parameter Value
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
This is the Parity code to be used for the port. The coded values are as follows: 0=None, 1=Odd, 2=Even.
This parameter sets the number of data bits for each word used by the protocol. Enter a value in the range of 5 to 8.
This parameter sets the number of stop bits to be used with each data value sent. Enter a value of 1 or
2.
This parameter sets the number of milliseconds to wait before a response message is sent out of the port. This parameter is required when interfacing to a slow responding device. Enter a value in the range of 0 to 65535.
This parameter sets the number of milliseconds to delay after RTS is asserted before the data will be transmitted. Enter a value in the range of 0 to 65535.
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. Enter a value in the range of 0 to 65535.
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).
Page 28 of 113 ProSoft Technology, Inc.
October 20, 2008
Installing and Configuring the Module MVI56-DFCMR ControlLogix Platform DF1 Interface Module with Reduced Data Block
Register Content Description
5023 ENQ Delay
5024 Command Count
5025
5026 Command Error Pointer
5027 Response Timeout
5028 Retry Count
5029 Error Delay Count
5030 Slave List Pointer
5031 Slave List Frequency Not used in this version of the software
5032 First File
5033 File Size
Minimum Command 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. Enter a value in the range of 0 to
65535.
This parameter specifies the number of commands to be processed for the port. Enter a value of 0 to 100.
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. Enter a value in the range of 0 to 65535.
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. Enter a value of 0 to
4999.
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.
This parameter specifies the number of times a command will be retried if it fails. Enter a value in the range of 0 to 10.
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. Enter a value in the range of 0 to 65535.
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. Enter a value in the range of -1 to 4743.
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.
This parameter is used to specify 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.
ProSoft Technology, Inc. Page 29 of 113 October 20, 2008
MVI56-DFCMR ControlLogix Platform Installing and Configuring the Module DF1 Interface Module with Reduced Data Block
Register Content Description
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.
5035 Map Count Number of file map overrides.
5036 to 5039 Spare
2.2.3 Port 2 Setup
Register Content Description
5040 Enable
5041 Type
5042 Local Station ID
5043 Protocol 0=full duplex, 1=half-duplex
5044 Termination Type
5045 Baud Rate
5046 Parity
This parameter is used to define 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.
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.
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. Enter a value in the range of 0 to 254.
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 Parameter Value
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
This is the Parity code to be used for the port. The coded values are as follows: 0=None, 1=Odd, 2=Even.
Page 30 of 113 ProSoft Technology, Inc.
October 20, 2008
Loading...
+ 83 hidden pages