Home
        MVI46-3964R User Manual
         Contents
1.        OP  Copy File       Less Than  A lt B   Source A N9 4    Source B 240 Length        Source  M0 1 13  Dest  N10  N9 4     60             Clear  Dest                   ProSoft Technology  Inc   June 8  2006    Page 45 of 70    MVI46 3964R   SLC Platform Ladder Logic  Siemens 3964R Protocol          Page 46 of 70 ProSoft Technology  Inc   June 8  2006    Diagnostics and Troubleshooting MV146 3964R   SLC Platform    Siemens 3964R Protocol       5 1    Diagnostics and Troubleshooting    In This Chapter   gt  Reading Status Data From the Module 47     gt  LED Status Indicators 00 0    cccesseseeccceeeeeeaeeeeeeeeeeaeeneeees 57    This section provides information on diagnostics and troubleshooting in the  following forms       Status data values are transferred from the module to the processor      All 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  modules status     Reading Status Data From the Module    The MVI46 3964R module returns a 30 word Status Data Block that may be  used to determine the module s operating status  This data is located in the  module s database in registers 6000 through 6029     This data is transferred to the SLC processor every 100 blocks     The Configuration Debug port provides the following functionality     Full view of the module s configuration data   View of the module s status data   Complete d
2.     Programming Reference    MOBY C Library MOBY API on the CD  Software Moby                                         6 3 Error Codes  Error Code Description     2 OxFFFE DLE could not be sent     10 OxFFF6 DLE not received in time   11 OxFFF5 Communication Timeout occurred     20 OxFFEC Invalid character or acknowledge received   30 OxFFE2 Amount of user data is 0 or greater than 256 words   31 OxFFE1 Reject pending job from the processor due to low priority     32 OxFFEO No reaction  STX  from Communication Partner   33 OxFFDF Communication Partner error occurred     34 OxFFDE Job code not defined  Page 62 of 70 ProSoft Technology  Inc     June 8  2006    Reference MV146 3964R   SLC Platform    Siemens 3964R Protocol          Error Code Description   35 OxFFDD   High High  priority  initialization conflict occurred          36 OxFFDC First Header Byte does not match telegram type          37 OxFFDB Character received was not an STX          38 OxFFDA 3964R problem occurred after connection to Communication Partner was  established          39 OxFFD9 3964R communication could not be established finished                                                                                                 6 4 MVI46 3964R Configuration File Example  463964R CFG  This file contains the configuration for the MVI46 3964R communication module   LOCATION   Test Bench  DATE   07 01 2004  CONFIGURED BY   KDH  MODIFIED S  This section is used to define the configuration for the Module level 
3.     The 3964R Communication Program    34   The 3964R Protocol in General    8   The Configuration Debug Menu  27  46   Transfer Routine   36   Transferring the Configuration File from  MV1I46 module to PC   50   Transferring the Configuration File from PC  to MVI46 module    51   Transferring the Configuration File to the  Module   29   Transferring the Configuration File to Your  PC   27   Transmit Attempts    26   Troubleshooting    57    U    Uploading and Downloading the  Configuration File  26   Use CTS Line    26   Use of Terms    14   Using the Configuration Debug Port   48    V    Viewing Backplane Diagnostic Information     55   Viewing Configuration Information   54  56   Viewing Data in ASCII  Text  Format     53   Viewing Data in Decimal Format    53   Viewing Data in Floating Point Format     53   Viewing Data in Hexadecimal Format    53   Viewing Error and Status Data   56   Viewing Register Pages    52   Viewing the Next 100 Registers of Data  53   Viewing the Previous 100 Registers of Data    53   Viewing Version Information    49  54  55    W    Warm Booting the Module    51    Y    Your Feedback Please    2       Page 70 of 70    ProSoft Technology  Inc   June 8  2006    
4.    key on your  keyboard  If the system is set up properly  you will see a menu with the  module name followed by a list of letters and the commands associated with  them     If there is no response from the module  follow these steps     1 Verify that the null modem cable is connected properly between your  computer s serial port and the module  A regular serial cable will not work     2 Verify that your communication software is using the correct settings for baud  rate  parity and handshaking        ProSoft Technology  Inc  Page 49 of 70  June 8  2006    MVI146 3964R   SLC Platform Diagnostics and Troubleshooting  Siemens 3964R Protocol       3 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  you can contact ProSoft  Technology  Inc  Technical Support for further assistance     5 1 5 Main Menu    When you first connect to the module from your computer  your terminal screen  will be blank  To activate the main menu  press the     key on your computer s  keyboard  If the module is connected properly  the following menu will appear on  your terminal screen     MVI3964R MENU     Display Menu  Y Version Information  D Database Menu   C Clear diagnostic data  B Backplane Menu    8 Protocol_Serial_3964R 1  1 Protocol_Serial_3964R 2   S Transfer Configuration from Unit to PC  R Transfer Configuration from PC to Unit  W Warm Boot
5.   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  Inc  Technical  Support staff  Some of these command keys are not listed on the menu  but  are active nevertheless  Please be careful when pressing keys so that you do  not accidentally execute an unwanted command     Press  Esc  to exit the program and display the operating system prompt  This  command will cause the module to cease operation and stop transferring data  between the ports and the module  and between the processor and the module   This could interrupt a currently running process  Only use this command if  instructed to do so by the ProSoft Technical Support Group        Page 52 of 70 ProSoft Technology  Inc   June 8  2006    Diagnostics and Troubleshooting MV146 3964R   SLC Platform    Siemens 3964R Protocol       5 1 6 Database View Menu    Press  D  from the Main Menu to open the Database View menu  Use this menu    command to view the current contents of the module s database  Press     to  view a list of commands available on this menu        M   Main Menu                   L D   Database Menu                       Display Menu       Redisplays  refreshes  this menu             0 3   Pages 0 to 3000    Selects page 0  1000  2000 or 3000          S   Show Again       Red
6.   gt  Modifying the Configuration File  26   gt  Uploading and Downloading the Configuration File                 28    3 1 Installation Instructions    The following setups limitations are to be observed     Please make sure that you are using an MVI46 3964R with the original  parameters and image as delivered     Jumper SETUP   Please remove to run the MVI46 3964R in application mode        A    ATTENTION  Incorrect setting of the jumpers may cause damage to the MVI46   3964R module        The remaining jumpers for PRT2 and PRT3 have to be set according to the  requirements of the user     The communication partners are to be connected to the serial interface PRT2  and or PRT3 of the MVI46 3964R     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 3964R  will be used        The assignment of the RS 232 connection cable between PRT2 3  9 pole  and  CP 544  25 pole  is as follows                 PRT2 3 Pin Description CP 544 Pin Description  2 RxD 2 TxD  3 TxD 3 RxD  5 Gnd 7 Gnd       Important  The other pins of the RS 232 must not be used     RS 485 operation is not possible        ProSoft Technology  Inc     June 8  2006    Page 25 of 70    MVI46 3964R   SLC Platform  Siemens 3964R Protocol    Module Configuration       This section defines the configuration for the Module level data     3 2 Modifying the Configuration File  3 2 1  Module       Module     Test       Mo
7.  1 00 Data Block  DB   2 00 Data Word  DW   3 Number of data words  total number     4 Number of data words  actual block  S  5 00 00  6 00 00  7 00 00  ProSoft Technology  Inc  Page 13 of 70    June 8  2006    MV146 3964R   SLC Platform Functional Overview  Siemens 3964R Protocol             Word  High Byte  Low Byte   8 00 00  9 00 00           This is the total number of data words for the whole job        This is the number of data words stored in RECVMSG2    The user data is copied to RECVMSG2  This is the file you should operate with   For port 3  which is similar to port 2  the file for storing the user data received is  called RECVMSG3    2 3 4 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                                Word  High Byte  Low Byte   0 0041hex   1 00 10   2 00 0   3 80hex    128dec    4 FFhex FFhex  5 00 44hex  6 00 00   7 00 00   8 00 00   9 00 00       A DB Fetch job will be parameterized similar to the example above     To send with 3964R without RK512 to a CP  identifier OOFFhex   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        2 4 Job Proces
8.  2006    MVI146 3964R   SLC Platform Module Configuration  Siemens 3964R Protocol       1 Connect your PC to the Configuration Debug port of the module using a  terminal program such as HyperTerminal  Press     to display the main  menu     Dr Edt wew Cal Troster Heb    De of Ge          MODULE MENU    Display Menu  A Data Analyzer  B Block Transfer Statistics  C Module Configuration  D Database View  R Receive Module Configuration  S  Module Confiauration  V Version Information  WWare Boot Module    Esc Exit Program          2 Press  S   Receive Module Configuration   The message  Press Y key to  confirm configuration receive   is displayed at the bottom of the screen     3 me          MODULE MENU     Display Menu   A Data Analyzer   a Block Transfer Statistics  C Module Configuration   D Database View   R Receive Module Configuration   S  Module Conf iauration   V Version Information   WWare Boot Module    Esc Exit Program    Press          key to confirm configuration receive           3 Press  Y   The screen now indicates that the PC is ready to send     Pr Et Yew C   Tranter gp  De of Ge          MODULE MENU    Display Menu  A Data Analyzer  B Block Transfer Statistics  C Module Configuration  D Database View  R Receive Module Configuration  S  Module Confiauration  V Version Information  WWare Boot Module    Esc Exit Program    Press  NI key to confirm configuration receive     Receiving configuration file     TRANSFERRING CONFIGURATION FROM PC TO ProSoft MODULE   Using
9.  6 4    9002 Transfer Data to be Sent on P2    This rung shows a data block comprised of a header from N13 and 50 words of  data from N19  If more data is to be transferred  an additional rung similar to rung  003 must be added     This eg  transfers the first block of data to the module to be sent to the Communication Partner on PRT3        COP  0004     EE Copy File                               Source  N13 0  Dest  M0 1 0  Length 10  COP  Copy File eet  Source  N19 0  Dest  M0 1 10  Length 50  MOV  Move eet  Source 0  0 lt   Dest M0 1 62  K    MOV  Move         Source 0  De  Dest M0 1 63  7  MOV  Move eet  Source 9002  9002 lt   Dest  M1 1 6800  Me             LU    B3 0       4       Page 42 of 70    ProSoft Technology  Inc     June 8  2006       Ladder Logic MVI146 3964R e SLC Platform  Siemens 3964R Protocol       4 6 5 Request for Data  1145h     This rung processes the request for data  1145h   A Pass Through block is built  containing a header and data which is then sent to the module     This rung processes the 1145 command passed from the module  It will build a message to send the data to the  module so the module can reply to the Communication Partner           EQU COP  0000 Equal Copy File  Source A g Source  M0 1 3  Dest  N15 0  Source B Length 1          COP                  Copy File m  Source  M0 1 6    Dest  N15 3  Length 1                COP      Copy File emm  Source  N15 0  Dest  M0 1 0  Length 10       COP  m Copy File eem  Source  N14 0  Dest  M0 1 10 
10.  9  2 1 2 The 3964R Protocol in Genera    9  2 1 3  MVI46 3964R Operation    10  2 2 General  CoN LC 10  2 2 1 Module  FowerHl  e tie aa a a aaa a e act a aa eA a aa eaa telecast 10  22     Main Logic Lopesin teorio aa eNEAN EEEE ETENA 11  2 3 COMMUNICATIONS a eege e ZE ENEE 11  2 3 1 Job Allocation by the SLC Controller ccccceeereeeeeeeeeeeneeeeeecieeeeesneeeeeseneeeeeeaas 11  2 3 2 ele ER EE 12  2 3 9    RECEIVE JODS225 sie ee Aer A es kd Siete eae e Beaded eee ade 13  Zad  SSOMOMODS TT 14  2 4 dob Processing   ees SEENEN EES EENEG 14  2 5 MOBY I E Communication           ccccccceseseceseeeeneeeeeeeesesneeeeneeeeseaesasaeeaseeeeseeeeaseeeenseeeeeeees 15  SL Klee et TEE dee NEE Ee E 15  2 5 2 Hardware Components  tennt testte nt nannat tn nnne neteet 15  ee 1 EE CONACH ege ARE E EATE EAE E EROR 16  2 5 4 Hardware Configuration ASM A0    16  2 5 5 Pinout Connections ASM A0    18  2 5 6 MOBY Instruction Set ASM A0    18   ProSoft Technology  Inc  Page 3 of 70    June 8  2006    MVI46 3964R   SLC Platform  Siemens 3964R Protocol          2 5 7 Hardware Configuration ASM 424  20  2 5 8 Pinout Connections ASM 424 00    eccccecneeeeeeeneee erties ee eneee ee taaeeeeetieeeeesieeeeetnaeeeeee 21  2 5 9 MOBY Instruction Set ASMAA nerean E EAE TA 22   3 MODUEEGONHGHRATION  eseu nunnunum nunnur nunnur nunun nunen nunen annue mnnn 25  3 1 Installation INStrUCTIONS        assssnnsennnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn nnmnnn nnn naa 25  3 2 Modifying the Confi
11.  Child Menu C    Child Sub Menu 1  Child Sub Menu 2                                      The remainder of this section shows you the menus available for this module   and briefly discusses the commands available to you     Keystrokes    The keyboard commands on these menus are almost always non case sensitive   You can enter most commands in lower case or capital letters     The menus use a few special characters                      that must be entered  exactly as shown  Some of these characters will require you to use the  Shift     Ctrl  or  Alt  keys to enter them correctly  For example  on US English  keyboards  enter the     command as  Shift         Also  take care to distinguish capital letter  I  from lower case letter  I   L  and  number  1   likewise for capital letter  O0  and number  0   Although these  characters look nearly the same on the screen  they perform different actions on  the module     5 1 2 Required Hardware    You can connect directly from your computer s serial port to the serial port on the  module to view configuration information  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    Atleast one serial communications port available    A null modem serial cable   Page 48 of 70 ProSoft Technology  Inc     June 8  2006    Diagnostics and T
12.  Length 128       COP  Copy File emm  Source  N14 128  Dest  MO0 1 138                   Length 128  MOV  Move eg  Source 9001  9001 lt   Dest  M1 1 6800  P lt              4 6 6 Process Incoming Data    This rung saves the incoming data from the communication partner  The header  is saved in N22 and the data in N10  The block index is used to index the saving  of the header and data        Pass through from Module to Processor             Words Description  0 Block ID  ProSoft Technology  Inc  Page 43 of 70    June 8  2006       MVI146 3964R   SLC Platform Ladder Logic  Siemens 3964R Protocol          Pass through from Module to Processor                                                                                1 Length  2 Block Index  0   4   3 12 Header  13   62 Data  63 Reserved  This rung saves incoming data from the Communication Partner   0001 Not Equal  Source A N9 2  0 lt   Source B 4421  4421 lt   OP  Copy File  Source  M0 1 2  Dest  N9 8  Length 1  EQ LEQ  Grtr Than or Eq   A gt  B  Less Than or Eql  A  B   Source A Source A  Source B Source B  MUL  Multiply  Source A N9 8  Source B  Dest  MUL  Multiply  Source A  Source B  Dest  Page 44 of 70 ProSoft Technology  Inc     June 8  2006    Ladder Logic    MVI146 3964R   SLC Platform  Siemens 3964R Protocol                 OP  Copy File  Source    Length          M0 1 3  Dest  N22  N9 6     10               EQU  Equal  Source A    OP  Copy File    Source B Length         Source  M0 1 13  Dest  N10  N9 4     15    
13.  Module   Esc Exit Program       Caution  Some of the commands available to you from this menu are  designed for advanced debugging and system testing only  and can cause the  module to stop communicating with the processor or with other devices   resulting in potential data loss or other failures  Only use these commands if  you are specifically directed to do so by ProSoft Technology  Inc  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        Page 50 of 70 ProSoft Technology  Inc   June 8  2006    Diagnostics and Troubleshooting MV146 3964R   SLC Platform  Siemens 3964R Protocol       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 pr
14.  Name    24       ProSoft Technology  Inc   June 8  2006    Page 69 of 70    MVI146 3964R   SLC Platform  Siemens 3964R Protocol    Index       Module Power Up   9   Module Service and Repair   63   Moving Back Through 5 Pages of Registers     53   MV146 3964R Configuration File Example     61   MV146 3964R Operation    9    N    Navigation  47  Number of Data Words Data Bytes     12    O    Opening the Backplane Menu    50   Opening the Command List Menu    56   Opening the Database Menu    50   Opening the Protocol_Serial_3964R Menu    50   Opening the Serial Port Menu   56    P    Parity   25   Pinout Connections ASM 420    17  Pinout Connections ASM 424    20  Please Read This Notice     2  Priority   26   Process Incoming Data  42  Product Compatibility   8   Product Specifications   6  Products in the Environment    8  Protocol     26  Protocol_Serial_3964R Menu   55    R    Reading Status Data From the Module   46  Receive Jobs    12   Receive jobs from a CP      11  34  Redisplaying the Menu    49  54  55  Reference    59   Reference Documents   59   Request for Data  1145h     42   Required Hardware   47   Required Software    48   Returning to the Main Menu  53  54  56  RMA Procedures   64  65   RS 232 Configuration Debug Port   59  RTS Off   25   RTS One 25    S    Send Jobs    13  Send jobs to a CP      34    Serial Connection     15   Setup Attempts    26   Skipping 500 Registers of Data  53  Stop Bits    25   Support  Service  amp  Warranty   63  Swap    26    T
15.  after message before RTS dropped  mSec   Use CTS Line o  Monitor CTS modem line  Y N   Swap 1  0 No Data Byte Swapping  1 Data Byte Swapping  Priority D  0 High Priority  l Low Priority  Protocol 1  0 3964 RK512  1 3964  3 MOBY I E  Page 64 of 70 ProSoft Technology  Inc     June 8  2006    Support  Service  amp  Warranty MV146 3964R e SLC Platform  Siemens 3964R Protocol       Support  Service  amp  Warranty    ProSoft Technology  Inc  survives on its ability to provide meaningful support to  its customers  Should any questions or problems arise  please feel free to  contact us at           Internet Web Site  http  Awww prosoft technology com support  E mail address  support prosoft technology com  Phone  661  716 5100   661  716 5101  Fax   Postal Mail ProSoft Technology  Inc     1675 Chester Avenue  Fourth Floor  Bakersfield  CA 93301    Before calling for support  please prepare yourself for the call  In order to provide  the best and quickest support possible  we will most likely ask for the following  information     1 Product Version Number  System architecture    Module configuration and contents of MVI46_3964R CFG file    P OO N    Module Operation    o Configuration Debug status information  o LED patterns    5 Information about the processor and user data files as viewed through  RSLogix 5 and LED patterns on the processor    6 Details about the serial devices interfaced    An after hours answering system allows pager access to one of our qualified  technical and o
16.  control word is 0 the status data transfer occurs   Data Transfer             Dm       Processing  EQU JSR  0001 Equal Jump To Subroutine  Source A N9 0 SBR File Number  0 lt   Source B 0          The following rung calls each scan to process any special command request and  response messages     When the control word is 9101 messages from PRT2 of the module are processed              EQU COP  0002 Equal Copy File  Source A N9 0 Source  M0 1 3  O lt  Dest  N9 2  Source B 9101 Length 1               Incoming Message  From PRT2 Processing    JSR  Jump To Subroutine  SBR File Number U 5          When the control word is 9102 messages from PRT3 of the module are processed           EQU COP  0003 Equal Copy File  Source A N9 0 Source  M0 1 3  0 lt  Dest  N9 3  Source B 9102 Length 1               Incomming Message  From PRT3 Processing    JSR  Jump To Subroutine  SBR File Number U6                   ProSoft Technology  Inc   June 8  2006    Page 37 of 70    MVI146 3964R   SLC Platform Ladder Logic  Siemens 3964R Protocol       This rung is used to handle special command processing    Command Processing    0004       Jump To Subroutine  SBR File Number UA                                  4 5 Transfer Routine  The Data Transfer task is responsible for handling the transfer of data between  the processor user defined files and the module s M1 file  In this example  30  words of Status Data is read from the M1 file and stored in 3964R0   This rung copies the status table from the mod
17.  data   Module   Module Name   Test Example of MVI46 3964R Communication Module  Backplane 46   Backplane Fail Count   10  Number of consecutive backplane transfer failures   before halting communications  This section is used to define the port 1 configuration for the 3964R device  3964R Port 1   Enable H Yes o Port Disabled  Yes Port Enabled  Baud Rate   9600  Baud rate for port  300  600  1200  2400  4800  9600   19200  38400  57600  115200   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 D  Delay after RTS set before message sent  mSec   RTS Off 1  Delay after message before RTS dropped  mSec   Use CTS Line   No onitor CTS modem line  Y N   Swap 4 1  0 No Data Byte Swapping  1 Data Byte Swapping  Priority 0  0 High Priority  1 Low Priority  Protocol 1  0 3964 RK512  1 3964  3 MOBY I E  This section is used to define the port 2 configuration for the N2 device   3964R Port 2   Enable S Yes  No Port Disabled  Yes Port Enabled  Baud Rate f 9600  Baud rate for port  300  600  1200  2400  4800  9600    19200  38400  57600  115200   ProSoft Technology  Inc  Page 63 of 70    June 8  2006    MV146 3964R   SLC Platform    Siemens 3964R Protocol    Reference                                                 Parity Even  N None  O 0dd  E Even  Data Bits 8  7 or 8 data bits for messages  Stop Bits 1  1 or 2 stop bits for messages  RTS On D  Delay after RTS set before message sent  mSec   RTS Off 1  Delay
18.  data  2 3 2 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_P2 to send to port 2  or the file HEADER_P3 to send to port 3     The header in general                                Word  High Byte  Low Byte    0 Job identifier  hex    1 00 Data Block  DB   2 00 Data Word  DW   3 Number of data words data bytes   4 Coordination byte 9 Coordination byte 10  5 00 Data Type   6 00 00   7 00 00   8 00 00   9 00 00       The meaning of the entries and possible values are described below     Job Identifier    The job identifiers are defined as follows              Send jobs to a CP    Job  Identifier   3964R with RK512  DB SEND to CP 0041hex  3964R with RK512  DB FETCH to CP 0045hex  3964R without RK512  Sending to CP  MOBY I E  00FFhex       The MVI46 3964R receives jobs from a CP automatically without extra  parameterization  To differentiate the header data the MV146 3964R adds a  header to the user data received and transfers it to the SLC processor     Receive jobs from a CP                    Job  Identifier   3964R with RK512  DB SEND from CP 1141hex  3964R with RK512  DB FETCH from CP 1145hex  3964R without RK512  Receiving from CP  MOBY I E  11FFhex  Page 12 of 70 ProSoft Technology  Inc     June 8  2006    Functional Overview MV146 3964R   SLC Platform  Siemens 3964R Protocol       Data Block  DB     Number of the data block  This data block must exist in the communic
19.  from the Database View menu to skip back to the previous 500  registers of data     Viewing the Previous 100 Registers of Data    Press  P  from the Database View menu to display the previous 100 registers of  data     Skipping 500 Registers of Data  Hold down  Shift  and press     to skip forward to the next 500 registers of data     Viewing the Next 100 Registers of Data    Press  N  from the Database View menu to select and display the next 100  registers of data     Viewing Data in Decimal Format    Press  D  to display the data on the current page in decimal format     Viewing Data in Hexadecimal Format    Press  H  to display the data on the current page in hexadecimal format     Viewing Data in Floating Point Format    Press  F  from the Database View menu  Use this command to display the data  on the current page in floating point format  The program assumes that the  values are aligned on even register boundaries  If floating point values are not  aligned as such  they are not displayed properly     Viewing Data in ASCII  Text  Format    Press  A  to display the data on the current page in ASCII format  This is useful  for regions of the database that contain ASCII data     Returning to the Main Menu    Press  M  to return to the Main Menu        Page 54 of 70 ProSoft Technology  Inc   June 8  2006    Diagnostics and Troubleshooting MV146 3964R   SLC Platform  Siemens 3964R Protocol       5 1 7 Backplane Menu    Press  B  from the Main Menu to view the Backplane Dat
20.  of 70 ProSoft Technology  Inc   June 8  2006    Functional Overview MV146 3964R   SLC Platform  Siemens 3964R Protocol         Switch 9   On  1     Switch 10   On  1     Switch 11   Off  0     Switch 12   Off  0     The switches 8   10 are the only ones used for this application  Switch 8 sets the  serial port to RS 422  The ASM 424 brings the baud rate automatically into line  with the MVI46 3964R  9600 Baud in our example      The other serial parameters are defined by the ASM 424       Data bits  8    Parity  Odd    Stop bit  1    These parameters have to be fixed for the MVI46 3964R to operate with the ASM  424     The switches 9 and 10 select 3964R as the standard communication procedure   There is no other choice in our case  because 3964R is the only procedure  offered by the MVI46 3964R     Additional parameters for the ASM 424 can be set through a RESET command   Please refer to     Programming Reference   MOBY C Library MOBY API on the CD  Software Moby   Publication No  6GT2 080 2AA10     2 5 8 Pinout Connections ASM 424    The following illustration shows the pins of the ASM 424  DB 9 female connector   and the MVI46 3964R used for a RS 422 connection  The ASM 424 needs an  external 24V DC power supply for operation                          MVI ASM 424  PIN PIN   2  RxD   8  TxD    6  RxD       2  TxD     1  TxD   9  RxD    8  TxD   3  RxD     5   5               ProSoft Technology  Inc  Page 21 of 70  June 8  2006    MV146 3964R    SLC Platform Functional Overvi
21.  the Ymodem file transfer protocol  Select the SEND  menu option and transfer the configuration file    c             Page 32 of 70 ProSoft Technology  Inc   June 8  2006    Module Configuration MV146 3964R   SLC Platform  Siemens 3964R Protocol       4 From the Transfer menu in HyperTerminal  select Send File             Displa    A Data Analyzer   B Block Transfer Statistics  C Hodule Configuration  D Database View   R Receive Module Configuration  S Send Module Confiauration  V Version Information   Ware Module    Esc Exit Program  Press  NI key to confirm configuration receive   Receiving configuration file   TRANSFERRING CONFIGURATION FRON PC TO ProSoft NODULE   Using the Ymodem file transfer protocol  Select the SEND  menu option and transfer the configuration file                The Send File dialog appears     M Send File    Folder  C  Documents and Settings mrodriques    Filename     EJ Bn       Protocol   ETOLOCOL _    SS    Close Cancel          5 Use the Browse button to locate the configuration file your computer     Note  This procedure assumes that you are uploading a newly edited  configuration file from your PC to the module  However  configuration files are  also available on the ProSoft CD as well as the ProSoft Technology web site at  http   www  prosoft technology com     6 Select Ymodem as the protocol        ProSoft Technology  Inc  Page 33 of 70  June 8  2006    MVI146 3964R   SLC Platform Module Configuration  Siemens 3964R Protocol       7 Click the 
22.  the module     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     5 2 LED Status Indicators    The LEDs indicate the module s operating status as follows                                ProSoft Color Status Indication  Module  P1 Green On Data is being transferred between the module and a  remote terminal using the Configuration Debug port   Off No data is being transferred on the Configuration Debug  port   P2 Green On Data being transferred between master and port 1   Off No data  P3 Green On Data being transferred between master and port 2   Off No data  APP Amber Off The MVI46 3964R is working normally   Status On The MVI46 3964R module program has recognized a    communication error        ProSoft Technology  Inc  Page 57 of 70  June 8  2006    MVI146 3964R   SLC Platform Diagnostics and Troubleshooting  Siemens 3964R Protocol             ProSoft Color Status Indication  Module  BP ACT Amber On The LED is on when the module is performing a write    operation on the backplane        Off The LED is off when the module is performing a read  operation on the backplane  Under normal operation  the  LED should blink rapidly on and off     OK Red  Off The card is not receiving any power and is not securely  plugged into the rack              Green  Green The module is operating normall
23.  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  6  and  0  to be certain 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  Inc  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
24.  to Your PC    1 Connect your PC to the Configuration Debug port of the module using a    terminal program such as HyperTerminal  Press     to display the main  menu        W Warm Boot Modul    Esc Exit Program             2 Press  S   Send Module Configuration   The message  Press Y key to  confirm configuration send   is displayed at the bottom of the screen     HyperTerminal  Ee pa wew Cal Taste Ho  D 3 doe e       W Warm Boot Module      Esc Exit Program     Press      key to confirm configuration sendt          Convvected 0 00 07 foto geg   Som EN num          ProSoft Technology  Inc     Page 29 of 70  June 8  2006    MVI146 3964R   SLC Platform Module Configuration  Siemens 3964R Protocol       3 Press  Y   The screen now indicates that the module is ready to send     Ee D Yew Cal Tage Hap    D 3 oag          B Block Transfer Statistics  C Module Configuration  O Database View   R Receive Module Configuration  S Send Module Configuration  V Version Information   W Horm Boot Module    Esc Exit Program  Press  N key to confirm configuration send   Sending configuration file  TRANSFERRING CONFIGURATION FILES FROM ProSoft MODULE TO PC   he Ymoden protocol is used to send the file from the module  Select the RECEIVE menu option and destination directory    Building configuration file image from module Ready to Sendt             Cormectad 0 00 07    4 From the Transfer menu in HyperTerminal  select Receive File  This action  opens the Receive File dialog box           fen    
25.  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 tables in Chapter 4 show possible entries and  configuration examples      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        2 2 General Concepts  2 2 1 Module Power Up  On power up the module begins performing the following logical functions      Initialize hardware components  o Initialize SLC backplane driver  o Test and Clear all RAM  o 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 10 of 70 ProSoft Technology  Inc     June 8  2006    Functional Overview    MVI146 3964R   SLC Platform  Siemens 3964R Protocol       2 2 2 Main Logic Loop    Upon completing the power up configur
26. G  With the choice of type of SLG and the  appropriate MDS you select the type of MOBY System you want to use  It is  possible to connect either a MOBY I or MOBY E SLG to the ASM 420 424  but SLG and MDS must be of the same type of MOBY System    Important  The firmware revision of the ASM 424 must be version 1 1 or  higher     Read Write device  SLG    ProSoft Technology  Inc  Page 15 of 70    June 8  2006    MV146 3964R   SLC Platform Functional Overview  Siemens 3964R Protocol         The SLG communicates wireless to the MDS for executing different MOBY  operations  These operations are fixed in the MOBY instruction set   Movable memory devices  MDS     The MDS are the real data carriers of a MOBY System   MVI146 3964R 3964R56    The MV146 3964R interfaces as a bridge between the ASM 420 424 and the  SLC processor  The connection to the ASM 420 424 is realized via 3964R  without RK512     2 5 3 Serial Connection    The serial connection between the ASM 420 424 and the MVI46 3964R is  realized using RS 422 in our case  It is also possible to connect to an ASM  420 424 using RS 232 V 24 but then a different ASM 420 424 module with a RS   232 V 24 interface is necessary  The serial ports of the MVI46 3964R can be  configured with a jumper to run either RS 422 or RS 232        2 5 4 Hardware Configuration ASM 420  The hardware configuration of the peer to peer system using an ASM 420 is as  follows    Switch Bank          The X2 Port  DB 9 female connector  of the ASM 420 inte
27. LIABILITY EXCEED THE PRICE PAID FOR THE PRODUCT     Where directed by State Law  some of the above exclusions or limitations may  not be applicable in some states  This warranty provides specific legal rights   other rights that vary from state to state may also exist  This warranty shall not be  applicable to the extent that any provisions of this warranty are prohibited by any  Federal  State or Municipal Law that cannot be preempted  Contact ProSoft  Customer Service at  661  716 5100 for more information     RMA Procedures    In the event that repairs are required for any reason  contact ProSoft Technical  Support at  1 661 716 5100  A Technical Support Engineer will ask you to       ProSoft Technology  Inc  Page 67 of 70  June 8  2006    MV146 3964R   SLC Platform Support  Service  amp  Warranty  Siemens 3964R Protocol       perform several tests in an attempt to diagnose the problem  Simply calling and  asking for a RMA without following our diagnostic instructions or suggestions will  lead to the return request being denied  If  after these tests are completed  the  module is found to be defective  we will provide the necessary RMA number with  instructions on returning the module for repair        Page 68 of 70 ProSoft Technology  Inc   June 8  2006    Index    MVI46 3964R   SLC Platform  Siemens 3964R Protocol       Index          3964R Port x     24   Backplane 46     24   Module     24    3    3964R with RK 512    33  3964R     34    9    9001 Transfer Data to Be S
28. MV146 3964R    SLC Platform  Siemens 3964R Protocol       User Manual    June 08  2006       ProSoft    IS ee AHON OLOGY       Please Read This Notice    Successful application of this module requires a reasonable working knowledge of the Rockwell  Automation SLC hardware  the MVI46 3964R 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 assure that the  information provided is accurate and a true reflection of the product s installation requirements  In  order to assure 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  Inc  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  Inc  is prohibited     Information in this manual is subject to change without notice and does not represent a  commitment on the part of ProSoft Technology  Inc  Improvements and or changes in this manual  o
29. MVI46   3964R and a SLC processor  It is up to the programmer to examine the programs  in detail and integrate them into his 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 3964R resides in slot 1 of the SLC chassis     Setup  The SLC series controller resides in slot 0 of the SLC chassis   N ATTENTION  The user must be trained in programming and operating Rockwell    Automation SLC series controllers and SLC environment  Otherwise  incorrect  use may lead to personal injury or death  property damages or economic loss           Explanations Concerning the Example Programs  MVI46_3964 acd is the general 3964R communication program used for the  following types of 3964R jobs     4 2 1 3964R with RK 512       DB Send jobs  send and receive      DB Fetch jobs  send and receive         ProSoft Technology  Inc  Page 35 of 70  June 8  2006    MVI146 3964R   SLC Platform Ladder Logic  Siemens 3964R Protocol       4 3    4 4    3964R       Send and receive jobs     The 3964R Communication Program    The general functionality of the program MVI46_3964 RSS is as follows     4 3 1 Send jobs to a CP       Transfer the job data to the MVI46 3964R      Acknowledgement from the MVI46 3964R regarding validity of the job data     Depending on the type of send job the transfer of the user 
30. Module                      Words Description  0 to 59 Data  60 Reserved  61 Reserved  62 Block Index  0   4   63 Continuation Flag  0   Last Block  1   More Blocks to Come   ProSoft Technology  Inc  Page 39 of 70    June 8  2006       MVI46 3964R   SLC Platform  Siemens 3964R Protocol    Ladder Logic                                   This rung transfers the first block of data to the module to be sent to the Communication Partner on PRT2                                0002 A Copy File  2 Source  N12 0  Dest  M0 1 0  Length 10  COP  Copy File  Source  N11 0  Dest  M0 1 10  Length 50  MOV  Move  Source 0  0 lt   Dest M0 1 62  Me  MOV  Move  Source 1  1 lt   Dest M0 1 63  P lt   MOV  Move  Source 9001  9001 lt   Dest  M1 1 6800  Qe  B3 0   lt  gt   B3 0  2  Page 40 of 70 ProSoft Technology  Inc     June 8  2006       Ladder Logic    MVI146 3964R e SLC Platform  Siemens 3964R Protocol       0003       This rung transfers the second block of data data to the module to be sent to the Communication Partner on PRT2     EQU       Equal       S Source A M1 1 6800    Source B    Ke                                                 Copy File CT   Source  N11 50  Dest  M0 1 0  Length 60  MOV  Move Kc  Source 1  1 lt   Dest M0 1 62  TE  MOV  Move    Source 0  0 lt   Dest M0 1 63  Me  MOV  Move Fo  Source 9001  9001 lt   Dest  M1 1 6800  7e  B3 0  3       ProSoft Technology  Inc     June 8  2006    Page 41 of 70       MVI46 3964R   SLC Platform  Siemens 3964R Protocol    Ladder Logic       4
31. Send button  This action opens the Ymodem File Send dialog box     Ymodem file send       Sending  CAMVI FILE CFG    Packet  7   Error checking    CRC File size   EK      Retries  o p i  Total retries  o Al Files   1 of 1       Last error     File  TTT 5K of EK    Elapsed    00 00 01   Remaining    _ Throughput          When the file transfer is complete  the module s configuration debug screen  indicates that the module has reloaded program values  and displays  information about the module     Dr D Yew C8 Tage me    Owe of Ge       Receiving configuration file     TRANSFERRING CONFIGURATION FROM PC TO ProSoft MODULE   Using the Ymodem file transfer protocol  Select the SEND  menu option and transfer the configuration file    cee  FILE TRANSFERRED FROM PC UNIT    Reloading Program Values       Read Conficuration                    8 Your module now contains the new configuration        Page 34 of 70 ProSoft Technology  Inc   June 8  2006    Ladder Logic MV146 3964R e SLC Platform       Siemens 3964R Protocol   4 Ladder Logic  In This Chapter    gt  Introduction wicca e eels 35    gt  Explanations Concerning the Example Progorams 35    gt  The 3964R Communication Program    36   e  Main ROUTING  22  hinscciegecieseeedh ob hades eae ede e E E E Ns 36    gt  Transfer Routine csiis ainiin iieii 38   Za e EE 38    4 1    4 2    Introduction    Please be aware that the example programs mentioned in the following  paragraphs only show the principle of how to communicate between an 
32. a 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                   L B   Backplane Menu                          Display Menu Redisplays  refreshes  this menu                   V   Version Information Displays version information screen          M   Main Menu Goes up one level to main menu                   C   Configuration Information Displays configuration screen                Displays backplane diagnostic  information                         D   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 Configuratio
33. apping   Priority 0  0 High Priority  l Low Priority   Protocol D  0 3964 RK512  1 3964  3 MOBY I E          Page 26 of 70    ProSoft Technology  Inc   June 8  2006    Module Configuration MV146 3964R   SLC Platform  Siemens 3964R Protocol       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 S 6  Number of times to try to transmit to CP       Default 6     Enable  Yes or No    This parameter specifies whether to enable or disable the port  No   Port  Disabled  Yes   Port Enabled     Baud Rate  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     Parity  N O E    This parameter specifies the parity setting for this port  Valid values are N    None  O   Odd  E   Even     Data Bits  7or8    This parameter specifies the number of message data bits  Valid values are 7 or  8 bits     Stop Bits  1or2    This parameter specifies the number of message stop bits  Valid values are 1 or  2 stop bits     RTS On  Delay  in milliseconds  after RTS before message is sent     RTS Off    Delay  in milliseconds  after message before RTS dropped        ProSoft Technology  Inc  Page 27 of 70  June 8  2006    MVI146 3964R   SLC Platform Module Configuration  Siemens 3964R Protocol       Minimum Response Delay    The minimum amount of time in milliseconds to wait before re
34. ation  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 2 3 of the module   this value will be interpreted as number of data words or number of data bytes  In  any communication mode except for  3   MOBY I E  it means 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 telegrarm 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   2 3 3 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 RECVHDR2 in case  of a DB Send from a CP  The CP is connected to port 2                                   Word  High Byte  Low Byte   0 1141hex 
35. ation process  the module enters an  infinite loop that performs the following functions     From Power Up Logic       Call I O Handler          Call CFG DEBUG Port  Driver          Call Network Server  Drivers          2 3 Communications    Call I O Handler  Transfers data between the module and processor   user  status  etc      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 Serial Port Driver   Configuration Debug Port    Rx and Tx buffer routines are interrupt driven  Call to  Cfg Dbg port routines check to see if there is any  data in the buffer  and depending on the value  will  either service the buffer or immediately return     2 3 1 Job Allocation by the SLC Controller    This chapter describes the different types of jobs and the relevant parameters to  be entered  For a better understanding a printout of the example  program  MVI46_3964 RSS is recommended     Every job that is transferred to or from the MVI46 3964R consists of defined    header data and user data     The Job structure in general                    Word  High Byte  Low Byte   0 Header data   9 Header data   10 User data       ProSoft Technology  Inc   June 8  2006    Page 11 of 70    MV146 3964R   SLC Platform Functional Overview  Siemens 3964R Protocol             Word  High Byte  Low Byte   137 User
36. data from to the  MV146 3964R SLC processor takes place      Acknowledgement from the MVI46 3964R 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  MV146 3964R SLC processor takes place  The header data generated from  the MVI46 3964R will be added automatically  The MVI46 3964R 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 3964R regarding successful unsuccessful  completion of the receive job     MainRoutine    The MainRoutine recognizes the presence of special command request and  response messages  and data transfer between the module and the processor   The following run saves the current control word found in the MO file        COP  Copy File  Source  M0 1 0  Dest  N9 0  Length 2    0000               Page 36 of 70 ProSoft Technology  Inc     June 8  2006    Ladder Logic    MV146 3964R   SLC Platform    Siemens 3964R Protocol       Word 0 of the MO file is used by the module to indicate a response to a special  command instruction  During normal program execution  this register should  have a value of 0  If any other value is present  the data transfer function will not  be executed  The following rung executes the data transfer function  Trnsf U 3   when the control word is set to zero     When the
37. dule Name  Module Name    O to 80 characters    Example of MVI69 3964R Communication Module    This parameter assigns a name to the module that can be viewed using the  configuration debug port  It can be used to identify the module and the    configuration file     3 2 2     Backplane 46     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    Backplane Fail Count    This parameter specifies the number of consecutive backplane transfer failures  that can occur before communications should be halted     3 2 3     B964R Port x         3964R Port 1        This section is used to defin    the port 1 configuration for the 3964R device                                                 Enable Yes o Port Disabled  Yes Port Enabled   Baud Rate 9600  Baud rate for port  300  600  1200  2400  4800   9600  19200  38400  57600  115    Parity Even 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 D  Delay after RTS set before message sent  mSec    RTS Off D  Delay after message before RTS dropped  mSec    Minimum Response Delay 0  Delay before responding to CP   Use CTS Line   No onitor CTS modem line  Y N    Swap 1  0 No Data Byte Swapping  1 Data Byte Sw
38. e 8  2006    Reference MV146 3964R   SLC Platform    Siemens 3964R Protocol       6    6 1    6 2    Reference    In This Chapter     gt  RS 232 Configuration Debug Port  61   gt  Reference Documents ec ceeeseceeeeeeeeeeeteeeteeneeeenneeeeneas 61   gt  Error CodeSi ids  tesstenc tected abe hehe Be 62   gt  MVI46 3964R Configuration File Example      eeeeeee 63    RS 232 Configuration Debug Port    This port is physically an RJ45 connection  An RJ45 to DB 9 adapter cable is  included with the module  This port permits a PC based terminal emulation  program to view configuration and status data in the module and to control the  module  The cable for communications on this port is shown in the following  diagram     RS 232 Config Debug Port Cable  DB 9 Male Config Debug Port    Ro   2      ro  To   3      ro  com  e           com    Reference Documents    gt  Rockwell Automation   SLC Multi Vendor Interface Module   Cat  Number 1756 MVI   Installation Instructions    Publication 1756 IN001A US P       ProSoft Technology  Inc  Page 61 of 70  June 8  2006    MV146 3964R   SLC Platform Reference  Siemens 3964R Protocol        gt  Siemens  Simatic CP544    Handbuch zum Kommunikationspartner CP544  Ausgabe 01   Bestell Nr  6ES5 998 2DB11   Siemens   Identsystem MOBY I   ASM 420   Interface Module ASM 420   Technical Description    Publication No  6GT2097 3AF00 0DA2     gt  Siemens    MOBY   Configuration  Installation and Service    Publication No  6GT2 097 4BA00 0EA2     gt  Siemens
39. e SLC processor example program  without restriction   MOBY Instruction  MDS INIT    Implementation in the SLC processor example program  This instruction uses the   normal mode  of the MDS  If you want to use the  ECC special driver   you have  to change the instruction command as explained in the programming reference     MOBY Instruction  DATA WRITE    Implementation in the SLC processor example program  This instruction uses the   normal mode  of the MDS  If you want to use the  ECC special driver   you have  to change the instruction command as explained in the programming reference     In our example we write 20 bytes to the MDS     MOBY Instruction  DATA READ       Page 22 of 70 ProSoft Technology  Inc   June 8  2006    Functional Overview MV146 3964R   SLC Platform  Siemens 3964R Protocol       Implementation in the SLC processor example program  This instruction uses the   normal mode  of the MDS  If you want to use the  ECC special driver   you have  to change the instruction command as explained in the programming reference     In our example we read 20 bytes from the MDS        ProSoft Technology  Inc  Page 23 of 70  June 8  2006    MV1I46 3964R   SLC Platform Functional Overview  Siemens 3964R Protocol          Page 24 of 70 ProSoft Technology  Inc   June 8  2006    Module Configuration    MVI146 3964R   SLC Platform  Siemens 3964R Protocol       3 Module Configuration    In This Chapter    Installation Instructons ee cece eeeeeeeeeeeneeeeeneeeeeeenaeeeeeeaas 25 
40. ee Master Command List Menu  menu section  S   Serial Port    Opens the Serial Port menu See Serial Port Menu section  S NA e 2808 S S  E   Error Status Information     3 Opens the Command List menu 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        Page 56 of 70 ProSoft Technology  Inc   June 8  2006    Diagnostics and Troubleshooting MV146 3964R   SLC Platform  Siemens 3964R Protocol       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     Opening the Command List Menu    Press  L  to open the Command List menu  Use this command to view the  configured command list for
41. efective product at our option and cost     Warranty Procedure  Upon return of the hardware product ProSoft will  at its  option  repair or replace the product at no additional charge  freight prepaid   except as set forth below  Repair parts and replacement product will be furnished  on an exchange basis and will be either reconditioned or new  All replaced  product and parts become the property of ProSoft  If ProSoft determines that the  Product is not under warranty  it will  at the Customer s option  repair the Product  using then current ProSoft standard rates for parts and labor  and return the  product freight collect     Limitation of Liability    EXCEPT AS EXPRESSLY PROVIDED HEREIN  PROSOFT MAKES NO  WARRANT OF ANY KIND  EXPRESSED OR IMPLIED  WITH RESPECT TO  ANY EQUIPMENT  PARTS OR SERVICES PROVIDED PURSUANT TO THIS  AGREEMENT  INCLUDING BUT NOT LIMITED TO THE IMPLIED  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR  PURPOSE  NEITHER PROSOFT OR ITS DEALER SHALL BE LIABLE FOR  ANY OTHER DAMAGES  INCLUDING BUT NOT LIMITED TO DIRECT   INDIRECT  INCIDENTAL  SPECIAL OR CONSEQUENTIAL DAMAGES   WHETHER IN AN ACTION IN CONTRACT OR TORT  INCLUDING  NEGLIGENCE AND STRICT LIABILITY   SUCH AS  BUT NOT LIMITED TO   LOSS OF ANTICIPATED PROFITS OR BENEFITS RESULTING FROM  OR  ARISING OUT OF  OR IN CONNECTION WITH THE USE OR FURNISHING OF  EQUIPMENT  PARTS OR SERVICES HEREUNDER OR THE PERFORMANCE   USE OR INABILITY TO USE THE SAME  EVEN IF ProSoft OR ITS DEALER S  TOTAL 
42. efer to  Using the Moby Instruction Set   The ASM 420 will be set to  low priority      The switches 7  amp  8 determine the mode of control of the MDS through the ASM  420  All possibilities mentioned in the technical description can be chosen       ProSoft Technology  Inc  Page 17 of 70  June 8  2006    MV146 3964R   SLC Platform Functional Overview  Siemens 3964R Protocol       according to your requirements   Proximity detection in SIM firmware  is our  example choice     2 5 5 Pinout Connections ASM 420    The following illustration shows the pins of the ASM 420  X1 Port  and the  MVI146 3964R used for a RS 422 connection  The ASM 420 needs an external  24V DC power supply for operation     3964R Application Port Cable  MVI ASM 420             b6  D    Transmit    z4  E    Receive    j     TxD  z8  E      Signal    Een b32  0 Volt     Cover b30 z30    z2  24 Volt     The cable must be made according to the RS 422 specifications  In addition to  this  you should also check your  ground  cabling to avoid ground loops     2 5 6 MOBY Instruction Set ASM 420    This section provides a short overview about the MOBY instruction set and its  realization in the SLC processor example program  The ASM 420 makes no  difference between MOBY I  and MOBY E  therefore all instructions are valid for  both systems     The MOBY instruction set is described in detail in the Technical Description  Identsystem MOBY I  Interface Module ASM 420  Publication No  6GT2097   3AF00 0DA2  Please refe
43. ent on P2    38  9002 Transfer Data to be Sent on P2    41  9998 Warm Boot  37   9999 Cold Boot  37    A    ACK Delay     26    B    Backplane Fail Count     24  Backplane Menu    54  Baud Rate     25    C    Clearing a Fault Condition   57  Clearing Diagnostic Data   50  CMDS    37   Communications   10  Coordination Byte 9 10   12    D    Data Bits     25   Data Block  DB      12   Data Type    12   Data Word  DW      12   Database View Menu    52   Diagnostics and Troubleshooting   46   Displaying the Current Page of Registers  Again   52    E    Enable     25    Error Codes    60   Exiting the Program    51   Explanations Concerning the Example  Programs    33    F    Functional Overview    8  Functional Specifications    6    G    General Concepts   9   General Specifications   6   General Warranty Policy     Terms and  Conditions   64    H    Hardware Components    14   Hardware Configuration ASM 420 e 15  Hardware Configuration ASM 424   19  Header Data     11    Installation Instructions   23  Introduction e 8  33    J    Job Allocation by the SLC Controller    10  Job Identifier   11  Job Processing   13    K    Keystrokes   47    L    Ladder Logic 23  LED Status Indicators   56  Limitation of Liability e 65    Main Logic Loop  10   Main Menu  49   MainRoutine    34   Minimum Response Delay    26  MOBY Instruction Set ASM 420 e 17  MOBY Instruction Set ASM 424    21  MOBY I E Communication  14  Modifying the Configuration File   24  Module Configuration   23   Module
44. ew  Siemens 3964R Protocol       The cable must be made according to the RS 422 specifications  In addition to  this  you should also check your  ground  cabling to avoid ground loops     2 5 9 MOBY Instruction Set ASM 424    This section contains a short overview about the MOBY instruction set and its  realization in the SLC processor example program  As mentioned before  the  ASM 424 makes no difference between MOBY I and MOBY E  therefore all  instructions are valid for both systems     The concrete MOBY instruction set is described in detail in the Programming  Reference  MOBY C Library MOBY API on the CD  Software Moby   Publication  No  6GT2 080 2AA10  Please refer to that manual for additional information     The instructions have to be programmed in the SLC processor according to this  specification and transferred into the MVI46 3964R  The MV146 3964R  subsequently communicates with the ASM 424 via 3964R to manipulate the MDS  according to your requirements  It is possible to use either the  normal mode  or  the  ECC special driver  to interface to the MDS  The SLC processor example  program itself will be explained in Ladder Logic     MOBY Instruction  RESET  Implementation in the SLC processor example program  without restriction     If different parameters are required the instruction has to be changed  accordingly     MOBY Instruction  STATUS   Implementation in the SLC processor example program  without restriction   MOBY Instruction  NEXT   Implementation in th
45. guration File              cccseecssecssseeeeseeseeeseseeeenseeeesseeseseaeenseeeeeseeets 26  Ca o  TEE 26  3 2 2   Backplane AG   uereg sbeiasg a a eege tad leah dee EE 26  8 2 3     B964R TEE 26   3 3 Uploading and Downloading the Configuration File                 cseecesessesesseeeeeeeees 28  3 3 1 Transferring the Configuration File to Your bt  29  3 3 2 Transferring the Configuration File to the Module 31   d LADDER LOGIC  iaaiaee eenaa eii demonan anena eaa aa eaae aaa aaa Ta aaa aaa aaa ainiaan aa Sedaaa iiaa 35  4 1 Introg Hetopn  eege E E E E E EE A E N EEE 35  4 2 Explanations Concerning the Example Programs         s sssusssnneennennnnnnnnennennnennnennnn nnn 35  4 2 1  S964R WithiRK  512  trict evel tear  Auden Avis ed eae ee eed a od eed 35   4 3 The 3964R Communication Program          ccsecccesccesseeeeeeeeeeeeeeeseeeeeseeeeeeeeeeseeseseeeeeenees 36  kl   SONG JODS 0a CRE vcs sacs esche EEN ech esha ead te ei eae 36   4 4 ET e e sasa asasi aaiae st actiees secddehsteccedes SAS ANATRA AnA 36  4 5 Transfer Routine          c ccccceeeeeceeeeeeeeeneeeeeeseeeeeeeseeeeeeeseseeeeeseseeneeseseseeeseseeeneeseseeneesnseenenes 38  4 6 E ll 38  AET    999 Warm E EE 38  46 2 E e RE 39  4 6 3 9001 Transfer Data to Be Sent On Di  39  4 6 4 9002 Transfer Data to be Sent ON Di  42  4 6 5 Request for Data CT  ibk  ee 43  466  Process Incoming Data seeniori a i i a aara ea 43   5 DIAGNOSTICS AND TROUBLESHOOTING              ccscccsscesseeeseeeeeeeeeeseeeseeeseeesseenseeeseeensee
46. ic 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 8 of 70 ProSoft Technology  Inc   June 8  2006    Functional Overview MV146 3964R   SLC Platform    Siemens 3964R Protocol       2    Functional Overview    In This Chapter    S Introduction  NNN Ed EEN dere 9   gt  General Concepts  10   gt  Communications  ves ceice snd e e ia a oia a 11  de    JOD  Proce SST a ges eee Ma ERa 14   gt  MOBY I E Communication  15       2 1 Introduction  2 1 1 Products in the Environment  The 3964R protocol can be installed in all local SLC chassis with at least one  controller   Further information about SLC and the SLC environment can be obtained  through your Rockwell Automation branch office   Product Compatibility  The communication between the MVI46 and the SLC processor is realized  through MO M1 data transfer   2 1 2 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 h
47. icy     Terms and Conditions           cccssccsseeeeseeeeesseeeeeeeeeeeeeeseeeseseeeeeeseeeeees 66  Limitation Of Liability TEE 67  RMA Procedures           sccccsseeeeeesseeeceenseeeeeenseceeeeensneeenensueeeesnsuaeeeseseeeeeseseeneeseseeceeseseeneeseseeneeseseeaeeas 67   85 INDEX nii aa ee ae daa aaa ae aasa aaa aa E Na a a aad aaea Aa aaea aa e aT 69   ProSoft Technology  Inc  Page 5 of 70    June 8  2006    MV1I46 3964R   SLC Platform Contents  Siemens 3964R Protocol          Page 6 of 70 ProSoft Technology  Inc   June 8  2006    Product Specifications MV146 3964R e SLC Platform  Siemens 3964R Protocol       1 Product Specifications    In This Chapter     gt  General Specifications               cccccccccecceceeceeeeeeeeeeaeeeeeeseesnnaeees 7    The MVI46 3964R module from ProSoft Technology allows point to point  communication between an SLC controller and a partner with 3964R  with or  without RK512  communication capability     1 1 General Specifications                         Specification Description   Backplane Current 800 ma   5V  from backplane   Load   Operating 0 to 60  C  32 to 140  F    Temperature   Storage    40 to 85  C     40 to 185  F   Temperature   Shock 30g operational  50g non operational  Relative Humidity 5 to 95   non condensing    Vibration 5 g from 10150 Hz   LED indicators Module status  Backplane transfer status  Application status  Serial activity    and error LED status       Debug Configuration port  CFG        CFG Port  CFG  RJ45  DB 9M wi
48. imited warranty  service may be obtained by delivering the Product to ProSoft in accordance with  our product return procedures  on page 67  and providing proof of purchase  and receipt date  Customer agrees to insure the Product or assume the risk of  loss or damage in transit  to prepay shipping charges to ProSoft  and to use the  original shipping container or equivalent  Contact ProSoft Customer Service for  further information     This warranty is limited to the repair and or replacement  at ProSoft s election  of  defective or non conforming Product  and ProSoft shall not be responsible for the  failure of the Product to perform specified functions  or any other non   conformance caused by or attributable to   a  any misuse  misapplication   accidental damage  abnormal or unusually heavy use  neglect  abuse  alteration   b  failure of Customer to adhere to ProSoft   s specifications or instructions   c   any associated or complementary equipment  software  or user created  programming including  but not limited to  programs developed with any EC1131   3 programming languages     C    for example  and not furnished by ProSoft   d   improper installation  unauthorized repair or modification  e  improper testing  or  causes external to the product such as  but not limited to  excessive heat or  humidity  power failure  power surges or natural disaster  compatibility with other  hardware and software products introduced after the time of purchase  or  products or accessorie
49. is 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    ProSoft Technology  Inc  Page 9 of 70    June 8  2006    MV146 3964R   SLC Platform Functional Overview  Siemens 3964R Protocol       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 3964R and to make efficient  use of the example programs     2 1 3 MVI46 3964R Operation  The protocol realized on the MVI46 3964R has the following special features       Immediately after power up and completion of the internal external  initialization procedures the MVI46 3964R
50. isplay of the module s internal database  registers 0 to 10000   Version Information   Control over the module  warm boot  cold boot  transfer configuration     5 1 1 The Configuration Debug Menu    The Configuration and Debug menu for this module is arranged as a tree  structure  with the Main Menu at the top of the tree  and one or more sub menus  for each menu command  The first menu you see when you connect to the  module is the Main menu     Because this is a text based menu system  you enter commands by typing the  command letter from your computer keyboard in the terminal application  for  example  HyperTerminal   The module does not respond to mouse movements  or clicks  The command executes as soon as you press the command letter      you do not need to press  Enter   When you type a command letter  a new  screen will be displayed in your terminal application        ProSoft Technology  Inc  Page 47 of 70  June 8  2006    MVI146 3964R   SLC Platform Diagnostics and Troubleshooting  Siemens 3964R Protocol       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  Z  on your keyboard     The organization of the menu structure is represented in simplified form in the  following illustration     Main Menu                 Child Menu A  Child Sub Menu 1  Child Sub Menu 2    Child Sub Menu 3      Child Menu B    Child Sub Menu 1   
51. isplays last selected page of data                   Back 5 Pages          Goes back five pages of data             P   Previous Page          Goes back one page of data                 Skip 5 Pages          Goes forward five pages of data             N   Next Page          Goes forward one page of data             D   Decimal Display       Displays data in decimal format             H   Hexadecimal Display    Displays data in hex format          F   Float Display       Displays data in floating point format          A   ASCII Display          Displays data in text format             M   Main Menu                         Goes up one level to main menu                Viewing Register Pages    To view sets of register pages  use the keys described below              Command Description    0  Display registers 0 to 99    1  Display registers 1000 to 1099   2  Display registers 2000 to 2099       And so on  The total number of register pages available to view depends on your  module s configuration     Displaying the Current Page of Registers Again    11 12 13 14    DATABASE DISPLAY   TO 99  lt DECIMAL gt   100 181 102 4    1    KEEEEEEE KEN    KEKEEEEE KN    KEEEEEEEEK   KEKEEKEEEE   KEKEEEEEEK           ProSoft Technology  Inc     June 8  2006    Page 53 of 70    MVI146 3964R   SLC Platform Diagnostics and Troubleshooting  Siemens 3964R Protocol       This screen displays the current page of 100 registers in the database     Moving Back Through 5 Pages of Registers    Press    
52. mal mode  of the MDS  If you want to use the  ECC special driver   you have  to change the instruction command as explained in the technical description  In  our example we write 20 bytes to the MDS     MOBY Instruction  DATA READ    Implementation in the SLC processor example program  This instruction uses the   normal mode  of the MDS  If you want to use the  ECC special driver   you have  to change the instruction command as explained in the technical description  In  our example we read 20 bytes from the MDS        ProSoft Technology  Inc  Page 19 of 70  June 8  2006    MV146 3964R   SLC Platform Functional Overview  Siemens 3964R Protocol       2 5 7 Hardware Configuration ASM 424    The hardware configuration of the peer to peer system using an ASM 424 is as  follows            To 3964R Module    d 24 v   6GT2 491 1HH50   nd   20 v  U    6GT2 494 0AA00  or othr 24 V    The Channel 1 connector of the ASM 424 interfaces to an SLG   The RS 232 RS 422 port interfaces to the MV146 3964R   Details are described in the original literature    MOBY   Configuration  Installation and Service   Publication No  6GT2 097 4BA00 0EA2     The switch bank is for setting the mode  For a detailed description of the  possible modes  please refer to the technical description mentioned above  The  following mode is used     Switch 1   Off  0   Switch 2   Off  0   Switch 3   Off  0   Switch 4   Off  0   Switch 5   Off  0   Switch 6   Off  0   Switch 7   Off  0   Switch 8   On  1        Page 20
53. n Information    Press  C  to view configuration information for the selected port  protocol  driver  or device        ProSoft Technology  Inc  Page 55 of 70  June 8  2006    MVI146 3964R   SLC Platform Diagnostics and Troubleshooting  Siemens 3964R Protocol       Viewing Backplane Diagnostic Information    Press  D  to view Backplane Diagnostic information     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    5 1 8 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                   L 0 1   Protocol_Serial Menu                       Display Menu Redisplays  refreshes  this menu                V   Version Information Displays version information screen                   M   Main Menu L  gt  Goes up one level to main menu                Displays configuration information    C   Configuration Information  screen                                                                               ENEE EE  Opens the Master Command List IS S
54. ng configurd g  TRANSFERRING CONH   e Ynoden proto  Select the RECEI    Building configuration file image from module Ready to Sendt          Comected 90 07       When the configuration file has been transferred to your PC  the dialog box  will indicate that the transfer is complete        Press  NI key to confirm configuration send    Sending configuration file   TRANSFERRING CONFIGURATION FILES FROM ProSoft MODULE TO PC  The Ymodem protocol is used to send the file from the module  Select the RECEIVE menu option and destination directory     Building configuration file image from module   Ready to Send   CONFIGURNTION FILE TRANSFERRED TO PC    Press    Y    key to confirm configuration send     Sending configuration file     TRANSFERRING CONFIGURATION FILES FROM ProSoft MODULE TO PC  The Ynodem protocol is used to send the file from the module  Select the RECEIVE menu option and destination directory    Building  configuration file isaga fron medule     Roady to Sendi  CONFIGURATION FILE TRANSFERRED TO PC                Corrected 0 00 07 fasta detect   Sem 4 1    The configuration file is now on your PC at the location you specified    8 You can now open and edit the file in a text editor such as Notepad  When  you have finished editing the file  save it and close Notepad    3 3 2 Transferring the Configuration File to the Module    Perform the following steps to transfer a configuration file from your PC to the  module        ProSoft Technology  Inc  Page 31 of 70  June 8 
55. nsaees 47  5 1 Reading Status Data From the Module            cscccsssccceseeessseseseeeeeseeeeeeeeeseeesesseeeeeseeeas 47  5 1 1  The Configuration DebUg Men    47   Page 4 of 70 ProSoft Technology  Inc     June 8  2006    Contents    MVI146 3964R   SLC Platform  Siemens 3964R Protocol          512   Required Hardware iadsaa aa a a aerer aa A aae enden 48  5 1 3 Required Software  A 49  5 1 4 Using the Configuration Debug Pont    49  SES Maln Menu    neha r aa a A A 50  S16  Database  View M  n use R E 53  547 Backolanec Memg  isis  steed aa ee ee ee dE eege EA 55  5 1 8 Protocol Serial 3964R Menu    56   5 2 LED Status Indica lO Si e eege deeg geed 57  5 2 1 Clearing a Fault Condition  eeii ieii iaa ananitania iridia ddiaa 58  D Troubleshooting oaii ee dE NEEN 58   6  REFERENCE mee EENS Ne 61  6 1 RS 232 Configuration DebUG Port           sseccceeceesseeeesneeeneeeeeeeseseaeeenseeessaeseseeeeneeeeeeeees 61  6 2 Reference DOCUMENINGS            ccceseeceseeeeeeeseeeeeeeeseeneeeesenneeensenneesesenneeseseeneeseseeneeeseseeneees 61  6 3 Error COGD S dinoda oain Sootna teeseoutes ge egen eg EE EES 62  6 4 MV146 3964R Configuration File Example             cccssccssecesseesseeeeeseeeeeeeeeseeeseseeneeenees 63   7 SUPPORT  SERVICE  amp  WARRANTY              cc ccseeseessceeseeesseesseeeseeeseeesaeensesesesneesneeeneeenseennees 65  Module Service and Repair          c scccseeceeeeeseeeeeseeeeeeeeeeseaeseseeenseeeeeeeeesaesaseeeeneeeesseesaseeeenseeeesaees 65  General Warranty Pol
56. ogram 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 3964R Menu    Press  0  or  1  from the Main Menu to open the Protocol_ Serial_ 3964R menu for  3964R Ports 1 and 2     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        ProSoft Technology  Inc  Page 51 of 70  June 8  2006    MVI146 3964R   SLC Platform Diagnostics and Troubleshooting  Siemens 3964R Protocol       Transferring the Configuration File from PC
57. ogy Technical Support        Page 58 of 70 ProSoft Technology  Inc   June 8  2006    Diagnostics and Troubleshooting    MVI146 3964R   SLC Platform  Siemens 3964R Protocol          Problem Description  Processor Fault    Steps to take    Be sure that the module is plugged into the slot that has been  configured for the MV146 3964R module     Be sure the ladder logic has been set up correctly       Processor UO LED flashes    This indicates that there is a problem with backplane  communications  Be certain this and all modules in the rack are  configured in the processor        BP ACT LED remains off or  blinks slowly    This indicates that backplane transfer operations are failing  Use  the Configuration Debug port facility to check this  To establish  backplane communications  verify the following items       The backplane driver is loaded in the module       The module is configured for read and write block data  transfer       The ladder logic handles all read and write block  situations       The module is configured in the processor        ACT FLT LED remains red    The program has halted or a critical error has occurred  Connect  to the Configuration Debug port to see if the module is running  If  the program has halted  remove the card from the rack  then re   insert           ProSoft Technology  Inc   June 8  2006    Page 59 of 70    MVI146 3964R   SLC Platform Diagnostics and Troubleshooting  Siemens 3964R Protocol          Page 60 of 70 ProSoft Technology  Inc   Jun
58. r application support engineers at any time to answer the  questions that are important to you     Module Service and Repair    The MV146 3964R device is an electronic product  designed and manufactured to  function under somewhat adverse conditions  As with any product  through age   misapplication  or any one of many possible problems the device may require  repair     When purchased from ProSoft Technology  Inc   the device has a 1 year parts  and labor warranty  3 years for RadioLinx  according to the limits specified in the       ProSoft Technology  Inc  Page 65 of 70  June 8  2006    MV146 3964R   SLC Platform Support  Service  amp  Warranty  Siemens 3964R Protocol       warranty  Replacement and or returns should be directed to the distributor from  whom the product was purchased  If you must return the device for repair  obtain  an RMA  Returned Material Authorization  number from ProSoft Technology  Inc   Please call the factory for this number  and print the number prominently on the  outside of the shipping carton used to return the device     General Warranty Policy     Terms and Conditions    ProSoft Technology  Inc   hereinafter referred to as ProSoft  warrants that the  Product shall conform to and perform in accordance with published technical  specifications and the accompanying written materials  and shall be free of  defects in materials and workmanship  for the period of time herein indicated   such warranty period commencing upon receipt of the Product  L
59. r the product may be made at any time  These changes will be made periodically to correct  technical inaccuracies or typographical errors     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  Inc    1675 Chester Avenue  Fourth Floor  Bakersfield  CA 93301    661  716 5100    661  716 5101  Fax    http   www  prosoft technology com    Copyright    ProSoft Technology  Inc  2000   2006  All Rights Reserved     MV146 3964R User Manual  June 08  2006    Contents MVI146 3964R   SLC Platform  Siemens 3964R Protocol          Contents  PLEASE READ THIS NOTICE aaie ianen desann anemian an aaiae eaae aa a a aaen daaa Aaaa Padapa en d  e Ae ged ed 2  Your Feedback Please             ccccseeeceesseeeceesseeeeeeensneeeeenseeeeeenseeeeeenseeeeesaseeeeesaseceeseeseeceeseseeneeseseeeeess 2  1   PRODUCT SPECIFICATIONS  iiiaae eaaa iaraa eaaa aeaa aiaiai daadaa aaan 7  1 1 General Specifications             ecccseeccesceesseeeeeeeeeeeeeeseeeseseeeenseeeeseaeseseeeenseeeseeeedsnaesaseeeenenees 7  1 1 1 Functional Specifications               ccccccccceeeeececeeceeeeeeeeeceneaeceeeeeeesececeaeeeeeeeenseceacaeeeeeeeeeeeees 7  2 gt     FUNCTIONAL OVERVIEW sisia aaao aaaea sate aoaaa aaia aaaea ao aaa AAN aa eacteacaesccvsadeeaeteais 9  2 1 Juge e de E 9  2 1 1  Products in the Environment   
60. r to that manual for additional information     The instructions must be programmed in the SLC processor according to this  specification and transferred into the MVI46 3964R  The MV146 3964R  subsequently communicates with the ASM 420 via 3964R without RK512 to  manipulate the MDS according to your requirements  It is possible to use either  the  normal mode  or the  ECC special driver  to interface to the MDS  The SLC  processor example program will be explained in Ladder Logic        Page 18 of 70 ProSoft Technology  Inc   June 8  2006    Functional Overview MV146 3964R   SLC Platform  Siemens 3964R Protocol       MOBY Instruction  RESET    Implementation in the SLC processor example program  RESET without  parameters  If parameters are required the instruction has to be changed  accordingly     MOBY Instruction  STATUS   Implementation in the SLC processor example program  without restriction   MOBY Instruction  DI DO   Implementation in the SLC processor example program  without restriction   MOBY Instruction  NEXT   Implementation in the SLC processor example program  without restriction   MOBY Instruction  MDS INIT    Implementation in the SLC processor example program  This instruction uses the   normal mode  of the MDS  If you want to use the  ECC special driver   you have  to change the instruction command as explained in the technical description     MOBY Instruction  DATA WRITE    Implementation in the SLC processor example program  This instruction uses the   nor
61. rfaces to an SLG        Page 16 of 70 ProSoft Technology  Inc   June 8  2006    Functional Overview MV146 3964R   SLC Platform  Siemens 3964R Protocol       The X1 Port  backplane connector  of the ASM 420 has multiple functionalities   Details are described in the original literature     Technical Description Identsystem MOBY I   Interface Module ASM 420   Publication No  6GT2097 3AF00 0DAZ2     In our case we use only the connections for the power supply and the RS 422  interface to realize our peer to peer connection to the MVI46 3964R     The switch bank  S1  is for setting the mode  For a detailed description of the  possible modes  please refer to the technical description mentioned above  The  following mode is used     Switch 1   Off  0   Switch 2   Off  0   Switch 3   On  1   Switch 4   Off  0   Switch 5   Off  0   Switch 6   Off  0   Switch 7   Off  0   Switch 8   On  1     The switches 1  amp  2 determine the baud rate of the ASM 420  9600 Baud is  configured in our case     The other serial parameters are defined by the ASM 420       Data bits  8    Parity  odd    Stop bit  1    These parameters have to be fixed for the MVI46 3964R to operate with the ASM  420     The switches 3 6 select 3964R as the standard communication procedure  There  is no other choice in our case  because 3964R is the only procedure offered by  the MVI46 3964R  Adjusting high low priority is not relevant  because the data  exchange between the ASM 420 and the MVI46 3964R is synchronized  R
62. roubleshooting MV146 3964R   SLC Platform  Siemens 3964R Protocol       5 1 3 Required Software    In order to send and receive data over the serial port  COM port  on your  computer to the module  you must use a communication program  terminal  emulator      A simple communication program called HyperTerminal is pre installed with  recent versions of Microsoft Windows operating systems  If you are connecting  from a machine running DOS  you must obtain and install a compatible  communication program  The following table lists communication programs that  have been tested by ProSoft Technology                 DOS ProComm  as well as several other terminal emulation programs  Windows 3 1 Terminal   Windows 95 98 HyperTerminal   Windows NT 2000 XP HyperTerminal       The module uses the Ymodem file transfer protocol to send  download  and  receive  upload  configuration files from your computer  If you use a  communication program that is not on the list above  please be sure that it  supports Ymodem file transfers     5 1 4 Using the Configuration Debug Port    To connect to the module s Configuration Debug port     1 Connect your computer to the module s port using a null modem cable     2 Start the communication program on your computer and configure the  communication parameters with the following settings                 Baud Rate 57 600  Parity None   Data Bits 8   Stop Bits 1   Software Handshaking XON XOFF       3 Open the connection  When you are connected  press the  
63. s not manufactured by ProSoft  all of which components   software and products are provided as is  In no event will ProSoft be held liable  for any direct or indirect  incidental consequential damage  loss of data  or other  malady arising from the purchase or use of ProSoft products     ProSoft   s software or electronic products are designed and manufactured to  function under adverse environmental conditions as described in the hardware  specifications for this product  As with any product  however  through age   misapplication  or any one of many possible problems  the device may require  repair     ProSoft warrants its products to be free from defects in material and  workmanship and shall conform to and perform in accordance with published  technical specifications and the accompanying written materials for up to one  year  12 months  from the date of original purchase  3 years for RadioLinx       Page 66 of 70 ProSoft Technology  Inc   June 8  2006    Support  Service  amp  Warranty MV146 3964R e SLC Platform  Siemens 3964R Protocol       products  from ProSoft  If you need to return the device for repair  obtain an RMA   Returned Material Authorization  number from ProSoft Technology  Inc  in  accordance with the RMA instructions below  Please call the factory for this  number  and print the number prominently on the outside of the shipping carton  used to return the device     If the product is received within the warranty period ProSoft will repair or replace  the d
64. sing  Both ports can be used independently from each other  multi tasking    A possible initialization conflict will be solved as follows   Page 14 of 70 ProSoft Technology  Inc     June 8  2006    Functional Overview MV146 3964R   SLC Platform    Siemens 3964R Protocol       MV1I46 3964R has  High Priority      The MV146 3964R 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 3964R has  Low Priority    The MVI46 3964R rejects its send job and sends the 3964R acknowledge  DLE   to the CP     Important  If the MVI46 3964R has rejected its send job due to  Low Priority    it is necessary to restart its send job completely  starting with the copying of  the job data         2 5 MOBY I E Communication   This section describes the requirements for building a peer to peer MOBY I E   Identsystem using a Siemens Interface Module ASM 420 424 and an MVI46    3964R    2 5 1 Use of Terms   In this section the following terms will be used      The Siemens Interface Module ASM 420 424 will be referred to as  ASM 420   respectively  ASM 424       Read Write devices will be called  SLG       Movable memory devices will be called  MDS     2 5 2 Hardware Components   The hardware components of a MOBY I E Identsystem using a MVI46 3964R   are      Interface Module ASM 420 424      The ASM 420 424 drives the SL
65. sponding to a CP  message     Use CTS Line  Yes or No    This parameter specifies whether or not to monitor CTS modem line     Swap  Oor 1    This parameter specifies whether bytes should be swapped  0   No data byte  swapping  1   Data byte swapping     Priority  Oor 1    This parameter specifies whether the data is high priority or low priority  0   High  priority  1   Low Priority     Protocol  UI  or   0   3964 RK512  1   3964  3   MOBY I E    ACK Delay    Number of milliseconds to wait for ACK  The default is 1000 ms     Setup Attempts    Number of times to try to connect to CP  Default 6     Transmit Attempts  Number of times to try to transmit to CP  Default 6        3 3 Uploading and Downloading the Configuration File  ProSoft modules are shipped with a pre loaded configuration file  In order to edit  this file  you must transfer the file from the module to your PC  After editing  you  must transfer the file back to the module   This section describes these procedures   Page 28 of 70 ProSoft Technology  Inc     June 8  2006    Module Configuration MVI146 3964R e SLC Platform  Siemens 3964R Protocol       Important  The illustrations of configuration debug menus in this section are  intended as a general guide  and may or may not exactly match the  configuration debug menus in your own module  For specific details about the  configuration debug menus in your module  please refer to The  Configuration Debug Menu  on page 47      3 3 1 Transferring the Configuration File
66. th supplied cable    RS 232 only  Configuration RJ45 RS 232 Connector  RJ45 to DB 9 cable shipped with unit   Connector       Application Ports  Application Serial  2  RJ45 RS 232 422 485 Application ports    port  PRT1  PRT2    Serial Modules           1 1 1 Functional Specifications     The MV146 3964R and the SLC processor communicate via MO 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       ProSoft Technology  Inc  Page 7 of 70  June 8  2006    MV146 3964R   SLC Platform Product Specifications  Siemens 3964R Protocol         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     Example programs are provided for using the 3964R protocol with a Siemens  ASM 420   ASM 424 MOBY I E communication interface    Ladder Logic    Ladder log
67. ule to the processor   COP  0000 Copy File  Source  M1 1 6000   N20 0  4 6 CMDS  The CMDS sub routine handles special block processing  Special blocks include     9998   Warm Boot    9999   Cold Boot    9001   Transfer data to be sent on P2    9002   Transfer data to be sent on P3  4 6 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   Ladder  logic to perform this task is shown in the following rung   This rung forces the module to perform a WARMBOOT  WARMBCOT BIT  B3 0 MOV  0000 kl Move  1 Source  Dest  M1 1 6800  K    WARMBOOT BIT  B3 0  1  Page 38 of 70 ProSoft Technology  Inc     June 8  2006    Ladder Logic MVI146 3964R   SLC Platform  Siemens 3964R Protocol       4 6 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   Ladder logic  to perform this task is shown in the following rungs                       This rung forces the module to perform a COLDBOOT  COLDBOOT BIT  B3 0 MOV  0001  kl Move  0 Source 9999  9999 lt   Dest  M1 1 6800    lt   COLDBOOT BIT  B3 0  U gt   0  4 6 3 9001 Transfer Data to Be Sent on P2    The following rung builds a block of data with a header to send to the module   The header data resides in N12 and the message data in N11  The next rung  transfers the remaining data to the module       Pass through from Processor to 
68. y   Red The program has detected an error or is being configured   If the LED remains red for over 10 seconds  the program  has probably halted  Remove the card from the rack and  re insert the card to restart the module s program   BAT Red Off The battery voltage is OK and functioning        On The battery voltage is low or the battery is not present   Replace the battery on the module     If the APP  BP ACT  and ACT FLT LEDs blink at a rate of every one second  call  ProSoft Technology support  There may be a serious problem with the module  and it will have to be sent back to ProSoft        5 2 1 Clearing a Fault Condition    Typically  if the ACT FAULT LED on the front of the module becomes illuminated  red for over ten seconds  a hardware problem has been detected in the module  or the program has exited  To attempt to clear the condition     1 Turn the power to the rack off   2 Remove the card from the rack   3 Make certain all jumpers are set correctly   4 Re insert the card in the rack and turn the power back on   5 Verify the configuration data being transferred to the module from the SLC    processor    If the module s ACT FAULT LED does not turn green  make sure the module is  inserted completely into the rack  If this does not cure the problem  contact the  factory     5 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 Technol
69. z xo e   Block Transfer Statistics     Module Configuration  O Database View   R Receive Module Configuration    Send Module Configuration  V Version Information   W Horm Boot Module    Esc Exit Program  Press         key to confirm configuration send   Sending configuration file  TRANSFERRING CONFIGURATION FILES FROM ProSoft MODULE TO PC     The Ymodem protocol is used to send the file from the module  Select the RECEIVE menu option and destination directory       Building configuration file image from module Ready to Sendt       Corvectad 0 00 07       5 Use the Browse button to choose a folder on your computer to save the file   and then click Receive     W Receive File    Place received file in the following folder       cw           Use receiving protocol     Ymodem v      Receive   Close Cancel          e Note  ProSoft Technology suggests that you download the  configuration file pre loaded on your module  However  configuration  files are also available on the ProSoft CD as well as the ProSoft  Technology web site at http   www prosoft technology com     6 Select Ymodem as the receiving protocol        Page 30 of 70 ProSoft Technology  Inc   June 8  2006    Module Configuration MV146 3964R   SLC Platform  Siemens 3964R Protocol       7 Click the Receive button  This action opens the Ymodem File Receive dialog  box  showing the progress of your file transfer        MODULE WENT    Display Menu  A Data Analyzer  B Block Transf    Esc Exit Progrd    Press  NI key to  Sendi
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Generadores Manual del Usuario  Manuel d`instruction  Electrolux EOA5641BOW    télécharger le magazine Oct. 2013  HACCP - NordCap  Emerson 330 Surge Protective Device (formerly PowerSure LPM IM & ASCO 351) Warranties  Si Touch User Manual    Jarolift Zeitschaltuhr Seven Logic Comfort für Rohrmotoren    Copyright © All rights reserved. 
   Failed to retrieve file