ProSoft Technology MVI46 S3964R communication module User Manual
Below you will find brief information for communication module MVI46 S3964R. This communication module connects Siemens 3964R protocol devices to a Rockwell Automation SLC 5/02 M0/M1 capable processor or newer. It also enables you to configure the module using ProSoft Configuration Builder software. The module is suitable for industrial applications and can communicate with a wide range of devices.
Advertisement
Advertisement
MVI46-S3964R
SLC Platform
Siemens 3964R Protocol
User Manual
April 17, 2008
Please Read This Notice
Successful application of this module requires a reasonable working knowledge of the Rockwell Automation
SLC hardware, the MVI46-S3964R 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.
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 (15 for the PC56). 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-S3964R User Manual
April 17, 2008
PSFT.S3964R.MVI46.UM.08.04.17
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, South Africa: +33.5.34.36.87.20
Latin America: +1.281.298.9109
North America: +1.661.716.5100
Siemens 3964R Protocol
Contents
ProSoft Technology, Inc.
April 17, 2008
Page 5 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Contents
Page 6 of 74 ProSoft Technology, Inc.
April 17, 2008
Start Here MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Guide to the MVI46-S3964R User Manual
Function
Introduction
(Must Do)
Verify Communication,
Diagnostic and
Troubleshooting
→
Reference
Product Specifications
Functional Overview
Glossary
→
Support, Service, and
Warranty
Index
→
→
Section to Read Details
This Section introduces the customer to the module. Included are: package contents, system requirements, hardware installation, and basic configuration.
Verifying
Communication
Diagnostics and
Troubleshooting
Reference (page
Functional
Product
Specifications
Support, Service and Warranty
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.
April 17, 2008
Page 7 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Start Here
Page 8 of 74 ProSoft Technology, Inc.
April 17, 2008
Start Here MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
In This Chapter
System Requirements ............................................................................. 9
Install ProSoft Configuration Builder Software....................................... 10
Install the Module in the Rack ............................................................... 12
Connect your PC to the Processor ........................................................ 14
Download the Sample Program to the Processor.................................. 14
Connect your PC to the Module ............................................................ 17
Installing the MVI46-S3964R module requires a reasonable working knowledge of the Rockwell Automation hardware, the MVI46-S3964R Module and the application in which they will be used.
Caution: It is important that those responsible for implementation can complete the application without exposing personnel, or equipment, to unsafe or inappropriate working conditions. Safety, quality and experience are key factors in a successful installation.
The MVI46-S3964R 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-S3964R 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 o o o
Microsoft® Windows 98
Windows NT® (version 4 with SP4 or higher)
Windows 2000
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.
April 17, 2008
Page 9 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
16-color VGA graphics adapter, 640 x 480 minimum resolution (256 Color
800 × 600 recommended) drive
3.5 inch floppy disk drive
HyperTerminal or other terminal emulator program capable of file transfers using Ymodem protocol.
Start Here
The following components are included with your MVI46-S3964R 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
1 MVI46-
S3964R
Module
MVI46-S3964R
1 Cable Cable #15, RS232
Null Modem
3 Cable Cable #14, RJ45 to
DB9 Male Adapter cable
2 Adapter 1454-9F
Part Description
Siemens 3964R Protocol
For RS232 Connection to the CFG Port
For DB9 Connection to Module's Port
1 ProSoft
Solutions
CD
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-S3964R module.
If any of these components are missing, please contact ProSoft Technology
Support for replacement parts.
1.3 Install ProSoft Configuration Builder Software
You must install the ProSoft Configuration Builder (PCB) software in order to configure the MVI46-S3964R module. You can always get the newest version of
ProSoft Configuration Builder from the ProSoft Technology web site.
To install ProSoft Configuration Builder from the ProSoft Web Site
1 Open your web browser and navigate to http://www.prosofttechnology.com/pcb
2 Click the Download Here link to download the latest version of ProSoft
Configuration Builder.
Page 10 of 74 ProSoft Technology, Inc.
April 17, 2008
Start Here MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
3 Choose "Save" or "Save File" when prompted. The following illustrations show the file download prompt for two of the most common web browsers.
4 Make a note of the location where you saved the file, for example "Desktop", or "My Documents", so you can start the installation program.
5 When the download is complete, locate and open the file, and then follow the instructions on your screen to install the program.
If you do not have access to the Internet, you can install ProSoft Configuration
Builder from the ProSoft Solutions CD-ROM, included in the package with your
MVI46-S3964R module.
To install ProSoft Configuration Builder from the CD-ROM
1 Insert the ProSoft Solutions CD-ROM into the CD drive of your PC. Wait for the startup screen to appear.
2 On the startup screen, click Product Documentation. This action opens an explorer window.
3 Click to open the Utilities folder. This folder contains all of the applications and files you will need to set up and configure your module.
4 Double-click the ProSoft Configuration Builder Setup program and follow the instructions on your screen to install the software on your PC.
Note: Many of the configuration and maintenance procedures use files and other utilities on the
CD-ROM. You may wish to copy the files from the Utilities folder on the CD-ROM to a convenient location on your hard drive.
ProSoft Technology, Inc.
April 17, 2008
Page 11 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Start Here
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-
S3964R 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.5 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-S3964R 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 MVI46-S3964R 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.
Page 12 of 74 ProSoft Technology, Inc.
April 17, 2008
Start Here MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
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.
ProSoft Technology, Inc.
April 17, 2008
Page 13 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
1.6 Connect your PC to the Processor
1 Connect the right-angle connector end of the cable to your controller at the communications port.
Start Here
2 Connect the straight connector end of the cable to the serial port on your computer.
1.7 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.
Page 14 of 74 ProSoft Technology, Inc.
April 17, 2008
Start Here MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
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.
If RSLogix is unable to establish communication with the processor, follow these steps:
1 Open RSLinx.
ProSoft Technology, Inc.
April 17, 2008
Page 15 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
2 Open the Communications menu, and choose Configure Drivers.
Start Here
This action opens the Configure Drivers dialog box.
Note: If the list of configured drivers is blank, you must first choose and configure a driver from the
Available Driver Types list. The recommended driver type to choose for serial communication with the processor is "RS-232 DF1 Devices".
Page 16 of 74 ProSoft Technology, Inc.
April 17, 2008
Start Here MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
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 correctly between the processor and the serial port on your computer, and then try again. If you are still unable to auto-configure the port, refer to your RSLinx documentation for further troubleshooting steps.
1.8 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.
ProSoft Technology, Inc.
April 17, 2008
Page 17 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
3 Attach the other end to the serial port on your PC or laptop.
Start Here
Page 18 of 74 ProSoft Technology, Inc.
April 17, 2008
Module Configuration MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
In This Chapter
ProSoft Configuration Builder ................................................................ 20
Download the Project to the Module...................................................... 27
The following setups/limitations are to be observed:
Please make sure that you are using an MVI46-S3964R with the original parameters and image as delivered.
Jumper SETUP:
Please remove to run the MVI46-S3964R in application mode.
ATTENTION: Incorrect setting of the jumpers may cause damage to the MVI46-
S3964R module.
The remaining jumpers for PRT1 and PRT2 have to be set according to the requirements of the user.
The communication partners are to be connected to the serial interface PRT1 and/or PRT2 of the MVI46-S3964R.
The serial parameters of the communication partners are to be set to 9600 Baud, even parity, 8 bit and 1 stop bit if the standard parameters of the MVI46-S3964R will be used.
The assignment of the RS-232 connection cable between PRT1/2 (9 pole) and
CP-544 (25 pole) is as follows:
PRT1/2 Pin Description CP 544 Pin Description
Important: The other pins of the RS-232 must not be used.
RS-485 operation is not possible.
ProSoft Technology, Inc.
April 17, 2008
Page 19 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
2.2 ProSoft Configuration Builder
Module Configuration
ProSoft Configuration Builder (PCB) provides a quick and easy way to manage module configuration files customized to meet your application needs. PCB is not only a powerful solution for new configuration files, but also allows you to import information from previously installed (known working) configurations to new projects.
2.2.1 Set Up the Project
To begin, start ProSoft Configuration Builder. If you have used other Windows configuration tools before, you will find the screen layout familiar. ProSoft
Configuration Builder's window consists of a tree view on the left, an information pane and a configuration pane on the right side of the window. When you first start ProSoft Configuration Builder, the tree view consists of folders for Default
Project and Default Location, with a Default Module in the Default Location folder. The following illustration shows the ProSoft Configuration Builder window with a new project.
Your first task is to add the MVI46-S3964R module to the project.
1 Use the mouse to select "Default Module" in the tree view, and then click the right mouse button to open a shortcut menu.
Page 20 of 74 ProSoft Technology, Inc.
April 17, 2008
Module Configuration MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
2 On the shortcut menu, choose "Choose Module Type". This action opens the
Choose Module Type dialog box.
3 In the Product Line Filter area of the dialog box, select MVI46. In the Select
Module Type dropdown list, select MVI46-S3964R, and then click OK to save your settings and return to the ProSoft Configuration Builder window.
The next task is to set the module parameters.
ProSoft Technology, Inc.
April 17, 2008
Page 21 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Adding a Module
Module Configuration
To add a module to your project:
1
Double-click the Default Module icon to open the Choose Module Type dialog box.
2
On the Choose Module Type dialog box, select the module type. or
1 Open the Project menu and choose Location
2 On the Location menu, choose Add Module.
To add a module to a different location:
1 Right-click the Location folder and choose Add Module. A new module icon appears. or
Select the Location icon.
2 From the Project menu, select Location, then select Add Module.
Adding a Project
To add a project to an existing project file:
1 Select the Default Project icon.
2 Choose Project from the Project menu, then choose Add Project. A new project folder appears.
Page 22 of 74 ProSoft Technology, Inc.
April 17, 2008
Module Configuration MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Notice that the contents of the information pane and the configuration pane changed when you added the MVI46-S3964R module to the project.
At this time, you may wish to rename the "Default Project" and "Default Location" folders in the tree view.
To rename an object:
1 Select the object, and then click the right mouse button to open a shortcut menu. From the shortcut menu, choose Rename.
2 Type the name to assign to the object.
3 Click away from the object to save the new name.
Module Entries
To configure module parameters
1 Click on the plus sign next to the icon information.
to expand module
2 Double-click the icon to open the Edit dialog box.
3 To edit a parameter, select the parameter in the left pane and make your changes in the right pane.
4 Click OK to save your changes.
ProSoft Technology, Inc.
April 17, 2008
Page 23 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Comment Entries
Module Configuration
To add comments to your configuration file:
1
Click the plus sign to the left of the
Comments.
2
Double-click the appears.
icon to expand the Module
icon. The Edit - Module Comment dialog
3 Enter your comment and click OK to save your changes.
Printing a Configuration File
To print a configuration file:
1 Select the Module icon, and then click the right mouse button to open a shortcut menu.
2 On the shortcut menu, choose View Configuration. This action opens the
View Configuration window.
3 On the View Configuration window, open the File menu, and choose Print.
This action opens the Print dialog box.
4 On the Print dialog box, choose the printer to use from the dropdown list, select printing options, and then click OK.
2.3 [Module]
This section defines the configuration for the Module level data.
0 to 80 characters
Page 24 of 74 ProSoft Technology, Inc.
April 17, 2008
Module Configuration MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
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.
This section identifies the method of failure for the communications for the module if the processor is not in run.
The following example shows a sample [Backplane Configuration] section:
[Backplane 46]
Backplane Fail Count : 10 #Number of consecutive backplane transfer failures
# before halting communications
2.4.1 Backplane Fail Count
0 to 65535
This parameter specifies the number of consecutive backplane transfer failures that can occur before communications should be halted.
2.5 [3964R Port x]
# This section is used to define the port 1 configuration for the 3964R device
[3964R Port 1]
Enable : Yes #No=Port Disabled,Yes=Port Enabled
Baud Rate : 9600 #Baud rate for port (300, 600, 1200, 2400, 4800,
#9600, 19200, 38400, 57600, 115)
Parity : Even #N=None,O=Odd,E=Even
Data Bits : 8 #7 or 8 data bits for messages
Stop Bits : 1 #1 or 2 stop bits for messages
RTS On : 0 #Delay after RTS set before message sent (mSec)
RTS Off : 0 #Delay after message before RTS dropped (mSec)
Minimum Response Delay: 0 #Delay before responding to CP
Use CTS Line : No #Monitor CTS modem line (Y/N)
Swap : 1 #0=No Data Byte Swapping, 1=Data Byte Swapping
Priority : 0 #0=High Priority, 1=Low Priority
Protocol : 0 #0=3964 RK512, 1=3964
ACK Delay : 1000 #Number of mSec to wait for ACK (Default 1000ms)
Setup Attempts : 6 #Number of times to try to connect to CP
#(Default 6)
Transmit Attempts : 6 #Number of times to try to transmit to CP
#(Default 6)
2.5.1 Enable
Yes or No
This parameter specifies whether to enable or disable the port. No = Port
Disabled, Yes = Port Enabled.
ProSoft Technology, Inc.
April 17, 2008
Page 25 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Module Configuration
300 to 115200
This parameter specifies the baud rate to be used on the port. Valid values are
300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200.
2.5.3 Parity
N, O, E
This parameter specifies the parity setting for this port. Valid values are N =
None, O = Odd, E = Even.
7 or 8
This parameter specifies the number of message data bits. Valid values are 7 or
8 bits.
1 or 2
This parameter specifies the number of message stop bits. Valid values are 1 or
2 stop bits.
Delay (in milliseconds) after RTS before message is sent.
Delay (in milliseconds) after message before RTS dropped.
2.5.8 Minimum Response Delay
The minimum amount of time in milliseconds to wait before responding to a CP message.
2.5.9 Use CTS Line
Yes or No
This parameter specifies whether or not to monitor CTS modem line.
2.5.10 Swap
0 or 1
This parameter specifies whether bytes should be swapped. 0 = No data byte swapping, 1 = Data byte swapping.
Page 26 of 74 ProSoft Technology, Inc.
April 17, 2008
Module Configuration MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
2.5.11 Priority
0 or 1
This parameter specifies whether the data is high priority or low priority. 0 = High priority, 1 = Low Priority.
2.5.12 Protocol
0 or 1
0=3964 RK512, 1=3964
2.5.13 ACK Delay
Number of milliseconds to wait for ACK. The default is 1000 ms.
2.5.14 Setup Attempts
Number of times to try to connect to CP (Default 6)
2.5.15 Transmit Attempts
Number of times to try to transmit to CP (Default 6)
2.6 Download the Project to the Module
In order for the module to use the settings you configured, you must download
(copy) the updated Project file from your PC to the module.
To Download the Project File
1 In the tree view in ProSoft Configuration Builder, click once to select the
MVI46-S3964R module.
2 Open the Project menu, and then choose Module / Download. The program will scan your PC for a valid com port (this may take a few seconds). When
PCB has found a valid com port, the following dialog box will open.
ProSoft Technology, Inc.
April 17, 2008
Page 27 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Module Configuration
3 Choose the com port to use from the dropdown list, and then click the
Download button.
The module will perform a platform check to read and load its new settings.
When the platform check is complete, the status bar in ProSoft Configuration
Builder will be updated with the message "Module Running".
Page 28 of 74 ProSoft Technology, Inc.
April 17, 2008
Ladder Logic MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
In This Chapter
Ladder logic is required for application of the MVI46-S3964R module. Tasks that must be handled by the ladder logic are module data transfer, special block handling and status data receipt. Additionally, a power-up handler may be needed to handle the initialization of the module's data and to clear any processor fault conditions.
The sample ladder logic, on the ProSoft Solutions CD-ROM, is extensively commented, to provide information on the purpose and function of each rung. For most applications, the sample ladder will work without modification.
3.1 Introduction
The example programs mentioned in the following paragraphs illustrate the principle of how to communicate between an MVI46-S3964R and a SLC processor. All programs mentioned were tested with appropriate communication partners.
It is up to the programmer to examine the programs in detail and integrate them into the SLC processor application.
The following setups/limitations are to be observed in the example programs:
Changes according to the requirements of your SLC system are recommended for setups only. Limitations must not be changed.
Setup: The MVI46-S3964R resides in slot 1 of the SLC chassis.
Setup: The 1747-L series controller resides in slot 0 of the SLC chassis.
ATTENTION: You must be trained in programming and operating Rockwell
Automation 1747-L series controllers and SLC environment. Otherwise, incorrect use may lead to personal injury or death, property damages or economic loss.
MVI46_3964R.RSS
is the general S3964R communication program used for the following types of 3964R jobs:
ProSoft Technology, Inc.
April 17, 2008
Page 29 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
3.1.2 The 3964R Communication Program
Ladder Logic
The general functionality of the program MVI46_3964R.RSS is as follows:
Send jobs to a CP:
Transfer the job data to the MVI46-S3964R.
Acknowledgement from the MVI46-S3964R regarding validity of the job data.
Depending on the type of send job the transfer of the user data from/to the
MVI46-S3964R/SLC processor takes place.
Acknowledgement from the MVI46-S3964R regarding successful/unsuccessful completion of the send job.
Receive jobs from a CP:
Depending on the type of receive job the transfer of the user data from/to the
MVI46-S3964R/SLC processor takes place. The header data generated from the MVI46-S3964R will be added automatically. The MVI46-S3964R needs no extra job data from the SLC processor for receive jobs, it will be triggered through the STX character sent from the CP to establish the communication.
Acknowledgement from the MVI46-S3964R regarding successful/unsuccessful completion of the receive job.
During the processes described above additional status/error messages may be transferred from the MVI46-S3964R to the SLC processor (refer to Module
Status Data Table (page 60)). Refer to Error Processing for more information.
3.2 Commands
The CMDS sub-routine is used to handle special block processing. Special blocks include:
9998 - Warm Boot
9999 - Cold Boot
3.2.1 9998 Warm Boot
The SLC processor can request a warm boot operation of the module by placing a value of 9998 is the M1 register 6800 (Command Control Register).
3.2.2 9999 Cold Boot
The SLC processor can request a cold boot operation by the module by placing a value of 9999 in the M1 register 6800 (Command Control Register).
Page 30 of 74 ProSoft Technology, Inc.
April 17, 2008
Diagnostics and Troubleshooting MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
In This Chapter
Reading Status Data from the Module .................................................. 31
LED Status Indicators............................................................................ 41
The module provides information on diagnostics and troubleshooting in the following forms:
Status data values are transferred from the module to the processor.
Data contained in the module can be viewed through the
Configuration/Debug port attached to a terminal emulator.
LED status indicators on the front of the module provide information on the module's status.
4.1 Reading Status Data from the Module
The MVI46-3964R module returns a 31-word Status Data Block (page 60) that
may be used to determine the module's operating status.
This data is transferred to the SLC processor every time the module does not have 3964R communication data to send to the processor.
The Configuration/Debug port provides the following functionality:
Full view of the module's configuration data
View of the module's status data
Version
Control over the module (warm boot, cold boot, transfer configuration)
You can connect directly from your computer's serial port to the serial port on the module to view configuration information, perform maintenance, and send
(upload) or receive (download) configuration files.
ProSoft Technology recommends the following minimum hardware to connect your computer to the module:
80486 based processor (Pentium preferred)
1 megabyte of memory
At least one UART hardware-based serial communications port available.
USB-based virtual UART systems (USB to serial port adapters) often do not function reliably, especially during binary file transfers, such as when uploading/downloading configuration files or module firmware upgrades.
A null modem serial cable.
ProSoft Technology, Inc.
April 17, 2008
Page 31 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Diagnostics and Troubleshooting
The Configuration and Debug menu for this module is arranged as a tree structure, with the Main Menu at the top of the tree, and one or more sub-menus for each menu command. The first menu you see when you connect to the module is the Main menu.
Because this is a text-based menu system, you enter commands by typing the command letter from your computer keyboard in the diagnostic window in
ProSoft Configuration Builder (PCB). The module does not respond to mouse movements or clicks. The command executes as soon as you press the command letter — you do not need to press [Enter]. When you type a command letter, a new screen will be displayed in your terminal application.
Using the Diagnostic Window in ProSoft Configuration Builder
To connect to the module's Configuration/Debug serial port:
1
Start PCB program with the application file to be tested. Right click over the module icon.
2
On the shortcut menu, choose Diagnostics.
Page 32 of 74 ProSoft Technology, Inc.
April 17, 2008
Diagnostics and Troubleshooting MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
3 This action opens the Diagnostics dialog box. Press "?" to display the Main
Menu.
Important: The illustrations of configuration/debug menus in this section are intended as a general guide, and may not exactly match the configuration/debug menus in your own module.
If there is no response from the module, follow these steps:
1 Verify that the null modem cable is connected properly between your computer's serial port and the module. A regular serial cable will not work.
2 On computers with more than one serial port, verify that your communication program is connected to the same port that is connected to the module.
If you are still not able to establish a connection, contact ProSoft Technology for assistance.
Navigation
All of the sub-menus for this module contain commands to redisplay the menu or return to the previous menu. You can always return from a sub-menu to the next higher menu by pressing [M] on your keyboard.
ProSoft Technology, Inc.
April 17, 2008
Page 33 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Diagnostics and Troubleshooting
The organization of the menu structure is represented in simplified form in the following illustration:
The remainder of this section shows you the menus available for this module, and briefly discusses the commands available to you.
Keystrokes
The keyboard commands on these menus are almost always non-case sensitive.
You can enter most commands in lower case or capital letters.
The menus use a few special characters ([?], [-], [+], [@]) that must be entered exactly as shown. Some of these characters will require you to use the [Shift],
[Ctrl] or [Alt] keys to enter them correctly. For example, on US English keyboards, enter the [?] command as [Shift][/].
Also, take care to distinguish capital letter [I] from lower case letter [l] (L) and number [1]; likewise for capital letter [O] and number [0]. Although these characters look nearly the same on the screen, they perform different actions on the module.
When you first connect to the module from your computer, your terminal screen will be blank. To activate the main menu, press the [?] key on your computer's keyboard. If the module is connected properly, the following menu will appear on your terminal screen:
Page 34 of 74 ProSoft Technology, Inc.
April 17, 2008
Diagnostics and Troubleshooting MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Caution: Some of the commands available to you from this menu are designed for advanced debugging and system testing only, and can cause the module to stop communicating with the processor or with other devices, resulting in potential data loss or other failures. Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff.
Some of these command keys are not listed on the menu, but are active nevertheless. Please be careful when pressing keys so that you do not accidentally execute an unwanted command.
Redisplaying the Menu
Press [?] to display the current menu. Use this command when you are looking at a screen of data, and want to view the menu choices available to you.
Viewing Version Information
Press [V] to view Version information for the module.
Use this command to view the current version of the software for the module, as well as other important values. You may be asked to provide this information when calling for technical support on the product.
Values at the bottom of the display are important in determining module operation. The Program Scan Counter value is incremented each time a module's program cycle is complete.
Tip: Repeat this command at one-second intervals to determine the frequency of program execution.
Opening the Database Menu
Press [D] to open the Database View menu. Use this menu command to view the current contents of the module's database.
Clearing Diagnostic Data
Press [C] to clear diagnostic data from the module's memory.
Opening the Backplane Menu
Press [B] from the Main Menu to view the Backplane Data Exchange List. Use this command to display the configuration and statistics of the backplane data transfer operations.
Tip: Repeat this command at one-second intervals to determine the number of blocks transferred each second.
Opening the Protocol_Serial_S3964R Menu
Press [0] or [1] from the Main Menu to open the Protocol_Serial_S3964R menu for S3964R Ports 1 and 2.
ProSoft Technology, Inc.
April 17, 2008
Page 35 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Diagnostics and Troubleshooting
Use this command to view communication status and statistics for the selected port. This information can be useful for trouble-shooting communication problems.
Transferring the Configuration File from MVI46 module to PC
Press [S] to receive (download) the configuration file from the module to your
PC.
Press [Y] to confirm the file transfer, and then follow the instructions on the terminal screen to complete the file transfer process.
After the file has been successfully downloaded, you can open and edit the file to change the module's configuration.
Transferring the Configuration File from PC to MVI46 module
Press [R] to send (upload) the configuration file from your PC to the module and store the file on the module's Compact Flash Disk.
Press [Y] to confirm the file transfer, and then follow the instructions on the terminal screen to complete the file transfer process.
After the file has been successfully downloaded, the module will restart the program and load the new configuration information. Review the new configuration using menu commands [0] and [1] to verify that the module is configured correctly.
Warm Booting the Module
Caution: Some of the commands available to you from this menu are designed for advanced debugging and system testing only, and can cause the module to stop communicating with the processor or with other devices, resulting in potential data loss or other failures. Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff.
Some of these command keys are not listed on the menu, but are active nevertheless. Please be careful when pressing keys so that you do not accidentally execute an unwanted command.
Press [W] from the Main Menu to warm boot (restart) the module. This command will cause the program to exit and reload, refreshing configuration parameters that must be set on program initialization. Only use this command if you must force the module to re-boot.
Exiting the Program
Caution: Some of the commands available to you from this menu are designed for advanced debugging and system testing only, and can cause the module to stop communicating with the processor or with other devices, resulting in potential data loss or other failures. Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff.
Some of these command keys are not listed on the menu, but are active nevertheless. Please be careful when pressing keys so that you do not accidentally execute an unwanted command.
Page 36 of 74 ProSoft Technology, Inc.
April 17, 2008
Diagnostics and Troubleshooting MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Press [Esc] to restart the module and force all drivers to be loaded. The module will use the configuration stored in the module's Flash ROM to configure the module.
Press [D] from the Main Menu to open the Database View menu. Use this menu command to view the current contents of the module's database. Press [?] to view a list of commands available on this menu.
M = Main Menu
D = Database Menu
? = Display Menu
0 – 3 = Pages 0 to 3000
S = Show Again
– = Back 5 Pages
P = Previous Page
+ = Skip 5 Pages
N = Next Page
D = Decimal Display
H = Hexadecimal Display
F = Float Display
A = ASCII Display
M = Main Menu
Redisplays (refreshes) this menu
Selects page 0, 1000, 2000 or 3000
Redisplays last selected page of data
Goes back five pages of data
Goes back one page of data
Goes forward five pages of data
Goes forward one page of data
Displays data in decimal format
Displays data in hex format
Displays data in floating point format
Displays data in text format
Goes up one level to main menu
Viewing Register Pages
To view sets of register pages, use the keys described below:
Command Description
[0]
[1]
[2]
Display registers 0 to 99
Display registers 1000 to 1099
Display registers 2000 to 2099
And so on. The total number of register pages available to view depends on your module's configuration.
ProSoft Technology, Inc.
April 17, 2008
Page 37 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Displaying the Current Page of Registers Again
Diagnostics and Troubleshooting
This screen displays the current page of 100 registers in the database.
Moving Back Through 5 Pages of Registers
Press [-] from the Database View menu to skip back to the previous 500 registers of data.
Viewing the Previous 100 Registers of Data
Press [P] from the Database View menu to display the previous 100 registers of data.
Skipping 500 Registers of Data
Hold down [Shift] and press [=] to skip forward to the next 500 registers of data.
Viewing the Next 100 Registers of Data
Press [N] from the Database View menu to select and display the next 100 registers of data.
Viewing Data in Decimal Format
Press [D] to display the data on the current page in decimal format.
Viewing Data in Hexadecimal Format
Press [H] to display the data on the current page in hexadecimal format.
Viewing Data in Floating Point Format
Press [F] from the Database View menu. Use this command to display the data on the current page in floating point format. The program assumes that the values are aligned on even register boundaries. If floating-point values are not aligned as such, they are not displayed properly.
Viewing Data in ASCII (Text) Format
Press [A] to display the data on the current page in ASCII format. This is useful for regions of the database that contain ASCII data.
Page 38 of 74 ProSoft Technology, Inc.
April 17, 2008
Diagnostics and Troubleshooting
Returning to the Main Menu
Press [M] to return to the Main Menu.
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Press [B] from the Main Menu to view the Backplane Data Exchange List. Use this command to display the configuration and statistics of the backplane data transfer operations. Press [?] to view a list of commands available on this menu.
M = Main Menu
B = Backplane Menu
? = Display Menu
V = Version Information
M = Main Menu
C = Configuration Information
D = Diagnostic Information
Redisplays (refreshes) this menu
Displays version information screen
Goes up one level to main menu
Displays configuration screen
Displays backplane diagnostic information
Redisplaying the Menu
Press [?] to display the current menu. Use this command when you are looking at a screen of data, and want to view the menu choices available to you.
Viewing Version Information
Press [V] to view Version information for the module.
Use this command to view the current version of the software for the module, as well as other important values. You may be asked to provide this information when calling for technical support on the product.
Values at the bottom of the display are important in determining module operation. The Program Scan Counter value is incremented each time a module's program cycle is complete.
Tip: Repeat this command at one-second intervals to determine the frequency of program execution.
Returning to the Main Menu
Press [M] to return to the Main Menu.
Viewing Configuration Information
Press [C] to view configuration information for the selected port, protocol, driver or device.
Viewing Backplane Diagnostic Information
Press [D] to view Backplane Diagnostic information.
ProSoft Technology, Inc.
April 17, 2008
Page 39 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Diagnostics and Troubleshooting
Use this command to display the configuration and statistics of the backplane data transfer operations between the module and the processor. The information on this screen can help determine if there are communication problems between the processor and the module.
Tip: Repeat this command at one-second intervals to determine the number of blocks transferred each second
4.1.6 Protocol Serial 3964R Menu
Press [0] or [1] to view protocol serial information for ports 1 and 2, respectively.
Use this command to view a variety of error and status screens for the port.
Press [?] to view a list of commands available on this menu.
M = Main Menu
0 / 1 = Protocol_Serial Menu
? = Display Menu
V = Version Information
M = Main Menu
C = Configuration Information
S = Serial Port
E = Error/Status Information
Redisplays (refreshes) this menu
Displays version information screen
Goes up one level to main menu
Displays configuration information screen
Opens the Serial Port menu
Opens the Command List menu
See Serial Port Menu section
See Command List Menu section
Redisplaying the Menu
Press [?] to display the current menu. Use this command when you are looking at a screen of data, and want to view the menu choices available to you.
Viewing Version Information
Press [V] to view Version information for the module.
Use this command to view the current version of the software for the module, as well as other important values. You may be asked to provide this information when calling for technical support on the product.
Values at the bottom of the display are important in determining module operation. The Program Scan Counter value is incremented each time a module's program cycle is complete.
Tip: Repeat this command at one-second intervals to determine the frequency of program execution.
Returning to the Main Menu
Press [M] to return to the Main Menu.
Page 40 of 74 ProSoft Technology, Inc.
April 17, 2008
Diagnostics and Troubleshooting MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Viewing Configuration Information
Press [C] to view configuration information for the selected port, protocol, driver or device.
Opening the Serial Port Menu
Press [S] to open the Serial Port menu. Use this command to view and change additional serial port driver settings.
Viewing Error and Status Data
Press [E] to display the error/status data for the module.
4.2 LED Status Indicators
The LEDs indicate the module's operating status as follows:
ProSoft
Module
Color Status Indication
Off
Data is being transferred between the module and a remote terminal using the Configuration/Debug port.
No data is being transferred on the Configuration/Debug port.
Data being transferred between master and port 1.
Data being transferred between master and port 2.
APP Status Amber
BP ACT Amber
Green
Off
On
On
Off
Green
Red
On
The MVI46-3964R is working normally.
The MVI46-3964R module program has recognized a communication error.
The LED is on when the module is performing a write operation on the backplane.
The LED is off when the module is performing a read operation on the backplane. Under normal operation, the
LED should blink rapidly on and off.
The card is not receiving any power and is not securely plugged into the rack.
The module is operating normally.
The program has detected an error or is being configured.
If the LED remains red for over 10 seconds, the program has probably halted. Remove the card from the rack and re-insert the card to restart the module's program.
The battery voltage is OK and functioning.
The battery voltage is low or battery is not present. Allow battery to charge by keeping module plugged into rack for
24 hours. If BAT LED still does not go off, contact ProSoft
Technology, as this is not a user serviceable item.
If the APP, BP ACT and OK LEDs blink at a rate of every one-second, this indicates a serious problem with the module. Call ProSoft Technology support to arrange for repairs.
ProSoft Technology, Inc.
April 17, 2008
Page 41 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Diagnostics and Troubleshooting
4.2.1 Clearing a Fault Condition
Typically, if the OK LED on the front of the module turns red for more than ten seconds, a hardware problem has been detected in the module, or the program has exited.
To clear the condition, follow these steps:
1 Turn off power to the rack
2 Remove the card from the rack
3 Verify that all jumpers are set correctly
4 If the module requires a Compact Flash card, verify that the card is installed correctly
5 Re-insert the card in the rack and turn the power back on
6 Verify the configuration data being transferred to the module from the SLC processor.
If the module's OK LED does not turn green, verify that the module is inserted completely into the rack. If this does not cure the problem, contact ProSoft
Technology Support.
4.2.2 Troubleshooting
Use the following troubleshooting steps if you encounter problems when the module is powered up. If these steps do not resolve your problem, please contact
ProSoft Technology Technical Support.
Processor Errors
Problem Description Steps to take
Processor Fault
Processor I/O LED flashes
Verify that the module is plugged into the slot that has been configured for the module.
Verify that the slot in the rack configuration has been set up correctly in the ladder logic.
This indicates a problem with backplane communications. Verify that all modules in the rack are configured in the ladder logic.
Page 42 of 74 ProSoft Technology, Inc.
April 17, 2008
Diagnostics and Troubleshooting
Module Errors
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Problem Description Steps to take
BP ACT LED remains off or blinks slowly
This indicates that backplane transfer operations are failing. Connect to the module's Configuration/Debug port to check this.
To establish backplane communications, verify the following items:
The processor is in Run mode.
The backplane driver is loaded in the module.
The module is configured for read and write block data transfer.
OK LED remains red
The ladder logic handles all read and write block situations.
The module is configured in the processor.
The program has halted or a critical error has occurred. Connect to the
Configuration/Debug port to see if the module is running. If the program has halted, turn off power to the rack, remove the card from the rack and re-insert the card in the rack, and then restore power to the rack.
ProSoft Technology, Inc.
April 17, 2008
Page 43 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Diagnostics and Troubleshooting
Page 44 of 74 ProSoft Technology, Inc.
April 17, 2008
Siemens 3964R Protocol
5 Reference
In This Chapter
Functional Overview.............................................................................. 47
Reference Documents........................................................................... 60
The MVI46 S3964R module from ProSoft Technology allows point-to-point communication between an SLC processor and a partner with 3964R (with or without RK512) communication capability.
5.1.1 Features and Benefits
The 3964R protocol (with or without RK512) was designed by Siemens for bidirectional data communication through a point-to-point connection. It is a peer to peer protocol with read and write access. A BCC checksum ensures the safety of the transfer.
Single Slot - 1746 backplane compatible (Local or extended I/O rack only.
Remote rack not supported)
The module is recognized as an Input/Output module and has access to processor memory for data transfer between processor and module using
M0/M1 files
Ladder Logic is used for data transfer between module and processor.
Sample ladder file included
Configuration data obtained from configuration text file downloaded to module. Sample configuration file included
ProSoft Technology, Inc.
April 17, 2008
Page 45 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Specification
Backplane Current Load
Operating Temperature
Storage Temperature
Shock
Relative Humidity
Vibration
Processor
LED indicators
Debug/Configuration port (CFG)
CFG Port (CFG)
Configuration Connector
Application Ports
Application Serial port (PRT1, PRT2)
(Serial Modules)
Reference
Description
800 ma @ 5V (from backplane)
0 to 60°C (32 to 140°F)
-40 to 85°C (-40 to 185°F)
30g operational, 50g non-operational
5% to 95% (non-condensing)
5 g from 10150 Hz
Compatible with Rockwell Automation SLC 5/02 M0/M1 capable processors or newer
Module status, Backplane transfer status, Application status, Serial activity and error LED status
RJ45 (DB-9M with supplied cable)
RS-232 only
RJ45 RS-232 Connector (RJ45 to DB-9 cable shipped with unit)
Two RJ45 RS-232/422 Application ports
The MVI46-3964R and the SLC processor communicate via M0 and M1 files
Single-slot, SLC backplane compatible
Multiple modules can be placed in a rack up to the chassis power supply limit
While in 3964R with RK512 mode on PRT1 and PRT2, DB-SEND and DB-
FETCH instructions can be initiated from the SLC processor or received by the communications partner
While in 3964R without RK512 mode on PRT1 and PRT2, data can be sent from the SLC processor or be received from the communications partner
The maximum transfer rate is 512 bytes in any mode
Data byte swapping can be configured to adjust to a different word format
While in 3964R with RK512 mode on PRT1 and PRT2, evaluation of the header information DB (data block), DW (data word) and coordination bytes 9 and 10 is possible
Communication activity and diagnostics are available through LEDs and acknowledgment telegrams
Ladder Logic
Ladder logic programming in the SLC processor is required in order to enable and support the Siemens 3964R protocol functionality. The ladder program handles the encoding/decoding of data transferred from the module as well as the initiation of protocol-specific functionality in the module. Example ladder programs are provided with the module to ease the implementation of the module in the user application.
Page 46 of 74 ProSoft Technology, Inc.
April 17, 2008
Siemens 3964R Protocol
5.2.1 Products in the Environment
The 3964R protocol can be installed in all local SLC chassis with at least one controller.
You can obtain more information about SLC and the SLC environment through your Rockwell Automation branch office.
Product Compatibility
The communication between the MVI46 and the SLC processor is realized through M0/M1 data transfer.
5.2.2 3964R Protocol Overview
The 3964R Protocol in General
The 3964R protocol defined by Siemens is used for bi-directional data exchange between two peers through a bit-serial point-to-point connection. This protocol may be additionally embedded in the RK512 telegram level. If 3964R is used with
RK512, each participant can send jobs to its partner and has read (DB-FETCH) and write access (DB-SEND) to the partner's data. The data exchange is realized in the form of messages and response messages. The maximum user data volume is 512 byte per job and 128 byte per message.
3964R without RK512 allows only block wise sending and receiving of data. The detailed handshake procedure through messages and response messages is not applicable in this case.
If both partners want to send a job (3964R with RK512) or data (3964R without
RK512) at the same time, the resulting initialization conflict will be solved through the high/low priority setup. In such a case one partner will be allocated high priority and the other one low priority. Thus, in case of an initialization conflict the device with low priority will defer its job whereas the device with the high priority will be able to send a job.
The safety of data transmission on the line is guaranteed by a BCC checksum.
You should have sufficient knowledge about the 3964R protocol in order to understand the operation of the driver for the MVI46-S3964R and to make efficient use of the example programs.
MVI46-S3964R Operation
The protocol realized on the MVI46-S3964R has the following special features:
ProSoft Technology, Inc.
April 17, 2008
Page 47 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Reference
Immediately after power-up and completion of the internal/external initialization procedures the MVI46-S3964R with installed 3964R protocol is ready to serve as an interface between a SLC processor and one or two communication partners using 3964R protocol. The parameterization of the module is realized through a configuration file. This is where a differentiation between the communication modes 3964R with RK512 and 3964R without
RK512 takes place.
The communication mode 3964R without RK512 supports processing of up to
512 bytes.
The serial transmission parameters are optional and can be allocated independently to each interface. Possible baud rates are 300 to 115200. The following parity setups are possible: Even, Odd and None.
Module Power Up
On power up the module begins performing the following logical functions:
Initialize hardware components o o o
Initialize SLC backplane driver
Test and Clear all RAM
Initialize the serial communication ports
Read module configuration from the Compact Flash
Initialize Module Register space
Set up the communication interface for the debug/configuration port
When this initialization procedure is complete, the module will begin communicating with other nodes on the network, depending on the configuration.
Page 48 of 74 ProSoft Technology, Inc.
April 17, 2008
Siemens 3964R Protocol
Main Logic Loop
Upon completing the power up configuration process, the module enters an infinite loop that performs the functions shown in the following diagram.
From Power Up Logic
Call I/O Handler
Call I/O Handler
Transfers data between the module and processor
(user, status, etc.)
Call CFG/DEBUG Port
Driver
Call Serial Port Driver
Rx and Tx buffer routines are interrupt driven. Call to serial port routines check to see if there is any data in the buffer, and depending on the value, will either service the buffer or wait for more characters.
Call Network
Slave Drivers
Call Network Slave Drivers
Respond to messages received.
Backplane Data Transfer
Receive from CP
ProSoft Technology, Inc.
April 17, 2008
Page 49 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Send to CP
Reference
Request from CP
Block ID for the transfer of data from the processor to the module to be sent out the serial port
9
9 Always 9
X
0 Not Last Block
9 Last block
9011 First block for port 1
9921 Second and last block for port 1
9912 First and last block for port 2
X
1 Block 1
2 Block 2
3 Block 3
4 Block 4
X
1 Port 1
2 Port 2
Page 50 of 74 ProSoft Technology, Inc.
April 17, 2008
Send Block for Module to send to CP (Block 1)
Offset Data
0 9X1X
1 Header
11 Data
Send Block for Module to send to CP (Blocks 2 to 4)
Offset Data
0 9X2X, 9X3X, 9X4X
1 Data
Request for data Block from Module to respond to CP
4
5
6
Offset Data
0 910X
1 Reserved
3 1145h
Data Block (DB)
Data Word (DW)
Number of Data Words
8
9 to 12
Data Type (4Dh/44h)
Reserved
Receive Data from CP (First Block)
4
5
6
Offset Data
0 910X
1 Reserved
2 Data Block 1
3 1141h/11FFh
Data Block (DB)
Data Word (DW)
Number of Data Words
8
9 to 12
Data Type (4Dh/44h)
Reserved
13 Data
Receive Data from CP (Blocks 2 to 4)
Offset Data
0 910X
1 Reserved
2 Data Block (2 to 4)
3 Data
ProSoft Technology, Inc.
April 17, 2008
Siemens 3964R Protocol
Length
1
10
50
Length
1
60
Length
1
2
1
1
4
1
1
1
1
Length
1
1
1
1
1
1
1
1
1
4
49
Length
1
1
1
59
Page 51 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Receive Data from CP (Block 5)
Offset Data
0 910X
1 Reserved
2 Data Block (5)
3 Data
5.2.4 Communications
Reference
Length
1
1
1
30
Job Allocation by the SLC Controller
This section describes the different types of jobs and the relevant parameters to be entered. For a better understanding a printout of the sample ladder file is recommended.
Every job that is transferred to or from the MVI46-S3964R consists of defined header data and user data.
The Job structure in general:
.. ..
.. ..
Header Data
The header data consists of 10 words with a job identifier and parameter data.
The header data is to be entered either in the file HEADER_P1 to send to port 1 or the file HEADER_P2 to send to port 2.
The header in general:
0
1
2
Job identifier (hex)
00
00
3
4
Number of data words/data bytes
Coordination byte 9
5 00
6 00
7 00
8 00
9 00
Data Block (DB)
Data Word (DW)
Coordination byte 10
00
00
00
00
The meaning of the entries and possible values are described below.
Page 52 of 74 ProSoft Technology, Inc.
April 17, 2008
Siemens 3964R Protocol
Job Identifier
The job identifiers are defined as follows:
Send jobs to a CP:
Job:
3964R with RK512: DB-SEND to CP
3964R with RK512: DB-FETCH to CP
Identifier:
0041hex
0045hex
The MVI46-S3964R receives jobs from a CP automatically without extra parameterization. To differentiate the header data the MVI46-S3964R adds a header to the user data received and transfers it to the SLC processor.
Receive jobs from a CP
Job:
3964R with RK512: DB-SEND from CP
3964R with RK512: DB-FETCH from CP
Identifier:
1141hex
1145hex
Data Block (DB)
Number of the data block. This data block must exist in the communication partner (3964R with RK512 only, otherwise to be set to "0").
Data Word (DW)
Number of the data word in the selected data block. The selected data block must contain this number (3964R with RK512 only, otherwise to be set to "0").
Number of Data Words/Data Bytes
Dependent on the type of communication mode used on port 1/2 of the module, this value will be interpreted as number of data words. This value defines whether a job will be carried out with or without subsequent telegram. For jobs without subsequent telegram the value will be 1 ... 64 words (1 … 128 bytes), and for jobs with subsequent telegram(s) it will be 65 ... 256 words (129 … 512 bytes).
Coordination Byte 9/10
3964R with RK512 send jobs offer the possibility of entering so called coordination bytes (byte 9 and 10 in the RK512 telegram header). Otherwise to be set to "0".
Data Type
The send message can request a data type of Data Words (44h) or Marker
(4Dh). If the value is 0 (zero), then data words is used.
Receive Jobs
To receive jobs from a CP only, no additional parameterization is necessary. The user data received is stored in a file in the SLC processor.
The following table shows an example of the data stored in HeaderCom1 in case of a DB-Send from a CP. The CP is connected to port 1.
ProSoft Technology, Inc.
April 17, 2008
Page 53 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Reference
0 1141hex
1 00
2
3
4
00
Number of data words (total number)
1
Number of data words (actual block)
5 00
2
6 00
7 00
8 00
Data Block (DB)
Data Word (DW)
00
00
00
00
9 00 00
1 = This is the total number of data words for the whole job.
2 = This is the number of data words stored in RecvDataCom1.
The user data is copied to RecvDataCom1. This is the file you should operate with.
For port 2, which is similar to port 1, the file for storing the user data received is called RecvDataCom2.
Send Jobs
To send a job to a CP, the next step is to define the appropriate header for the job. The following table shows an example of the header data for a DB-Send job to a CP with the following parameters:
DB = 10, DW = 0, 128 words, coordination byte 9 = FFhex, coordination byte 10
= FFhex, Data Type = 44hex.
0 0041hex
1 00
2 00
3 80hex (= 128dec)
4 FFhex
5 00
6 00
7 00
8 00
9 00
10
0
FFhex
44hex
00
00
00
00
A DB-Fetch job will be parameterized similar to the example above.
To send with 3964R without RK512 to a CP (identifier 00FFhex), the values for
DB, DW and the coordination bytes will be ignored and can be set to "0".
The next step is to copy the user data into the appropriate files of the SLC processor.
Page 54 of 74 ProSoft Technology, Inc.
April 17, 2008
Siemens 3964R Protocol
Both ports can be used independently from each other (multi tasking).
A possible initialization conflict will be solved as follows:
MVI46-S3964R has "High Priority":
The MVI46-S3964R retries the sending of the 3964R start character (STX) 3 times and waits for the CP to send the 3964R acknowledge (DLE). If the CP does not send the acknowledge as expected the communication will fail and has to be restarted.
MVI46-S3964R has "Low Priority":
The MVI46-S3964R rejects its send job and sends the 3964R acknowledge
(DLE) to the CP.
Important: If the MVI46-S3964R has rejected its send job due to "Low Priority", you must restart its send job completely (starting with the copying of the job data).
The application ports on the MVI46-S3964R module support RS-232 and RS-422 interfaces. Please look at the module to ensure that the jumpers are set correctly to correspond with the type of interface you are using.
Note: When using RS-232 with radio modem applications, some radios or modems require hardware handshaking (control and monitoring of modem signal lines). Enable this in the configuration of the module by setting the UseCTS parameter to 1.
5.3.1 RS-232 Configuration/Debug Port
This port is physically an RJ45 connection. An RJ45 to DB-9 adapter cable is included with the module. This port permits a PC based terminal emulation program to view configuration and status data in the module and to control the module. The cable for communications on this port is shown in the following diagram:
ProSoft Technology, Inc.
April 17, 2008
Page 55 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Reference
Disabling the RSLinx Driver for the Com Port on the PC
The communication port driver in RSLinx can occasionally prevent other applications from using the PC's COM port. If you are not able to connect to the module's configuration/debug port using ProSoft Configuration Builder (PCB),
HyperTerminal or another terminal emulator, follow these steps to disable the
RSLinx Driver.
1 Open RSLinx and go to Communications>RSWho
2 Make sure that you are not actively browsing using the driver that you wish to stop. The following shows an actively browsed network:
3 Notice how the DF1 driver is opened, and the driver is looking for a processor on node 1. If the network is being browsed, then you will not be able to stop this driver. To stop the driver your RSWho screen should look like this:
Branches are displayed or hidden by clicking on the or the icons.
4
When you have verified that the driver is not being browsed, go to
Communications>Configure Drivers
Page 56 of 74 ProSoft Technology, Inc.
April 17, 2008
You may see something like this:
Siemens 3964R Protocol
If you see the status as running, you will not be able to use this com port for anything other than communication to the processor. To stop the driver press the "Stop" on the side of the window:
5 After you have stopped the driver you will see the following:
6 Upon seeing this, you may now use that com port to connect to the debug port of the module.
Note: You may need to shut down and restart your PC before it will allow you to stop the driver
(usually only on Windows NT machines). If you have followed all of the above steps, and it will not stop the driver, then make sure you do not have RSLogix open. If RSLogix is not open, and you still cannot stop the driver, then reboot your PC.
ProSoft Technology, Inc.
April 17, 2008
Page 57 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
5.3.2 RS-232
Reference
When the RS-232 interface is selected, the use of hardware handshaking
(control and monitoring of modem signal lines) is user definable. If no hardware handshaking will be used, the cable to connect to the port is as shown below:
The assignment of the RS-232 connection cable between PRT1/2 (9 pole) and
CP-544 (25 pole) is as follows:
PRT1/2 Pin Description CP 544 Pin Description
Important: The other pins of the RS-232 must not be used.
5.3.4 RS-422
RS-422 Tip
If communication in the RS-422 mode does not work at first, despite all attempts, try switching termination polarities. Some manufacturers interpret +/- and A/B polarities differently.
Page 58 of 74 ProSoft Technology, Inc.
April 17, 2008
5.3.5 DB9 to RJ45 Adaptor (Cable 14)
Siemens 3964R Protocol
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-
S3964R 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.
ProSoft Technology, Inc.
April 17, 2008
Page 59 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Siemens
Simatic CP544
Handbuch zum Kommunikationspartner CP544
Ausgabe 01
Bestell-Nr. 6ES5 998-2DB11
19
20
21
22
15
16
17
18
11
12
13
14
Value Description
1 Product
3 Code
5 Revision
Port 1 Requests
Port 1 Responses
Port 1 Errors Sent
Port 1 Errors Received
Port 1 DLE Not Received
Port 1 STX Not Received
Port 2 Requests
Port 2 Responses
Port 2 Errors Sent
Port 2 Errors Received
Port 2 DLE Not Received
Port 2 STX Not Received
27
28
29
30
Port 1 Current Error
Port 1 Last Error
Port 2 Current Error
Port 2 Last Error
Page 60 of 74
Reference
ProSoft Technology, Inc.
April 17, 2008
Siemens 3964R Protocol
-34
-35
-36
-37
-20
-30
-31
-32
Error Code
-2
-10
-11
0xFFFE
0xFFF6
0xFFF5
Description
DLE could not be sent
DLE not received in time
Communication Timeout occurred
0xFFEC Invalid character or acknowledge received
0xFFE2 Amount of user data is 0 or greater than 256 words
0xFFE1 Reject pending job from the processor due to low priority
0xFFE0 No reaction (STX) from Communication Partner
-39
0xFFDE
0xFFDD
0xFFDC
0xFFDB
Job code not defined
High/High (priority) initialization conflict occurred
First Header Byte does not match telegram type
Character received was not an STX established
0xFFD9 S3964R communication could not be established/finished
ProSoft Technology, Inc.
April 17, 2008
Page 61 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Reference
Page 62 of 74 ProSoft Technology, Inc.
April 17, 2008
Support, Service & Warranty MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
6 Support, Service & Warranty
In This Chapter
How to Contact Us: Sales and Support ................................................. 64
Return Material Authorization (RMA) Policies and Conditions............... 64
Procedures for Return of Units Under Warranty.................................... 65
Procedures for Return of Units Out of Warranty.................................... 66
LIMITED WARRANTY........................................................................... 67
Be sure and read the full Warranty that can be found on our web site at www.prosoft-technology.com
for details and other terms and conditions. The content in this summary is subject to change without notice. The content is current at date of publication.
ProSoft Technology, Inc. strives to provide meaningful support to its customers.
Should any questions or problems arise, please feel free to contact us at:
Internet Web Site: http://www.prosoft-technology.com/support
E-mail address: [email protected]
Those of us at ProSoft Technology, Inc. want to provide the best and quickest support possible, so before calling please have the following information available. You may wish to fax this information to us prior to calling.
1 Product Version Number
2 System architecture
3 Network details
In the case of hardware, we will also need the following information:
1 Module configuration and contents of file
2 Module Operation
3 Configuration/Debug status information
4 LED patterns
5 Information about the processor and user data files as viewed through the development software and LED patterns on the processor
6 Details about the networked devices interfaced, if any
For technical support calls within the United States, an after-hours answering system allows pager access to one of our qualified technical and/or application support engineers at any time to answer your questions.
ProSoft Technology, Inc.
April 17, 2008
Page 63 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
6.1 How to Contact Us: Sales and Support
Support, Service & Warranty
All ProSoft Technology Products are backed with full technical support. Contact our worldwide Technical Support team and Customer Service representatives directly by phone or email:
USA / Latin America (excluding Brasil) (Office in California)
+1(661) 716-5100
+1(661) 716-5101 (Fax)
1675 Chester Avenue, 4th Floor
Bakersfield, California 93301
U.S.A.
+1.661.716.5100, [email protected]
Languages spoken include: English, Spanish
Asia Pacific Sales (office in Malaysia)
+603.7724.2080
+603.7724.2090 (Fax)
C210, Damansara Intan,
1 Jalan SS20/27, 47400 Petaling Jaya
Selangor, Malaysia
+603.7724.2080, [email protected]
Languages spoken include: Chinese, Japanese, English
Asia Pacific Support (office in China)
+86.21.64518356 x 8011
+86.21.64756957 (Fax)
4/F, No. 16 Hongcao Road
Shanghai, China 200233
China
+86.21.64518356 x 8011, [email protected]
Languages spoken include: Chinese, English
Europe / Middle East / Africa (office in Toulouse, France)
+33 (0) 5.34.36.87.20
+33 (0) 5.61.78.40.52 (Fax)
Zone d'activité de Font Grasse
17, rue des Briquetiers
F-31700 Blagnac
France
+33 (0) 5.34.36.87.20. [email protected]
Languages spoken include: French, English
Brasil (office in Sao Paulo)
+55-11-5084-5178
+55-11-5083-3776 (Fax)
Rua Vergueiro, 2949 - sala 182 - Edifício Vergueiro Work Center
Vila Mariana - São Paulo
Cep: 04101-300 - Brasil
+55-11-5084-5178, [email protected]
Languages spoken include: Portuguese, English
The following RMA Policies and Conditions apply to any returned product. These
RMA Policies are subject to change by ProSoft without notice. For warranty information, see Section C below entitled "Limited Warranty". In the event of any inconsistency between the RMA Policies and the Warranty, the Warranty shall govern.
Page 64 of 74 ProSoft Technology, Inc.
April 17, 2008
Support, Service & Warranty MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
6.2.1 All Product Returns
1 In order to return a Product for repair, exchange or otherwise, the Customer must obtain a Returned Material Authorization (RMA) number from ProSoft and comply with ProSoft shipping instructions.
2 In the event that the Customer experiences a problem with the Product for any reason, Customer should contact ProSoft Technical Support at one of the telephone numbers listed above in Section A. A Technical Support Engineer will request several tests in an attempt to isolate the problem. If after these tests are completed, the Product is found to be the source of the problem,
ProSoft will issue an RMA.
3 All returned Products must be shipped freight prepaid, in the original shipping container or equivalent, to the location specified by ProSoft, and be accompanied by proof of purchase. The RMA number is to be prominently marked on the outside of the shipping box. Customer agrees to insure the
Product or assume the risk of loss or damage in transit. Products shipped to
ProSoft without an RMA number will be returned to the Customer, freight collect. Contact ProSoft Technical Support for further information.
4 Out of warranty returns are not allowed on RadioLinx accessories such as antennas, cables, and brackets.
The following policy applies for Non-Warranty Credit Returns:
A 10% Restocking Fee if Factory Seal is not broken
B 20% Restocking Fee if Factory Seal is broken
ProSoft retains the right, in its absolute and sole discretion, to reject any nonwarranty returns for credit if the return is not requested within three (3) months after shipment of the Product to Customer, if the Customer fails to comply with
ProSoft's shipping instructions, or if the Customer fails to return the Product to
ProSoft within six (6) months after Product was originally shipped.
6.3 Procedures for Return of Units Under Warranty
1 A Technical Support Engineer must pre-approve all product returns.
2 Module is repaired or replaced after a Return Material Authorization Number is entered and a replacement order is generated.
3 Credit for the warranted item is issued within 10 business days after receipt of product and evaluation of the defect has been performed by ProSoft. The credit will only be issued provided the product is returned with a valid Return
Material Authorization Number and in accordance with ProSoft's shipping instructions.
ProSoft Technology, Inc.
April 17, 2008
Page 65 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Support, Service & Warranty a) If no defect is found, a credit is issued. b) If a defect is found and is determined to be customer generated or if the defect is otherwise not covered by ProSoft's Warranty, or if the module is not repairable, a credit is not issued and payment of the replacement module is due.
6.4 Procedures for Return of Units Out of Warranty
1 Customer sends unit in for evaluation.
2 If no defect is found, Customer will be charged the equivalent of US $100 plus shipping, duties and taxes that may apply. A new Purchase Order will be required for this evaluation fee.
If the unit is repaired the charge to the Customer will be 30%* of the list price plus any shipping, duties and taxes that may apply. A new Purchase Order will be required for a product repair.
3 For an immediate exchange, a new module may be purchased and sent to
Customer while repair work is being performed. Credit for purchase of the new module will be issued when the new module is returned in accordance with ProSoft's shipping instructions and subject to ProSoft's policy on nonwarranty returns. This is in addition to charges for repair of the old module and any associated charges to Customer.
4 If, upon contacting ProSoft Customer Service, the Customer is informed that unit is believed to be unrepairable, the Customer may choose to send unit in for evaluation to determine if the repair can be made. Customer will pay shipping, duties and taxes that may apply. If unit cannot be repaired, the
Customer may purchase a new unit.
3150-All
3750
3600-All
3700
3170-All
3250
1560 can be repaired, if defect is the power supply
1550 can be repaired, if defect is the power supply
3350
3300
1500-All
* 30% of list price is an estimated repair cost only. The actual cost of repairs will be determined when the module is received by ProSoft and evaluated for needed repairs.
Page 66 of 74 ProSoft Technology, Inc.
April 17, 2008
Support, Service & Warranty
6.4.2 Purchasing Warranty Extension
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
As detailed below in ProSoft's Warranty, the standard Warranty Period is one year (or in the case of RadioLinx modules, three years) from the date of delivery.
The Warranty Period may be extended for an additional charge, as follows:
Additional 1 year = 10% of list price
Additional 2 years = 20% of list price
Additional 3 years = 30% of list price
This Limited Warranty ("Warranty") governs all sales of hardware, software and other products (collectively, "Product") manufactured and/or offered for sale by
ProSoft, and all related services provided by ProSoft, including maintenance, repair, warranty exchange, and service programs (collectively, "Services"). By purchasing or using the Product or Services, the individual or entity purchasing or using the Product or Services ("Customer") agrees to all of the terms and provisions (collectively, the "Terms") of this Limited Warranty. All sales of software or other intellectual property are, in addition, subject to any license agreement accompanying such software or other intellectual property.
6.5.1 What Is Covered By This Warranty
A Warranty On New Products : ProSoft warrants, to the original purchaser only, that the Product that is the subject of the sale will (1) conform to and perform in accordance with published specifications prepared, approved, and issued by ProSoft, and (2) will be free from defects in material or workmanship; provided these warranties only cover Product that is sold as new. This
Warranty expires one year (or in the case of RadioLinx modules, three years) from the date of shipment (the "Warranty Period"). If the Customer discovers within the Warranty Period a failure of the Product to conform to specifications, or a defect in material or workmanship of the Product, the
Customer must promptly notify ProSoft by fax, email or telephone. In no event may that notification be received by ProSoft later than 15 months (or in the case of RadioLinx modules, 39 months) from the date of delivery. Within a reasonable time after notification, ProSoft will correct any failure of the
Product to conform to specifications or any defect in material or workmanship of the Product, with either new or used replacement parts. Such repair, including both parts and labor, will be performed at ProSoft's expense. All warranty service will be performed at service centers designated by ProSoft.
If ProSoft is unable to repair the Product to conform to this Warranty after a reasonable number of attempts, ProSoft will provide, at its option, one of the following: a replacement product, a full refund of the purchase price or a credit in the amount of the purchase price. All replaced product and parts become the property of ProSoft. These remedies are the Customer's only remedies for breach of warranty.
ProSoft Technology, Inc.
April 17, 2008
Page 67 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Support, Service & Warranty
B Warranty On Services : Material and labor used by ProSoft to repair a verified malfunction or defect are warranted on the terms specified above for new
Product, provided said warranty will be for the period remaining on the original new equipment warranty or, if the original warranty is no longer in effect, for a period of 90 days from the date of repair.
C The Warranty Period for RadioLinx accessories (such as antennas, cables, brackets, etc.) are the same as for RadioLinx modules, that is, three years from the date of shipment.
6.5.2 What Is Not Covered By This Warranty
A ProSoft makes no representation or warranty, expressed or implied, that the operation of software purchased from ProSoft will be uninterrupted or error free or that the functions contained in the software will meet or satisfy the purchaser's intended use or requirements; the Customer assumes complete responsibility for decisions made or actions taken based on information obtained using ProSoft software.
B
With the exception of RadioLinx accessories referenced in paragraph 1(c) this Warranty does not cover any product, components, or parts not manufactured by ProSoft.
C This Warranty also does not cover the failure of the Product to perform specified functions, or any other non-conformance, defects, losses or damages caused by or attributable to any of the following: (i) shipping; (ii) improper installation or other failure of Customer to adhere to ProSoft's specifications or instructions; (iii) unauthorized repair or maintenance; (iv) attachments, equipment, options, parts, software, or user-created programming (including, but not limited to, programs developed with any IEC
61131-3 programming languages, or "C") not furnished by ProSoft; (v) use of the Product for purposes other than those for which it was designed; (vi) any other abuse, misapplication, neglect or misuse by the Customer; (vii) accident, improper testing or causes external to the Product such as, but not limited to, exposure to extremes of temperature or humidity, power failure or power surges outside of the limits indicated on the product specifications; or
(viii) disasters such as fire, flood, earthquake, wind or lightning.
D The information in this Agreement is subject to change without notice.
ProSoft shall not be liable for technical or editorial errors or omissions made herein; nor for incidental or consequential damages resulting from the furnishing, performance or use of this material. The user guides included with your original product purchased by you from ProSoft, contains information protected by copyright. No part of the guide may be duplicated or reproduced in any form without prior written consent from ProSoft.
Page 68 of 74 ProSoft Technology, Inc.
April 17, 2008
Support, Service & Warranty MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
6.5.3 DISCLAIMER REGARDING HIGH RISK ACTIVITIES
PRODUCT MANUFACTURED OR SUPPLIED BY PROSOFT IS NOT FAULT
TOLERANT AND IS NOT DESIGNED, MANUFACTURED OR INTENDED FOR
USE IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE
PERFORMANCE (INCLUDING, WITHOUT LIMITATION, THE OPERATION OF
NUCLEAR FACILITIES, AIRCRAFT NAVIGATION OF COMMUNICATION
SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE SUPPORT MACHINES
OR WEAPONS SYSTEMS), IN WHICH THE FAILURE OF THE PRODUCT
COULD LEAD DIRECTLY OR INDIRECTLY TO DEATH, PERSONAL INJURY,
OR SEVERE PHYSICAL OR ENVIRONMENTAL DAMAGE (COLLECTIVELY,
"HIGH RISK ACTIVITIES"). PROSOFT SPECIFICALLY DISCLAIMS ANY
EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR HIGH RISK
ACTIVITIES.
6.5.4 DISCLAIMER OF ALL OTHER WARRANTIES
THE WARRANTIES SET FORTH IN PARAGRAPH 1 ABOVE ARE IN LIEU OF
ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE.
6.5.5 LIMITATION OF REMEDIES**
IN NO EVENT WILL PROSOFT (OR ITS DEALER) BE LIABLE FOR ANY
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES BASED ON
BREACH OF WARRANTY, BREACH OF CONTRACT, NEGLIGENCE, STRICT
TORT, OR ANY OTHER LEGAL THEORY. DAMAGES THAT PROSOFT AND
ITS DEALER WILL NOT BE RESPONSIBLE FOR INCLUDE, BUT ARE NOT
LIMITED TO: LOSS OF PROFITS; LOSS OF SAVINGS OR REVENUE; LOSS
OF USE OF THE PRODUCT OR ANY ASSOCIATED EQUIPMENT; LOSS OF
DATA; COST OF CAPITAL; COST OF ANY SUBSTITUTE EQUIPMENT,
FACILITIES, OR SERVICES; DOWNTIME; THE CLAIMS OF THIRD PARTIES,
INCLUDING CUSTOMERS OF THE PURCHASER; AND INJURY TO
PROPERTY.
** Some areas do not allow time limitations on an implied warranty, or allow the exclusion or limitation of incidental or consequential damages. In such areas the above limitations may not apply. This Warranty gives you specific legal rights, and you may also have other rights which vary from place to place.
6.5.6 Time Limit for Bringing Suit
Any action for breach of warranty must be commenced within 15 months (or in the case of RadioLinx modules, 39 months) following shipment of the Product.
ProSoft Technology, Inc.
April 17, 2008
Page 69 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Support, Service & Warranty
Unless modified in writing and signed by both parties, this Warranty is understood to be the complete and exclusive agreement between the parties, suspending all oral or written prior agreements and all other communications between the parties relating to the subject matter of this Warranty, including statements made by salesperson. No employee of ProSoft or any other party is authorized to make any warranty in addition to those made in this Warranty. The
Customer is warned, therefore, to check this Warranty carefully to see that it correctly reflects those terms that are important to the Customer.
A Any documentation included with Product purchased from ProSoft is protected by copyright and may not be photocopied or reproduced in any form without prior written consent from ProSoft.
B ProSoft's technical specifications and documentation that are included with the Product are subject to editing and modification without notice.
C Transfer of title shall not operate to convey to Customer any right to make, or have made, any Product supplied by ProSoft.
D Customer is granted no right or license to use any software or other intellectual property in any manner or for any purpose not expressly permitted by any license agreement accompanying such software or other intellectual property.
E Customer agrees that it shall not, and shall not authorize others to, copy software provided by ProSoft (except as expressly permitted in any license agreement accompanying such software); transfer software to a third party separately from the Product; modify, alter, translate, decode, decompile, disassemble, reverse-engineer or otherwise attempt to derive the source code of the software or create derivative works based on the software; export the software or underlying technology in contravention of applicable US and international export laws and regulations; or use the software other than as authorized in connection with use of Product.
Intellectual Property
In addition to complying with the Terms of this Warranty, Customers purchasing software or other intellectual property shall comply with any license agreement accompanying such software or other intellectual property. Failure to do so may void this Warranty with respect to such software and/or other intellectual property.
6.5.10 Allocation of risks
This Warranty allocates the risk of product failure between ProSoft and the
Customer. This allocation is recognized by both parties and is reflected in the price of the goods. The Customer acknowledges that it has read this Warranty, understands it, and is bound by its Terms.
Page 70 of 74 ProSoft Technology, Inc.
April 17, 2008
Support, Service & Warranty
6.5.11 Controlling Law and Severability
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
This Warranty shall be governed by and construed in accordance with the laws of the United States and the domestic laws of the State of California, without reference to its conflicts of law provisions. If for any reason a court of competent jurisdiction finds any provisions of this Warranty, or a portion thereof, to be unenforceable, that provision shall be enforced to the maximum extent permissible and the remainder of this Warranty shall remain in full force and effect. Any cause of action with respect to the Product or Services must be instituted in a court of competent jurisdiction in the State of California.
ProSoft Technology, Inc.
April 17, 2008
Page 71 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Support, Service & Warranty
Page 72 of 74 ProSoft Technology, Inc.
April 17, 2008
Index
[
[3964R Port x] • 25
[Backplane 46] • 25
[Module] • 24
3
3964R Protocol Overview • 47
9
9998 Warm Boot • 30
9999 Cold Boot • 30
A
ACK Delay • 27
Adding a Module • 22
Adding a Project • 22
Additional Restrictions Relating To Software And Other
Intellectual Property • 70
All Product Returns • 65
Allocation of risks • 70
B
Backplane Data Transfer • 49
Backplane Fail Count • 25
Backplane Menu • 39
Battery Life Advisory • 2
Baud Rate • 26
C
Cable Connections • 55
Clearing a Fault Condition • 42
Clearing Diagnostic Data • 35
Commands • 30
Comment Entries • 24
Communications • 52
Configuring RSLinx • 15
Connect your PC to the Module • 17
Connect your PC to the Processor • 14
Controlling Law and Severability • 71
Coordination Byte 9/10 • 53
D
Data Bits • 26
Data Block (DB) • 53
Data Type • 53
Data Word (DW) • 53
Database View Menu • 37
DB9 to RJ45 Adaptor (Cable 14) • 59
Diagnostics and Troubleshooting • 7, 31
Disabling the RSLinx Driver for the Com Port on the
PC • 56
ProSoft Technology, Inc.
April 17, 2008
Siemens 3964R Protocol
DISCLAIMER OF ALL OTHER WARRANTIES • 69
DISCLAIMER REGARDING HIGH RISK ACTIVITIES •
69
Displaying the Current Page of Registers Again • 38
Download the Project to the Module • 27
Download the Sample Program to the Processor • 14
E
Enable • 25
Error Codes • 61
Exiting the Program • 36
Explanations About the Example Programs • 29
F
Features and Benefits • 45
Functional Overview • 7, 47
Functional Specifications • 46
G
General Concepts • 48
General Specifications • 45
Guide to the MVI46-S3964R User Manual • 7
H
Hardware Specifications • 46
Header Data • 52
How to Contact Us
Sales and Support • 64
I
Install ProSoft Configuration Builder Software • 10
Install the Module in the Rack • 12
Installation Instructions • 19
Intellectual Property • 70
Introduction • 29
J
Job Allocation by the SLC Controller • 52
Job Identifier • 53
Job Processing • 55
K
Keystrokes • 34
L
Ladder Logic • 29
LED Status Indicators • 7, 41
LIMITATION OF REMEDIES** • 69
LIMITED WARRANTY • 67
M
Main Logic Loop • 49
Main Menu • 34
Minimum Response Delay • 26
Module Configuration • 19
Module Entries • 23
Module Name • 24
Module Power Up • 48
Page 73 of 74
MVI46-S3964R ♦ SLC Platform
Siemens 3964R Protocol
Moving Back Through 5 Pages of Registers • 38
MVI46-S3964R Operation • 47
N
Navigation • 33
No Other Warranties • 70
Number of Data Words/Data Bytes • 53
O
Opening the Backplane Menu • 35
Opening the Database Menu • 35
Opening the Protocol_Serial_S3964R Menu • 35
Opening the Serial Port Menu • 41
P
Package Contents • 10
Parity • 26
Please Read This Notice • 2
Printing a Configuration File • 24
Priority • 27
Procedures for Return of Units Out of Warranty • 66
Procedures for Return of Units Under Warranty • 65
Product Compatibility • 47
Product Specifications • 7, 45
Products in the Environment • 47
ProSoft Configuration Builder • 20
ProSoft® Product Documentation • 3
Protocol • 27
Protocol Serial 3964R Menu • 40
Purchasing Warranty Extension • 67
R
Reading Status Data from the Module • 31
Receive Jobs • 53
Receive jobs from a CP • 53
Redisplaying the Menu • 35, 39, 40
Reference • 7, 45
Reference Documents • 60
Required Hardware • 31
Return Material Authorization (RMA) Policies and
Conditions • 64
Returning to the Main Menu • 39, 40
RS-232 • 58
RS-232 Cable • 58
RS-232 Configuration/Debug Port • 55
RS-422 • 58
RS-422 Tip • 58
RTS Off • 26
RTS On • 26
S
Send Jobs • 54
Set Module Parameters • 23
Set Up the Project • 20
Setting Jumpers • 12, 59
Setup Attempts • 27
Skipping 500 Registers of Data • 38
Start Here • 7, 9
Status Data • 30, 31, 60
Page 74 of 74
Stop Bits • 26
Support, Service & Warranty • 7, 63
Swap • 26
System Requirements • 9
T
The 3964R Communication Program • 30
The 3964R Protocol in General • 47
The Configuration/Debug Menu • 32
Time Limit for Bringing Suit • 69
Transferring the Configuration File from MVI46 module to PC • 36
Transferring the Configuration File from PC to MVI46 module • 36
Transmit Attempts • 27
Troubleshooting • 42
U
Un-repairable Units • 66
Use CTS Line • 26
Using the Diagnostic Window in ProSoft Configuration
Builder • 32
V
Viewing Backplane Diagnostic Information • 39
Viewing Configuration Information • 39, 41
Viewing Data in ASCII (Text) Format • 38
Viewing Data in Decimal Format • 38
Viewing Data in Floating Point Format • 38
Viewing Data in Hexadecimal Format • 38
Viewing Error and Status Data • 41
Viewing Register Pages • 37
Viewing the Next 100 Registers of Data • 38
Viewing the Previous 100 Registers of Data • 38
Viewing Version Information • 35, 39, 40
W
Warm Booting the Module • 36
What Is Covered By This Warranty • 67
What Is Not Covered By This Warranty • 68
Your Feedback Please • 2
Y
Index
ProSoft Technology, Inc.
April 17, 2008
Download
Advertisement
Key features
Siemens 3964R protocol support
Rockwell Automation SLC 5/02 processor compatibility
ProSoft Configuration Builder software support
RS-232, RS-422 communications support
512K SRAM memory, real-time clock, and CMOS backup
Frequently asked questions
You can find detailed instructions on installing the module in the User Manual. Ensure the module is securely mounted, connect your PC to the Configuration/Debug port, and then follow the setup process described in the manual.
ProSoft Configuration Builder enables you to configure the MVI46-S3964R module. You can set parameters like baud rate, parity, and data bits. The software also helps you manage configuration files for various module types.
The module supports the Siemens 3964R protocol. Refer to the User Manual for detailed information on establishing communication with a 3964R device. You must configure the module with appropriate settings and use the provided sample programs to interact with the device.