Documente Academic
Documente Profesional
Documente Cultură
1 System Structure 2 Supported Device Addresses 3 Consecutive Device Addresses 4 Environment Setup 5 I/O Manager Configuration 6 Driver Configuration 7 Equipment Configuration 8 Device Address Configuration
Introduction
This manual describes the device driver communication settings in the Vijeo-Designer screen editing software. Vijeo-Designer enables you to design Magelis target machines to communicate with PLCs, drives, field devices, and other equipment. For more information about Vijeo-Designer and Magelis target machines, please refer to Vijeo-Designer user documentation.
Safety Information
Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure. The addition of either symbol to a Danger or Warning safety label indicates that an electrical hazard exists, which will result in personal injury if the instructions are not followed. This is the safety alert symbol. It is used to alert you to potential personal injury hazards. Obey all safety messages that follow this symbol to avoid possible injury or death.
DANGER
DANGER indicates an imminently hazardous situation, which, if not avoided, will result in death or serious injury.
WARNING
WARNING indicates a potentially hazardous situation, which, if not avoided, can result in death, serious injury, or equipment damage.
CAUTION
CAUTION indicates a potentially hazardous situation, which, if not avoided, can result in injury or equipment damage. Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material. 2007 Schneider Electric USA All Rights Reserved
WARNING
LOSS OF CONTROL The designer of any control scheme must consider the potential failure modes of control paths and, for certain critical control functions, provide a means to achieve a safe state during and after a path failure. Examples of critical control functions are emergency stop and overtravel stop. Separate or redundant control paths must be provided for critical control functions. System control paths may include communication links. Consideration must be given to the implications of unanticipated transmission delays or failures of the link.1 Each implementation of a Magelis XBTG, XBT GT, XBT GK and iPC must be individually and thoroughly tested for proper operation before being placed into service. Failure to follow these instructions can result in death, serious injury, or equipment damage.
1For
additional information, refer to NEMA ICS 1.1 (latest edition), Safety Guidelines for the Application, Installation, and Maintenance of Solid State Control
Validity Note
The data and illustrations found in this book are not binding. We reserve the right to modify our products in line with our policy of continuous product development. The information in this document is subject to change without notice and should not be construed as a commitment by Schneider Electric.
Documentation Conventions
Target Machine: Human-Machine Interface (HMI) that runs user applications designed in VijeoDesigner screen editing software. A target machine is also known as a terminal.
System Structure
The following table describes the basic system setup for connecting targets machine to Mitsubishi Melsec-Q Series PLCs.
Series CPU Q00CPU Q00JCPU Q01CPU Q02CPU Q02HCPU Q06HCPU Q12HCPU Q25HCPU Ethernet Module
MELSEC-Q Series
QJ71E71 QJ71E71-B2
NOTE
Use a 100BASE-TX connection for iPC Series, XBTGTW Series, XBTGT2000 Series or higher, and XBTGT1005 Series target machines. Use a 10BASE-T connection for XBTG Series or XBTGT1130 target machines.
L/H *6
L/H *6
*1 To use as word address, the bit number (last digit) must be 0. *2 To use as word address, must be multiple of 16. *3 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 value to the PLC. If the ladder program writes data to this word address during the bit read/write process, the resulting data may be incorrect. *4 You can define a bit address by adding a colon followed by the bit position (0~15) at the end of the word. (e.g. D0000:15) *5 You can define a bit address by adding a colon followed by the bit position (0~F) at the end of the word. (e.g. W0000:F) *6 16-bit and 32-bit data, High and Low, refer to data as defined in the following examples.
Byte 0 1 7 15 16 bit ... ... 0 8 L (Low) H (High) Word 0 1 15 31 32 bit ... ... 0 16 L (Low) H (High)
To speed up data communication, use consecutive device addresses on the same panel screen. The following situations increase the number of times that the device is read, and reduces the data communication speed between the target machine and the PLC: when the number of consecutive addresses exceeds the maximum when different device types are used
Device Max. Consecutive Addresses
Gap Span
Input Relay (X) Output Relay (Y) Internal Relay (M) Latch Relay (L) Special Relay (SM) Annunciator (F) Edge Relay (V) Step Relay (S) Link Relay (B) Special Link Relay (SB) Timer [contact] (TS) Timer [coil] (TC) Retentive Timer [contact] (SS) Retentive Timer [coil] (SC) Counter [contact] (CS) Counter [coil] (CC) Timer [current value] (TN) Retentive Timer [current value] (SN) Counter [current value] (CN) Data Register (D) Special Register (SD) Link Register (W) Special Link Register (SW) File Register (R) File Register (0R-31R) 480 words 48 words 7680 bits 752 bits
Environment Setup
WARNING
UNINTENDED EQUIPMENT OPERATION Read and understand the instructions in this section to ensure data is properly transferred. If you do not follow these instructions, incorrect data could be written to the PLC and the target machine, which could result in system failures. Failure to follow this instruction can result in death, serious injury, or equipment damage. Prior to the target machine starting communciation with a Melsec-Q PLC, the MNET/10H Ethernet settings must be set in the PLC's ladder logic software. The setting values are as shown below. 1. Network Parameter MNET/10H Ethernet Settings 2. Ethernet Operation Settings 3. OPEN Settings
*1 This setting does not effect the communication with the target machine.
*1 When performing Write from the target machine in RUN mode, set the Write Possible in RUN mode to "Allowed".
NOTE
Consult your network administrator when setting up IP addresses. Do not set up duplicate addresses.
3. OPEN Settings
Items Protocol SRC Port No. DEST IP Address DEST Port Address Fixed Buffer Fixed Buffer Method Pairing Open Confirming PLC Settings UDP/IP Should be the same DEST Port No No. as the target machine. *1 Should be the same IP Address as the target machine. Should be the same UDP Port No. as the target machine. Any number *2 yes Any number *2 Any number *2
*1 Only one (1) target machine can be connected to a single PLC Station port number. If multiple (2 or more) target machines are connected to a PLC, be sure each target machine uses a unique PLC Station port number. *2 This setting does not effect the communication with the target machine.
NOTE
Consult your network administrator when setting up IP addresses. Do not set up duplicate addresses.
When the Auto Open UDP Port feature is used, the Table 3. OPEN Settings are not needed. When these settings are used, however, the PLC's port number is 5000. Multiple (2 or more) target machines can be connected to a [Auto Open UDP Port]. For details, refer to Mitsubishi Electric's Q and QnA Series Ethernet Interface User Manuals.
For information on how to display the [New Driver] dialog box, see the online help.
10
Driver Configuration
WARNING
UNINTENDED EQUIPMENT OPERATION Read and understand the instructions in this section to ensure data is properly transferred. If you do not follow these instructions, incorrect data could be written to the PLC and the target machine, which could result in system failures. Failure to follow this instruction can result in death, serious injury, or equipment damage. Use the [Driver Configuration] dialog box to define communication settings on the target machine.
NOTE
For information on how to display the [Driver Configuration] dialog box, see the online help.
Command Time Interval Not applicable. Timeout Defines the length of time the target machine waits for a communication packet before it retries communication or outputs an error. (1-180) UDP Retry Count Defines the number of times the target machine resends a packet before it outputs an error. (0-255) UDP Port No. Enter a value to identify on the target machine, the port number used for UDP communication. (1025-65534)
11
Equipment Configuration
WARNING
UNINTENDED EQUIPMENT OPERATION Read and understand the instructions in this section to ensure data is properly transferred. If you do not follow these instructions, incorrect data could be written to the PLC and the target machine, which could result in system failures. Failure to follow this instruction can result in death, serious injury, or equipment damage. To set up details about the communication process between the target machine and the PLC, use the [Equipment Configuration] dialog box.
NOTE
For information on how to display the [Equipment Configuration] dialog box, see the online help.
Consult your network administrator when setting up IP addresses. Do not set up duplicate addresses.
Destination Port No. Enter a value (1025-65534) to match the PLCs Ethernet port number. Port No.s 5001 and 5002 are not available. They are reserved for use by the ethernet unit system and the PLC's ladder logic software. When using the Auto Open UDP Port feature, enter 5000 for the Port No. Network No. Designates the network number when communicating via the network. Specify an integer value between 1 and 239, both inclusive, or 254, to identify the communicating PLC. If the network will not be used for communication, enter 0. PLC No. Designates the PLC number when communicating via the network. Specify an integer value between 1 and 64, both inclusive to identify the communicating PLC. If not communicating via the network, enter 255.
12
WARNING
UNINTENDED EQUIPMENT OPERATION Read and understand the instructions in this section to ensure data is properly transferred. If you do not follow these instructions, incorrect data could be written to the PLC and the target machine, which could result in system failures. Failure to follow this instruction can result in death, serious injury, or equipment damage. To set up a PLC variable in the Variable List, use the Device Address Keypad from the variable properties. See Section 2 Supported Device Addresses.
NOTE
For information on how to display the Device Address Keypad, see the online help.
Device Lists the PLCs discrete and word device types. Address Enter the device address for the PLC variable. The keypad ensures that you enter the correct format for bit and word devices.
13