ProSoft Technology MVI46-DFCM User Manual

MVI46-DFCM
SLC Platform
DF1 Communication Module
10/20/2008
USER MANUAL
Please Read This Notice
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.
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-technology.com
Copyright © ProSoft Technology, Inc. 2000 - 2008. All Rights Reserved.
MVI46-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 Advisory ...........................................................................................................................2
Your Feedback Please........................................................................................................................ 2
ProSoft® Product Documentation....................................................................................................... 3
Guide to the MVI46-DFCM 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 .................................................................................11
1.5 Connect your PC to the Processor.......................................................................... 13
1.6 Download the Sample Program to the Processor................................................... 14
1.7 Connect your PC to the Module ..............................................................................17
2 Installing and Configuring the Module 19
2.1 Module Configuration ..............................................................................................21
2.2 MVI46-DFCM Configuration.................................................................................... 21
3 Ladder Logic 33
4 Diagnostics and Troubleshooting 35
4.1 Reading Status Data from the Module .................................................................... 35
4.2 LED Status Indicators..............................................................................................50
5 Reference 53
5.1 Product Specifications.............................................................................................53
5.2 Functional Overview................................................................................................55
5.3 Cable Connections ..................................................................................................71
5.4 MVI46-DFCM Command Control ............................................................................77
5.5 Error Codes .............................................................................................................78
5.6 DF1 Command Set For ProSoft Technology Communication Modules .................80
5.7 DF1 Command List Form........................................................................................ 92
6 Support, Service & Warranty 93
6.1 How to Contact Us: Technical Support ................................................................... 93
6.2 Return Material Authorization (RMA) Policies and Conditions................................94
6.3 LIMITED WARRANTY.............................................................................................96
ProSoft Technology, Inc. Page 5 of 103 October 20, 2008
Contents MVI46-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
(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 50)
Diagnostics and Troubleshooting (page 35)
Reference (page 53)
Functional Overview (page 55)
Product Specifications (page
53)
Support, Service and Warranty (page
93)
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 103 October 20, 2008
MVI46-DFCM SLC Platform Start Here DF1 Communication Module
Page 8 of 103 ProSoft Technology, Inc.
October 20, 2008
Start Here MVI46-DFCM SLC Platform DF1 Communication Module
1 Start Here
In This Chapter
System Requirements .............................................................................9
Package Contents .................................................................................10
Setting Jumpers ....................................................................................11
Install the Module in the Rack ...............................................................11
Connect your PC to the Processor ........................................................ 13
Download the Sample Program to the Processor.................................. 14
Connect your PC to the Module ............................................................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.
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 MVI46-DFCM module requires the following minimum hardware and software components:
Rockwell Automation SLC 5/02 M0/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 × 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
1 Cable
3 Cable
2 Adapter 1454-9F
1
MVI46-DFCM Module
ProSoft Solutions CD
MVI46-DFCM DF1 Communication Module
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 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 MVI46­DFCM jumper configuration:
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.
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 pla n 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 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 circuit 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.
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.
2 Click the Download button to transfer the sample program to the processor. 3 RSLogix will compile the program and transfer it to the processor. This
process may take a few minutes.
4 When the download is complete, RSLogix will open another confirmation
dialog box. Click Yes to switch the processor from Program mode to Run mode.
Note: If you receive an error message during these steps, refer to your RSLogix documentation to interpret and correct the error.
Page 14 of 103 ProSoft Technology, Inc.
October 20, 2008
Start Here MVI46-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.
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 communication with the processor is "RS-232 DF1 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.
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 correct ly 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 yo ur RSLinx documentation for further troubleshooting steps.
Page 16 of 103 ProSoft Technology, Inc.
October 20, 2008
Start Here MVI46-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.
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
In This Chapter
Module Configuration ............................................................................21
MVI46-DFCM Configuration ..................................................................21
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 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 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. Select the I/O Configuration option from the program screen. This will display the following dialog box:
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.
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:
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 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 & 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 DF1 Communication Module
2.1 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 module will require, depending on the operating modes to be supported.
Module Register Address
5000 to 5009 Data Transfer General Module
5010 to 5039 and 5040 to 5069
5200 to 6399 and 6400 to 7599
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.
Functional Modes Affected
Master and Slave Port
Master Master
Name Description
Configuration
Configuration
Command List
This section of the configuration data contains the module configuration data that defines the data transfer between the module and the SLC processor.
These sections define the characteristics of each of the DF1 serial communication ports 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.
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 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 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.
2.2 MVI46-DFCM Configuration
This section contains a listing of the MVI46-DFCM configuration data locations in the SLC M0 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 N7:0 N31:199 User Data 5000 5000 to 5009 N32:0 N32:9 Backplane Configuration 10 5010 to 5039 N32:10 N32:39 Port 1 Setup 30 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
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 M0 Offset File Register Content Description
N10:0 1 N32:0 5000 Write Start Reg Not used in this version of the software N10:1 2 N32:1 5001 Write Reg
N10:2 3 N32:2 5002 Read Start Reg Not used in this version of the software N10:3 4 N32:3 5003 Read Reg
N10:4 5 N32:4 5004 Backplane Fail This parameter specifies the number of
N10:5 6 N32:5 5005 Error Status
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
Count
Count
Pointer
Not used in this version of the software
Not used in this version of the software
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.
Page 22 of 103 ProSoft Technology, Inc.
October 20, 2008
Installing and Configuring the Module MVI46-DFCM SLC Platform DF1 Communication Module
2.2.2 Port 1 Setup
Database in SLC Database in MVI46-DFCM File M0 Offset File Register Content Description
N10:6 7 N32:10 5010 Enable
N10:7 8 N32:11 5011 Type
N10:8 9 N32:12 5012
N10:9 10 N32:13 5013 Protocol 0=full duplex, 1=half-duplex N10:10 11 N32:14 5014
N10:11 12 N32:15 5015 Baud Rate
N10:12 13 N32:16 5016 Parity
N10:13 14 N32:17 5017 Data Bits
Local Station ID
Termination Type
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.
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. Valid 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
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, 3=Mark and 4=Space.
This parameter sets the number of data bits for each word used by the protocol. Valid value in the range of 5 to 8.
Parameter Value
ProSoft Technology, Inc. Page 23 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 M0 Offset File Register Content Description
N10:14 15 N32:18 5018 Stop Bits
N10:15 16 N32:19 5019
N10:16 17 N32:20 5020
N10:17 18 N32:21 5021
N10:18 19 N32:22 5022
N10:19 20 N32:23 5023 ENQ Delay
N10:20 21 N32:24 5024
Minimum Response Delay
RTS On Delay
RTS Off Delay
Use CTS Line
Command Count
This parameter sets the number of stop bits to be used with each data value sent. Valid 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. Valid 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. Valid 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. Valid 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).
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.
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 Platform DF1 Communication Module
Database in SLC Database in MVI46-DFCM File M0 Offset File Register Content Description
N10:21 22 N32:25 5025
N10:22 23 N32:26 5026
N10:23 24 N32:27 5027
N10:24 25 N32:28 5028 Retry Count
N10:25 26 N32:29 5029
N10:26 27 N32:30 5030
N10:27 28 N32:31 5031
Minimum Command Delay
Command Error Pointer
Response Timeout
Error Delay Count
Slave List Pointer
Slave List Frequency
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. 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.
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. Valid 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. Valid 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. Valid value in the range of -1 to 4743.
Not used in this version of the software
ProSoft Technology, Inc. Page 25 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 M0 Offset File Register Content Description
N10:28 29 N32:32 5032 First File
N10:29 30 N32:33 5033 File Size
N10:30 31 N32:34 5034 File Offset
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
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 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.
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.
2.2.3 Port 2 Setup
Database in SLC Database in MVI46-DFCM File M0 Offset File Register Content Description
N10:31 32 N32:40 5040 Enable
N10:32 33 N32:41 5041 Type
N10:33 34 N32:42 5042
Local Station ID
N10:34 35 N32:43 5043 Protocol 0=full duplex, 1=half-duplex
Page 26 of 103 ProSoft Technology, Inc.
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.
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. Valid value in the range of 0 to
254.
October 20, 2008
Installing and Configuring the Module MVI46-DFCM SLC Platform DF1 Communication Module
Database in SLC Database in MVI46-DFCM File M0 Offset File Register Content Description
N10:35 36 N32:44 5044
N10:36 37 N32:45 5045 Baud Rate
N10:37 38 N32:46 5046 Parity
N10:38 39 N32:47 5047 Data Bits
N10:39 40 N32:48 5048 Stop Bits
N10:40 41 N32:49 5049
N10:41 42 N32:50 5050
N10:42 43 N32:51 5051
Termination Type
Minimum Response Delay
RTS On Delay
RTS Off Delay
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 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, 3=Mark and 4=Space.
This parameter sets the number of data bits for each word used by the protocol. Valid value in the range of 5 to 8.
This parameter sets the number of stop bits to be used with each data value sent. Valid 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. Valid 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. Valid 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. Valid value in the range of 0 to 65535.
Parameter Value
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 M0 Offset File Register Content Description
N10:43 44 N32:52 5052
N10:44 45 N32:53 5053 ENQ Delay
N10:45 46 N32:54 5054
N10:46 47 N32:55 5055
N10:47 48 N32:56 5056
N10:48 49 N32:57 5057
Use CTS Line
Command Count
Minimum Command Delay
Command Error Pointer
Response Timeout
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).
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.
This parameter specifies the number of commands to be processed for the port. Valid 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. Valid 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. Valid 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.
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 M0 Offset File Register Content Description
N10:49 50 N32:58 5058 Retry Count
N10:50 51 N32:59 5059
Error Delay Count
N10:51 52 N32:60 5060
Slave List Pointer
N10:52 53 N32:61 5061
Slave List Frequency
N10:53 54 N32:62 5062 First File
N10:54 55 N32:63 5063 File Size
N10:55 56 N32:64 5064 File Offset
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
This parameter specifies the number of times a command will be retried if it fails. Valid 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. Valid 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. Valid value in the range of -1 to 4743.
Not used in this version of the software
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 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.
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.
ProSoft Technology, Inc. Page 29 of 103 October 20, 2008
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 M0 Offset File Register Content Description
N11:0 to N11:11
N11:12 to N11:23
57 to 68 N33:0 to
N33:11
69 to 80 N33:12 to
N33:23 … … … …
1245 to 1256 N38:188 to
N38:199
5200 to 5211
5212 to 5223
6388 to 6399
Command # 1 This set of registers contains the
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.
Command # 2 Command #2 data set
Command # 100 Command #100 data set
2.2.5 Port 2 Commands
Database in SLC Database in MVI46-DFCM File M0 Offset File Register Content Description
N16:0 to N16:11
N16:12 to N16:23
1257 to 1268 N39:0 to
N39:11
1269 to 1280 N39:12 to
N39:23 … … … …
2445 to 2456 N44:188 to
N44:199
6400 to 6411
6412 to 6423
7588 to 7599
Command # 1 This set of registers contains the
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.
Command # 2 Command #2 data set
Command # 100 Command #100 data set
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 M0 Offset File Register Content Description
N/A N/A N45:0 7600 Program Scan
N/A N/A N45:1 7601 N/A N/A N45:2 7602 N/A N/A N45:3 7603 N/A N/A N45:4 7604
N/A N/A N45:5 7605 N/A N/A N45:6 7606
N/A N/A N45:7 7607 N/A N/A N45:8 7608
Page 30 of 103 ProSoft Technology, Inc.
This value is incremented each time a
Count
complete program cycle occurs in the module.
Product Code These two registers contain the product
code of "DFCM"
Product Version These two registers contain the product
version for the currently running software.
Operating System
These two registers contain the month and year values for the program operating system.
Run Number These two registers contain the run
number value for the currently running software.
October 20, 2008
Loading...
+ 73 hidden pages