ProSoft Technology inRax MVI71-BDW User Manual

MVI71-BDW
PLC Platform
BARDAC Communication Module
October 12, 2010
USER MANUAL
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 our products, documentation, or support, please write or call us.
How to Contact Us
ProSoft Technology
5201 Truxtun Ave., 3rd Floor Bakersfield, CA 93309 +1 (661) 716-5100 +1 (661) 716-5101 (Fax) www.prosoft-technology.com support@prosoft-technology.com
Copyright © 2010 ProSoft Technology, Inc., all rights reserved.
MVI71-BDW User Manual
October 12, 2010
ProSoft Technology ®, ProLinx ®, inRAx ®, ProTalk ®, and RadioLinx ® are Registered Trademarks of ProSoft Technology, Inc. All other brand or product names are or may be trademarks of, and are used to identify products and services of, their respective owners.
ProSoft Technology® 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-ROM, and are available at no charge from our web site: www.prosoft-technology.com
Printed documentation is available for purchase. Contact ProSoft Technology for pricing and availability. North America: +1.661.716.5100 Asia Pacific: +603.7724.2080 Europe, Middle East, Africa: +33 (0) 5.3436.87.20 Latin America: +1.281.298.9109
Important Installation Instructions
Power, Input, and Output (I/O) wiring must be in accordance with Class I, Division 2 wiring methods, Article 501-4 (b) of the National Electrical Code, NFPA 70 for installation in the U.S., or as specified in Section 18-1J2 of the Canadian Electrical Code for installations in Canada, and in accordance with the authority having jurisdiction. The following warnings must be heeded:
A WARNING - EXPLOSION HAZARD - SUBSTITUTION OF COMPONENTS MAY IMPAIR SUITABILITY FOR
CLASS I, DIV. 2;
B WARNING - EXPLOSION HAZARD - WHEN IN HAZARDOUS LOCATIONS, TURN OFF POWER BEFORE
REPLACING OR WIRING MODULES
C WARNING - EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN
SWITCHED OFF OR THE AREA IS KNOWN TO BE NON-HAZARDOUS.
D THIS DEVICE SHALL BE POWERED BY CLASS 2 OUTPUTS ONLY.
MVI (Multi Vendor Interface) Modules
WARNING - EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS KNOWN TO BE NON-HAZARDOUS.
AVERTISSEMENT - RISQUE D'EXPLOSION - AVANT DE DÉCONNECTER L'ÉQUIPEMENT, COUPER LE COURANT OU S'ASSURER QUE L'EMPLACEMENT EST DÉSIGNÉ NON DANGEREUX.
Warnings
North America 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.
Warning: This module is not hot-swappable! Always remove power from the rack before inserting or removing this module, or damage may result to the module, the processor, or other connected devices.
Battery Life Advisory
The MVI46, MVI56, MVI56E, MVI69, and MVI71 modules use a rechargeable Lithium Vanadium Pentoxide battery to backup the 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 the battery becomes fully charged. After it is fully charged, the battery provides backup power for the CMOS setup and the real-time clock for approximately 21 days. When the battery is fully discharged, the module will revert to the default BIOS and clock settings.
Note: The battery is not user replaceable.
Markings
Electrical Ratings
Backplane Current Load: 800 mA @ 5 Vdc  Operating Temperature: 0°C to 60°C (32°F to 140°F)  Storage Temperature: -40°C to 85°C (-40°F to 185°F)  Shock: 30g Operational; 50g non-operational; Vibration: 5 g from 10 Hz to 150 Hz  Relative Humidity 5% to 95% (without condensation)  All phase conductor sizes must be at least 1.3 mm(squared) and all earth ground conductors must be at least
4mm(squared).
Label Markings
Agency Approvals and CertificationsANSI / ISA
CSA/cUL C22.2 No. 213-1987 CSA CB Certified IEC61010 ATEX EN60079-0 Category 3, Zone 2
ISA 12.12.01 Class I Division 2, GPs A, B, C, D
EN60079-15
243333
MVI71-BDW ♦ PLC Platform Contents BARDAC Communication Module User Manual
Contents
Your Feedback Please ........................................................................................................................ 2
How to Contact Us .............................................................................................................................. 2
ProSoft Technology® Product Documentation .................................................................................... 2
Important Installation Instructions ....................................................................................................... 3
MVI (Multi Vendor Interface) Modules ................................................................................................ 3
Warnings ............................................................................................................................................. 3
Battery Life Advisory ........................................................................................................................... 3
Markings .............................................................................................................................................. 4
Guide to the MVI71-BDW User Manual 7
1 Start Here 9
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.6.1
System Requirements ............................................................................................. 10
Package Contents ................................................................................................... 11
Setting Jumpers ...................................................................................................... 12
Install the Module in the Rack ................................................................................. 13
Connect your PC to the Processor .......................................................................... 14
Download the Sample Program to the Processor ................................................... 15
Configuring the RSLinx Driver for the PC COM Port .............................................. 16
Connect your PC to the Module .............................................................................. 18
2 Installing and Configuring the Module 19
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.2.1
2.2.2
2.2.3
2.10.1
2.10.2
Module Configuration .............................................................................................. 21
Configuration File .................................................................................................... 22
[Module] ................................................................................................................... 23
[Bardac DW Client 0] ............................................................................................... 25
[Bardac DW Client 0 Commands] ........................................................................... 26
Module Data ............................................................................................................ 30
Status Data .............................................................................................................. 31
User Data ................................................................................................................ 32
Event Command Data ............................................................................................. 33
Example of 240 words of read and write data (cfg file=10) ..................................... 34
Example of 2300 read and 3500 write data registers (cfg file=10) ......................... 35
IP Address ............................................................................................................... 36
Uploading and Downloading the Configuration File ................................................ 37
Transferring the Configuration File from The Module to the PC ............................. 37
Transferring the Configuration File from the PC to the Module .............................. 37
Ladder Logic ............................................................................................................ 38
3 Diagnostics and Troubleshooting 39
3.1
3.1.1
3.1.2
3.1.3
3.2
LED Status Indicators .............................................................................................. 40
Ethernet LED Indicators .......................................................................................... 42
Clearing a Fault Condition ....................................................................................... 42
Troubleshooting ....................................................................................................... 43
Using ProSoft Configuration Builder (PCB) for Diagnostics.................................... 44
ProSoft Technology, Inc. Page 5 of 98 October 12, 2010
Contents MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
3.2.1
3.3
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
Using the Diagnostic Window in ProSoft Configuration Builder ............................. 44
Navigation ............................................................................................................... 46
Main Menu .............................................................................................................. 47
Database View Menu .............................................................................................. 50
Master Command Error List Menu.......................................................................... 52
Master Command List Menu ................................................................................... 53
Network Menu ......................................................................................................... 54
Reading Status Data from the Module ................................................................... 56
4 Reference 57
4.1
4.1.1
4.1.2
4.1.3
4.2
4.2.1
4.2.2
4.2.3
connect adapter) ......................................................................................................................... 69
4.2.4
4.3
4.3.1
4.3.2
4.3.3
4.4
4.4.1
4.5
Product Specifications ............................................................................................ 58
General Specifications ............................................................................................ 58
Hardware Specifications ......................................................................................... 58
Functional Specifications ........................................................................................ 59
Functional Overview ............................................................................................... 60
General Concepts ................................................................................................... 60
Block Transfer Backplane Data Transfer ................................................................ 61
Side-Connect Backplane Data Transfer (Requires special user-supplied side-
Data Flow between MVI71-BDW Module and PLC Processor ............................... 73
Cable Connections ................................................................................................. 77
Ethernet Connection ............................................................................................... 77
RS-232 Configuration/Debug Port .......................................................................... 78
DB9 to RJ45 Adaptor (Cable 14) ............................................................................ 81
MVI71-BDW Status Data Definition for Side Connect File ..................................... 82
Error/Status Data Table .......................................................................................... 82
Command Entry Form ............................................................................................ 85
5 Support, Service & Warranty 87
Contacting Technical Support .......................................................................................................... 87
5.1
5.2
5.1.1
5.1.2
5.1.3
5.2.1
5.2.2
5.2.3
5.2.4
5.2.5
5.2.6
5.2.7
5.2.8
5.2.9
5.2.10
Return Material Authorization (RMA) Policies and Conditions ............................... 89
Returning Any Product ............................................................................................ 89
Returning Units Under Warranty ............................................................................. 90
Returning Units Out of Warranty ............................................................................. 90
LIMITED WARRANTY ............................................................................................ 91
What Is Covered By This Warranty ........................................................................ 91
What Is Not Covered By This Warranty .................................................................. 92
Disclaimer Regarding High Risk Activities .............................................................. 92
Intellectual Property Indemnity ............................................................................... 93
Disclaimer of all Other Warranties .......................................................................... 93
Limitation of Remedies ** ....................................................................................... 94
Time Limit for Bringing Suit ..................................................................................... 94
No Other Warranties ............................................................................................... 94
Allocation of Risks .................................................................................................. 94
Controlling Law and Severability ............................................................................ 95
Index 97
Page 6 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Guide to the MVI71-BDW User Manual BARDAC Communication Module User Manual
Guide to the MVI71-BDW User Manual
Function
Introduction (Must Do)
Diagnostic and Troubleshooting
Reference
Product Specifications
Functional Overview
Support, Service, and Warranty
Index
Section to Read Details
Start Here (page 9) This section introduces the customer to the
Diagnostics and
Troubleshooting (page 39)
Reference (page 57)
Product Specifications (page
58)
Functional Overview (page 60, page 51)
Support, Service
and Warranty (page
87)
Index
module. Included are: package contents, system requirements, hardware installation, and basic configuration.
This section describes 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 98 October 12, 2010
Guide to the MVI71-BDW User Manual MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
Page 8 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Start Here BARDAC Communication Module User Manual
1 Start Here
In This Chapter
System Requirements ........................................................................... 10
Package Contents ................................................................................. 11
Setting Jumpers .................................................................................... 12
Install the Module in the Rack ............................................................... 13
Connect your PC to the Processor ........................................................ 14
Download the Sample Program to the Processor .................................. 15
Connect your PC to the Module ............................................................ 18
To get the most benefit from this User Manual, you should have the following skills:
Rockwell Automation® RSLogix™ software: launch the program, configure
ladder logic, and transfer the ladder logic to the processor
Microsoft Windows: install and launch programs, execute menu commands,
navigate dialog boxes, and enter data
Hardware installation and wiring: install the module, and safely connect
BARDAC and PLC devices to a power source and to the MVI71-BDW module’s application port(s)
ProSoft Technology, Inc. Page 9 of 98 October 12, 2010
Start Here MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
1.1 System Requirements
The MVI71-BDW module requires the following minimum hardware and software components:
Rockwell Automation PLC processor, with compatible power supply and one
free slot in the rack, for the MVI71-BDW module. The module requires 800mA of available power.
The PLC Processor must provide for at least 64 words of BTR/BTW area,
otherwise the module may not function correctly.
Rockwell Automation RSLogix 5 programming software. Rockwell Automation RSLinx communication software Pentium® 100 MHz minimum. Pentium III 700 MHz (or better) recommended  Supported operating systems:
o
Microsoft Windows XP
o
Microsoft Windows 2000
o
Microsoft Windows NT v4.0 with Service Pack 3 or greater
o
Microsoft Windows ME
o
Microsoft Windows 98
64 Mbytes of RAM minimum, 256 Mbytes of RAM recommended 100 Mbytes of free hard disk space (or more based on application
requirements)
256-color VGA graphics adapter, 800 x 600 minimum resolution (True Color
1024 × 768 recommended)
CD-ROM drive HyperTerminal or other terminal emulator program capable of file transfers
using Ymodem protocol.
Page 10 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Start Here BARDAC Communication Module User Manual
1.2 Package Contents
The following components are included with your MVI71-BDW 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 MVI71-BDW Module MVI71-BDW BARDAC Communication Module 1 Cable Cable #15, RS232
3 Cable Cable #14, RJ45 to
2 Adapter 1454-9F Two Adapters, DB9 Female to Screw
1 ProSoft Solutions CD Contains sample programs, utilities and
If any of these components are missing, please contact ProSoft Technology Support for replacement parts.
For RS232 Connection to the CFG Port
Null Modem
For DB9 Connection to Module’s Port DB9 Male Adapter cable
Terminal. For RS422 or RS485
Connections to Port 1 and 2 of the Module
documentation for the MVI71-BDW module.
ProSoft Technology, Inc. Page 11 of 98 October 12, 2010
Start Here MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
1.3 Setting Jumpers
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.
The following illustration shows the MVI71-BDW jumper configuration.
Note: If you are installing the module in a remote rack, you may prefer to leave the Setup pins jumpered. That way, you can update the module’s firmware without requiring physical access to the module.
Page 12 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Start Here BARDAC Communication Module User Manual
1.4 Install the Module in the Rack
If you have not already installed and configured your PLC processor and power supply, please do so before installing the MVI71-BDW 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 are in place before installing or servicing the device.
After you have checked the placement of the jumpers, insert MVI71-BDW into the PLC™ chassis. Use the same technique recommended by Rockwell Automation to remove and install PLC 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. 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 circuit board (backplane) of the PLC rack.
6 Turn power ON.
Note: If you insert the module improperly, the system may stop working, or may behave unpredictably.
ProSoft Technology, Inc. Page 13 of 98 October 12, 2010
Start Here MVI71-BDW ♦ PLC Platform User Manual BARDAC 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.
2 Connect the straight connector end of the cable to the serial port on your
computer.
Page 14 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Start Here BARDAC Communication Module User Manual
1.6 Download the Sample Program to the Processor
To download the sample program from RSLogix 5 to the PLC processor
Note: The key switch on the front of the PLC 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.
2 Click the Download button to transfer the sample program to the processor. 3 When prompted, choose Computer to PLC
4 RSLogix will compile the program and transfer it to the processor. This
process may take a few minutes.
5 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.
ProSoft Technology, Inc. Page 15 of 98 October 12, 2010
Start Here MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
1.6.1 Configuring the RSLinx Driver for the PC COM Port
If RSLogix is unable to establish communication with the processor, follow these steps.
1 Open RSLinx. 2 Open the C
This action opens the Configure Drivers dialog box.
OMMUNICATIONS
menu, and choose C
ONFIGURE DRIVERS
.
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 DF1 Devices.
Page 16 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Start Here BARDAC Communication Module User Manual
1 Click to select the driver, and then click C
ONFIGURE
. This action opens the
Configure RS-232 DF1 Devices dialog box.
2 Click the A
UTO-CONFIGURE
button. RSLinx will attempt to configure your
serial port to work with the selected driver.
3 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 documentation for further troubleshooting steps.
ProSoft Technology, Inc. Page 17 of 98 October 12, 2010
Start Here MVI71-BDW ♦ PLC Platform User Manual BARDAC 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.
Page 18 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Installing and Configuring the Module BARDAC Communication Module User Manual
2 Installing and Configuring the Module
In This Chapter
Module Configuration ............................................................................ 21
Configuration File .................................................................................. 22
Module Data .......................................................................................... 30
Status Data ............................................................................................ 31
User Data .............................................................................................. 32
Event Command Data ........................................................................... 33
Example of 240 words of read and write data (cfg file=10) .................... 34
Example of 2300 read and 3500 write data registers (cfg file=10)......... 35
IP Address ............................................................................................. 36
Uploading and Downloading the Configuration File ............................... 37
Ladder Logic .......................................................................................... 38
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 5 to identify the module to the processor and add the module to
a project.
Note: The RSLogix 5 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. The next step in installing and configuring the module is to define whether the
block transfer or side-connect interface will be utilized.
ProSoft Technology, Inc. Page 19 of 98 October 12, 2010
Installing and Configuring the Module MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
If the side-connect interface is utilized (requires user-supplied side-connect adapter), make sure the file SC_DATA.TXT on the Compact Flash Disk contains the correct first file number. You can run the setdnpsc.exe program to set the file number for your application. Install the module in the rack and turn on the power. Connect the serial cable to the module’s debug/configuration port and exit the program by pressing [ESC][X]. This will cause the program to exit and remain at the operating system prompt. Run the setdnpsc.exe program with a command line argument of the file number to use for the first file. For example, to select N10: as the first file, enter the following:
SETDNPSC 10
The program will build the SC_DATA.TXT on the Compact Flash Disk (C: drive in the root directory).
Next, define the data files for the application. If the block transfer interface is used, define the data files to hold the user data (read and write data). Enter the ladder logic to handle the blocks transferred between the module and the PLC. Download the program to the PLC and test the program with the module.
If the side-connect interface is used, no ladder logic is required for data transfer. The user data files to interface with the module must reside in contiguous order in the processor. The first file to be used by the interface is the status/control file. This is file number set in the SC_DATA.TXT file using the SETDNPSC.EXE program. The following table lists the files used by the side-connect interface:
File Number Example Size Description
Cfg File N10 200 Control/Status File Cfg File+1 N11 to 1000 Data transferred from the module to the processor Other files for read data Cfg File+1+n N12 to 1000 Data transferred from the processor to the module Cfg File+1+n+m Other files for write data
n is the number of read data files minus one. Each file contains up to 1000 words.
m is the number of write data files minus one. Each file contains up to 1000 words.
More than one read and/or write file may exist in an application. This is required when more than 1000 words of data are required. Two examples are given below for the files used with different data set sizes:
Page 20 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Installing and Configuring the Module BARDAC Communication Module User Manual
2.1 Module Configuration
This section contains the setup procedure, data, and ladder logic for successful application of the MVI71-BDW module. Each step in the setup procedure is defined in order to simplify the use of the module. Set up for the module for both the BTR/BTW and side-connect interfaces is covered.
ProSoft Technology, Inc. Page 21 of 98 October 12, 2010
Installing and Configuring the Module MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
2.2 Configuration File
In order for the module to operate, a configuration file (BARDACDW.CFG) is required. This configuration file contains information to set the data transfer characteristics between the module and the processor, to configure the module's client and command list. Each parameter in the file must be set carefully in order for the application to be implemented successfully.
The configuration file is separated into sections with topic header names enclosed in the [ ] characters. The configuration file consists of the following sections:
[Section] Description
[Module] General module configuration information. [BARDAC DW Client 0] Configuration data for BARDAC DW Client 0 [BARDAC DW Client 0 Commands] Command list for BARDAC DW Client 0 [BARDAC DW Client 1] Configuration data for BARDAC DW Client 1 [BARDAC DW Client 1 Commands] Command list for BARDAC DW Client 1 [BARDAC DW Client 2] Configuration data for BARDAC DW Client 2 [BARDAC DW Client 2 Commands] Command list for BARDAC DW Client 2 [BARDAC DW Client 3] Configuration data for BARDAC DW Client 3 [BARDAC DW Client 3 Commands] Command list for BARDAC DW Client 3
After each section header, the file contains a set of parameters. Unique labels are used under each section to specify a parameter. Each label in the file must be entered exactly as shown in the file for the parameter to be identified by the program. If the module is not considering a parameter, look at the label for the data item. Each parameter's value is separated from the label with the ":" character. This character is used by the program to delimit the position in the data record where to start reading data. All data for a parameter must be placed after the ":" character. For numeric parameter values any text located after the value will not be used. There must be at least one space character between the end of the parameter value and the following text. An example of a parameter entry is given below:
Error/Status Pointer: 3000 #Database location for Error/Status Data
The parameter label is "Error/Status Pointer" and the parameter value is 3000. The characters after the parameter value are ignored and are used for internal documentation of the configuration file.
Any record that begins with the "#" character is considered to be a comment record. These records can be placed anywhere in the file as long as the "#" character is found in the first column of the line. These lines are ignored in the file and can be used to provide documentation within the configuration file. Liberal use of comments within the file can ease the use and interpretation of the data in the file.
The client command list section is formatted differently than the other sections. This section contains lists of parameters to be used. Each list begins with the label START and when the END label is reached. When entering the records into the list, make certain that the first character in each line is left blank.
Page 22 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Installing and Configuring the Module BARDAC Communication Module User Manual
The [BARDAC DW CLIENT 0 COMMANDS] section defines the BARDAC DW commands to be issued from the module to server devices on the network. These commands can be used for data collection and/or control of devices on the UDP/IP network.
2.2.1 [Module]
This section of the file describes the database setup and module level parameters.
Module Name
0 to 80 characters This parameter assigns a name to the module that can be viewed using the
configuration/debug port. Use this parameter to identify the module and the configuration file.
Password
Up to 20 chars This parameter sets the password for the module. If the parameter is not set, the
module will not be password protected. The module interprets the password as a case-sensitive string. Do not include spaces or special characters in the password. Only alpha and numeric characters should be used.
Error/Status Pointer
-1 to 4955 Starting register location in virtual database for the error/status table. If a value of
-1 is entered, the error/status data will not be placed in the database. All other valid values determine the starting location of the data. This data area includes the module version information and all server error/status data.
Read Register Start
0 to 4999 The Read Register Start parameter specifies the start of the Read Data area in
module memory. Data in this area will be transferred from the module to the processor.
Note: Total user database memory space is limited to the first 5000 registers of module memory, addresses 0 through 4999. Therefore, the practical limit for this parameter is 4999 minus the value entered for Read Register Count, so that the Read Data Area does not try to extend above address
4999. Read Data and Write Data Areas must be configured to occupy separate address ranges in module memory and should not be allowed to overlap.
ProSoft Technology, Inc. Page 23 of 98 October 12, 2010
Installing and Configuring the Module MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
Read Register Count
0 to 5000 The Read Register Count parameter specifies the size of the Read Data area of
module memory and the number of registers to transfer from this area to the processor, up to a maximum of 5000 words.
Note: Total Read Register Count and Write Register Count cannot exceed 5000 total registers. Read Data and Write Data Areas must be configured to occupy separate address ranges in module memory and should not be allowed to overlap.
Write Register Start
0 to 4999 The Write Register Start parameter specifies the start of the Write Data area in
module memory. Data in this area will be transferred in from the processor.
Note: Total user database memory space is limited to the first 5000 registers of module memory, addresses 0 through 4999. Therefore, the practical limit for this parameter is 4999 minus the value entered for Write Register Count, so that the Write Data Area does not try to extend above address
4999. Read Data and Write Data Areas must be configured to occupy separate address ranges in module memory and should not be allowed to overlap.
Read Register Count
0 to 5000 The Read Register Count parameter specifies the size of the Read Data area of
module memory and the number of registers to transfer from this area to the processor, up to a maximum of 5000 words.
Note: Total Read Register Count and Write Register Count cannot exceed 5000 total registers. Read Data and Write Data Areas must be configured to occupy separate address ranges in module memory and should not be allowed to overlap.
Failure Flag Count
0 through 65535 This parameter specifies the number of successive transfer errors that must
occur before halting communication on the application port(s). If the parameter is set to 0, the application port(s) 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.
Page 24 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Installing and Configuring the Module BARDAC Communication Module User Manual
Initialize Output Data
0 = No, 1 = Yes This parameter is used to determine if the output data for the module should be
initialized with values from the processor. If the value is set to 0, the output data will be initialized to 0. If the value is set to 1, the data will be initialized with data from the processor. Use of this option requires associated ladder logic to pass the data from the processor to the module.
2.2.2 [Bardac DW Client 0]
This section defines the configuration for the master device simulated on Bardac DW UDP service port 48556 (0xBDAC).
Error/Status Pointer
-1 to 4990 Starting register location in virtual database for the error/status table for this
Client. If a value of -1 is entered, the error/status data will not be placed in the database. All other valid values determine the starting location of the data.
Command Error Pointer
-1 to 4999 This parameter sets the address in the internal database where the Command
Error List data will be placed. If you want the Command Error List data to be moved to the processor and placed into the ReadData array, the value entered should be a module memory address in the Read Data area. Therefore, the value entered should be a module memory address in the Read Data area. If the value is set to -1, the Command Error List data will not be stored in the module's internal database and will not be transferred to the processor's ReadData array.
Minimum Command Delay
0 to 65535 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.
Response Timeout
0 to 65535 milliseconds This is the time in milliseconds that a Client will wait before re-transmitting a
command if no response is received from the addressed server. The value to use depends on the type of communication network used, and the expected response time of the slowest device on the network.
ProSoft Technology, Inc. Page 25 of 98 October 12, 2010
Installing and Configuring the Module MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
Retry Count
0 to 10 This parameter specifies the number of times a command will be retried if it fails.
2.2.3 [Bardac DW Client 0 Commands]
This section contains examples for a Bardac DW UDP/IP client using service port 48556 (0xBDAC). Refer to the drive documentation for a full list of Parameter IDs. This section can contain up to 100 commands.
Command List Overview
In order to interface the MVI71-BDW module with UDP/IP server devices, you must construct a command list. The commands in the list specify the server device to be addressed, the function to be performed (read or write), the data area in the device to interface with, and the registers in the internal database to be associated with the device data. The Client command list supports up to 100 commands.
The command list is processed from top (command #0) to bottom. A poll interval parameter is associated with each command to specify a minimum delay time in tenths of a second between the issuance of a command. If the user specifies a value of 10 for the parameter, the command will be executed no more frequently than every 1 second.
Write commands have a special feature, as they can be set to execute only if the data in the write command changes. If the register data values in the command have not changed since the command was last issued, the command will not be executed.
If the data in the command has changed since the command was last issued, the command will be executed. Use of this feature can lighten the load on the network. In order to implement this feature; set the enable code for the command to a value of 2.
Commands Supported by the Module
The format of each command in the list depends on the BARDAC DW Function Code being executed. The tables below list the functions supported by the module:
Function Code Definition Supported in Client
0 Get (read data) X 1 Set (write data) X
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 BARDAC DW UDP/IP server device.
Page 26 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Installing and Configuring the Module BARDAC Communication Module User Manual
Command Entry Formats
The following table shows the structure of the configuration data necessary for each of the supported commands.
BARDAC DW COMMAND STRUCTURE
Column # 1 2 3 4 5 6 10
Function Code
Get0 Code Register 1/10th
Set1 Code Register 1/10th
Enable Code
Internal Address
Poll Interval Time
Seconds
Seconds
Swap Code
0 IP Address 0 Register
0 IP Address 1 Register
IP Address Function
Code
Device Address
The first part of the record is the Module Information, which relates to the ProLinx module and the second part contains information required to interface to the Server device.
Command list example:
[BARDAC DW Client 0 Commands] # # 1 2 3 4 5 6 7 # DB Poll Swap Cmd Parameter #Enab Addr Delay Code Node IP Address Code ID START 1 110 0 0 192.168.0.67 0 296 1 111 0 0 192.168.0.67 0 181 1 112 0 0 192.168.0.67 0 180 END
Parameter Range Description
Enable 0, 1, 2 This field defines whether the command is to be executed and
under what conditions.
Value Description
0 The command is disabled and will not be executed
in the normal polling sequence.
1 The command is executed each scan of the
command list if the Poll Interval Time is set to zero. If the Poll Interval time is set, the command will be executed, when the interval timer expires.
2 The command will execute only if the internal data
associated with the command changes. This value is valid only for write commands.
Because the BARDAC devices use the UDP protocol, the communication between the module and the device is not as reliable as with the TCP/IP protocol. For this reason, ProSoft suggests that the Enable Code of 2 not be used because a specific command may not be transferred. Therefore, it is strongly suggested to use the Enable Code of 1 to send SET commands.
ProSoft Technology, Inc. Page 27 of 98 October 12, 2010
Installing and Configuring the Module MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
Parameter Range Description
DB Address 0 to 4999 This field specifies the internal database register to be associated
with the command.
- If the command is a read function, the data read from the Server device will be placed starting at the register value entered in this field.
If the command is a write function, the data written to the Server device will be sourced from the address specified.
The correct format depends on the parameter type. The following provides examples of the most common types:
Time Secs (XX.X) PLC = 1 <=> BARDAC DRIVE = 0.1 sec PLC = 100 <=> BARDAC DRIVE = 10.0 sec PLC = 1019 <=> BARDAC DRIVE = 101.9 sec Percentage (X.XX) PLC = 1 <=> BARDAC DRIVE = 0.01% PLC = 10 <=> BARDAC DRIVE = 0.10% PLC = 10000 <=> BARDAC DRIVE = 100.00% ENABLED/DISABLED PLC = 0 <=> BARDAC = DISABLED PLC = 1 <=> BARDAC = ENABLED
Poll Delay 0 to 65535
This parameter specifies the minimum interval to execute continuous commands (Enable code of 1). The parameter is entered in units of 1/10th seconds. Therefore, if a value of 10 is entered for a command, the command will execute no more frequently than every 1 second.
Swap Code 0, 1, 2, 3 This parameter is used only for functions 3, 4, 6, and 16 to define if
the data received (or sent) from the module is to be ordered differently than data received from the server device. This parameter is helpful when dealing with floating-point or other multi­register values, as there is no standard method of storage of these data types in Server devices. This parameter can be set to order the register data received in an order useful by other applications. The following table defines the values and their associated operations:
Code Description
0 None – No Change is made in the byte
ordering 1 Words – The words are swapped 2 Words & Bytes – The words are swapped
then the bytes in each word are swapped 3 Bytes – The bytes in each word are
swapped
When swapping words, make sure you are using an even value in the Count Field. Odd values may generate unexpected results.
Node IP Address
xxx.xxx.xxx.xxx The IP address of the device being addressed by the command.
Page 28 of 98 ProSoft Technology, Inc. October 12, 2010
MVI71-BDW ♦ PLC Platform Installing and Configuring the Module BARDAC Communication Module User Manual
Parameter Range Description
Function Code
Parameter ID This parameter specifies the PIN value for the data value or
0 or 1 This parameter specifies the function to be executed by the
command. These function codes are defined in the BARDAC DW protocol.
Function Code Description
Get0 Get (read data) Set1 Set (write data)
parameter to be considered by the command. Refer to the drive manual for a complete listing of valid PINs for your specific application.
ProSoft Technology, Inc. Page 29 of 98 October 12, 2010
Installing and Configuring the Module MVI71-BDW ♦ PLC Platform User Manual BARDAC Communication Module
2.3 Module Data
All data related to the MVI71-BDW module is stored in a user defined data files. It is the responsibility of the ladder logic programmer to construct all the data files required by the program and to write the ladder logic required to interface to these files.
Page 30 of 98 ProSoft Technology, Inc. October 12, 2010
Loading...
+ 68 hidden pages