YASKAWA MP2300S User Manual

YASKAWA MP2300S User Manual

Machine controller, basic module
Hide thumbs Also See for MP2300S:
Table of Contents

Advertisement

Machine Controller MP2300S
Basic Module
USER'S MANUAL
Model: JEPMC-MP2300S-E
MP2300S
YASKAWA
BATTERY
M-I/II
MANUAL NO. SIEP C880732 00A
RDY
RUN
ALM
ERR
MTX
BAT
TRX
IP
STOP
SUP
INT
SW
1
CNFG
MON
TEST
NO
ON
SW
E-INT
2
E-TEST
NO
ON
RLY
OUT
Ethernet
LINK
DC
24V
DC
0V
100M
Maintenance, Inspection, and Troubleshooting
Overview
Specifications and Functions
Mounting and Wiring
System Start Up and
Easy Programming
Outline of Motion Control Systems
Ethernet Communications
Slave CPU Synchronous Function
Appendices
1
2
3
4
5
6
7
8
A

Advertisement

Table of Contents
loading

Summary of Contents for YASKAWA MP2300S

  • Page 1 Machine Controller MP2300S Basic Module USER'S MANUAL Model: JEPMC-MP2300S-E MP2300S YASKAWA STOP CNFG TEST Overview E-INT E-TEST BATTERY M-I/II Specifications and Functions Mounting and Wiring Ethernet LINK System Start Up and Easy Programming 100M Outline of Motion Control Systems Ethernet Communications...
  • Page 2 Yaskawa. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because Yaskawa is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
  • Page 3 The MP2300S is a compact Machine Controller that contains the power supply, the CPU, I/O, and the communication functions in one single unit. Please read this manual to ensure correct usage of the MP2300S system and apply to your manufacturing system for control. Keep this manual in a safe place for future reference.
  • Page 4 Related Manuals The following table lists the manuals relating to the MP2300S. Refer to these manuals as required. Manual Name Manual Number Contents Describes the functions, specifications, and applica- Machine Controller MP2000 series SVB/SVB-01 SIEPC88070033 tion methods of the MP2000-series Motion Module Motion Module User's Manual that is built into the SVB, SVB-01, and SVR Module.
  • Page 5 The following conventions are used to indicate precautions in this manual. These precautions are provided to ensure the safe operation of the MP2300S and connected devices. Information marked as shown below is important for the safety of the user. Always read this information and heed the precautions that are provided.
  • Page 6 Do not approach the machine when there is a momentary interruption to the power supply. When power is restored, the MP2300S and the device connected to it may start operation suddenly. Provide safety mea- sures in advance to ensure human safety in the event that operation restarts suddenly.
  • Page 7 Installation CAUTION Never use the MP2300S in locations subject to water, corrosive atmospheres, or flammable gas, or near burnable objects. There is a risk of electrical shock or fire. Do not step on the MP2300S or place heavy objects on the MP2300S.
  • Page 8 When connecting the battery, connect the polarity correctly. There is a risk of battery damage or explosion. Selecting, Separating, and Laying External Cables CAUTION Consider the following items when selecting the I/O signal lines (external cables) to connect the MP2300S to external devices. Mechanical strength Noise interference Wiring distance Signal voltage, etc.
  • Page 9 Do not change wiring while power is being supplied. There is a risk of electrical shock or injury. When replacing the MP2300S, restart operation only after transferring the programs and parameters from the old Module to the new Module. There is a risk of device damage.
  • Page 10 1.2...
  • Page 11 5.5 Precaution on Using MP2300S - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-54...
  • Page 12 8.2.2...
  • Page 13 Appendix D Initializing the Absolute Encoder - - - - - - - - - - - - - - - - - - - - - - - - - - A-15 D.1 Σ-III SERVOPACK- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-15 D.2 Σ-II SERVOPACK - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-16 D.3 Σ-I SERVOPACK - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-18 Appendix E Motion Parameter Details - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-20...
  • Page 14 MEMO...
  • Page 15: Table Of Contents

    1.2...
  • Page 16: Mp2300S Features

    • The MP2300S has a CPU synchronous function using MECHATROLINK communications. This is a new func- tion in the MP2000 series Machine Controllers. • A sync operation between slave controllers is made possible by connecting the MP2300S as a slave with an MP2000 series model as a master via MECHATROLINK-II.
  • Page 17: Mp2300S Configuration

    1.2 MP2300S Configuration 1.2.1 Basic Module Appearance 1.2 MP2300S Configuration The MP2300S is configured with one Basic Module and an optional slot. 1.2.1 Basic Module Appearance The following figure shows the external appearance of the Basic Module with metal fittings for attachment.
  • Page 18: Mp2300S Modules

    1.2 MP2300S Configuration 1.2.2 MP2300S Modules 1.2.2 MP2300S Modules The following table shows the names and specifications of the Basic Module and Optional Modules. Group Name Description Model Specifications JAPMC- MECHATROLINK-I and -II Interface Basic Module Basic Module MP2300S MP2300S-E...
  • Page 19: System Configuration

    Servo amplifier Terminating resistor 130 Ω M-I/II Other module such as other company's module AnyWire CC-Link A-net/A-link DC24V MECHATROLINK-II Terminating resistor 130 Ω YASKAWA SERVOPACK 200V YASKAWA SERVOPACK 200V SGDS-01A12A SGDS-01A12A CHARGE CHARGE VS mini V7 Servo Servo Repeater Servo Inverter Max.
  • Page 20: Example Of Distributed Synchronizing System

    SERVOPACKs. For connection, refer to the SERVOPACK’s man- ual. 1.3.2 Example of Distributed Synchronizing System If some MP2300S are connected as slaves and other MP2000-series Machine Controllers are connected via MECHA- TROLINK-II, slaves can operate synchronously. Distribution of the load realizes the high-speed synchronization of multiple axes.
  • Page 21: Mechatrolink-Compatible Devices

    1.4 MECHATROLINK-compatible Devices 1.4.1 SERVOPACKs 1.4 MECHATROLINK-compatible Devices The devices that are compatible with MECHATROLINK and can be connected to the MP2300S and the SVB- 01 Module are listed below. 1.4.1 SERVOPACKs Model Number Details MECHATROLINK-I MECHATROLINK-II SGDV- SGDV SERVOPACK...
  • Page 22: Cables And Accessories

    1.5 Cables and Accessories 1.5.1 Cables 1.5 Cables and Accessories 1.5.1 Cables The following table shows the cables that can be connected to the MP2300S Basic Module and Optional Modules. Connector Module Application Model Specifications Name MP2300S Ethernet communication Ethernet –...
  • Page 23: Accessories And Options

    JEPMC-W6022 Q’ty: 1 (Terminating Resistor) Metal Fittings for Attachment Optional JEPMC-OP2300S-E – 1.5.3 Software (Programming Tool) The MPE720, programming tool for MP2300S, is available. Name Model Remarks MPE720 CPMC-MPE720 (Ver. 5.38 or later) CD-ROM (1 disk) MPE720 Version 6 CPMC-MPE720 (Ver. 6.04 or later)
  • Page 24 MEMO...
  • Page 25 This chapter explains detailed specifications for the Basic Module and Optional Modules of the MP2300S. 2.1 Specifications - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-2 2.1.1 General Specifications - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-2...
  • Page 26: Specifications

    2.1 Specifications 2.1.1 General Specifications 2.1 Specifications 2.1.1 General Specifications Item Specifications Ambient Oper- ating Tempera- 0°C to 55°C ture Ambient Stor- age Tempera- -25°C to 85°C ture Ambient Oper- Environmental 30% to 95% (with no condensation) ating Humidity Conditions Ambient Stor- 5% to 95% (with no condensation) age Humidity...
  • Page 27: Product Specifications

    2.1 Specifications 2.1.2 Product Specifications 2.1.2 Product Specifications The following table shows the product specifications of the MP2300S. Items MP2300S × × External Dimensions 64 mm 130 mm 108 mm Number of Optional Slots 1 slot Number of Basic 16 axes...
  • Page 28: Function Lists

    2.1 Specifications 2.1.3 Function Lists 2.1.3 Function Lists ( 1 ) PLC Function Specifications The following table shows the PLC function specifications. Item Specifications Control Method Sequence: High-speed and low-speed scan methods Programming Ladder diagram: Relay circuit Language Text-type language: Numeric operations, logic operations, etc. Two scan levels: High-speed scan and low-speed scan High-speed scan time setting: 0.5 to 32 ms (Integral multiple of MECHATROLINK communi-...
  • Page 29 2.1 Specifications 2.1.3 Function Lists ( 2 ) Motion Control Function Specifications The following table lists the motion control function specifications for the MP2300S. Item Specifications Interface MECHATROLINK-I, MECHATROLINK-II Number of Controlled Axes/Module Up to 16 axes (up to 32 axes when an SVB Modules are mounted)
  • Page 30 2.1 Specifications 2.1.3 Function Lists Item Specifications MECHATROLINK-I MECHATROLINK-II • SERVOPACKs • SERVOPACKs SGD- SGDH- E + NS115 Applicable SERVOPACKs SGDB- SGDS- SGDH- E + NS100 SGDV- SGDS- SGDV- • Incremental Encoder Encoders • Yaskawa Absolute Encoder...
  • Page 31: Basic Module

    2.2 Basic Module This section describes the functions, the external appearance, the LED indicators, the setting switches, and the hard- ware specifications of the MP2300S Basic Module and also describes the virtual motion module (SVR). 2.2.1 Outline of Functions The Basic Module is an all-in-one, compact module that combines power supply, CPU, and 218IFA in one module. The Basic Module has both motion control and sequence control functions.
  • Page 32: External Appearance, Led Indicators, And Switch Settings

    2.2 Basic Module 2.2.2 External Appearance, LED Indicators, and Switch Settings 2.2.2 External Appearance, LED Indicators, and Switch Settings ( 1 ) External Appearance MP 00 23 S M-I/II ( 2 ) Indicators The following table shows the indicators that show the operating status of the Basic Module and error information. Indicator Color Status...
  • Page 33 2.2 Basic Module 2.2.2 External Appearance, LED Indicators, and Switch Settings ( 3 ) Switch Settings The DIP switch sets the operating conditions for the Basic Module when the power is turned ON. [ a ] SW1 STOP CNFG TEST Name Setting Operating Mode...
  • Page 34 2.2 Basic Module 2.2.2 External Appearance, LED Indicators, and Switch Settings [ b ] SW2 Sets the Ethernet port condition and other operating conditions. The change of switch setting is invalid after the power is turned ON (read only when the module is initialized by soft- ware).
  • Page 35: Specifications

    2.2.3 Specifications ( 1 ) Hardware Specifications The following table shows hardware specifications for the basic module: Item Specifications Classification Basic Module Name MP2300S Model Number JEPMC-MP2300S-E Input Voltage ± 24 VDC ( 20%) Input Current* 1 A max. (during input/output rating) 40 A max.
  • Page 36: 218Ifa Module (Ethernet)

    2.2.4 218IFA Module (Ethernet) 2.2.4 218IFA Module (Ethernet) ( 1 ) Overview of 218IFA Module Functions MP2300S built-in 218IFA module is a 10Base-T/100Base-TX Ethernet interface and a communication interface equipped as standard in MP2300S. 100Mbps transmission speed is supported (100Base-TX).
  • Page 37 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) ( 2 ) Specification of 218IFA Module The following table shows the specification of the 218IFA Module. Items MP2300S/218IFA Communication Interface (Note1) 10Base-T/100Base-TX Communication Protocol (Note2) TCP/UDP/IP/ARP/ICMP Maximum Number of Communication Connections 4+2 (I/O Message communication)
  • Page 38 ( 3 ) Module Configuration Definition (a) Module Configuration Definition Screen Details Click MP2300S in the Controller area to display the details of the Basic Modules’ functions in the Module Details area. The cell No.2 provides a detailed definition of 218IFA.
  • Page 39 218IFA Module Detailed Screen (a) Displaying the 218IFA Module Detailed Window The 218IFA Module Detailed Window is displayed by selecting MP2300S in the Controller area of the Module Con- figuration Window and double-clicking the cell No.2 in the Module Details field.
  • Page 40 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) (b) 218IFA Module Detailed Window The 218IFA Module Detailed Window is composed of Transmission Parameter and Status Tabs, and each tab is changed with a click. Parameter Setting Tab The Transmission Parameters Tab sets 218IFA transmission parameters. The setting details are as follows: 2-16...
  • Page 41 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) Transmission Parameter Setting Items Sets local transmission parameters for 218IFA. The following table shows each setting item. Item Setting Range Details Default Sets 218IFA IP address. However, the following addresses are excluded: 0.0.0.1 to IP Address 127.xxx.xxx.xxx 192.168.001.001...
  • Page 42 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) Detailed Setting Screen of Transmission Parameter Setting Sets the engineering communication with MPE720 and the message communication. The following table shows each setting item. Item Setting Range Details Default Specify the 218IFA port number used in the engineering communica- tion with MPE720.
  • Page 43 TCP, Connect Type TCP: Transmission control protocol UDP: User datagram protocol Select an application layer protocol. Protocol Type Overview Extended Yaskawa’s Extended MEMOBUS protocol. MEMOBUS Extended MEMOBUS, MEMOBUS Yaskawa’s MEMOBUS protocol. MEMOBUS, Extended Ethernet I/F protocol for the sequencer (A...
  • Page 44 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) Item Setting Range Details Default Select a code type for the message communication data. Depending on protocol type, available codes are restricted as fol- lows: Code Protocol Type ASCII ASCII Extended Code √ √...
  • Page 45 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) Simple Setting Screen for Message Communication Graphically sets connection parameters for each connection. Basically, the same content as with message communication items in connection parameter setting can be set. When connection parameters are not yet set and this screen is opened, the default value for each connection will be automatically stored.
  • Page 46 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) Automatic Receive Setting Screen for Message Communication The automatic receive function can be enabled only for connections where the connection number = 1. The automatic receive function enables you to automatically run a function equivalent to the MSG-RCV function. The following table explains each setting item.
  • Page 47 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) The following table provides the valid setting items for each communication protocol type. Communication Protocol Type Setting Item Extended Non-proce- MODBUS/ MEMOBUS MELSEC MEMOBUS dure √ √ √ Readout of Input Relay – –...
  • Page 48 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) I/O Message Communication Item Connection Parameter Setting Sets connection parameters for I/O message communication. I/O message communication exchanges the data using I/O images with the remote equipment. The following table explains each setting item. Item Setting Range Details...
  • Page 49 Select whether to update the output data in the I/O message commu- Output Disable Enable/disable enable nication. Set a start address of the input register of the MP2300S side for stor- ing the data read from the remote equipment. IW0000 to IW xxxx IW7FFF Note1: “xxxx”...
  • Page 50 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) Easy Setting Window for I/O Message Communication Graphically adjusts the setting for the read/write connection parameters. Generally, the contents are similar to I/O message communication items in connection parameter setting. When the connection parameters are not yet set and this dialog box is opened, the default values for read/write connec- tion will be automatically stored.
  • Page 51 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) In addition, click the Default Button to set the default values for data code type, local I/O register setting, read/write size, and node read/write register setting according to the selected communication protocol type. The following table provides these default values.
  • Page 52 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) Status tab In the Status Tab, each setting for 218IFA transmission definition and transmission status is shown. The displayed contents are as follows: Transmission Parameter Item Item Displayed Content Default Station IP Address 000.000.000.000 Displays local IP address specified in the Transmission Parameter Tab.
  • Page 53 2.2 Basic Module 2.2.4 218IFA Module (Ethernet) Note: 1. Transmission status In online mode, displays the transmission status for each connection. Transmission Status State IDLE IDLE WAIT WAIT (waiting for connection) CONNECT CONNECT (capable of transmitting and receiving data) Unused connection –...
  • Page 54: Built-In Svb Module

    MP2300S: Only an SVB-01 Module can be mounted in optional slot. Including the MP2300S’s built-in SVB, a total of 32 axes can be controlled. • Synchronization between Modules is also supported, making it suitable for both synchronous control and interpolation across Modules.
  • Page 55 2.2 Basic Module 2.2.5 Built-in SVB Module [ d ] System Configuration Example The following diagram shows a system configuration example. MP2300S SVB-01 24-VDC power supply MPE720 Ethernet MECHATROLINK-II MECHATROLINK-II Servo Servo MECHATROLINK support MECHATROLINK support input/output modules input/output modules Use the specified cables and connectors.
  • Page 56 2.2 Basic Module 2.2.5 Built-in SVB Module [ e ] Synchronization between Modules Overview MP2200 and MP2300 Machine Controllers have a function that can synchronize hardware between the CPU and an optional module. This function enables MECHATROLINK communications in synchronization with high- speed scans.
  • Page 57 2.2 Basic Module 2.2.5 Built-in SVB Module Timing At Which Modules Are Synchronized Modules are automatically synchronized when the power supply is turned OFF and ON again. Operation when High-speed Scan Cycle Is Changed MECHATROLINK communication with SVB Modules will continue even if the high-speed scan cycle is changed.
  • Page 58 2.2 Basic Module 2.2.5 Built-in SVB Module ( 2 ) Specifications The specifications of built-in and optional SVB Modules are as follows. [ a ] Motion Control Function Item Details Number of Communication One line Lines Number of Communication 2 ports Ports (Connectors) Terminating Resistor JEPMC-W6022 terminator must be purchased separately.
  • Page 59 2.2 Basic Module 2.2.5 Built-in SVB Module (cont’d) Item Details Single-send (communication cycle = transmission cycle) synchronous communication Transmission/communication error detection (hardware) provided. Communication Method Synchronous communication error detection (software) provided. Automatic recovery function not provided (recovery when alarm is cleared). I/O Registers Input/output using motion registers (synchronized on high-speed scan) Command Mode...
  • Page 60 2.2 Basic Module 2.2.5 Built-in SVB Module [ b ] MECHATROLINK Communication Specifications Item MECHATROLINK-I MECHATROLINK-II Topology Transmission Media Twisted-pair cable Twisted-pair cable 50 m max. 50 m max. Transmission Distance (can be extended to 100 m by connecting (can be extended to 100 m by connecting repeaters) repeaters) Minimum Distance...
  • Page 61 ( 3 ) Module Configuration [ a ] Module Configuration Window Click MP2300S in the Controller area to display the details of the basic module functions in the Module Details area. The cell No.3 provides a detailed definition of built-in SVB.
  • Page 62 2.2 Basic Module 2.2.5 Built-in SVB Module The following table lists the items shown in the Module Configuration Window. Item Description Modification Slot Number Slot number Not possible Module Type Module detected in the slot Possible Controller Number Fixed to 01 Not possible Circuit Number Module circuit number...
  • Page 63 2.2 Basic Module 2.2.5 Built-in SVB Module ( 4 ) MECHATROLINK Transmission Definition [ a ] How to Open the MECHATROLINK Transmission Definition Window In the Module Configuration Window, select the SVB Module in the Controller field and double-click the MECHA- TROLINK cell in the Module Details field.
  • Page 64 2.2 Basic Module 2.2.5 Built-in SVB Module [ b ] MECHATROLINK Transmission Definition Window Details The MECHATROLINK Transmission Definition Window has four tabs: Transmission Parameters, Link Assign- ment, I/O Map, and Status. Click the tab to view each. Transmission Parameters Tab The parameters required to use the MECHATROLINK transmission system are displayed.
  • Page 65 2.2 Basic Module 2.2.5 Built-in SVB Module (cont’d) Item Display during Self-configuration Options and Precautions on Settings SigmaWin For MECHATROLINK-II communications, displays (Hidden for whether or not to use SigmaWin+ for communication via Select either use or not use. MECHATROLINK MECHATROLINK-II adapter such as JUSP-NP115.
  • Page 66 2.2 Basic Module 2.2.5 Built-in SVB Module <For Slave Stations> MECHATROLINK- MECHATROLINK- Item MECHATROLINK- (32-byte mode) (17-byte mode) Transmission − − − Byte Communication 1 ms 1 ms 2 ms Cycle Number of Retry to Slaves Number of Slaves Communication Cycle That Can be Set The communication cycle that can be set will differ depending on the communication type as follows.
  • Page 67 2.2 Basic Module 2.2.5 Built-in SVB Module Link Assignment Tab Page The data of the slave devices (MECHATROLINK connected devices such as SERVOPACK, inverter, and distrib- uted I/O) are displayed on the Link Assignment Tab. The items shown on the Link Assignment Tab are as follows. You can change the settings or delete the data station by station on this tab.
  • Page 68 2.2 Basic Module 2.2.5 Built-in SVB Module I/O Map Tab The status allocated to I/O registers is displayed. The I/O Map Tab is used for monitoring (read-only). Do not change the displayed settings. [ c ] Status Tab Page The MECHATROLINK transmission status is displayed. The displayed settings cannot be changed. The items shown on the Status Tab are the same as those on the Link Assignment Tab except for STS.
  • Page 69 [ a ] Opening the SVB Definition Window Open the SVB Definition Window by the following procedure. Select MP2300S in the Controller area, then double-click the slot number cell of the SVB Module in the Module Details field in the Module Configuration Window.
  • Page 70 2.2 Basic Module 2.2.5 Built-in SVB Module Click the Fixed Parameters, Setup Parameters, or Monitor Tab to display the desired page. If the setting in Servo Type is switched from Rotary to Linear, or vice-versa, some of the displayed parameters will change.
  • Page 71: Svr Virtual Motion Module

    In the MP2300S Basic Module, slot 4 in the default Module Configuration Window is for SVR. If the SVR is not used, MP2300S processing time can be reduced by setting the Module Type for SVR to UNDE- FINED in the Module Configuration Window.
  • Page 72 The software limit function and machine lock function cannot be used with the SVR. The position error will always be ( 3 ) System Configuration Example The following figure shows an example system configuration using SVR. MP2300S C P U Virtual motion...
  • Page 73 The default for the Selection of Operation Modes parameter is 1 (Axis Unused). The following table gives guidelines for the processing time required for each SVR axis. Command MP2300S 35 +14 × Number of axes (μs) 35 +36 × Number of axes (μs)
  • Page 74: M-Executor Module (Motion Program Executor)

    Describing sequence control in motion language As a new programming method, a sequence program has been added to the MP2300S. A sequence program is a scan execution type program where a process is completed with one scan. It employs a text language similar to a motion program.
  • Page 75 2.2 Basic Module 2.2.7 M-EXECUTOR Module (Motion Program Executor) ( 2 ) M-EXECUTOR Module Specification [ a ] Programs Capable of Registration in M-EXECUTOR The following table shows programs capable of registration in M-EXECUTOR. Program Type Number of Registrations Remarks Motion Program Startup Interrupt...
  • Page 76 ( 3 ) Module Configuration Definition (a) Details of Module Configuration Definition Window Click MP2300S in the Controller area to display the details of the basic module functions in the Module Details area. The cell No.5 provides a detailed definition of M-EXECUTOR.
  • Page 77 2.2 Basic Module 2.2.7 M-EXECUTOR Module (Motion Program Executor) I/O Register Details An I/O register assigned to M-EXECUTOR is used to run a motion program and sequence program, and to monitor a sequence program. M-EXECUTOR I/O register details are as follows: M-EXECUTOR Input Register M-EXECUTOR Output Register M-EXECUTOR...
  • Page 78 2.2 Basic Module 2.2.7 M-EXECUTOR Module (Motion Program Executor) ( 4 ) Detailed Screen This section describes the M-EXECUTOR detail screen. Program Definition Screen (M-EXECUTOR (list display) screen) The program definition screen allows you to register a motion or sequence program to run. Programs are executed according to the scan, in ascending numeric order.
  • Page 79 2.2 Basic Module 2.2.7 M-EXECUTOR Module (Motion Program Executor) Execution type Sets the program execution type. Execution Type Program to Execute Execution Condition ---------- None None (select this to delete the definition) Sequence Program Power-up (during power-up, run only once) (startup) Sequence Program Periodical startup (run each time a low-sped scan is...
  • Page 80 2.2 Basic Module 2.2.7 M-EXECUTOR Module (Motion Program Executor) Control Register Mapping Window The control register mapping screen sets a mapping register. A white cell can be set by the user, and a shaded cell cannot be set by the user. M-EXECUTOR Control register Displays an I/O register mapped to the M-EXECUTOR Module.
  • Page 81 2.2 Basic Module 2.2.7 M-EXECUTOR Module (Motion Program Executor) Allocation register Data is exchanged between mapping and M-EXECUTOR control registers in real-time. Any register can be mapped to the mapping register. Registers that can be set as a Mapping Register Word type I, O, M (except the motion register) Allocation Contact interlock An allocation contact interlock is used to control the data exchange between the allocation register and...
  • Page 82 2.2 Basic Module 2.2.7 M-EXECUTOR Module (Motion Program Executor) Program Execution Registration Screen (M-EXECUTOR (individual display) screen) Click the Individual Display Button in the M-EXECUTOR (list display) dialog box to display this dialog box. The items that can be set are similar to those in the program definition window and the control register mapping win- dow.
  • Page 83 2.2 Basic Module 2.2.7 M-EXECUTOR Module (Motion Program Executor) ( 5 ) Execution Scheduling Programs registered in M-EXECUTOR are executed on the basis of their priorities (execution type). Programs registered in M-EXECUTOR are executed just before the ladder process. Power ON Sequence program (startup) Drawing A (startup process drawing)
  • Page 84 2.2 Basic Module 2.2.7 M-EXECUTOR Module (Motion Program Executor) An execution example is as follows: • M-EXECUTOR program definition • Execution scheduling The following diagram shows the execution scheduling when set in the screen above. Startup SPM001 DWG.A High-speed scan cycle High-speed scan cycle High-speed scan SPM003...
  • Page 85: Option Module

    2.3 Option Module 2.3.1 Option Module Overview List 2.3 Option Module This section provides an option module overview. For more information on its specifications, functions, connections, settings, etc., refer to the following documents separately. 2.3.1 Option Module Overview List Option Classification Module Overview Reference Manual...
  • Page 86 LIO-02 counter function, one pulse input (PI). As for when to input/output for Module digital I/O and pulse counter functions, input/output for each MP2300S Machine Controller MP2300S high-speed (High)/ low-speed (Low) scan is carried out at a constant Basic Module User’s Manual cycle.
  • Page 87: External Appearance

    2.4 External Appearance 2.4.1 Basic Module 2.4 External Appearance The external appearance of the basic module is as follows: 2.4.1 Basic Module (42) Model nameplate DIN rail (35mm width) (*1) Relay connector (2P) Terminating resistor 734-YE102 for MECHATROLINK (attachment) (*1) Power connector (3P) (10: when DIN 721-203/026-000...
  • Page 88: Basic Module With Metal Fittings

    2.4 External Appearance 2.4.2 Basic Module with Metal Fittings 2.4.2 Basic Module with Metal Fittings (42) 111.5 2 x φ 5 holes Approx. 8 Units: mm when attached 2-64...
  • Page 89 3.1.3...
  • Page 90: Mounting Mp2300S

    Several types of DIN rails are available: with 7-mm to 15-mm gap from the mounting base as shown in the following diagram. If mounting a MP2300S using DIN rail with 10 mm gap, install a spacer on the rear of the MP2300S near the bottom to protect the MP2300S from vibration and shock.
  • Page 91 Use the following procedure to attach the DIN rail mounting parts to the MP2300S and then mount the MP2300S to the DIN rail. Insert the DIN rails to the dotted line in the two slots on the rear of the MP2300S as shown in the fol- lowing figure.
  • Page 92 300 mm or less 300 mm or less Hook the MP2300S to the top of the DIN rail (a), and then push the MP2300S towards the mounting base to secure it in place (b). Push the DIN rail mounting clips to lock them in place.
  • Page 93 Attachment for mounting panel Insert two convex portions at the top of the panel mounting clamp into holes of the MP2300S case. Push the clamp as indicated by an arrow above onto the MP2300S case and use DIN fixing locks to fix MP2300S.
  • Page 94 3.1 Mounting MP2300S 3.1.1 Method Push the MP2300S mounted clamp onto the mounting plate as shown in the figure below, and use four mounting screws to firmly secure the clamp. MP2300S M-I/II Mounting screw (M4 plus) Use the screwdriver with this portion of a driver not less than 10 cm.
  • Page 95: Mp2300S Mount Direction

    3.1 Mounting MP2300S 3.1.2 MP2300S Mount Direction 3.1.2 MP2300S Mount Direction Be sure to mount the MP2300S using DIN rail or metal fittings. MP2300S View from front, when attached M-I/II...
  • Page 96: Space Required For Mounting Mp2300S

    3.1 Mounting MP2300S 3.1.3 Space Required for Mounting MP2300S 3.1.3 Space Required for Mounting MP2300S Install MP2300S so that enough space is left around it as shown in the following figure: Mount condition • Vertical direction: 40 mm or more •...
  • Page 97: Replacing And Adding Optional Modules

    Use the following procedures to replace and add Optional Modules. ( 1 ) Preparations Create a backup data file. Use the MPE720 to save the MP2300S program on a computer (right-click the PLC, and select Transfer - All Files - From Controller to MPE720.) Remove the MP2300S.
  • Page 98 3.1 Mounting MP2300S 3.1.4 Replacing and Adding Optional Modules Remove the Optional Module from the mounting base. Pull the top of the panel of the Optional Module towards you to remove it. A notch on the Optional Module will be visible from the gap in the cover. Hook the round knob on the battery cover, shown in the diagram, into the notch in the Optional Module.
  • Page 99 Place the hole on the bottom of the panel of the Optional Module onto the hook on the bottom of the MP2300S. Next, hook the hole at the top of the panel of the Optional Module onto the hook at the top of the MP2300S.
  • Page 100: Basic Module Connections

    3.2 Basic Module Connections 3.2.1 Connectors 3.2 Basic Module Connections 3.2.1 Connectors The following diagram shows the connectors for the Basic Module. MP2300S MECHATROLINK connector RLY OUT connector M-I/II Ethernet connector Power supply connector 3-12...
  • Page 101: Power Supply Connector

    3.2 Basic Module Connections 3.2.2 Power Supply Connector 3.2.2 Power Supply Connector ( 1 ) Specifications, Pin Arrangement, and Connection Procedure Supply a 24-VDC to the MP2300S. Connect the power supply connector as shown in the diagram below. Connector Model Connector No. of...
  • Page 102: Mechatrolink Connectors

    Insert the wire into the opening and then close the opening by releasing the lever or removing the screwdriver. 3.2.3 MECHATROLINK Connectors MECHATROLINK connector is used to connect the MP2300S and the SERVOPACKs and distributed I/O via MECHATROLINK cables. ( 1 ) Specifications and Pin Arrangement...
  • Page 103 3.2 Basic Module Connections 3.2.3 MECHATROLINK Connectors ( 2 ) Cables Name and Specification Model Number Length 0.5 m JEPMC-W6002-A5 JEPMC-W6002-01 MECHATROLINK Cable JEPMC-W6002-03 MECHATROLINK Connector – MECHATROLINK Connector JEPMC-W6002-05 10 m JEPMC-W6002-10 20 m JEPMC-W6002-20 30 m JEPMC-W6002-30 40 m JEPMC-W6002-40 JEPMC-W6002-50 50 m...
  • Page 104 3.2 Basic Module Connections 3.2.3 MECHATROLINK Connectors ( 3 ) Cable Connections between the MP2300S and I/O Units and the MP2300S and SERVO- PACKs Use the MECHATROLINK cable JEPMC-W6002- or JEPMC-W6003- with a ferrite core for connection between the MP2300S and I/O units or SERVOPACKs.
  • Page 105 1:N cable. The terminator must be provided by the user. 2. The shield wire can be connected as instructed in the SERVOPACK’s manual. However, the connec- tions shown in the above diagram is recommended when using the MP2300S in combination with a SVB-01 Module.
  • Page 106 3.2 Basic Module Connections 3.2.3 MECHATROLINK Connectors ( 6 ) Connection Example between MP2300S, SERVOPACK, and IO2310 MP2300S YASKAWA JEPMC-IO2310 OUT1 OUT2 Terminator (terminating resistance: JEPMC-W6022) YASKAWA SERVOPACK 200V YASKAWA SERVOPACK 200V YASKAWA SERVOPACK 200V SGDS-01A12A SGDS-01A12A SGDS-01A12A CHARGE CHARGE...
  • Page 107: Ethernet Connector Details

    3.2 Basic Module Connections 3.2.4 Ethernet Connector Details 3.2.4 Ethernet Connector Details Connects to a personal computer or HMI device by Ethernet (100Base-TX /10Base-T). ( 1 ) Ethernet Connector Specification and Pin Arrangement/ Indicator Light The following table provides the Ethernet connector specifications. Connector Model Connector Number...
  • Page 108 3.2 Basic Module Connections 3.2.4 Ethernet Connector Details ( 3 ) Ethernet Connection Example The following are examples of Ethernet network connections via 10Base-T cable: Connection Example 1 When using a repeater HUB: MP2300S MP2300S M-I/II Station Station 10Base-T (Straight cable)
  • Page 109 3.2 Basic Module Connections 3.2.4 Ethernet Connector Details The following are examples of Ethernet network connections via 100Base-Tx cable: Connection Example 1 When using a repeater HUB: MP2300S MP2300S M-I/II Station Station 100Base-Tx (straight cable) Up to 100 m Up to 100 m...
  • Page 110 Attach a ferrite core in the manner described below: Ethernet : Attach it to the communication port side and the external equipment side of the MP2300S main unit. MECHATROLINK : Attach it only to the communication port side of the MP2300S main unit.
  • Page 111: Rly Out Connector Details

    3.2 Basic Module Connections 3.2.5 RLY OUT Connector Details 3.2.5 RLY OUT Connector Details The RLY OUT connector is a terminal for outputting state and NO contact relay output. A circuit between terminals is short-circuited when RDY LED is lit, and opens when it is unlit. Note: A state when RDY LED is lit indicates that a controller is operating normally.
  • Page 112 3.2 Basic Module Connections 3.2.5 RLY OUT Connector Details ( 3 ) RLY OUT Connection Example The following figure shows how to connect the RLY OUT connector: MP2300S RLY OUT output Power supply Operating normally: ON Error occurred: OFF 24VDC...
  • Page 113: System Connection Example

    3.2.6 System Connection Example 3.2.6 System Connection Example The following diagram shows a connection example of a system using the MP2300S. The following diagram shows a 200-VAC power supply example. Note: elect the SERVOPACK, 24-VDC power supply to use in accordance with the input power supply specifi- cation.
  • Page 114 MEMO...
  • Page 115: Overview - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    System Start Up and Easy Programming This chapter explains how to start up a model system using the programming tool MPE720 Ver.6. Note that the procedure for designing a mechanical system has been omitted here. 4.1 System Startup Overview - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-2 4.2 Preparation (step 1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-3 4.2.1 Wiring - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-3 4.2.2 Self Configuration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-5...
  • Page 116: System Startup Overview

    4.1 System Startup Overview 4.1 System Startup Overview The start-up procedure for a model system is as follows. For detailed information of each step, refer to the cited refer- ences. This chapter explains a procedure where you can easily run and check a program without external signals. The simple motion program which you create has three lines only, moving and stopping 150,000 pulses from the cur- rent position.
  • Page 117: Preparation (Step 1)

    We use the following layout model to explain the startup of the model system. Prepare each device listed on the next page and connect them as shown in the figure below. ( 1 ) System Layout Model 24-VDC MECHATROLINK cable power supply SERVOPACK SERVOPACK MP2300S 200V 200V YASKAWA SERVOPACK YASKAWA SERVOPACK SGDS-01A12A SGDS-01A12A Terminator...
  • Page 118 4.2 Preparation (step 1) 4.2.1 Wiring [ a ] Required Equipment Product Name Model Q’ty MP2300S JEPMC-MP2300S-E MECHATROLINK cable (0.5m) JEPMC-W6002-A5 Terminator (terminating resistor) JEPMC-W6022 Σ-III SERVOPACK SGDS-A5F12A Σ-III servomotor SGMAS-A5A2A21 Motor cable (3m) JZSP-CSM01-03 Encoder cable (3m) JZSP-CSP05-03 HUB (commercial product) LSW-TX-8EP MPE720 Ver.6...
  • Page 119: Self Configuration

    Turn OFF the MP2300S 24-V power supply. Turn ON “INIT” and “CONFIG” of DIP switch (SW1) on the MP2300S main unit. Turn ON the 24-VDC power supply on the MP2300S main unit, and confirm the LED display changes as follows:...
  • Page 120: Test Operation

    4.2 Preparation (step 1) 4.2.3 Test Operation 4.2.3 Test Operation Confirm that the machine controller can command axis servo ON/OFF and jog operation. ( 1 ) Starting and Connecting MPE720 Ver.6 Launch MPE720Ver.6 and click “1:Ethernet(LP)192.168.1.1” to connect to the controller. For more information on the communications settings, refer to Appendix F How to Set up Communication Process on page A-31.
  • Page 121 4.2 Preparation (step 1) 4.2.3 Test Operation Axis Selection and Servo ON Set an axis number in the Axis Window and click the Enable (Servo ON) Button in the Test Run Window. Turning the servo ON allows you to manipulate the jog/ step buttons.
  • Page 122 4.2 Preparation (step 1) 4.2.3 Test Operation Jog Operation Click the Speed reference icon and set a speed reference value, and check that the axis rotates normally while the Forward Button or Reverse Button is pressed. The operation check of the first axis is complete. Press the Axis ...
  • Page 123: Programming (Step 2)

    4.3 Programming (step 2) 4.3.1 Programming Procedure 4.3 Programming (step 2) This section describes the procedure from creating to saving a motion program. 4.3.1 Programming Procedure Click the Motion Tag in the subwindow. The motion program subwindow will appears. When you double-click Motion Program and there is not any group definition, the group definition screen will be shown.
  • Page 124 4.3 Programming (step 2) 4.3.1 Programming Procedure Editing Motion Program Use the command input assist feature to insert INC and MOV Commands into the motion program. The command input assist feature is made accesible by right-clicking the mouse on the Motion Editor Window. •...
  • Page 125: Executing Motion (Step 3)

    4.4 Executing Motion (step 3) 4.4.1 Registering Program Execution 4.4 Executing Motion (step 3) 4.4.1 Registering Program Execution Click the Execution Registration Icon. The Program Execution Registry Screen Dialog Box will appear. Check Program Number and click OK to save the registered contents. 4-11...
  • Page 126: Starting A Motion Program Using The Operation Control Panel

    • Registering a program execution enables the M-EXECUTOR definition. The MP2300S automatically controls the motion program, so be aware that changing registers registered in ladder and sequence programs may cause problems.
  • Page 127: Starting Motion Program From An External Signal

    This section explains how to start a motion program created in 4.3 Programming (step 2) from external signals. Note that in this section, we show an example which substitutes a touch panel for the external signal. 24-VDC MECHATROLINK cable power supply SERVOPACK SERVOPACK MP2300S YASKAWA SERVOPACK 200V YASKAWA SERVOPACK 200V SGDS-01A12A SGDS-01A12A...
  • Page 128 2. You need to create a sequence program for outputting signals of to the motion parameters. 3. For information on creating a program for the panel side, refer to 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used).
  • Page 129: Creation Procedure

    4.5 Starting Motion Program from an External Signal 4.5.3 Creation Procedure 4.5.3 Creation Procedure Creating a Sequence Program Now create a sequence program which copies the M register content mapped to “ Servo (ON/OFF)” and “ Axis Alarm Reset” Buttons on the touch panel to the relevant registers in the motion setting parameter of the embedded SVB.
  • Page 130 4.5 Starting Motion Program from an External Signal 4.5.3 Creation Procedure Registering Program Execution • A Program Execution Registry Screen Dialog Box will appear. • Click the List Button to set a program definition in the M-EXECUTOR Window. → Then register the MPM001, SPM001 executions. For more information on how to set the M-EXECUTOR Window, refer to 2.2.7 M-EXECUTOR Module (Motion Program Executor) on page 2-50.
  • Page 131 FLASH Save When all settings are completed, click the FLASH Save Icon to save the data to the flash memory. Operation Check Turn ON MP2300S power again and press “ Servo” and “ Start” on the panel screen. Then check that the motion program starts and the two-axes motor begins to operate to change the current posi- tion of the axis.
  • Page 132 MEMO...
  • Page 133 5.5 Precaution on Using MP2300S - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-54...
  • Page 134: Startup Sequence And Basic Operation

    5.1 Startup Sequence and Basic Operation 5.1.1 DIP Switch Settings 5.1 Startup Sequence and Basic Operation This section describes the MP2300S startup sequence and basic operation together with the DIP switch settings, self- diagnosis at startup, and LED indicator patterns. 5.1.1 DIP Switch Settings Set the DIP switch (SW1) on the Basic Module to control operations of the startup sequence.
  • Page 135: Startup Sequence

    5.1 Startup Sequence and Basic Operation 5.1.2 Startup Sequence 5.1.2 Startup Sequence The startup sequence for the MP2300S from the moment when the power has been turned ON is shown in the follow- ing flowchart. Power ON Startup self- diagnostics (1)
  • Page 136: Startup Sequence Operation Details

    First scan processing is executed once DWG.A has been completed and the high-speed or low-speed scan time has elapsed. System I/O are executed from the first scan. ( 4 ) Operation Stop MP2300S stops motion control operation when the STOP switch is ON (STOP) and in the following circumstances. Cause Restart method Power supply turned OFF Turn ON the power again.
  • Page 137: Led Indicator Details

    5.1.4 LED Indicator Details The MP2300S performs a variety of diagnostics at startup. If an error is found, the ERR LED indicator blinks red. The number of times the indicators blink differs depending on the error details, so error details can be determined from counting the number of blinks.The following table shows details of MP2300S LED indicator.
  • Page 138: User Programs

    5.2.1 Types and Execution Timing of User Program 5.2 User Programs User programs for executing machine control using the MP2300S include ladder programs and motion programs. This section describes the basic operation and other information about user programs. For programming details, refer to the following manuals.
  • Page 139: Motion Programs

    • Program number of Sequence program SPM , SPS The MP2300S can execute up to 16 motion programs simultaneously. An alarm (no system work error) will occur if 17 or more programs are executed simultaneously. • No system work error: Bit E of the leading word in the MSEE work registers...
  • Page 140 5.2 User Programs 5.2.2 Motion Programs This section explains the Group Definition screen. No. of Group Set a number for the operation as a group. Set it to 1 for the operation as one group. Set it to the number of groups for the operation with multiple groups. Group Name Define a group name.
  • Page 141 5.2 User Programs 5.2.2 Motion Programs Axis No. Set an axis number for the used axis. The axis number can be checked in the detailed screen of the used motion module. Axis number Double-click Logical Axis Name Define a name for the specified axis number. The name defined here is used when programming a motion program.
  • Page 142 5.2 User Programs 5.2.2 Motion Programs ( 2 ) How to Run a Motion Program The following two methods are available for running a motion program. • Registering it to the M-EXECUTOR program execution definition • Executing it using a MSEE command from a ladder program of H drawing Now, this section explains each way to run a motion program: [ a ] Registering it to the M-EXECUTOR Program Execution Definition After creating a motion program, register it in the M-EXECUTOR program execution definition screen.
  • Page 143 5.2 User Programs 5.2.2 Motion Programs [ b ] Executing H Drawings by MSEE Command Motion programs are always called from H drawings using the MSEE command (motion program call command). Motion programs can be called from any parent, child, or grandchild drawing in an H drawing. The following figure shows an example of motion program execution.
  • Page 144 5.2 User Programs 5.2.2 Motion Programs ( 3 ) How to Designate a Motion Program The following two methods are available for designating a motion program. • Using a direct designation to invoke a motion program • Using a indirect designation to invoke a motion program Now, this section explains each way to designate a motion program.
  • Page 145 5.2 User Programs 5.2.2 Motion Programs [ b ] Using an Indirect Designation to Call a Motion Program An indirect designation method designates a motion program to call using a register. In this method, a program (MPM ) coinciding with value stored in the register is called. A motion program registered in the M-EXECUTOR program execution definition Select Indirect for the Setting.
  • Page 146 5.2 User Programs 5.2.2 Motion Programs ( 4 ) Work Register Configure and monitor a motion program via a work register. The work register constitution for motion programs registered in the M-EXECUTOR program execution definition dif- fers from that for motion programs referenced by a MSEE command from a ladder program. The work register constitution in each case is as follows: A motion program registered in the M-EXECUTOR program execution definition The work register is assigned to a M-EXECUTOR control register.
  • Page 147 5.2 User Programs 5.2.2 Motion Programs [ a ] Status Flag of a Motion Program The motion program status flag shows the execution status of the motion program. The following table shows details of status flag. [Status Flag] Bit No. Status Program running Program paused...
  • Page 148 5.2 User Programs 5.2.2 Motion Programs [ b ] Control Signal Program control signals (e.g., program operation start requests and program stop requests) need to be entered to exe- cute the motion program. The following types of signals for controlling motion programs are available. Bit No.
  • Page 149 5.2 User Programs 5.2.2 Motion Programs Timing Chart for Motion Program Control Signals The following figure shows an example of a timing chart for motion program control signals. Program Operation Start Request Control signal: Operation start request Status: Operating Distribution Pause Request Control signal: Operation start request Control signal: Pause request...
  • Page 150 5.2 User Programs 5.2.2 Motion Programs [ d ] System Work Number The system work number n (setting range: 1 to 16) used when executing motion programs is set by the MSEE work registers. This system work number is enabled only when the motion program control signal bit D (system work number setting) is ON.
  • Page 151 5.2 User Programs 5.2.2 Motion Programs ( 5 ) How to Operate a Work Register The way to operate a work register of a motion program registered in the M-EXECUTOR program execution definition differs from that of a motion program referenced by a MSEE command from a ladder program. The way to operate it in each case is shown as follows: [ a ] A motion program registered in the M-EXECUTOR program execution definition When a motion program is registered in M-EXECUTOR program execution definition, select one from the following...
  • Page 152 5.2 User Programs 5.2.2 Motion Programs A Way to Immediately Control a Motion Program from External Equipment M-EXECUTOR has a function which allocates any register to an M-EXECUTOR control register. Using this function allows you to automatically exchange data between an M-EXECUTOR control register and an I/O register connected to an external equipment.
  • Page 153 5.2 User Programs 5.2.2 Motion Programs A Way to Control a Motion Program via a Sequence or Ladder Program Without using the allocating function of the above mentioned M-EXECUTOR control register, controls a motion program via a sequence or ladder program. To use this execution processing, save the blank Allocation register and the blank Allocation interlock contact as a blank.
  • Page 154 5.2 User Programs 5.2.2 Motion Programs Example using a ladder program 5-22...
  • Page 155 5.2 User Programs 5.2.2 Motion Programs [ b ] A motion program referenced by a MSEE command from a ladder program When a motion program is referenced by a MSEE command from a ladder program, control the motion program via a sequence or ladder program.
  • Page 156 5.2 User Programs 5.2.2 Motion Programs Example using a ladder program 5-24...
  • Page 157 5.2 User Programs 5.2.2 Motion Programs ( 6 ) Monitor the motion program execution information using S register Using S register (SW03200 to SW04191) allows you to monitor the motion program execution information. The way to monitor the execution information for a motion program registered in the M-EXECUTOR program execu- tion definition differs from that for a motion program referenced by an MSEE command from a ladder program.
  • Page 158 5.2 User Programs 5.2.2 Motion Programs Register Areas for Motion Program Execution Information Executing program number Motion program execution information SW03200 SW03200 Program number used by work 1 Executing program number (No. of main program currently Program number used by work 2 SW03201 executing) Program number used by work 3...
  • Page 159 5.2 User Programs 5.2.2 Motion Programs Details of Program Information Used by Work n Program information used by work n Program status Program control signal Executing program number Executing block number Parallel 0 information Error code Parallel 1 information Parallel 2 information Parallel 3 information Parallel 4 information Parallel 5 information...
  • Page 160: Sequence Program

    5.2 User Programs 5.2.3 Sequence Program 5.2.3 Sequence Program A sequence program is a program described with motion language of text format. The following table shows two types of sequence programs. Designation Category Features Number of Programs Method Calling from the M-EXECUTOR Up to 256 programs of the following types can Main program 1 to 256)
  • Page 161 5.2 User Programs 5.2.3 Sequence Program ( 2 ) How to Designate a Sequence Program You can only designate a sequence program directly. Indirect designation is unavailable. Use the program number (SPM ) when designating a sequence program to execute. Sequence program SPM001 M-EXECUTOR program execution definition...
  • Page 162 5.2 User Programs 5.2.3 Sequence Program ( 3 ) Work Register Monitor a sequence program through a work register. A work register, similar to the motion program registered in M-EXECUTOR, has status flags in the M-EXECUTOR control register. The following table shows the work register configuration of the sequence program. Work Register Content Status...
  • Page 163: Ladder Drawings (Dwg)

    5.2 User Programs 5.2.4 Ladder Drawings (DWG) 5.2.4 Ladder Drawings (DWG) ( 1 ) Types of Drawings Ladder programs are managed in units of ladder drawings, which are identified by drawing numbers. These drawings form the basis of user programs. Ladder drawings include parent drawings, child drawings, grandchild drawings, and operation error processing draw- ings.
  • Page 164 5.2 User Programs 5.2.4 Ladder Drawings (DWG) ( 2 ) Execution Control of Drawings [ a ] Execution Control The following table shows when each drawing is executed based on the order of priority. Power ON DWG.A (initial processing drawing) Operation error Interrupt signal Each high-speed scan...
  • Page 165 5.2 User Programs 5.2.4 Ladder Drawings (DWG) [ c ] Hierarchical Structure of Drawings Each processing program is made up of parent drawings, child drawings, and grandchild drawings. Parent drawings cannot call child drawings from a different type of drawing and child drawings cannot call grandchild drawings from a different type of drawing.
  • Page 166 5.2 User Programs 5.2.4 Ladder Drawings (DWG) [ d ] Drawing Execution Processing Method The execution processing of hierarchical drawings are performed by calling lower-level drawings from higher-level drawings. The following figure shows the execution processing for drawings, using DWG.A as an example. System programs are started according to execution conditions.
  • Page 167 5.2 User Programs 5.2.4 Ladder Drawings (DWG) ( 3 ) Functions Functions are executed by calling them from parent, child, or grandchild drawings using the FSTART command. Functions can be called from any drawing, and the same function can be called at the same time from different types of drawings and from different levels of drawings.
  • Page 168: Registers

    SIEPC88070030) for details. 4. S and M register data has a battery backup to ensure the data is held even if the MP2300S power is turned OFF and ON. Other register data is saved to flash memory, so when the MP2300S power is turned OFF to ON, data saved to flash memory is read and data not saved to flash memory is lost.
  • Page 169 5.3 Registers 5.3.1 Types of Registers ( 2 ) Function Registers The following table shows the registers that can be used with each function. Type Name Specification Method Range Details Characteristics Input to functions Bit input: XB000000 to XB00000F Function input regis- XW00000 to XB, XW, XL, XFnnnnn Integer input: XW00001 to XW00016...
  • Page 170 5.3 Registers 5.3.1 Types of Registers ( 3 ) Register Ranges in Programs The following figure shows DWG programs, function programs, and register call ranges. Common DWG registers DWG H (drawing) System registers Program (SB, SW, SL, SFnnnnn) 1000 steps max. Data registers (MB, MW, ML, MFnnnnn) DWG registers...
  • Page 171: Data Types

    5.3 Registers 5.3.2 Data Types 5.3.2 Data Types There are five kinds of data: Bit, integer, double-length integer, real number, and address data. Each is used differently depending on the application. Address data, however, is used only inside functions when specifying pointers. The following table shows the types of data.
  • Page 172: How To Use Subscripts I, J

    5.3 Registers 5.3.3 How to Use Subscripts i, j 5.3.3 How to Use Subscripts i, j Two type of registers (i, j) are available as dedicated registers to modify the relay and register numbers. Both i and j have the same function. They are used when you want to handle a register number as a variable. An example for each register data type is given as explanation.
  • Page 173: Register Designation

    5.3 Registers 5.3.4 Register Designation 5.3.4 Register Designation Registers can be specified directly by register number or by symbol (register name). A combination of both of these register designation methods can be used in ladder programs. When using the symbol specification method, the relationship between symbols and register numbers must be defined. The following table shows the register specification methods.
  • Page 174: Self-Configuration

    5.4 Self-configuration 5.3.4 Register Designation 5.4 Self-configuration The self-configuration function automatically recognizes the Optional Modules mounted to the MP2300S Basic Mod- ule and all slave data for slaves connected to the MECHATROLINK network, and automatically generates a definition file. Self-configuration greatly simplifies the procedure needed to start the system.
  • Page 175: How To Execute Self-Configuration

    Turn OFF the 24-VDC power supply to the MP2300S. STOP 2. Set the DIP switch. INIT Set the switches INIT and CNFG of the DIP switch SW1 on the MP2300S CNFG Basic Module to ON. TEST 3. Turn ON the power supply.
  • Page 176 INIT Switch and RAM Data RAM data will be cleared if the INIT switch of the DIP switch on the MP2300S Basic Module is ON and the power is turned ON. Flash memory data is read and overwritten when the INIT switch is OFF and the power is turned ON. Therefore, to protect RAM data, always save data to the MP2300S flash memory before turning OFF the power when writing or editing programs.
  • Page 177 This section explains each way to execute the self-configuration: [ a ] Self-configuration for All the Modules By performing the following operation, the self-configuration for MP2300S basic and option modules is executed. Before performing the operation, turn ON the power supply of equipment such as SERVOPACK.
  • Page 178 5.4 Self-configuration 5.4.1 How to Execute Self-Configuration If the following warning message is shown after performing step 4, the module configuration definitions for CPU and MPE720 may differ from each other. Continue to perform step 6. When the message is not shown, go to step 9.
  • Page 179 5.4 Self-configuration 5.4.1 How to Execute Self-Configuration Click Start to read the module configuration definition from a controller. Click the Save & FLASH Save Button to flash save the definition information. Check that the definition is successfully created in the Module Configuration Window. 5-47...
  • Page 180 5.4 Self-configuration 5.4.1 How to Execute Self-Configuration [ b ] Self Configuration of Each Module If modules or devices are added, self-configuration can be executed separately for the Module (port) that has been changed. By performing the following operation, self-configuration will be executed for the selected slot. Before performing the operation, turn ON the power supply of devices such as SERVOPACK.
  • Page 181 5.4 Self-configuration 5.4.1 How to Execute Self-Configuration While running the self-configuration, the following message is shown. If the following warning message is shown after performing step 4, the module configuration definitions for CPU and MPE720 may differ from each other. Continue to perform step 6. When the message is not shown, go to step 9.
  • Page 182 5.4 Self-configuration 5.4.1 How to Execute Self-Configuration Click Individual, and only check Module Configuration. Click Start to read the module configuration definition from a controller. Click the Save & FLASH Save Button to flash save the definition information. In the Module Configuration Definition Window, check that the definition has been created. 5-50...
  • Page 183: Definition Information Updated With Self-Configuration

    5.4.2 Definition Information Updated with Self-Configuration Now, the definition information updated during executing the self-configuration and the module configuration defini- tion example based on the module combination are as follows: ( 1 ) Definition Data of MP2300S Basic Module [ a ] I/O Allocations Item Allocation •...
  • Page 184 (17-byte mode) – – – Number of Transmit Bytes Communication Cycle Number of Slave Stations Note: To use MP2300S/SVB as a Slave, before executing the self-configuration, the parameter setting for MECHATROLINK transmission definition must be set to Slave in MPE720. 5-52...
  • Page 185 5.4 Self-configuration 5.4.2 Definition Information Updated with Self-Configuration [ d ] SVR Definition Type Name Allocation Selection of Operation Modes Axis unused Function Selection Flag 1 0000h Reference Unit Selection pulse Number of Digits below Decimal Point Travel Distance per Machine Rotation 10000 reference unit Servo Motor Gear Ratio 1 rev (rotation)
  • Page 186: Precaution On Using Mp2300S

    When a system setting, scan time setting, or module configuration definition is configured/changed, be sure to use MPE720 to flash save it. Note that when the MP2300S power supply is turn ON again without flash saving, the config- ured/changed data may be lost.
  • Page 187: Setting Or Changing Module Configuration Definition Files

    • Always check to make sure that the mounted Module is the one that is defined. • Be sure to save any new settings or changes to flash memory. • After the settings or changes have been completed, turn the power supply to the MP2300S OFF and ON. 5-55...
  • Page 188: Setting And Changing The Scan Time

    Note: If the scan time is set too close to the maximum execution time for the scan, the refresh time for the screen on the MPE720 will be very slow and communication timeouts may occur. If the maximum execu- tion time exceeds the scan time set value, a watchdog timer timeout error will occur and the MP2300S system will stop.
  • Page 189 5.5 Precaution on Using MP2300S 5.5.3 Setting and Changing the Scan Time ( 2 ) Scan Time Set Value Examples 0.8-ms Maximum Scan Time and 1-ms Communication Cycle (MECHATROLINK-II Only) High-speed (or low-speed) scan set value ≥ 1.25 × 0.8 (= 1 ms) High-speed (or low-speed) scan set value = 1 ms, 2 ms, 3 ms, etc.
  • Page 190 MEMO...
  • Page 191 6.2 Communication with Other MP Series - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-3 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) - - - - - - - - - - - - - - - - 6-3 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) - - - 6-17...
  • Page 192: Communication Methods

    The MP2300S (slave) side creates a ladder program using a MSG- multiple masters is RCV function. possible. ⇒ Refer to 6.2.2 When the MP2300S Acts as a Slave (ladder pro- gram which uses a MSG-RCV function) Other MP Series Only the holding reg- Uses the Extended MEMOBUS communication protocol.
  • Page 193: Communication With Other Mp Series

    This chapter explains communications when an MP2300S acts as a slave and a master respectively. When the MP2300S acts as a slave, this chapter explains communications using an automatic receive function and a ladder program with the MSG-RCV function.
  • Page 194 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) Setting Example The following figure illustrates how the content of the MP2300S (master) holding register (MW00000 to MW00099) is written into the MP2300S (slave) holding register (MW00000 to MW00099).
  • Page 195 6.2 Communication with Other MP Series 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) ( 1 ) How to Set up the MP2300S Side If the setting of transmission parameters (IP address, subnet mask) is already completed, start from step 3.
  • Page 196 6.2 Communication with Other MP Series 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) Set a communication setting in the Message Communication Easy Setting Window. How to set up in the Message Communication Easy Setting Window When automatic receive is used, select “1”...
  • Page 197 6.2 Communication with Other MP Series 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) Click Yes in the confirmation dialog of the parameter setting. Caution Note that when a parameter with the same connection number is already set and you click Yes in the confirmation dialog of the parameter setting, the setting will be overwritten by the parameter configured in the Message Communication Easy Setting Window.
  • Page 198 2.2.4 ( 4 ) (b) Automatic Receive Setting Screen for Message Communication on page 2-22. Now, the automatic receive function is set up when the MP2300S acts as a slave. Caution When any transmission or connection parameter is changed, the change will be reflected after FLASH has been saved and the...
  • Page 199 6.2 Communication with Other MP Series 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) ( 2 ) How to Set up the Remote Device (MP2300) to Be Connected If the setting of transmission parameters (IP address, subnet mask) is already completed, start from step 3.
  • Page 200 Set Local Port to the port number used in the MP2300 side (“10001,” for example). Set Node IP Address to the IP address configured in the MP2300S side. Set Node Port to the port number configured in the MP2300S side (“10001,” for example). Select Connect Type (TCP, for example).
  • Page 201: Param No

    6.2 Communication with Other MP Series 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) Create a ladder program with a message transmit function (MSG-SND). A ladder program for transmitting messages to/from the remote equipment (MP2300) side is shown as follows: Message transmit function (MSG-SND) Required for transmitting messages.
  • Page 202 6.2 Communication with Other MP Series 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) Input/output definitions for message transmit functions The input/output definitions for the message transmit function are explained as follows: Table 6.1 Input/Output Definitions for Message Transmit Functions...
  • Page 203 6.2 Communication with Other MP Series 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) Parameter list setting example for the message transmit function An example of a parameter list setting when writing 100 words of data from MW00000 to the destination using the connection with a connection number = 1 follows: Table 6.2 Sample Parameter List Setting (parameter list start address Param=DA00000)
  • Page 204 6.2 Communication with Other MP Series 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) Example of Using the Message Transmit Function in a Ladder Program Here is one example of the message transmit function through Ethernet (218IF).
  • Page 205 6.2 Communication with Other MP Series 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) 6-15...
  • Page 206 6.2 Communication with Other MP Series 6.2.1 When the MP2300S Acts as Slave (automatic receive function is used) The communication setting and the ladder program creation are now finished, when MP2300 acts as a master. ( 3 ) How to Start Communications The MP2300S side starts to receive the messages.
  • Page 207: When The Mp2300S Acts As A Slave (Ladder Program Which Uses A Msg-Rcv Function)

    To communicate with more than one master, use a ladder program with a message receive function (MSG-RCV) at the MP2300S end. You can use the message receive function (MSG-RCV) as well as the automatic receive function by keeping connections separate from each other.
  • Page 208 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Setting Example The following figure illustrates one example of writing the contents of the MP2300 (master) holding register (MW00100 to MW00199) into the MP2300S (slave) holding register (MW00100 to MW00199).
  • Page 209 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) ( 1 ) How to Set up the MP2300S Side If the setting of transmission parameters (IP address, subnet mask) is already completed, start from step 3.
  • Page 210 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Click the Easy Setting Button in the Message Communication area of the connection parameter set- ting. Set a communication setting in the Message Communication Easy Setting Window.
  • Page 211 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Caution When message functions (MSG-SND, MSG-RCV) are used with the connection number 01, disable the automatic receive func- tion. If message functions are used while the automatic receive function is enabled, communications will not function properly.
  • Page 212 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Create a ladder program with a message receive function (MSG-RCV) in it. An example of a ladder program for receiving messages in the MP2300S side is as follows: Message receive function (MSG-RCV) Required for receiving messages.
  • Page 213 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Input/output definition contents for message receive functions The input/output definition content for message receive function is as follows: Table 6.4 Input/Output Definitions for Message Receive Functions...
  • Page 214: Out Process Result

    6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Parameter list setting example for message receive function An example of a parameter list setting when receiving messages from a transmit source using the connection with a connection number = 2 follows: Table 6.5 Parameter List Setting Example (parameter list start address Param=DA00000)
  • Page 215 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Example of Using the Message Receive Function in a Ladder Program Here is an example of the message receive function through Ethernet (218IFA).
  • Page 216 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) The communication setting and the ladder program creation are now finished, when the MP2300S acts as a slave. 6-26...
  • Page 217 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) ( 2 ) How to Set up the Remote Device (MP2300) to Be Connected If the setting of transmission parameters (IP address, subnet mask) is already completed, start from step 3.
  • Page 218 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Set transmission parameters. How to set up transmission parameters Set IP Address (“192.168.001.001,” for example). Click Edit, and then click Local Station: TCP/IP Setting in the Engineering Manager Window.
  • Page 219 How to set up with a connection number 02 in the CP-218 Connection Parameter Window Set Local Port (to the port number “10002” used in the MP2300 side, for example). Set the Node IP Address (to the IP address “192.168.001.001” configured in the MP2300S side, for exam- ple).
  • Page 220 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Create a ladder program containing a message transmit function (MSG-SND). An example of a ladder program for transmitting messages in the remote device (MP2300S) side follows: Message transmit function (MSG-SND) Required for transmitting messages.
  • Page 221 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Input/output definitions contents for message transmit functions The input/output definition content for the message transmit function is as follows: Table 6.6 Input/Output Definitions for Message Transmit Functions...
  • Page 222: In Option

    6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Parameter list setting for the message transmit function An example of a parameter list setting when reading 100 words of data from MW00100 from the destination using the connection with a connection number = 2 follows: Table 6.7 Parameter List Setting Example (parameter list start address Param=DA00000)
  • Page 223 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) Example of Using the Message Transmit Function in a Ladder Program Here is one example of the message transmit function through Ethernet (218IF).
  • Page 224 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) 6-34...
  • Page 225 6.2 Communication with Other MP Series 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV function) The communication setting and the ladder program creation are now finished, when MP2300 acts as a master. ( 3 ) How to Start Communications The MP2300S side starts to receive the messages.
  • Page 226: When Mp2300S Acts As Master (I/O Message Communication Function Is Used)

    6.2 Communication with Other MP Series 6.2.3 When MP2300S Acts as Master (I/O message communication function is used) 6.2.3 When MP2300S Acts as Master (I/O message communication function is used) This section explains how to communicate with the MP2300 message receive function (MSG-RCV) using the MP2300S I/O message communication function.
  • Page 227 The following figure illustrates one example of reading the contents of the holding register (MW00200 to MW00299) of MP2300 (slave) into an input register (IW0000 to IW0063) of MP2300S (master) and writing the contents of an out- put register (OW0064 to OW00C7) of MP2300S (master) into a holding register (MW00300 to MW00399) of MP2300 (slave).
  • Page 228 6.2 Communication with Other MP Series 6.2.3 When MP2300S Acts as Master (I/O message communication function is used) ( 1 ) How to Set up the MP2300S Side If the setting of transmission parameters (IP address, subnet mask) is already completed, start from step 3.
  • Page 229 6.2 Communication with Other MP Series 6.2.3 When MP2300S Acts as Master (I/O message communication function is used) Set a communication setting in the I/O Message Communication Easy Setting Window. How to set up in the I/O Message Communication Easy Setting Window Set Port No.
  • Page 230 Set the register type and start address (Read Reg) of the remote device (MP2300) read by the MP2300S (“MW00200,” for example).
  • Page 231 6.2 Communication with Other MP Series 6.2.3 When MP2300S Acts as Master (I/O message communication function is used) ( 2 ) How to Set up the Remote Device (MP2300) to Be Connected When the setting of transmission parameters (IP address, subnet mask) is already completed, start from step 3.
  • Page 232 Set Local Port (the port number “10005, 10006” used in the MP2300 side, for example). Set Node IP Address (the IP address “192.168.001.001” configured in the MP2300S side, for example). Set Node Port (the port number “10005, 10006” configured in the MP2300S side, for example).
  • Page 233 Required for receiving messages. Message reception is carried out by inputting and executing this message receive function in a ladder program. In addition, in order to support Read and Write by MP2300S, two message receive functions should be provided. Here, the input item and parameters (Communication buffer channel number and Connection number) of the message receive function need to accord with the MP2300S side settings.
  • Page 234 6.2 Communication with Other MP Series 6.2.3 When MP2300S Acts as Master (I/O message communication function is used) Input/output definition contents for message receive functions The input/output definition content for message receive function is as follows: Table 6.9 Input/Output Definitions for Message Receive Functions...
  • Page 235: In Coil Offset

    6.2 Communication with Other MP Series 6.2.3 When MP2300S Acts as Master (I/O message communication function is used) Parameter list setting example for message receive function An example of a parameter list setting when receiving messages from a transmit source using the connection with connection numbers = 5 and 6 follows: Table 6.10 Parameter List Setting Example 1 (parameter list start address Param = DA00000)
  • Page 236 6.2 Communication with Other MP Series 6.2.3 When MP2300S Acts as Master (I/O message communication function is used) Example of Using the Message Receive Function in a Ladder Program Here is one example of using the message receive function through Ethernet (218IF). In addition, this ladder pro- gram is for receiving read operation.
  • Page 237 6.2 Communication with Other MP Series 6.2.3 When MP2300S Acts as Master (I/O message communication function is used) 書き込み受信用には、 Set DW00002 = 6 to receive write DW00002 = 6 を設定 operations. してください 書き込み受信用には、 Set Ch-No = 6 to receive write Ch-No = 6 を設定...
  • Page 238 6.2 Communication with Other MP Series 6.2.3 When MP2300S Acts as Master (I/O message communication function is used) The communication setting and the ladder program creation are now finished, when MP2300 acts as a slave. ( 3 ) How to Start Communication The MP2300 side starts to receive the messages.
  • Page 239: When The Mp2300S Acts As Master (Ladder Program Which Uses Msg-Snd Function)

    To communicate with more than one slave, use a ladder program with a message transmit function (MSG-SND) on the MP2300S side. You can use the message transmit (MSG-SND) function as well as the I/O message communication function by keeping connections separate from each other.
  • Page 240 6.2 Communication with Other MP Series 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) Setting Example The following figure illustrates one example of reading the content of the MP2300 (slave) holding register (MW00400 to MW00499) into the MP2300S (master) holding register (MW00400 to MW00499).
  • Page 241 6.2 Communication with Other MP Series 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) ( 1 ) How to Set up the MP2300S Side When the setting of transmission parameters (IP address, subnet mask) is already completed, start from step 3.
  • Page 242 Select Connect Type (TCP, for example). Select Code (BIN, for example). Set Node Port IP Address for the other device (MP2300) to be connected (“192.168.001.002,” for example). Set Port No. of the other device (MP2300S) to be connected (“10003,” for example). Click OK. Caution When message functions (MSG-SND, MSG-RCV) are used with the connection number 01, disable the automatic receive func- tion.
  • Page 243 6.2 Communication with Other MP Series 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) Click Yes in the parameter setting confirmation dialog box. Caution Note that when a parameter with the same connection number is already set and you click Yes in the parameter setting confirma- tion dialog, the setting will be overwritten by the parameter configured in the Message Communication Easy Setting Window.
  • Page 244 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) Create a ladder program containing a message transmit function (MSG-SND). An example of a ladder program example for transmitting messages from the MP2300S side follows: Message transmit function (MSG-SND) Required for transmitting messages.
  • Page 245 6.2 Communication with Other MP Series 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) Input/output definition contents for message transmit functions The input/output definition content for the message transmit function is as follows: Table 6.12 Input/Output Definitions for Message Transmit Functions...
  • Page 246: In Holding Register Offset

    6.2 Communication with Other MP Series 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) Parameter list setting example for the message transmit function An example of a parameter list setting when writing 100 words of data from MW00000 to the destination using the connection with a connection number = 1 follows: Table 6.13 Parameter List Setting Example (parameter list start address Param = DA00000)
  • Page 247 6.2 Communication with Other MP Series 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) Example of Using the Message Transmit Function in a Ladder Program Here is one example of using the message transmit function through Ethernet (218IFA).
  • Page 248 6.2 Communication with Other MP Series 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) 6-58...
  • Page 249 6.2 Communication with Other MP Series 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) The communication setting and the ladder program creation are now finished, when MP2300S acts as a master. 6-59...
  • Page 250 6.2 Communication with Other MP Series 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) ( 2 ) How to Set up the Remote Equipment (MP2300) to Be Connected If the setting of transmission parameters (IP address, subnet mask) is already completed, start from step 3.
  • Page 251 Set Local Port (the port number “10003” used in the MP2300 side, for example). Set Node IP Address (the IP address “192.168.001.001” configured in the MP2300S side, for example). Set Node Port (the port number “10003” configured in the MP2300S side, for example).
  • Page 252 In addition, in order to support Read and Write by MP2300S, two message receive functions should be provided. Here, the input item and parameters (communication buffer channel number and connection number) of the mes- sage receive function need to accord with the MP2300S side settings.
  • Page 253 6.2 Communication with Other MP Series 6.2.4 When the MP2300S Acts as Master (ladder program which uses MSG-SND function) Input/output definitions contents for message receive functions The input/output definition content for message receive function is as follows: Table 6.14 Input/Output Definitions for Message Receive Functions...
  • Page 254 A ladder program for receiving messages in the remote equipment (MP2300) side is similar to that in ( 2 ) How to Set up the Remote Device (MP2300) to Be Connected of 6.2.3 When MP2300S Acts as Master (I/O message com- munication function is used).
  • Page 255: Communication With Touch Panel

    (MSG-RCV). For information on how to set up when the message receive function (MSG-RCV) is used, refer to ( 2 ) How to Set up the Remote Device (MP2300) to Be Connected of 6.2.2 When the MP2300S Acts as a Slave (ladder program which uses a MSG-RCV func- tion).
  • Page 256 6.3.1 When MP2300S Acts as Slave Setting Example The following figure shows an example which displays the content of the MP2300S (slave) holding register (MW00100) on a touch panel and writes values from the touch panel to the same register.
  • Page 257 6.3 Communication with Touch Panel 6.3.1 When MP2300S Acts as Slave ( 1 ) How to Set up the MP2300S Side Double-click the 218IFA Tab in the Module Details of the module configuration definition. Set transmission parameters. How to set up transmission parameters Set IP Address (“192.168.001.001,”...
  • Page 258 How to set up in the Message Communication Easy Setting Window When automatic receive is used, select “1” for the Connect No. Set Port No. of MP2300S side (“10001,” for example). Select Extended MEMOBUS for Communication Protocol Type, and click the Default Button.
  • Page 259 2.2.4 ( 4 ) (b) Automatic Receive Setting Screen for Message Communication on page 2-22. The automatic receive function for connecting the MP2300S to the touch panel is now set up. Caution When any transmission or connection parameter is changed, the change will be reflected after FLASH has been saved and the power supply is turned ON again.
  • Page 260 6.3.1 When MP2300S Acts as Slave ( 2 ) How to set up a touch panel This section explains the GP-Pro EX side set up procedure for connecting the MP2300S to an indicator (GP3000 series) and the screen creation example.
  • Page 261 Automatic Assignment Disable Note: √: connectable, – : unconnectable • How to set up Unpassive open mode of the MP2300S (reference) Set Node IP Address to 000.000.000.000 and the Node Port to 0 to enter into the Unpassive open mode.
  • Page 262 In the setting screen for each device, set up a connected device (in this case, the MP2300S). Set the IP address, port number and data code in the same manner as the 218IFA screen of the MP2300S. Table 6.20 Each Device Setting IP Address 192.168.001.001...
  • Page 263 Set as follows in the detailed setting screen of Data Indicator and click OK. Table 6.21 Data Indicator Detailed Setting Display Data Numeric display Monitor Word Address GMW00100 Relationship between GP-Pro EX address display and MP2300S register Device GP-Pro EX Address Display MP2300S Register Coil (bit) Coil (word)
  • Page 264 When the automatic receive function is used, the message receive operation starts automatically, and you are not required to do anything. Start up the touch panel (GP3000 series) to display the main screen. After the system startup of the touch panel, communication with MP2300S will start. Note: Contact Digital Electronics Corp. for more information. 6-74...
  • Page 265: Communication With Plc Manufactured By Mitsubishi Electric Corporation (Melsec Protocol)

    For using the MP2300S as a slave, we explain communication using the automatic receive function. For using the MP2300S as a master, we explain communication using the I/O message communication function. 6.4.1 When the MP2300S Acts as Slave (automatic receive function is used) This section explains how to carry out a fixed buffer communication with the BUFSND command (with procedure) of the MELSEC Q series using the MP2300S automatic receive function.
  • Page 266 Also, when “Communication Protocol Type: MELSEC” is used in communication with the MELSEC Q series, the MELSEC Q series (master) side can read/write the holding register of the MP2300S (slave) using fixed buffer communication. However, when the MP2300S acts as a slave, you cannot use the inter-CPU or random access communication, because of the MELSEC specifications.
  • Page 267 6.4 Communication with PLC Manufactured by Mitsubishi Electric Corporation (MELSEC protocol) 6.4.1 When the MP2300S Acts as Slave (automatic receive function is used) ( 1 ) How to Set up the MP2300S Side If the setting of transmission parameters (IP address, subnet mask) is already completed, start from step 3.
  • Page 268 6.4 Communication with PLC Manufactured by Mitsubishi Electric Corporation (MELSEC protocol) 6.4.1 When the MP2300S Acts as Slave (automatic receive function is used) Click the Easy Setting Button in the Message Communication area of the connection parameter set- ting. Set up the communication settings in the Message Communication Easy Setting Window.
  • Page 269 6.4 Communication with PLC Manufactured by Mitsubishi Electric Corporation (MELSEC protocol) 6.4.1 When the MP2300S Acts as Slave (automatic receive function is used) Caution When message functions (MSG-SND, MSG-RCV) are used with the connection number 01, disable the automatic receive func- tion.
  • Page 270 2.2.4 ( 4 ) (b) Automatic Receive Setting Screen for Message Communication on page 2-22. The automatic receive function is now set up, when MP2300S acts as a slave. Caution When any transmission or connection parameter is changed, the change will be reflected after FLASH has been saved and the power supply is turned ON again.
  • Page 271 6.4.1 When the MP2300S Acts as Slave (automatic receive function is used) ( 2 ) How to Set up the Remote Device (MELSEC Q series) to Be Connected This section explains the MELSEC Q series side procedure to set up for connecting the MP2300S with the MELSEC Q series.
  • Page 272 When an automatic receive function is used, the message receive operation starts automatically, so you are not required to do anything. Use an OPEN command in the MELSEC Q series side to establish a connection with the MP2300S, and use a BUFSND command to transmit messages.
  • Page 273: When The Mp2300S Acts As Master (I/O Message Communication Function Is Used)

    6.4 Communication with PLC Manufactured by Mitsubishi Electric Corporation (MELSEC protocol) 6.4.2 When the MP2300S Acts as Master (I/O message communication function is used) 6.4.2 When the MP2300S Acts as Master (I/O message communication function is used) This section explains how to carry out the communications between CPU and the MELSEC Q series using the MP2300S I/O message communication function.
  • Page 274 MELSEC Q series (slave) into an input register (IW0000 to IW0063) of the MP2300S (master) and writing the content of an output register (OW0064 to OW00C7) of the MP2300S (master) in a data register (D00100 to D00199) of the MELSEC Q series (slave).
  • Page 275 6.4 Communication with PLC Manufactured by Mitsubishi Electric Corporation (MELSEC protocol) 6.4.2 When the MP2300S Acts as Master (I/O message communication function is used) ( 1 ) How to Set up the MP2300S Side If the setting of transmission parameters (IP address, subnet mask) is already completed, start from step 3.
  • Page 276 6.4 Communication with PLC Manufactured by Mitsubishi Electric Corporation (MELSEC protocol) 6.4.2 When the MP2300S Acts as Master (I/O message communication function is used) Set-up a communication settings in the I/O Message Communication Easy Setting Window. How to set up in the I/O Message Communication Easy Setting Window Set Port No.
  • Page 277 Set a storage area (Input Reg) for data read by the MP2300S (IW0000, for example). Set Read Size of data to be read by the MP2300S (“100” W, for example).
  • Page 278 ON again. ( 2 ) How to Set up the Remote Equipment (MELSEC Q series) to Be Connected This section explains the MELSEC Q series side procedure to set up for connecting the MP2300S with the MELSEC Q series.
  • Page 279 6.4 Communication with PLC Manufactured by Mitsubishi Electric Corporation (MELSEC protocol) 6.4.2 When the MP2300S Acts as Master (I/O message communication function is used) Set up Ethernet operation. Table 6.26 Ethernet Operation Setting (example) Setting Item Setting Details Communication Data Code Setting...
  • Page 280 MEMO...
  • Page 281: Overview - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Slave CPU Synchronous Function This chapter explains the slave CPU synchronous function details and the precautions for using it. 7.1 Function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7-2 7.1.1 Overview - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7-2 7.2 Requirements and Setting of Execution - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7-3 7.2.1 Supported Version - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7-3...
  • Page 282: Function

    A slave CPU synchronous function synchronizes the master side high-speed scan cycle with the MP2300S high-speed scan cycle, in a configuration where another MP2300S series controller acts as a MECHATROLINK master and the MP2300S with a built-in SVB acts as a MECHATROLINK slave.
  • Page 283: Requirements And Setting Of Execution

    7.2 Requirements and Setting of Execution 7.2.1 Supported Version 7.2 Requirements and Setting of Execution 7.2.1 Supported Version In order to use the slave CPU synchronous function, the master side must support the MP2300S. The following table shows supported versions: Controller Model...
  • Page 284: How To Set Up Slave Cpu Synchronous Function

    The way to set up the slave CPU synchronous function is as follows: ( 1 ) Master Side Setting The master side does not need to enable/disable the slave CPU synchronous function. Set the synchronous scan of MP2300S/SVB to “High” as a MECHATROLINK link assignment. Set the synchronous scan to "High."...
  • Page 285 7.2 Requirements and Setting of Execution 7.2.3 How to Set up Slave CPU Synchronous Function ( 2 ) Slave Side Setting Select “Slave synchronous function = Enable” as a MECHATROLINK communication parameter. Double-click to open a MECHATROLINK detailed definition. Select "Slave synchronous function =Enable."...
  • Page 286 7.2 Requirements and Setting of Execution 7.2.3 How to Set up Slave CPU Synchronous Function Set the synchronous scan to High as a MECHATROLINK link assignment. Set the synchronous scan to "High."...
  • Page 287: How To Execute Slave Cpu Synchronous Function

    CPU synchronization will be automatically executed after the communication between the master and the MP2300S is established, so you do not need to explicitly command the start. Of course, you can explicitly control the start, if you wish, by using a slave side control bit SLVSC.
  • Page 288 7.2 Requirements and Setting of Execution 7.2.4 How to Execute Slave CPU Synchronous Function ( 2 ) Turning ON the Slave Side Power First After confirming that the slave side startup is complete, use an application program to set control bit SLVSC = ON*. Then, turn ON the master side power.
  • Page 289: Operation

    One byte of area which allows a master side application to check a value configured and updated by a slave side application. It is used for the following purposes: • Checks the update of input data from MP2300S. Scan Counter •...
  • Page 290 • An execution requirement of the slave CPU synchronization has not Preparation for slave syn- been met. chronization completed • A control bit “SLVSC” is turned ON by MP2300S side Slave asynchronous state SYNC This bit is turned ON when entering the slave CPU synchronous state.
  • Page 291 Scan Counter • Determines the master behavior (in operation/in pause). Note that the use of this area is optional. Status of MECHATROLINK transmission unit of a slave-status MP2300S. Slave Status It is the same content as reported to the master.
  • Page 292 Note that the use of this area is optional and the data input/output process is carried out without updat- ing the scan counter value. Sets the behavior of the MECHATROLINK transmission unit of the control bit MP2300S. Control Bit The configuration is shown as follows:...
  • Page 293 7.3 Operation 7.3.1 Input/Output Register ( 3 ) Input/Output Data Flow between Master and Slave From MP2000 (master) to MP2300S (slave) [MECHATROLINK MP2000 (master) MP2300S (slave) [Output register] transmission path] [Input register] 7 6 5 4 3 2 1 0...
  • Page 294 7.3 Operation 7.3.1 Input/Output Register From MP2300S (slave) to MP2000 (master) MP2000 (master) [MECHATROLINK MP2300S (slave) [Input register] transmission path] [Output register] 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0...
  • Page 295: How To Determine Slave Cpu Synchronous State

    The way to determine the slave CPU synchronous state from an application program is as follows: ( 1 ) How to Check with a Master Side Application Use bit 7 “SYNC” of the second word “Slave Status” (IW + 1) of an input register assigned to MP2300S. MP2000 (master) [Input register]...
  • Page 296: Calculation Of Slave Cpu Synchronous Delay Time

    7.3 Operation 7.3.3 Calculation of Slave CPU Synchronous Delay Time 7.3.3 Calculation of Slave CPU Synchronous Delay Time In a slave CPU synchronous arrangement, a command from the master is processed as in the following flow, and trans- mitted to the slave side. Here, the time between is constant.
  • Page 297: How To Use Scan Counter

    Master processing A master side application is increased the setting value by one for the start word of an output register assigned to the MP2300S/SVB. Slave processing A slave side application checks that the scan counter value is increased by one from the previous value +1. As the scan counter is one byte of data, it only checks the lower byte.
  • Page 298: How To Determine Input Error

    [ a ] Master Side Check S register “I/O Error Status” Checks whether the bit of a station mapped to the MP2300S is turned ON in the I/O error status of a slot attached with SVB. ON indicates that an input error has occurred.
  • Page 299 7.3 Operation 7.3.5 How to Determine Input Error Application Example Continued on the next page 7-19...
  • Page 300 7.3 Operation 7.3.5 How to Determine Input Error Continued from the previous page 7-20...
  • Page 301 [ b ] Slave Side Check S register “I/O Error Status.” Check whether the bit of a local station is turned ON in the I/O error status of an MP2300S with built-in SVB. The bit ON indicates that an input error has occurred.
  • Page 302 7.3 Operation 7.3.5 How to Determine Input Error Application Example Continued on the next page 7-22...
  • Page 303 7.3 Operation 7.3.5 How to Determine Input Error Continued from the previous page ( 2 ) How to Recover from Input Error Recovery is automatic, and no particular operation is needed. However, if input errors occur frequently, check the following: •...
  • Page 304: Management To Resume Slave Cpu Synchronization

    To avoid these impacts (to avoid automatic recovery to the slave CPU synchronous state), use the slave side application to operate a control bit “SLVSC (slave CPU synchronous resume control)”. Operating this bit allows you to control the synchronous process. MP2300S (slave) [Output register] 7 6 5 4 3 2 1 0...
  • Page 305 If ready, changes the state to “Waiting state for the completion of the slave CPU synchronization.” An example in which this process is executed using a ladder application is shown in the next page. [Conditions] Local station (MP2300S) is assigned to st#1. INPUT: IW0800, SIZE: 15W...
  • Page 306 7.3 Operation 7.3.6 Management to Resume Slave CPU Synchronization Application Example Continued on the next page 7-26...
  • Page 307 7.3 Operation 7.3.6 Management to Resume Slave CPU Synchronization Continued from the previous page 7-27...
  • Page 308: Precautions

    When a communication error occurs, the condition changes from slave CPU synchronous to asyn- chronous state. When the MP2300S with a built-in SVB is changed from slave to master, flash save the change and turn ON the power again. The slave CPU synchronous function is available only when the MP2000 series SVB is used as a master.
  • Page 309: Effect Of Error On Slave Cpu Synchronous Operation

    7.4.2 Effect of Error on Slave CPU Synchronous Operation When the MP2300S with a built-in SVB works as a slave and the SVB-01 in an optional slot works as a master, never connect them so that they form a loop, as shown in the following figure.
  • Page 310 MEMO...
  • Page 311 8.2.2...
  • Page 312: Inspection Items

    8.1 Inspection Items 8.1.1 Daily Inspections 8.1 Inspection Items This section summarizes daily and regular inspection items that must be performed by the customer. 8.1.1 Daily Inspections The following table lists the daily inspection items. Inspection Item Inspection Details Criteria Action Check the mounting screws for Installation conditions of...
  • Page 313: Regular Inspections

    Inspections must also be performed when the equipment is relocated or modified or when the wiring is changed. PROHIBITED Do not replace the built-in fuse. If the customer replaces the built-in fuse, the MP2300S may malfunction or break down. Contact your Yaskawa representative. Inspection Item...
  • Page 314: Replacing The Basic Module Battery

    Check that the RDY indicator on the MP2300S Basic Module is lit. Open the battery cover on the unit front surface. Remove the connector on the end of lead of the built-in battery from the connector on the MP2300S Basic Module. Then, remove the built-in battery from the battery holder.
  • Page 315: Troubleshooting

    8.2 Troubleshooting 8.2.1 Basic Flow of Troubleshooting 8.2 Troubleshooting This section describes the basic troubleshooting methods and provides a list of errors. 8.2.1 Basic Flow of Troubleshooting When problems occur, it is important to quickly find the cause of the problems and get the system running again as soon as possible.
  • Page 316: Mp2300S Error Check Flowchart

    8.2.3 LED Indicators ( 1 ) LED Indicators The status of the LED indicators on the front of the MP2300S can be used to determine the error status and meaning. The locations in the program that need to be corrected can be determined by using the LED...
  • Page 317 8.2.3 LED Indicators ( 2 ) LED Indicator Meanings The following table shows how to use the LED indicators to determine the operating status of the MP2300S, as well as relevant error information when the LED indicator status indicates an error.
  • Page 318 8.2.4 Troubleshooting System Errors The LED indicators on the front of the Basic Module can be used to determine MP2300S operating status and error sta- tus. To obtain more detailed information on errors, the system (S) registers can be used. A detailed check of the con- tents of system registers can be used to determine the location of the error and take the corrective measures.
  • Page 319 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors ( 2 ) Accessing System Registers To access the contents of system registers, start the MPE720 Programming Tool and use the Register List or Quick Reference function. [ a ] Register List Display Procedure Use the following procedure to display the register list.
  • Page 320 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors [ b ] Displaying a Register List with the Quick Reference Register lists can also be accessed with the Quick Reference. Select View - Quick Reference from the MPE720 Engineering Manager Window. Click the Register List Tab to switch to the register list. Input the register number of the first system register to be accessed for Register, input the register number of the last system register to be accessed for /D, and click anywhere in the list.
  • Page 321: Troubleshooting System Errors

    8.2 Troubleshooting 8.2.4 Troubleshooting System Errors ( 3 ) Troubleshooting Flowchart for System Errors A troubleshooting flowchart for system errors is provided below. START Use the LED indicator pattern to classify the error. Battery alarm indicator Replace battery. BAT lit? Classifications = Warning Alarm ALM indicator lit or...
  • Page 322 ( 4 ) Correcting User Program Errors A serious error may have occurred if the ALM and ERR indicators on the front of the MP2300S Basic Module are lit red. Set the MP2300S in stop status (STOP switch on DIP switch 1-6: ON) and investigate the error.
  • Page 323 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors Continued on from the previous page. When the error cause can be assumed to be a problem with the external input data or output data from the user program, disable the corresponding I/O pro- (8) Investigate the I/O state cess to investigate a cause based on the I/O data.
  • Page 324 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors [ a ] How to Disable a User Program • Drawing or Function In the ladder subwindow of the MPE720 online mode, right-click the corresponding drawing and function and select Enable/Disable in the popup menu. •...
  • Page 325 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors (b) How to Disable the I/O Process In the module configuration definition screen of the MPE720 online mode, open the detailed definition of the module for which you want to disable the I/O process. Click “D” and save it, to disable the I/O process for the clicked item. You can change the disabled input register to any value.
  • Page 326 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors [ d ] Operation in Case of Scan Time Over When the maximum value for high-speed scan time is equal to a setting value, a watchdog timeout error will occur because the time for performing a low-speed scan cannot be ensured. Low-speed scan setting value High-speed scan setting value High-speed scan setting value High-speed scan setting value High-speed scan setting value High-speed scan...
  • Page 327 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors ( 5 ) System Register Configuration and Error Status [ a ] System Status System operating status and error status is stored in registers SW00040 to SW00048. Checking of system status details are used to determine whether hardware or software is the cause of an error. Name Register No.
  • Page 328 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors [ b ] System Error Status System error status is stored in registers SW00050 to SW00060. Name Register No. Description 0001H Watchdog timer over error 0041H ROM diagnosis error 0042H RAM diagnosis error 0043H CPU diagnosis error 0044H FPU diagnosis error...
  • Page 329 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors [ c ] Ladder Program User Operation Error Status Error information for user operation errors in ladder programs is stored in registers SW00080 to SW00089 (Error Sta- tus 1) and SW00110 to SW00189 (Error Status 2). Table 8.1 Ladder Program User Operation Error Status 1 Name Register No.
  • Page 330 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors Table 8.3 Ladder Program User Operation Error Codes 1 Error Error Contents User* System Default Value Code 0001H −32768 [−32768] Integer operation - underflow 0002H Integer operation - overflow 32767 [32767] 0003H Integer operation - division error The A register remains the same.
  • Page 331 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors [ d ] System Service Execution Status Table 8.5 Data Trace Execution Status Name Register No. Remarks SW00090 to Reserved by the system. SW00097 Bit 0 to 3 = Group 1 to 4 Existence Of Data Trace Definition SW00098 Definition exists = 1, No definition = 0 Bit 0 to 3 = Group 1 to 4...
  • Page 332 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors [ f ] Actions to be Taken when a Transmission Error Occurs When a transmission error occurs during system I/O, the error status is reported in the system registers as shown below. Name Register No. Remarks SW00208 to Slot 0 Error Status...
  • Page 333 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors LIO-01/LIO-02 Module Error Status (Example: Slot 1) (Bit No.) F---------------------------------------------8 7---------------------------------------------0 SW00224 Error Code (I/O error = 2) Sub-slot No. (= 1) SW00225 Error Code (I/O error = 2) Sub-slot No. (= 2) SW00226 Not used --------------------------------------------------- Not used...
  • Page 334 8.2 Troubleshooting 8.2.4 Troubleshooting System Errors [ g ] Module Information Name Register No. Contents SW00800 Basic Module (C380H) SW00801 Reserved by the system. SW00802 CPU Software version (BCD) SW00803 Number of sub-slots (0004H) SW00804 CPU Function ID (C310H) SW00805 CPU Function Module Status SW00806 I/O Function Module ID (8070H)
  • Page 335: Motion Program Alarms

    8.2 Troubleshooting 8.2.5 Motion Program Alarms 8.2.5 Motion Program Alarms If a motion program alarm occurs, find the cause of alarm indicated by the alarm code. The alarm code, alarm name, and its corrective actions in a motion program can be checked on the error information screen.
  • Page 336 8.2 Troubleshooting 8.2.5 Motion Program Alarms This section explains the error information screen. Registry number When an alarm occurs in a motion program registered in the M-EXECUTOR program execution definition, the M- EXECUTOR registry number is shown. When an alarm occurs in a motion program referenced by an MSEE command from the ladder program, “---” is shown.
  • Page 337 8.2 Troubleshooting 8.2.5 Motion Program Alarms Program number The name of the program where an error occurred is shown. Block number The number of the block where an error occurred is shown. Double-clicking the number will bring you to the corresponding program where the error occurred. The block number is shown in the motion editor.
  • Page 338 8.2 Troubleshooting 8.2.5 Motion Program Alarms ( 2 ) Motion Program Alarm Codes (a) Configuration of Motion Program Alarms The following diagram shows the configuration of alarms. Bit15 Bit12 Bit8 Bit7 Bit0 Alarm occurrence axis Alarm code (When Bit 7 is ON: Axis alarm) information (1 to 16 1 16 (b) Alarm Code List for Motion Program...
  • Page 339 8.2 Troubleshooting 8.2.5 Motion Program Alarms Alarm Name Description Corrective Actions Code A motion command was instructed simulta- neously at the second line in the PFORK of Review the source motion program or sub- PFORK execution error both a source motion program and a subpro- program.
  • Page 340: List Of Causes For Command Error Completed Status

    8.2 Troubleshooting 8.2.6 List of Causes for Command Error Completed Status 8.2.6 List of Causes for Command Error Completed Status The Command Error Completed Status (IW 09, bit 3) turns ON when the set motion command cannot be executed for some reasons or the execution of motion command ended with error. The cause for which this bit turns ON differ depending on motion command.
  • Page 341 8.2 Troubleshooting 8.2.6 List of Causes for Command Error Completed Status Warning (W:) and Alarm (A:) That Occur Motion Command Code Cause of Command Error Occurrence at Command Error Occurrence The commanded moving amount for one scan exceeds the segment that can be commanded to the MECHATROLINK SERVOPACK, or the A: Excessive Speed speed feed forward value exceeds the allowable...
  • Page 342 8.2 Troubleshooting 8.2.6 List of Causes for Command Error Completed Status Warning (W:) and Alarm (A:) That Occur Motion Command Code Cause of Command Error Occurrence at Command Error Occurrence − An alarm is occurring. A: Servo Driver Synchronization Com- Asynchronized communication status Read SERVOPACK munication Error...
  • Page 343: Troubleshooting Motion Errors

    8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors 8.2.7 Troubleshooting Motion Errors This section explains the details and remedies for errors that occur in motion control functions. ( 1 ) Overview of Motion Errors Motion errors in the MP2000-series Machine Controller include axis alarms detected for individual SERVOPACKs. The failure location can be determined and appropriate corrections can be taken simply by checking the contents of the Warning (IL 02) and Alarm (IL...
  • Page 344 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors ( 2 ) Motion Error Details and Corrections The following tables show the contents of the axis alarms (IL 04) (subsection a) and axis alarm details (subsection b). [ a ] Alarm (IL 04) List Alarm Contents Alarm Contents Servo Driver Synchronization Communica-...
  • Page 345 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors [ c ] Bit 1: Positive Direction Overtravel and Bit 2: Negative Direction Overtravel • Overtravel is continuously monitored by the position management section during execution of a motion Detection Timing command. • Overtravel is detected when the overtravel signal in the direction of movement turns OFF. •...
  • Page 346 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors [ f ] Bit 6: Positioning Time Over • Positioning was not completed within Positioning Completion Cheek Time (OW 26) after completing Detection Timing pulse distribution. Processing when • The current command was ended forcibly. Alarm Occurs •...
  • Page 347 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors [ j ] Bit A: Filter Type Change Error Detection Timing • Continuously monitored by the motion command processing section. Processing when • The Change Filter Type command will not be executed. Alarm Occurs •...
  • Page 348 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors [ o ] Bit 12: Servo Driver Command Time-out Error • Detected during execution of each motion commands. Detection Timing • Detected by the MECHATROLINK communication control section when the Servo command responses are checked for each process. Processing when •...
  • Page 349 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors ( 3 ) Servo Driver Status and Servo Driver Error Codes [ a ] Servo Driver Status (IW 2C) List The status of a SERVOPACK for MECHATROLINK communication can be monitored in Monitor Parameter 2C).
  • Page 350 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors [ b ] Servo Driver Alarm Code (IW When the Servo Driver Error (IL 04, bit 0) turns ON, a SERVOPACK alarm will exist. The content of the alarm can be confirmed using the Servo Driver Alarm Code (monitoring parameter IW 2D).
  • Page 351 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors Σ-II Series Register Name Code Meaning Number Normal Excessive Position Deviation Warning Overload Warning Regeneration Overload Warning Absolute Encoder Battery Error Data Setting Warning Command Warning Communication Warning Parameter Corrupted Main Circuit Detector Error Parameter Setting Error Combination Error Divider Setting Error...
  • Page 352 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors Register Name Code Meaning Number Option WDC Error WDT Error Communication Error Application Module Detection Failure Bus OFF Error SERVOPACK Failure Servo Driver Alarm Code SERVOPACK Initial Access Error (cont’d) (cont’d) SERVOPACK WDC Error Command Execution Not Completed Application Module Alarm Broken Phase in Power Line...
  • Page 353 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors Register Name Code Meaning Number Servo ON Reference Invalid Alarm Overcurrent or Heat Sink Overheat Regeneration Error Regeneration Overload Main Circuit Wiring Error Overvoltage Undervoltage Overspeed Divided Pulse Output Overspeed Vibration Alarm Overload (Instantaneous Maximum Load) Overload (Continuous Maximum Load) 730, 731 DB Overload...
  • Page 354 8.2 Troubleshooting 8.2.7 Troubleshooting Motion Errors Register Name Code Meaning Number Fully-closed Serial Conversion Unit Communication Error (Timer Stopped) Excessive Position Error Excessive Position Error Alarm at Servo ON Excessive Position Error Alarm for Speed Limit at Servo ON Excessive Error between Motor Load and Position COM Alarm 0 COM Alarm 1 COM Alarm 2...
  • Page 355: A.1 System Service Registers - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Appendices A System Registers Lists - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-2 A.1 System Service Registers- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-2 A.2 Scan Execution Status and Calendar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-4 A.3 Program Software Numbers and Remaining Program Memory Capacity - - - - - - - - - - - - - - - - - A-4...
  • Page 356: A System Registers Lists

    Appendix A System Registers Lists System Service Registers ( 1 ) Shared by All Drawings Name Register No. Remarks Reserved SB000000 (Not used) (Reserved for the system) ON for only the first scan after high-speed scan is High-speed Scan SB000001 started.
  • Page 357 DWG.L Only The following relays are reset at the start of the low-speed scan. Name Register No. Remarks 1 scan One-scan Flicker Relay SB000030 1 scan 0.5s 0.5s 0.5-s Flicker Relay SB000031 1.0s 1.0s 1.0-s Flicker Relay SB000032 2.0s 2.0s 2.0-s Flicker Relay SB000033 0.5s...
  • Page 358: Scan Execution Status And Calendar

    Scan Execution Status and Calendar Name Register No. Remarks High-speed Scan Set Value SW00004 High-speed Scan Set Value (0.1 ms) High-speed Scan Current Value SW00005 High-speed Scan Current Value (0.1 ms) High-speed Scan Maximum Value SW00006 High-speed Scan Maximum Value (0.1 ms) SW00007 Reserved by the system.
  • Page 359: B Servopack Parameter Data Flow

    11.1 Parameters That Are Automatically Updated in the Machine Controller MP2000-series SVB/SVB-01 Motion Module User’s Manual (manual no.: SIEPC88070033). This means that parameters are saved in the memory area of both the MP2300S and the SERVOPACK. It is thus necessary to consider the relationship between the settings in both memory areas.
  • Page 360 The MPE720 writes and displays the parameters that are held in the SERVOPACK’s RAM for the rele- vant axis to the Current Value in the SERVOPACK Tab Page. It also reads and displays the values that are held in the MP2300S’s SDRAM values to the Input Data in the SERVOPACK Tab Page.
  • Page 361 • HDD (hard disk) of the personal computer • SDRAM of MP2300S • RAM and EEPROM of the SERVOPACK After having completed writing the parameters, the MPE720 updates the values in Current Value on the SERVOPACK Tab Page with the SERVOPACK parameter values stored in the RAM.
  • Page 362 The following figure shows a display example after having executed save operation on the SERVO- PACK Tab in the SVB Definition Window. After having saved the data, the values in Input Data of all the parameters become the same as the values in Current Value on the SERVOPACK Tab. Before saving After saving The saving operation of SERVOPACK parameters can be used for writing data after SERVOPACK replacement...
  • Page 363 The MPE720 copies the values currently displayed in Current Value to Input Data on the SERVO- PACK Tab and displays. MECHATROLINK MPE720 online System Control SRAM Software Software Display Input Current Data Value Flash SDRAM -ROM Memory Input Servo Parameters Parameters Data (All Axes) MP2300S SERVOPACK SERVOPACK HDD in personal computer...
  • Page 364 The following figure shows a display example after having selected Edit - Copy Current Value on the SERVOPACK Tab in the SVB Definition Window. The values in Current Value are copied to Input Data. Before copying After copying A-10...
  • Page 365 (The parameters other than those of the relevant axis will not be written.) • Input Data (set data) on the SERVOPACK Tab Page • SDRAM of the MP2300S • RAM of the SERVOPACK After having completed writing, the MPE720 updates the values in Input Data on the SERVOPACK Tab Page with the parameter values stored in the RAM of the SERVOPACK.
  • Page 366 The following figure shows a display example after having changed the value (2nd Speed Loop Gain) in Input Data on the SERVOPACK Tab. After having pressed the Enter Key, the values of Speed Loop Gain, Speed Loop Integral Time Constant, and Position Loop Gain (boxed in dotted line) in Input Data remain different from the values in Current Value since the parameters other than the one that has been changed are not written.
  • Page 367 ( 7 ) Saving Data to Flash Memory The data flow for SERVOPACK parameters is as follows when saving the parameters to flash memory on the MPE720. The MP2300S writes the parameters data (Input Data) held in SDRAM to flash memory. MECHATROLINK...
  • Page 368: C Initializing Servopacks

    Appendix C Initializing SERVOPACKs This section describes the procedure for initializing Σ-III SERVOPACKs using the Digital Operator. Always initialize SERVOPACKs that have been transferred from other systems. SERVOPACKs that are being used for the first time do not need to be initialized. Check that the SERVOPACK power is OFF and then insert the Digital Operation connection plug into the CN3 connector on the SERVOPACK.
  • Page 369: D Initializing The Absolute Encoder

    Appendix D Initializing the Absolute Encoder The procedure for initializing an absolute encoder for a Σ-I, Σ-II, or Σ-III SERVOPACK is given below. Refer to 9.2.1 System Startup Flowchart in the Machine Controller MP2000-series SVB/SVB-01 Motion Module User’s Manual (manual no. SIEPC88070033) for the procedure for absolute-position detection. Σ...
  • Page 370 Σ-II SERVOPACK Refer to the following manuals for information on Σ-II SERVOPACKs. Σ -II Series SGM H/SGDH User’s Manual (SIEP S8000 000 05) Σ -II Series SGM /SGDB/SGM H/SGDM User’s Manual (SIEP S800000 15) ( 1 ) Initialization Using a Hand-held Digital Operator Press the DSPL/SET Key to select the Auxiliary Function Mode.
  • Page 371 ( 2 ) Initialization Using the Built-in Panel Operator Press the MODE/SET Key to select the Auxiliary Function Mode. Press the UP ( ) and DOWN ( ) Keys to select parameter Fn008. Press the DATA/ENTER Key for more than one second. The following display will appear.
  • Page 372 ( 1 ) Initializing a 12-bit Absolute Encoder Use the following procedure to initialize a 12-bit absolute encoder. Properly connect the SERVOPACK, Servomotor, and MP2300S. Disconnect the connector on the encoder end and short-circuit pins 13 and 14 on the encoder end con- nector for 2 seconds or more.
  • Page 373 ( 2 ) Initializing a 15-bit Absolute Encoder Use the following procedure to initialize a 15-bit absolute encoder. Turn OFF the SERVOPACK and MP2300S. Discharge the large-capacity capacitor in the encoder using one of the following methods. At the SERVOPACK End Connector 1) Disconnect the connector on the SERVOPACK end.
  • Page 374: E Motion Parameter Details

    Appendix E Motion Parameter Details Fixed Parameter List The following table provides a list of SVB and SVR motion fixed parameters. Slot Name Contents SVB SVR Number 0: Normal Operation Mode 1: Axis Unused Selection of Operation Modes 2: Simulation Mode 3: Servo Driver Transmission Reference Mode −...
  • Page 375 (cont’d) Slot Name Contents SVB SVR Number Rated Motor Speed 1 = 1 rpm (Rotary Motor) Rated Speed 1 = 0.1 m/s, 0.1 mm/s (Linear Type) Number of Pulses per Motor 1 = 1 pulse/rev Rotation (Rotary Motor) Set the value after multiplication. Number of Pulses per Linear 1 = 1 pulse/scale pitch Scale Pitch (Linear Type)
  • Page 376: Setting Parameter List

    Setting Parameter List The following table provides a list of SVB and SVR motion setting parameters. Refer to the pages listed in the Details column for details of each setting parameter. Refer to 2.2.6 SVR Virtual Motion Module on page 2-47 for information on SVR. Register No.
  • Page 377 (cont’d) Register No. Name Contents SVB SVR Bits 0 to 3: Latch Detection Signal Selection 0: - 1: - 2: Phase-C Pulse Input Signal 3: /EXT1 4: /EXT2 5: /EXT3 Bits 4 to 7: External Positioning Signal Setting 04 Function Setting 2 0: −...
  • Page 378 (cont’d) Register No. Name Contents SVB SVR Bit 0: Holds a Command. (0: OFF/1: ON) Bit 1: Interrupt a Command. (0: OFF/1: ON) Bit 2: Moving Direction (JOG/ STEP) (0: Forward rotation/1: Reverse rotation) Bit 3: Zero Point Return Direction Selection (0: Reverse rotation/1: Forward rotation) Motion Command Control Flag...
  • Page 379 (cont’d) Register No. Name Contents SVB SVR Latch Zone Upper 1 = 1 reference unit Limit Setting 2E Position Loop Gain 1 = 0.1/s 2F Speed Loop Gain 1 = 1 Hz Speed Feedforward 1 = 0.01% (percentage of distribution segment) Amends Speed 1 = 0.01% (percentage of rated speed)
  • Page 380 (cont’d) Register No. Name Contents SVB SVR Bits 0 to 3: Monitor 1 (Setting impossible) Servo User Monitor Bits 4 to 7: Monitor 2 Setting Bits 8 to B: Monitor 3 (Setting impossible) Bits C to F: Monitor 4 Servo Driver Alarm Set the number of the alarm to monitor.
  • Page 381: Monitoring Parameter List

    Monitoring Parameter List The following table provides a list of SVB and SVR motion monitoring parameters. Register No. Name Contents Bit 0 Motion Controller Operation Ready Bit 1: Running (At Servo ON) Bit 2: System Busy RUN Status Bit 3: Servo Ready Bit 4: Latch Mode −...
  • Page 382 (cont’d) Register No. Name Contents Bit 0: Command Execution Flag Bit 1: Command Hold Completed − − Bit 2: Reserved Bit 3: Command Error Completed Status Motion Command (Command Error Occurrence) Status − − Bits 4 to 6: Reserved Bit 7: Reset Absolute Encoder Completed Bit 8: Command Execution Completed −...
  • Page 383 (cont’d) Register No. Name Contents Speed Reference pulse/s Output Monitor 22 to − − − Reserved Bit 0: Alarm (ALM) Bit 1: Warning (WARNG) Bit 2: Command Ready (CMDRDY) Bit 3: Servo ON (SVON) Bit 4: Main Power Supply ON (PON) Bit 5: Machine Lock (MLOCK) Bit 6: Zero Position (ZPOINT) Bit 7: Locating Completed (Positioning Completed)(PSET)
  • Page 384 (cont’d) Register No. Name Contents Servo Driver User Constant Reading Data (SERVOPACK Parameter Reading Stores the data of the parameter being read. Data for MECHATROLINK Command Area) Supplementary Servo Driver User Constant Reading Data (SERVOPCK Stores the data of the parameter being read. Parameter Reading Data for MECHATROLINK...
  • Page 385: F How To Set Up Communication Process

    Appendix F How to Set up Communication Process This section explains how to set up a communication process connecting the MPE720 and MP2300S. In MPE720 Ver6, set the communication process on the MPE720 screen. Prepare the following equipment to carry out this procedure:...
  • Page 386 E-TEST OFF ON Turn ON the 24-VDC power supply of the MP2300S, and confirm that the RDY, RUN, and IP LEDs are lit on the MP2300S main unit. When the IP LED is lit, you can confirm that the MP2300S side has successfully retrieved an IP address.
  • Page 387 Ethernet 218IF-02 218IFB Ethernet (LP) MP2300S Built-in Ethernet 218IFA When there are multiple LAN ports on the personal computer If there are multiple LAN ports on the personal computer, multiple IP addresses will be shown in the communication port. Select the IP address of the LAN port to which the cable is connected.
  • Page 388 A controller search list will appear. Select the found controller and click the Connection Button. Personal computer IP address MPE720 connects to the controller. A-34...
  • Page 389 Appendix G MSG-SND/ MSG-RCV Functions Message Transmit Function (MSG-SND) This section explains the message transmit function (MSG-SND) used in a ladder program when transmitting mes- sages. G.1.1 Specification Overview of the Message Transmit Function Function Name MSG-SND Transmits messages to a remote station on the circuit specified by the communication device type. Function Supports multiple protocols.
  • Page 390: Message Transmit Function (Msg-Snd

    G.1.2 I/O Item Details of the Message Transmit Function ( 1 ) Input Item The following table shows registers available for each input item. Input Item I/O Option Available Register Every bit type register Execute B-VAL (except #, C registers), Abort Same as above with subscript Dev-typ...
  • Page 391 Cir-No (line number) Specify a circuit number for the communication device. Specify it in accordance with the circuit number displayed in the MPE720 Module Configuration Definition Window. Circuit number Fig. G.1 MPE720 Module Configuration Definition Window The following table shows the scope of circuit numbers. Communication Device Valid Circuit Number Ethernet (218IF or 218IFA)
  • Page 392 Param (parameter list start address) Specify the start address of the parameter list. For the “parameter list,” 17 words are automatically assigned from the configured address. In the parameter list, enter the function code and its relevant parameter data. Also, pro- cess result and status are output.
  • Page 393 Error (error occurred) Specify a bit that reports that an error has occurred in the message transmission. When an error occurs, the Error bit will turn ON only for one scan. Note: For more information about the error cause, refer to G.1.4 ( 2 ) Process Result (PARAM00) on page A-42 and G.1.4 ( 3 ) Status (PARAM00) on page A-43.
  • Page 394: Sys Reserved

    G.1.3 Message Transmit Function Parameter List (Param) Overview The param of the MSG-SND function has a parameter list structure composed of 17 words. (The value of the Param itself is the start address (MA, DA) of the parameter list.) In the parameter list, enter a connection number, function code and its relevant parameter data. Process results and sta- tus are also output.
  • Page 395 G.1.4 Function Setting and Parameter Details for MEMOBUS and Extended MEMO- BUS Protocols This section explains the MSG-SND function setting and its parameter list details when MEMOBUS or Extended MEMOBUS is used as a protocol type. ( 1 ) Message Transmit Function Setting ( a ) 218IFA Setting Example An example of a function setting when 218IFA is used as a communication device follows: Set the protocol type to MEMOBUS even when used in Extended MEMOBUS protocol.
  • Page 396 ( 2 ) Process Result (PARAM00) Process result is output to the upper byte. Lower byte is used for system analysis. Value of Process Meaning Result In process (Busy) Process completed (Complete) Error occurred (Error) When an error occurs, take corrective action by referring to the following error contents: Value of Error Contents Description...
  • Page 397: Send_Ok

    ( 3 ) Status (PARAM00) Outputs status of the communication section (communication device). The following figure shows the bit assignment and the bit assignment details is listed in the table (a) and after. Bits 0 to 7 (d) PARAMETER Bits 8 to B (c) COMMAND Bits C to E (b) RESULT...
  • Page 398 ( d ) PARAMETER (parameter) When RESULT(process result) = 4 (FMT_NG: parameter format error), an error code in the table below is output. Otherwise, the connection number is output. RESULT (process result) Code (Hex) Meaning No error Connection number is out of range Time error for monitoring to receive MEMOBUS response When RESULT Error in setting retransmit count...
  • Page 399 ( 4 ) Connection Number (PARAM02) Specify the remote destination. When the communication device is Ethernet (218IF/218IFA), set the connection number. The following table shows the range of settings. Connection Communication Device Remarks Number Ethernet (218IF) 1 to 20 Transmits to the remote station set for the specified connection number. Ethernet (218IFA) 1 to 4 Same as above...
  • Page 400 ( 6 ) Function Code (PARAM04) Set a function code to transmit. The functions (read coil or input relay state, write to holding register, etc.) registered in the function codes are made available by specifying the code. The following table shows the function codes available when using a MEMOBUS or Extended MEMOBUS protocol. Table G.1 Function Code List (MEMOBUS, Extended MEMOBUS) Protocol Type Target Data...
  • Page 401 ( 7 ) Data Address (PARAM05) Specify the start address of the data. The address must be input in decimal or hexadecimal numbers. Example: When the start address is MW01000, specify “1000 (decimal)” or “3E8H (hexadecimal).” The range of data addresses may differ, depending on the function code. The following table shows the valid ranges of data addresses when using a MEMOBUS or Extended MEMOBUS pro- tocol.
  • Page 402 ( 8 ) Data Size (PARAM06) Set the data size (number of bits or words) for the read/write request. Be sure that the last data address determined based on the offset, data address, and data size does not go beyond the scope of the data addresses.
  • Page 403 Set a remote CPU number. When the remote device is MP2 00 series, specify “1”. When the remote device is a controller manufactured by YASKAWA Electric Corporation, but other than the MP2 00 series, and comprises multiple CPU modules, specify the destination CPU number.
  • Page 404 ( 11 ) Reserved by System 1 (PARAM12) Used by system (the channel number of the communication buffer in use is stored). Note: Before the first scan during power up, make sure to set it to “0” by using a user program. After that, the register is used by the system, so never change the value with the user program.
  • Page 405 G.1.5 Function Setting and Parameter Details for MELSEC Protocol This section explains MSG-SND function setting and its parameter list details when MELSEC is used as a protocol. ( 1 ) Message Transmit Function Setting ( a ) 218IFA Setting Example An example of a function setting when 218IFA is used as a communication device follows: Set the protocol type to MEMOBUS when used in MELSEC protocol.
  • Page 406 ( 5 ) Option (PARAM03) Choose a unique setting for each communication device. This is not used by the MELSEC protocol, and does not require setting when MELSEC is used. ( 6 ) Function Code (PARAM04) Set a function code to transmit. The functions (read bit/word device, write to word device, etc.) registered in the function codes are made available by specifying the code.
  • Page 407 ( 7 ) Data Address (PARAM05) Specify the start address of the data. The address must be input in decimal or hexadecimal numbers. Example: When the start address is MW01000, specify “1000 (decimal)” or “3E8H (hexadecimal).” The valid range of usable function codes and data addresses may differ, depending on the device type and device range of the MELSEC side.
  • Page 408 ( 8 ) Data Size (PARAM06) Set the data size (number of bits or words) for the read/write request. Be sure that the last data address determined based on the offset, data address, and data size does not go beyond the scope of the data addresses.
  • Page 409 ( 9 ) Remote CPU Number (PARAM07) Refer to G.1.4 ( 9 ) Remote CPU Number (PARAM07) on page A-49. ( 10 ) Offset (PARAM08, PARAM09, PARAM10, PARAM11) Specify the offset addresses of the read data storage area and the write data source of the transmission side. The address for the transmission side will be displaced by the number of words designated by the offset.
  • Page 410 G.1.6 Function Setting and Parameter Details for MODBUS/TCP Protocol This section explains the MSG-SND function setting and its parameter list details when MODBUS/TCP is used as a protocol type. ( 1 ) Message Transmit Function Setting ( a ) 218IFA Setting Example An example of a function setting when 218IFA is used as a communication device follows: Set the protocol type to MEMOBUS when used in MODBUS/TCP protocol.
  • Page 411 ( 4 ) Connection Number (PARAM02) Refer to G.1.4 ( 4 ) Connection Number (PARAM02) on page A-45. ( 5 ) Option (PARAM03) Choose a unique setting for each communication device. The following table provides the scope of the setting. Communication Device Valid Range Remarks...
  • Page 412 ( 7 ) Data Address (PARAM05) Specify the start address of the data. The address must be a decimal or hexadecimal number. Example: When the start address is MW01000, specify “1000 (decimal)” or “3E8H (hexadecimal).” The range of data addresses may differ according to the function code. The following table gives the valid ranges of data addresses when using MODBUS/TCP as a protocol.
  • Page 413 2. Address table An address table used for the read/write request to the multiple holding registers is used for specifying addresses indirectly in order to indicate read/write data. The four words of addresses at the beginning of the M register set by PARAM05 (data address) are used as an address table. For the address table, specify a data address and data size for reading and a data address and data size for writing.
  • Page 414 ( 9 ) Remote CPU Number (PARAM07) Refer to G.1.4 ( 9 ) Remote CPU Number (PARAM07) on page A-49. ( 10 ) Offset (PARAM08, PARAM09, PARAM10, PARAM11) Specify the offset addresses of the read data storage area and the write data source of the transmission side. The address for the transmission side will be displaced by the number of words designated by the offset.
  • Page 415 G.1.7 Function Setting and Parameter Details for Non-procedural Protocol This section explains the MSG-SND function setting and its parameter list details when non-procedure is used as a pro- tocol. Note: Non-procedure communication protocol transmits the M register content intact without a protocol conver- sion.
  • Page 416 ( 2 ) Process Result (PARAM00) The process result is output to the upper byte. The lower byte is used for system analysis. Value of Process Meaning Result In process (Busy) Process completed (Complete) Error occurred (Error) When an error occurs, take corrective action by referring to the following error contents: Value of Process Error Contents Description...
  • Page 417: Code (Hex) Abbreviation U_Send U_Rec Abort

    ( 3 ) Status (PARAM01) Outputs status of the communication section (communication device). The following figure illustrates bit assignment. Bit assignment details are listed in the table below. BIts 0 to 7 (d) PARAMETER Bits 8 to B (c) COMMAND Bits C to E (b) RESULT Bit Fit...
  • Page 418 ( d ) PARAMETER (parameter) When RESULT (process result) = 4 (FMT_NG: parameter format error), an error code in the table below is output. Otherwise, the connection number is output. RESULT (process result) Code (Hex) Meaning No error Connection number is out of range Time error while monitoring to receive MEMOBUS response (for MEMOBUS protocol) When RESULT...
  • Page 419 ( 6 ) Data Size (PARAM06) Set the data size (number of bits or words) for the write request. Be sure that the last data address determined based on the offset, data address, and data size does not go beyond the scope of the data addresses.
  • Page 420 G.1.8 Relationship between Data Address, Data Size, and Offset for MSG-SND Function The relationship between data address, data size, and offset is as follows, when transmitted with offset: ( 1 ) When Reading MP2 00 series (transmission: master) Remote device (reception: slave) Coil, input relay, input register, and holding registers M register...
  • Page 421 ( 2 ) When Writing MP2 00 series (transmission: master) Remote device (reception: slave) M register Coil and holding registers MW00000 Offset A Data address B Data address B Data Data size C MWxxxxx Data size C Data *The data type of the remote device is not determined Start address of the in non-procedural protocol mode.
  • Page 422 Example: When reading coil state with offset: The various setting values and their relationships with the data of the remote device are as follows, when transmitting “reading coil state” with offset in MEMOBUS protocol: • Description of the MSG-SND function in ladder program MSG-SND Communication device = 218IFA DB000201...
  • Page 423 The following figure shows the data flow when transmitting “reads coil state” with offset: When transmission and reception are carried out normally in the figure below, the coil state in the device is stored in MW01512 and after of MP2300S. MP2300S series (transmission: master)
  • Page 424 Message Receive Function (MSG-RCV) This section explains how the message receive function (MSG-RCV) is used in a ladder program when receiving mes- sages. G.2.1 Specification Overview of the Message Receive Function Function Name MSG-RCV Receives messages from the remote station on the circuit specified by the communication device type. Supports Function multiple protocol types.
  • Page 425 G.2.2 I/O Item Details of the Message Receive Function ( 1 ) Input Item The following table indicates the registers available for each input item. Input Item I/O Option Available Register Every bit type register Execute B-VAL (except #, C registers), Abort Same as above with subscript Dev-typ...
  • Page 426 Cir-No (circuit number) Specify a circuit number for the communication device. Specify it in accordance with the circuit number displayed in the MPE720 Module Configuration Definition Window. Circuit number Fig. G.9 MPE720 Module Configuration Definition Window The following table indicates the range of valid circuit numbers. Communication device Valid Circuit Number Ethernet (218IF 218IFA)
  • Page 427 Param (parameter list start address) Specify the start address of the parameter list. For the “parameter list,” 17 words are automatically assigned from the configured address. In the parameter list, enter the function code and its relevant parameter data. Addition- ally, process result and status are output.
  • Page 428 Note: For more information about the error cause, refer to G.2.4 ( 2 ) Process Result (PARAM00) on page A-78 and G.2.4 ( 3 ) Status (PARAM01) on page A-79. A timing chart of bit type I/O items in the MSG-RCV function follows: [In Normal Condition] To continuously command the receive execution, keep Execute ON after the process is completed.
  • Page 429: Message Receive Function (Msg-Rcv

    G.2.3 Message Receive Function Parameter List (Param) Overview Param of the MSG-RCV function has a parameter list structure composed of 17 words. (The value of Param itself is the start address (MA, DA) of the parameter list.) In the parameter list, enter the function code and its relevant parameter data. Process result and status are also output. When MEMOBUS and non-procedure are used as a transmission protocol, the parameter list is as follows: Note: Parameter details are explained in the parameter details for each protocol type.
  • Page 430 ( 1 ) MEMOBUS Parameter List Param No. IN/OUT Contents Description Process result Outputs process results. Status Outputs the status of the communication device. Connection number Specifies the remote source. Option Outputs a unique value for each communication device. Function code Outputs a function code requested from the transmission side.
  • Page 431 G.2.4 Function Setting and Parameter Details for MEMOBUS and Extended MEMO- BUS Protocols This section explains the MSG-RCV function setting and its parameter list details when MEMOBUS or Extended MEMOBUS is used as a protocol. ( 1 ) Message Receive Function Setting [ a ] 218IFA Setting Example An example of a function setting when 218IFA is used as a communication device follows: Set the protocol type to MEMOBUS even when used in Extended MEMOBUS protocol.
  • Page 432 ( 2 ) Process Result (PARAM00) The process result is output to the upper byte. The lower byte is used for system analysis. Value of Process Meaning Result In process (Busy) Process completed (Complete) Error occurred (Error) When an error occurs, take corrective action by referring to the following error contents: Value of Process Error Contents Description...
  • Page 433 ( 3 ) Status (PARAM01) Outputs status of the communication section (communication device). The following figure shows the bit assignment. Bit assignment details are listed in the tables following. Bits 0 to 7 (d) PARAMETER Bits 8 to B (c) COMMAND Bits C to E (b) RESULT Bit F...
  • Page 434 [ d ] PARAMETER (parameter) When RESULT(process result) = 4 (FMT_NG: parameter format error), an error code in the table below is output. Oth- erwise, the connection number is output. RESULT (process result) Code (Hex) Meaning No error Connection number is out of range Time error for monitoring to receive MEMOBUS response When RESULT (process re- Error in setting retransmit count...
  • Page 435 Fig. G.11 218IF Parameter Setting Screen for the MPE720 Module Configuration Definition Window ( 5 ) Option (PARAM03) A unique value is output for each communication device. Not used for the MEMOBUS or Extended MEMOBUS protocols. A-81...
  • Page 436 When the remote equipment is MP2 00 series, “1” is output. When the remote equipment is a controller manufactured by YASKAWA Electric Corporation other than MP2 00 series and is comprised of multiple CPU modules, the remote CPU number is output.
  • Page 437 ( 10 ) Offset (PARAM08, PARAM09, PARAM10, PARAM11) Specify an offset address for the reception side data address. The address for the reception side will be displaced by the number of words designated by the offset. Note: 1. For more information, refer to G.2.8 Relationship between Data Address, Data Size, and Offset for MSG-RCV Function on page A-98.
  • Page 438 ( 11 ) Write Range (PARAM12, PARAM13) Sets an available address range for the write request from the transmission side. A write request which is out of this available address range will cause an error. Specify the address range (PARAM12, PARAM13) as a word address. Note: 1.
  • Page 439 G.2.5 Function Setting and Parameter Details for MELSEC Protocol This section explains the MSG-RCV function setting and its parameter list details when MELSEC is used as a protocol. ( 1 ) Message Receive Function Setting [ a ] 218IFA Setting Example An example of a function setting when 218IFA is used as a transmission device follows: Set the protocol type to MEMOBUS when used in MELSEC protocol.
  • Page 440 ( 5 ) Option (PARAM03) A unique value is output for each communication device. Not used for the MELSEC protocol. ( 6 ) Function Code (PARAM04) Received function code is output. The following table lists the function codes available when using the MELSEC protocol. Table G.24 Function Code List (MELSEC) MELSEC ACPU Target Data...
  • Page 441 ( 10 ) Offset (PARAM08, PARAM09, PARAM10, PARAM11) Specify an offset address for the reception side data address. The address for the reception side will be displaced by the number of words designated by the offset. Note: 1. For more information, refer to G.2.8 Relationship between Data Address, Data Size, and Offset for MSG-RCV Function on page A-98.
  • Page 442 ( 11 ) Write Range (PARAM12, PARAM13) Sets an available address range for a write request from the transmission side. A write request which is out of this avail- able address range will cause an error. Specify the address range (PARAM12, PARAM13) as a word address. Note: 1.
  • Page 443 G.2.6 Function Setting and Parameter Details for MODBUS/TCP Protocol This section explains the MSG-RCV function setting and its parameter list details when MODBUS/TCP is used as a protocol. ( 1 ) Message Receive Function Setting [ a ] 218IFA Setting Example An example of a function setting when 218IFA is used as a transmission device follows: Set the protocol type to MEMOBUS when used in MODBUS/TCP protocol.
  • Page 444 ( 3 ) Status (PARAM01) Refer to G.2.4 ( 3 ) Status (PARAM01) on page A-79. ( 4 ) Connection Number (PARAM02) Refer to G.2.4 ( 4 ) Connection Number (PARAM02) on page A-80. ( 5 ) Option (PARAM03) A unique value is output for each communication device. The output details are as follows: Communication device Output Details Ethernet (218IF 218IFA)
  • Page 445 ( 7 ) Data Address (PARAM05) A data address requested from the transmission side is output. However, when reading/writing multiple holding registers (function code: 17H), enter a start M register number for the address table. The four words of addresses at the beginning of the M register set by PARAM05 (data address) are used as an address table.
  • Page 446 Note: 1. In MP9 0/MP2 00 series, the data storage area for the write request from the transmission side is the M register. 2. The write range parameter enables you to specify the range of the M register which permits writing messages.
  • Page 447 G.2.7 Function Setting and Parameter Details for Non-procedural Protocol This section explains the MSG-RCV function setting and its parameter list details when non-procedure is used as a pro- tocol. Note: Non-procedure communication protocol stores the received data in the M register intact without a proto- col conversion.
  • Page 448 ( 2 ) Process Result (PARAM00) The process result is output to the upper byte. The lower byte is used for system analysis. Value of Process Meaning Result In process (Busy) Process completed (Complete) Error occurred (Error) When an error occurs, investigate it by referring to the following error contents: Value of Process Error Contents Description...
  • Page 449 ( 3 ) Status (PARAM01) Outputs status of the communication section (communication device). The following figure shows the bit assignment. The bit assignment details are listed in the following tables. Bits 0 to 7 (d) PARAMETER Bits 8 to B (c) COMMAND Bits C to E (b) RESULT...
  • Page 450 [ d ] PARAMETER (parameter) When RESULT (process result) = 4 (FMT_NG: parameter format error), an error code in the following table is output. Otherwise, the connection number is output. RESULT (process result) Code (Hex) Meaning No error Connection number is out of range Time error while monitoring to receive MEMOBUS response (for MEMOBUS protocol) When RESULT (process re-...
  • Page 451 ( 7 ) Write Range HI (PARAM13) Sets an available address range for the write request from the transmission side. A write request which is out of this available address range will cause an error. Specify the write range (PARAM13) as a word address. Note: The write range parameter enables you to specify the range of the M register which permits writing mes- sages.
  • Page 452 G.2.8 Relationship between Data Address, Data Size, and Offset for MSG-RCV Function The relationships between data address, data size, and offset when received with offset are as follows: ( 1 ) When Reading MP2 00 series (reception: slave) Remote device (transmission: master) M register MW00000 Offset A...
  • Page 453 ( 2 ) When Writing MP2 00 series (reception: slave) Remote device (transmission: master) Write range LO M register MW00000 Offset A Start address of the write data Data address B Data Data size C Data size C Data Write range HI Data flow when writing ♦...
  • Page 454 Example: “Writes to multiple holding registers” with offset is received: When “writes to multiple holding registers” with offset is received in MEMOBUS protocol, various setting values and the relationship with the data of remote equipment are as follows: • Description of the MSG-RCV function in ladder program MSG-RCV Communication device = 218IFA DB000201...
  • Page 455 The following figure shows the data flow when receiving “writes to multiple holding registers” with offset: When transmission and reception are carried out normally in the figure below, the data in the remote device is stored in MW03000 and after of MP2300S. MP2300S series (reception)
  • Page 456: Communication Buffer Channel

    Communication Buffer Channel A communication buffer channel is used for giving and receiving data between the MSG-SND/ MSG-RCV function and communication device. This data buffer is composed of single or multiple channels, and each channel is distin- guished by a communication buffer channel number. The communication buffer channel is associated with a connection by setting the input item Ch-No (communication buffer channel number) of the MSG-SND/ MSG-RCV function and PARAM02 (connection number) in Param (param- eter list).
  • Page 457 MP2300S Remote device #1 Remote device #2 Ethernet Ethernet Ethernet Local IP Address Remote IP Address Remote IP Address 192.168.1.x 192.168.1.y 192.168.1.z Ethernet Network block diagram The connection is set in the 218IFA Parameter Setting screen of the MPE720 Module Configuration Definition Window.
  • Page 458 Index INDEX daily inspections - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 8-2 data registers- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-36 data types - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-39 definition information updated with self-configuration - - - - - - - 5-51 details of program information used by work n- - - - - - - - - - - - - 5-27...
  • Page 459 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-36 MP2300S Modules - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-4...
  • Page 460 - - - - - - - - - - - - - - - - - - - - - - - - - - 7-3 when the MP2300S acts as a slave SRAM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-5...
  • Page 461 Revision History The revision dates and numbers of the revised manuals are given on the bottom of the back cover. MANUAL NO. SIEP C880732 00A Published in Japan November 2007 07-11 Date of Date of original publication publication Rev. Date of Publication Section Revised Contents Rev.
  • Page 462 No.18 Xizang Zhong Road. Room 1702-1707, Harbour Ring Plaza Shanghai 200001, China Phone 86-21-5385-2200 Fax 86-21-5385-3299 YASKAWA ELECTRIC (SHANGHAI) CO., LTD. BEIJING OFFICE Room 1011A, Tower W3 Oriental Plaza, No.1 East Chang An Ave., Dong Cheng District, Beijing 100738, China...

This manual is also suitable for:

Jepmc-mp2300s-e

Table of Contents