Siemens MPIAdapterea
Siemens MPIAdapterea
Siemens MPIAdapterea
1 System Structure
2 Cable Diagrams
3 Supported Device Addresses
4 Consecutive Device Addresses
5 Environment Setup
6 I/O Manager Configuration
7 Driver Configuration
8 Protocol Configuration
9 Device Address Configuration
• This manual explains how to connect the target machine with other manufacturer devices. For
information about how to use the Pro-Designer software, please refer to the Pro-Designer Online
Help.
• The types of target machines that are compatible with Pro-Designer depends on the version of
Pro-Designer. For information about the compatibility of target machines, please refer to the Pro-
Designer Online Help.
1 System Structure
The following table describes the basic system setup for connecting the target machine to Siemens
Series PLCs over a serial connection.
To view a cable connection diagram for a particular communication format, see Section 2 –
Cable Diagrams.
Series CPU Link I/F Comm. Format Diagram
CPU312IFM
CPU313
Simatic S7-300/400 CPU314 Cable
MPI Port RS-232C
Series CPU315 Diagram 1
CPU315-2DP
CPU413-2DP
2
Siemens Simatic S7-300/400 Series MPI Driver
2 Cable Diagrams
The illustrated cable diagrams and those recommended by Siemens may differ. However, Pro-face
recommends using the following diagrammed connections.
• Ground the PLC’s FG terminal according to your country’s applicable standard. For details,
refer to the PLC manual.
• When making your own communication cable, be sure to connect the SG signal.
Diagram 1 RS-232C
To connect the target machine and the PLC, create your own cable using the following
specifications.
Target Machine Cable / Adapter Comments
- When connecting to a 9pin
port on the target machine,
GP, PS-P, Cable for Siemens MPI Port Adapter
use a 9/25 pin adapter.
PC/AT(PL), PS-G (Pro-face: GP070-MPI-41)
- GP070-MPI-41 cable uses
male connections.
3
Siemens Simatic S7-300/400 Series MPI Driver
*1 Read-modify-write. When you write to one of these bit addresses, the target machine reads
the entire word address, sets the defined bit, then returns the new word address to the PLC. If
the ladder program writes data to this word address during the bit read/write process, the
resulting data may be incrorrect.
*2 Device size is 1 byte.
*3 Device size is 2 bytes, or 1 word.
*4 Valid range in BCD is 0000 to 0999.
*5 Read-only.
*6 Data blocks are created by the user. Available addresses depend on what the user has created.
*7 PLC word addresses defined for integer, float, and string variables must be even-numbered.
i.e., IW5 is not a valid device address for an integer variable. Must be either IW4 or IW6.
*8 16-bit and 32-bit data, High and Low, refer to data as defined in the following examples.
16 bit 32 bit
Byte Word
0 15 ... 8 H (High) 0 H (High)
1 7 ... 0 L (Low) 1 L (Low)
4
Siemens Simatic S7-300/400 Series MPI Driver
Max. Consecutive
Device Gap Span
Addresses
Input (I)
Output (Q) 222 bytes 22 bytes
*1
Internal Bit (M) (Bit Access) (Bit Access)*1
Data Block (DBX)
Input (IW)
Output (QW)
Internal Bit (MW) 111 words 11 words
Data Block (DBW) (Word Access)*2 (Word Access)*2
Timer Word (T)
Counter Word (C)
*1 Pro-Designer Runtime accesses bit addresses in byte units. For example, when the bit address
IW101.3 is assigned to a Pro-Designer discrete variable, the entire byte address (IW101) is
read. The bit address gap span can have up to 22 byte addresses.
*2 Pro-Designer Runtime accesses word addresses in even-numbered bytes (2 bytes = 1 word).
For example, when the byte address IW100 is assigned to a Pro-Designer 16bit integer
variable, a word (IW100, IW101) is read. The word address gap span can have up to 11 word
addresses.
5
Siemens Simatic S7-300/400 Series MPI Driver
5 Environment Setup
The following table lists the communication settings, recommended by Pro-face, for the target
machine and Siemens PLC.
For details, see Section 7 – Driver Configuration and Section 8 – Protocol Configuration.
Target Machine Settings PLC Settings
Serial Interface RS-232C Connection Format RS-232C
Flow Control DTR(ER)/CTS —
Transmission 115,200 bps Baud Rate 115,200 bps
Speed
Retry Count 2 —
Driver —
Parity Bit Odd
Stop Bit 1 bit —
Data Length 8 bits —
Rcv Time Out 10 s —
TX Wait Time 0 ms —
Local Node*1 0-126 MPI Address *2 0-126
Target Node *2
0-126 —
Protocol
Highest Node 15/31/63/126 Highest Node 15/31/63/126
Number*3 Number*3
*1 The Local Node (target machine) must NOT match the MPI Address (PLC).
*2 The Target Node (target machine) must match the MPI Address (PLC).
*3 The Highest Node Number, which identifies the highest possible node address on the
network, must be the same on the target machine and PLC. The Local Node, Target Node,
and MPI addresses must be less than or equal to the Highest Node Number.
6
Siemens Simatic S7-300/400 Series MPI Driver
For information on how to display the [New Driver Interface] dialog box,
see the online help.
7
Siemens Simatic S7-300/400 Series MPI Driver
7 Driver Configuration
To configure the communication settings of the serial driver in the target machine, use the [Driver
Configuration] dialog box. Make sure the settings match those of the PLC.
For an overview of the driver and protocol settings, see Section 5 – Environment Setup.
Manufacturer
Displays the name of the PLC manufacturer.
Interface
Displays the type of serial connection used to connect the target machine to the PLC.
COM Port
Defines which COM port to use on the target machine, for connecting to the PLC.
8
Siemens Simatic S7-300/400 Series MPI Driver
Data Length
Defines the length of each unit of data as 8 bits.
Rcv. Timeout
Defines the length of time the target machine waits for a response before it outputs a timeout error
or sends another communication.
TX Wait Time
Defines the number of milliseconds that the target machine waits, after receiving a communication
packet, before sending a response.
9
Siemens Simatic S7-300/400 Series MPI Driver
8 Protocol Configuration
To set up details about the communication process between the target machine and the PLC, use
the [Protocol Configuration] dialog box.
For an overview of the driver and protocol settings, see Section 5 – Environment Setup.
Local Node
Enter a value [0 to Highest Node Number (HNN)] to identify the target machine. This value must
NOT be the same as the MPI Address set up on the PLC.
Target Node
Enter a value (0 to HNN) to identify the PLC. This value must be the same as the MPI Address set
up on the PLC.
Highest Node Number
Enter a value (15, 31, 63 or 126) to identify the Highest Node Number (HNN).
10
Siemens Simatic S7-300/400 Series MPI Driver
For information on how to display the Device Address Keypad, see the
online help.
Memory Area
Lists the PLC devices.
Data Block
Available when the Memory Area is DB (Data Block). Data Blocks are memory areas created by
the user.
Click the ellipsis to display the [Data Block Selector] keypad, which assists you in entering a
valid data block number.
Address
Enter the device address number here.
When mapping an integer, float, or string variable to a PLC device, you can enter only even
addresses.
When mapping a discrete variable to a PLC device, you can enter both odd or even addresses.
11
Siemens Simatic S7-300/400 Series MPI Driver
In the Address field, click the ellipsis to display the [Address Selector] keypad, which assists
you in entering a valid device address.
Bit
Available when mapping discrete variables to a PLC device. Lists the available bits (0-7).
12