Mitsubishi Electric MAC 10 Specifikace

Procházejte online nebo si stáhněte Specifikace pro ne Mitsubishi Electric MAC 10. Mitsubishi Electric MAC 10 Specifications Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 228
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Ethernet course(Q-series)
Mitsubishi Programmable Logic Controller Training Manual
Ethernet course(Q-series)
Ethernet course(Q-series)
Mitsubishi Programmable
Logic Controller
Training Manual
MODEL
MODEL
CODE
SCHOOL-Q-ETHERNET-E
13JW51
SH(NA)-080618ENG-A(0601)MEE
Specifications subject to change without notice.
When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN
Zobrazit stránku 0
1 2 3 4 5 6 ... 227 228

Shrnutí obsahu

Strany 1 - Ethernet course(Q-series)

Ethernet course(Q-series)Mitsubishi Programmable Logic Controller Training ManualEthernet course(Q-series)Ethernet course(Q-series)Mitsubishi Program

Strany 2

A - 8 MEMO

Strany 3 - SAFETY PRECAUTIONS

5 - 32 (1) Flowchart (a) cmdOpen_Click() (Operation by clicking the Open button) Refer to Section 5.4.1 (1) (a). (b) cmdOpen_Click() (Operation

Strany 4 - REVISIONS

5 - 33 (e) lblON_OFF_DblClick() (Operation when double-clicking a label) STARTENDYesNoDisplay of labelChange to " "Is the display of labe

Strany 5

5 - 34 5.5.2 Operation of demonstration machine The program is executed, and the device value of the PLC CPU is changed. (1) Program screen The fol

Strany 6

5 - 35 Continued from the previous page 4) Click the Open button to open the communication line. When opening normally, "Communication line

Strany 7

5 - 36 Continued from the previous page 9) Check the written numerical value in the MX Component. (*1) Refer to Section 5.4.2 (3), start up &qu

Strany 8

5 - 37 Continued from the previous page 13) Click the Exit button to complete the program. Reading the following project file is enabled. *1

Strany 9

5 - 38 MEMO

Strany 10

6 - 1 CHAPTER 6 ASSIGNMENT II (FIXED BUFFER COMMUNICATION BETWEEN PLC CPUS (PROCEDURE EXIST)) In this assignment, the exercise of the fixed buffer co

Strany 11 - Maximum

6 - 2 (2) Exercise description Display the information about X0 to X7 and about X20 to X2F of the PLC CPU on the sending side on Y70 to Y77 and Y40 t

Strany 12 - Destination

6 - 3 6.2 Ethernet Module Settings on the Sending Side The Ethernet module settings on the sending side are performed. 6.2.1 Setting parameters wi

Strany 13 - Host part(8)

1 - 1 Chapter 1 BASICS OF ETHERNET NETWORK Note This textbook mainly describes how to use MELSEC-Q Series Ethernet module. For details of general c

Strany 14 - 1111 1111 000000

6 - 4 Continued from the previous page 4) Set the following contents of the Network parameters Setting the number of MNET/10H Ethernet cards scr

Strany 15

6 - 5 Continued from the previous page 9) Click the Endbutton to close the Network parameter Ethernet open settings screen. 10) Click the End

Strany 16 - Selection of paths

6 - 6 6.2.2 Sequence program Create a sequence program to send data to the PLC CPU on the receiving side. Perform the open processing for the connect

Strany 17

6 - 7 (2) Sequence program For details on dedicated instructions, refer to Chapter 10 of Q Corresponding Ethernet Interface Module User's Manual

Strany 18 - IP network1 1-11-2

6 - 8 Send completionSend error completionSend error completionError LED offError clear switchCOM. ERR LED on confirmationCOM. ERR LED off requestCOM

Strany 19 - Application program E

6 - 9 6.3 Ethernet Module Settings on the Receiving Side The Ethernet module settings on the receiving side are performed. 6.3.1 Setting parameter

Strany 20

6 - 10 Continued from the previous page 4) Set the following contents of the Network parameters Setting the number of MNET/10H Ethernet cards sc

Strany 21

6 - 11 Continued from the previous page 9) Click the Endbutton to close the Network parameter Ethernet open settings screen. 10) Click the E

Strany 22

6 - 12 6.3.2 Sequence program Create a sequence program that performs the receive processing for the data sent from the external device. When the dat

Strany 23 - H to FFH can be processed

6 - 13 (2) Sequence program For details on dedicated instructions, refer to Chapter 10 of Q Corresponding Ethernet Interface Module User's Manua

Strany 24

1 - 2 1.2 Addresses The devices and computers connected to Ethernet must have their own addresses to communicate on the network. For Ethernet, the a

Strany 25

6 - 14 6.4 PING Test Using GX Developer (Via CPU) Execute the PING test using the GX Developer. The PING test is performed to check that the initial

Strany 26 - Supported

6 - 15 Continued from the previous page 4) Click the PING test button. 5) The PING test screen appears. Set as follows. Network No. : 1

Strany 27 - MELSECNET/H

6 - 16 REMARK The following example illustrates how to confirm the completion of the initial processing by issuing the PING command to the local stat

Strany 28 - Personal computer

6 - 17 6.5 Operation of Demonstration Machine Operate the demonstration machine to confirm that data is sent from the PLC CPU A (sending side) to th

Strany 29 - (Access station)

6 - 18 Continued from the previous page OFFX8ON 7) After the check on the I/O panel is completed, turn OFF "X8" of the PLC CPU A and co

Strany 30 - Data receiving

7 - 1 CHAPTER 7 ASSIGNMENT III (FIXED BUFFER COMMUNICATION BETWEEN PLC CPUS (NO PROCEDURE)) In this assignment, the exercise of fixed buffer communic

Strany 31 - PLC CPU (Access station)

7 - 2 (2) Exercise description Display the information about X0 to X7 and about X20 to X2F of the PLC CPU A on Y70 to 77 and Y40 to Y4F of the PLC CP

Strany 32

7 - 3 7.2 Ethernet Module Settings (PLC A1 to A5) The Ethernet module settings on PLC A1 to A5 side are performed. 7.2.1 Setting parameters with G

Strany 33 - GX Developer

7 - 4 Continued from the previous page 4) Set the following contents of the "Network parameters Setting the number of MNET/10H Ethernet card

Strany 34 - Ethernet module

7 - 5 Continued from the previous page 8) Set the following contents. Protocol : TCP Open system : Active Fixed buffer communication procedure

Strany 35

1 - 3 1.2.2 IP address The IP address (Internet Protocol Address) is an identification number assigned to identify each device or computer connected

Strany 36

7 - 6 7.2.2 Sequence program Create a sequence program. Perform the open processing (Paring open specification) for connection 1 and connection 2 wit

Strany 37

7 - 7 (1) List of devices to be used Device name Description Device name Description SM400 Normally ON X20 to X2F Data to be sent to the PLC C

Strany 38

7 - 8 (2) Sequence program For details on dedicated instructions, refer to Chapter 10 of Q Corresponding Ethernet Interface Module User's Manual

Strany 41 - H… b0) turns on and data

7 - 11 7.3 Ethernet Module Settings (PLC B1 to B5) The Ethernet module settings on the PLC B1 to B5 side are performed. 7.3.1 Setting parameters wi

Strany 42

7 - 12 Continued from the previous page 4) Set the following contents of the "Network parameters Setting the number of MNET/10H Ethernet

Strany 43 - (Active open acceptable)

7 - 13 Continued from the previous page 8) Set the following contents. Protocol : TCP Open system : Unpassive Fixed buffer communication p

Strany 44

7 - 14 7.3.2 Sequence program Create a sequence program. Establish a connection with Active open of the PLC CPUs on the A1 to A5 side, and then send

Strany 45 - H … b0): ON)

7 - 15 (1) List of devices to be used Device name Description Device name Description SM400 Normally ON Y40 to Y4F Stores the information of X2

Strany 46

1 - 4 The address management was once carried out in this class unit. Nowadays the class address with the variable-length border bit number is used f

Strany 47

7 - 16 (2) Sequence program For details on dedicated instructions, refer to Chapter 10 of Q Corresponding Ethernet Interface Module User's Manual

Strany 49

7 - 18 7.4 PING Test Using GX Developer (Via CPU) Execute the PING test using the GX Developer. The PING test is used to check that the initial proc

Strany 50

7 - 19 7.5 Operation of Demonstration Machine By operating the demonstration machine, confirm that data is sent and received between the PLC A and t

Strany 51

7 - 20 Continued from the previous page OFFX8ON 7) After checking the I/O panel is completed, turn OFF "X8" on the I/O panel on the se

Strany 52 - *1 The e-mail

8 - 1 CHAPTER 8 ASSIGNMENT IV (FIXED BUFFER COMMUNICATION BETWEEN PLC CPUS VIA ROUTER (NO PROCEDURE)) In this assignment, data communication via rout

Strany 53

8 - 2 8.2 Ethernet Module Settings (PLC A1 to A5) The Ethernet module settings on the PLC A1 to A5 side are performed. 8.2.1 Setting parameters wi

Strany 54

8 - 3 Continued from the previous page 4) Set the following contents of the "Network parameters Setting the number of MNET/10H Ethernet card

Strany 55

8 - 4 Continued from the previous page 8) Set the following contents. Protocol : TCP Open system : Active Fixed buffer communication procedu

Strany 56

8 - 5 Continued from the previous page 12) Click the End button to close the "Network parameters Setting the number of MNET/10H Ethernet

Strany 57

1 - 5 REMARK Special IP addresses (1) All bits are 0 or 1 The IP address 0.0.0.0 is used when you do not know your own IP address or it is not nece

Strany 58 - Twisted-pair cable

8 - 6 8.3 Ethernet Module Settings (PLC B1 to B5) The Ethernet module settings on the PLC B1 to B5 side are performed. 8.3.1 Setting parameters wi

Strany 59

8 - 7 Continued from the previous page 4) Set the following contents of the "Network parameters Setting the number of MNET/10H Ethernet car

Strany 60

8 - 8 Continued from the previous page 8) Set the following contents. Protocol : TCP Open system : Unpassive Fixed buffer communication proc

Strany 61

8 - 9 Continued from the previous page 13) Click the button. (Overwriting the project) 14) Set Drive/Path and Project name, then click the Sav

Strany 62

8 - 10 8.4 PING Test from Personal Computer The PING test is performed from the personal computer that executed the exercise of the MX Component to

Strany 63 - Target device 4

App - 1 APPENDIX Appendix 1 Visual Basic® Version 6 Appendix 1.1 Startup of Visual Basic® [Startup] 1) Click [Start] – [All Programs] – [Microsoft

Strany 64

App - 2 [Visual Basic® screen] 6) Code window2) Toolbox 1) Toolbar 3) Form window 4) Project window5) Properties window 1) Toolbar The commands

Strany 65

App - 3 [Display of Form window] Select the form module file from the Project window and click the [Form] button. [Display of Code window] Double

Strany 66 - H) error codes of

App - 4 Appendix 1.2 Outline Command For...Next statement Functions The flow control statement which repeats a series of statements for the d

Strany 67

App - 5 Explanation For the argument step, positive values and negative values can be designated. Depending on the designated value in the argu

Strany 68

1 - 6 1.3 Communication Protocol The MELSEC-Q Ethernet module described here supports two communication protocols, TCP/IP and UDP/IP. 1.3.1 Communic

Strany 69 - CHAPTER 5 ASSIGNMENT I

App - 6 Hex function Functions Returns a character string which indicates the designated value in hexadecimal. Format Hex(number) For an a

Strany 70 - MELSEC-Q

App - 7 If...Then...Else statement Functions The flow control statement which performs the execution with condition based on thevalue of an exp

Strany 71 - (Use connection 1)

App - 8 Caution Though the first syntax can describe several statements for one condition, it is necessaryto describe it in one line dividing with

Strany 72

App - 9 Appendix 1.3 Term Form A window which forms the basis of an application interface An application consists of at least one form. Control

Strany 73

App - 10 Appendix 1.4 Toolbox List When arranging a control to a form, the buttons on the toolbox can be used. Control Function Pointer Moves a

Strany 74

App - 11 The control that is not provided for the standard toolbox is called the ActiveX control. The custom control can add/delete a control usin

Strany 75

App - 12 Appendix 1.5 Toolbar List The following buttons are provided to easily call out frequently-used commands. Button Name Function Standar

Strany 76

App - 13 Button Name Function Start Executes the application that has been created at design. Break Cancels the execution of the program, and

Strany 77

App - 14 Appendix 1.6 Property List Property Description Action Operation to be executed by the OLE client ActiveContol Control with focus Activ

Strany 78

App - 15 Property Description Default Command button used by default DisplayType Sets an object display form. DownPicture Sets a picture to be

Strany 79

1 - 7 <Ethernet module and communication model> The following shows the software configuration of the Ethernet module corresponding to the &quo

Strany 80

App - 16 Property Description Instancing Sets the instance operation of the ActiveX class module. IntegralHeight Automatically changes a list he

Strany 81

App - 17 Property Description ObjectAcceptFormats Data format list that can be accepted in an object ObjectAcceptFormatsCount Number of factors i

Strany 82

App - 18 Property Description SizeMode Sets the display methods of a OLE container size or image when an object is in. SmallChange Amount of a s

Strany 83

App - 19 Appendix 1.7 Method List Method Description AddItem Adds items to the list box, grid, etc. Arrange Aligns windows and icons on the MDI

Strany 84

App - 20 Method Description ReadFromFile Reads an object from the data file created with the SaveToFile method. Refresh Updates a form or contro

Strany 85 - E71-1.VBP

App - 21 Appendix 1.8 Function List Function Description Abs Returns the absolute value of mathematical expression. Array Returns the variant va

Strany 86

App - 22 Function Description Exp Exponential function FileAttr Returns the file handle information of OS or the file mode. FileDateTime Returns

Strany 87

App - 23 Function Description IsObject Returns whether an object is actually referred by an expression or not. Join Returns the character string

Strany 88

App - 24 Function Description Rnd Generates a random number. Round Returns a numerical value rounded at the designated decimal point RTrim,RTrim

Strany 89

App - 25 Appendix 2 MX Component Appendix 2.1 Functions of MX Component The MX Component is used to access to the PLC CPU via various communicatio

Strany 90 - Complete the program

1 - 8 1.3.2 IP protocol (1) Role of IP IP is a network layer protocol which is processed by all devices connected to an IP network. The most importan

Strany 91

App - 26 (2) Substantial improvement in user's development efficiency The MX Component comes with the wizard type communication setting util

Strany 92

App - 27 (6) Read and write of PLC CPU clock data You can read and write the clock data of the PLC CPU connected to the DOS/V personal computer.

Strany 93

App - 28 (9) A wide variety of programming languages MX Component supports VBScript and VBA as well as Visual Basic® and Visual C++®. (a) Creati

Strany 94

App - 29 (b) VBA-driven data collection and monitoring function Programming using VBA (*1) allows Excel or Access functions to be utilized to cre

Strany 95

App - 30 Appendix 2.2 Function List The following shows the function list of the MX Component. (1) to (4) indicate the details of the functions us

Strany 96

App - 31 (1) Open (Open of communication line) (a) Function Opens a communication line. (b) Format Visual Basic®, Visual C++®, VBA: lRet = objec

Strany 97 - E71-2.VBP

App - 32 (3) ReadDeviceRandom (Random read of devices) (a) Usable ACT control Usable for all ACT controls. (b) Function Randomly reads devices

Strany 98

App - 33 (e) Device designation The following explains how to designate devices. (Example 1) When designating as follows (three device points) Wh

Strany 99

App - 34 (4) WriteDeviceRandom (Random write of devices) (a) Usable ACT control Usable for all ACT controls. (b) Function Randomly writes devi

Strany 100

App - 35 (e) Device designation The following explains how to designate devices. (Example 1) When designating as follows (three device points) Whe

Strany 101

1 - 9 1.3.3 TCP and UDP TCP and UDP are protocols which are processed by the devices and PCs on the both ends of communication (Transport layer). (1

Strany 102

App - 36 Appendix 2.3 Error code List The following explains the error codes to be returned by the ACT control and by the PLC CPU, intelligent fun

Strany 103 - Y70Y71Y72Y73Y74Y75Y76Y77

App - 37 Error code Description of error Corrective action 0x01801007 Designated CPU error Check the station No. designated at ActCpuType. Con

Strany 104

App - 38 Error code Description of error Corrective action 0x01802016 Station No. designation error The method does not support the operation fo

Strany 105

App - 39 Error code Description of error Corrective action 0x01808009 COM port handle error The handle of COM port cannot be acquired. The COM p

Strany 106

App - 40 Error code Description of error Corrective action 0x01808304 Insufficient size of the receive buffer The receive data is greater than t

Strany 107 - CPUS (PROCEDURE EXIST))

App - 41 Error code Description of error Corrective action 0x01808502 USB driver connection error The USB driver connection has failed. Complete

Strany 108

App - 42 Error code Description of error Corrective action 0x10000033 Designated device range error Review the contents of the designated devic

Strany 109

App - 43 Error code Description of error Corrective action 0x1000005 Size error The size designated in the read/write method is error. The read/

Strany 110

App - 44 (2) Error codes returned from PLC CPU, intelligent function module and network board. The following explains the error codes returned fr

Strany 111

App - 45 2) When using AJ71E71, AJ71QE71 If the lower two bytes error code that is occurred during the E71 and QE71 communications are not listed

Strany 113

1 - 10 (2) Comparison between TCP and UDP The request level for the network differs depending on the user application. However, it is difficult to c

Strany 114

App - 46 Appendix 3 Connecting GX Developer to PLC CPU via Ethernet This section describes how to operate GX Developer to access a PLC CPU via an

Strany 115

App - 47 1) Connect the GX Developer and Ethernet module to the Ethernet. 2) Click the [Online] [Transfer setup] menu. 3) Select "E

Strany 116

App - 48 Continued from the previous page 5) Select "Other station (Single network)". 6) Click the Connection test button to

Strany 117

App - 49 Appendix 4 Troubleshooting This section explains the contents of the errors that may occur during communications between the Ethernet mod

Strany 118

App - 50 Appendix 4.1 How to Check Errors Using LED Displays This section describes the errors that can be checked with the LED displays on the fr

Strany 119

App - 51 (From the previous page) LED name Status to check Cause/corrective action 5 [RD] [RD] LED stays off and data cannot be received. 1)

Strany 120

App - 52 Appendix 4.1.2 How to turn off COM.ERR. LED and to read/clear error information This section explains how to turn off the [COM.ERR.] LED

Strany 121 - <Abnormal completion>

App - 53 Appendix 4.2 How to Check an Error Through GX Developer The status of the various settings for the Ethernet module can be checked using t

Strany 122

App - 54 Appendix 4.2.1 Ethernet diagnostics [Purpose] The module status of the Ethernet module, parameter settings, communication status, error l

Strany 123 - <Receiving side>

App - 55 Appendix 4.2.2 System monitor The module status of an Ethernet module can be checked from the system monitor. (1) Checking the module s

Strany 124 - QJ71E71-100

1 - 11 1.4 MELSEC-Q Ethernet Module 1.4.1 Role of Ethernet module The Ethernet module supports the data communications between external devices and

Strany 125

App - 56 (2) Checking the LED on/off status and operation mode number on the H/W information screen of the diagnostic functions [Start Procedure

Strany 126

App - 57 Appendix 5 DEDICATED INSTRUCTIONS Dedicated instructions are used to simplify the programming for using the functions of the intelligent

Strany 127

App - 58 Appendix 5.2 OPEN Instruction This instruction establishes a connection (open processing) with an external device to perform the data com

Strany 128

App - 59 Control data Device Item Setting data Setting range Set by (*1) (S2)+0 Execution type/complete type • Designate which settings to us

Strany 129

App - 60 Functions (1) This instruction performs the open processing for a connection specified by (S1) for the module designated by Un. The sele

Strany 130

App - 61 Program example A program that opens the connection 1 for the TCP/IP communication (Active open): When the input/output signals of the Et

Strany 131

App - 62 Appendix 5.3 CLOSE Instruction This instruction disconnects (closes) a connection by which data was communicated with an external device.

Strany 132

App - 63 Functions (1) This instruction closes the connection specified by (S1) for the module designated by Un. (Disconnection) (2) Whether or

Strany 133

App - 64 Program example A program that closes the connection number 1: When the input/output signals of the Ethernet module are X/Y00 to X/Y1F

Strany 134

App - 65 Appendix 5.4 BUFSND Instruction This instruction sends data to an external device through thefixed buffer communication. Applicable devi

Strany 135

1 - 12 1.4.2 Outline of Ethernet module (1) Supporting the TCP/IP and UDP/IP communications The Ethernet module supports the TCP/IP and UDP/IP co

Strany 136

App - 66 Functions (1) This instruction sends the data designated by (S3) to the external device of the connection specified by (S1) for the modu

Strany 137

App - 67 Program example A program that sends data from the fixed buffer of the connection number 1: When the input/output signals of the Ethernet

Strany 138

App - 68 Appendix 5.5 BUFRCV Instruction This instruction reads data received from an external device through the fixed buffer communication. This

Strany 139

App - 69 Functions (1) This instruction reads receive data (for the fixed buffer communication) from the connection specified by (S1) for the mod

Strany 140

App - 70 Errors (1) When a dedicated instruction ends with an error, the abnormal completion signal, (D2) + 1, turns on and the error code is sto

Strany 142 - Execute the PING test!

Microsoft, Windows, Microsoft WindowsNT are registered trademarks of Microsoft Corporation in the United S

Strany 144

Ethernet course(Q-series)Mitsubishi Programmable Logic Controller Training ManualEthernet course(Q-series)Ethernet course(Q-series)Mitsubishi Program

Strany 145

2 - 1 CHAPTER 2 BEFORE USING ETHERNET MODULE 2.1 Two Data Codes The Ethernet module can exchange data with external devices using binary or ASCII co

Strany 146

2 - 2 (2) Communication using the ASCII code The Ethernet module sends/receives 1-byte data as data equivalent to two characters in the ASCII code.

Strany 147

2 - 3 2.2 Types of Data Communication Functions The Ethernet module has three types of communication functions: "Communication using MC protoco

Strany 148

2 - 4 (b) Reading/writing file in PLC CPU This function reads and writes files such as sequence program files or parameter files that are stored in

Strany 149

2 - 5 (3) External devices capable of exchanging data The communication using the MC protocol can be performed from the following external devices

Strany 150

2 - 6 2.2.2 Fixed buffer communication A PLC CPU can communicate with other PLC CPUs or a personal computer using the fixed buffers in the buffer me

Strany 151

2 - 7 As shown in the diagram below, set IP addresses and usage conditions (e.g. sending/receiving, with/without procedures) of external devices to r

Strany 152

A - 1 SAFETY PRECAUTIONS (Always read these instructions before the exercise.) When designing the system, always read the relevant manuals and gi

Strany 153

2 - 8 (4) Outline of data sending/receiving procedures Data sending/receiving is performed as shown in the following figure. (a) At TCP/IC communic

Strany 154

2 - 9 2.2.3 Communication using random access buffer A PLC CPU can communicate with a personal computer using the random access buffer in the buffer

Strany 155 - Version 6

2 - 10 (3) Outline of data sending/receiving procedures Data are sent or received as shown in the following figures. (a) TCP/IC communication PLC C

Strany 156 - 6) Code window

2 - 11 2.3 Open/Close Processing For data communication with external devices using the Ethernet module, a connection must be established (connection

Strany 157

2 - 12 (In TCP/IP communication) • The connection is established when the open processing is completed normally. • When the close processing perform

Strany 158 - For...Next statement

2 - 13 *1 For the open and close processing on the Ethernet module side shown below, there are two methods:performing from the PLC CPU and by the Et

Strany 159

2 - 14 (2) If the following 1) or 2) are set in the previously mentioned parameter settings, the open and close processing of the corresponding conn

Strany 160 - Hex function

2 - 15 (2) Open processing (a) The open processing is a processing which enables data communication with external devices. 1) In TCP/IP communicati

Strany 161 - If...Then...Else statement

2 - 16 (3) Close processing (a) The close processing is a processing which disables data communication with external devices. 1) In TCP/IP communic

Strany 162

2 - 17 2.3.1 Active open/close processing The Active open executes the connection processing to the external device, which TCP/IP connection is in t

Strany 163

A - 2 REVISIONS * The text number is given on the bottom left of this textbook. Print date * Textbook number Revision Jan., 2006 SH-080618ENG-A F

Strany 164

2 - 18 Open statusOpen ready status (closed)Closed statusInitial normal completion X19OPEN instructionOPEN instruction complete deviceOPEN instruct

Strany 165

2 - 19 2.3.2 Passive open/close processing The Passive open puts the open request (connection request by Active open) from an external device of the

Strany 166

2 - 20 (2) When "Do not wait for OPEN" is set in the operational settings The open and close processings are performed using the sequence

Strany 167

2 - 21 Open statusOpen ready status (closed)Closed statusInitial normal completion X19OPEN instructionOPEN instruction complete deviceOPEN instruct

Strany 168 - Appendix 1.6 Property List

2 - 22 2.3.3 UDP/IP open/close processing The open and close processing in UDP/IP is internal processing of the Ethernet module. The processing of t

Strany 169 - App - 15

2 - 23 Open statusOpen ready status (closed)Closed statusInitial normal completion X19OPEN instructionOPEN instruction complete deviceOPEN instructi

Strany 171 - App - 17

3 - 1 CHAPTER 3 SYSTEM CONFIGURATION 3.1 Applicable Systems The Ethernet modules can be used in systems to which the following descriptions apply.

Strany 172 - App - 18

3 - 2 3.2 Devices Required for Network Configuration This section explains the devices that are required to configure a network. Network installatio

Strany 173 - Appendix 1.7 Method List

3 - 3 (b) Connection using 10BASE-T Ethernet moduleExternal deviceTwisted pair cableHub* Up to 4 stages are allowed for cascade connection Use

Strany 174 - App - 20

A - 3 INTRODUCTION This textbook explains how to use the Ethernet module QJ71E71 of MELSEC-Q series and its programming. Use a personal computer app

Strany 176 - App - 22

4 - 1 CHAPTER 4 SPECIFICATIONS OF ETHERNET MODULE & SETTINGS AND PROCEDURES PRIOR TO OPERATION 4.1 Performance Specifications The following expla

Strany 177 - App - 23

4 - 2 *1 The e-mail transmission and reception function of the PLC CPU and the random access buffer communication function cannot be used together. O

Strany 178 - App - 24

4 - 3 4.2 Ethernet Module Function List This section shows a list of Ethernet module functions. (1) Basic functions of the Ethernet module The Eth

Strany 179 - Appendix 2 MX Component

4 - 4 (2) Additional functions of the Ethernet module The following table lists the additional functions of the Ethernet module that can be used. F

Strany 180 - Device status is checked

4 - 5 4.3 Settings and Procedures Prior to Starting the Operation The following shows the Ethernet module settings and a flow of the operation proce

Strany 181 - Access to clock data

4 - 6 Important (1) Do not write any data in the "System area" of the buffer memory of the intelligent function module. (2) Do not out

Strany 182

4 - 7 4.4 Components of the Ethernet Module This section shows the names of the Ethernet module components. Name Description 1) LED display Ref

Strany 183 - <Access>

4 - 8 4.5 Connecting to the Network The following explains how to connect the Ethernet module to the 10BASE-T/ 100BASE-TX network. <Operating pr

Strany 184

4 - 9 4.6 Settings from GX Developer To use the Ethernet module, parameters must be previously set from GX Developer. For the parameter settings of

Strany 185

A - 4 CONTENTS SAFETY PRECAUTIONS...

Strany 186

4 - 10 (2) "Network parameters Setting the number of MNET/10H Ethernet cards" Settings for the Ethernet module to use as a network module

Strany 187

4 - 11 (a) Operational settings Set the communication data code, the timing to start the OPEN processing, and the local station Ethernet module IP ad

Strany 188

4 - 12 (b) Open settings Set the protocols and the connection open systems for a data communication. Item Setting details Protocol Set the commun

Strany 189

4 - 13 (c) Router relay parameter (Routing information) This is the setting for the data communication with external devices via a router. The routi

Strany 190

4 - 14 4.7 Self-Diagnostic Tests 4.7.1 Self refrain test The self refrain test is used to check whether the Ethernet module transmits a test message

Strany 191 - App - 37

4 - 15 Continued from the previous page 4) The Network parameters Setting the number of MNET/10H Ethernet cards screen is displayed. 5) Se

Strany 192 - App - 38

4 - 16 (3) Writing the parameters to the PLC CPU The set parameters are written to the PLC CPU. For designating the connection destination, refer to

Strany 193 - App - 39

4 - 17 4.7.2 Hardware test The hardware test is performed to confirm that RAM and ROM of the Ethernet module are normal. The operation procedure of t

Strany 194 - App - 40

4 - 18 4.8 Mounting and Dismounting the Module This section explains the procedures when mounting/dismounting the Ethernet module. (1) Operation p

Strany 195 - App - 41

5 - 1 CHAPTER 5 ASSIGNMENT I (MC PROTOCOL COMMUNICATION BETWEEN PLC AND PLC CPU) In this assignment, the exercise of the MC protocol communication

Strany 196 - App - 42

A - 5 4.8 Mounting and Dismounting the Module... 4-18 C

Strany 197 - App - 43

5 - 2 (2) I/O assignment X0 to X3F Y40 to Y7FQX42(64 points)QY42P(64 points)Q64AD(16 points)QCPU(No.2)XA0XBFYA0YBFQ61P-A1(Power supply)QCPU(No.1)*Q6

Strany 198

5 - 3 (3) Exercise description Monitors and writes a device in the program using the MX Component. <Device read (Section 5.4)> <Device wri

Strany 199

5 - 4 5.2 Parameter Settings and TCP/IP Settings for PC The parameters of the Ethernet module on the PLC CPU side are set using the GX Developer bef

Strany 200

5 - 5 Continued from the previous page 4) Double-click "PLC parameter" from the project data list. 5) After the "Qn(H) Paramet

Strany 201

5 - 6 5.2.2 Network parameters setting the number of MNET/10H Ethernet cards Ethernet parameter setting is performed for connecting to Ethernet.

Strany 202

5 - 7 Continued from the previous page 6) Set the following contents, click the End button, and then close the "Ethernet operations" d

Strany 203 - Appendix 4 Troubleshooting

5 - 8 Continued from the previous page 11) Click the button. (Overwriting the project) 12) Set Drive/Path and Project name, then click the Sav

Strany 204

5 - 9 5.2.3 Transfer setup Transfer setup is performed to write a parameter to the PLC CPU. 1) Click the [Online] [Transfer setup] menu. 2) C

Strany 205 - H) of the buffer memory

5 - 10 5.2.4 Parameter write The set parameters are written to the PLC CPU. 1) Click . (Write to PLC) 2) Click the Param+Prog button on the &q

Strany 206

5 - 11 5.2.5 TCP/IP settings for PC TCP/IP settings for PC are performed. This textbook explains using a PLC operated with Microsoft® Windows® XP pr

Strany 207 - Send e-mail information

A - 6 8.2.1 Setting parameters with GX Developer... 8- 2 8.2.2 Se

Strany 208

5 - 12 Continued from the previous page 4) Select "Use the following IP address" and make the setting for the following contents. IP

Strany 209 - H, EEH …

5 - 13 5.3 Operation of MX Component This section explains the operation of the MX Component. This textbook explains the functions when creating app

Strany 210

5 - 14 Continued from the previous page 3) Click the Wizard button. 4) After the screen shown on the left appears, set "Logical station

Strany 211

5 - 15 Continued from the previous page 7) As the communication setting is performed, set the following contents and click the Next> button

Strany 212

5 - 16 5.3.2 Communication diagnostics Execute the communication diagnostics and confirm whether or not the logical station number is properly set.

Strany 213 - Control data

5 - 17 5.4 Visual Basic Program (Device Read) The contents of ON/OFF status for PLC CPU bit device X0 to X7 (eight points) and of word device D0 to

Strany 214

5 - 18 Private Sub cmdMonitor_Click() If tmrTime.Interval = 0 Then 'Confirm whether it is in process of monitoring or not

Strany 215 - Program example

5 - 19 'Execute the random read lRet = ActEasyIF1.ReadDeviceRandom(szDeviceList, lSize, lData(0)) If lRet <> 0 Then

Strany 216 - H : Normal completion

5 - 20 (1) Flowchart (a) cmdOpen_Click() (Operation by clicking the Open button) STARTIs the open normal?Open of communication line(Open())"C

Strany 217 - Connection

5 - 21 (b) cmdClose_Click() (Operation by clicking the Close button) STARTIs the close normal?Close of communication line(Close())"Communicati

Strany 218 - App - 64

A - 7 About Generic Terms and Abbreviations Unless otherwise stated, this textbook uses the following abbreviations and terms for the explanation of

Strany 219

5 - 22 (c) cmdMonitor_Click() (Operation by clicking the Monitor start button) STARTIs the timer operating?"Monitoring"StatusStart monito

Strany 220 - Send data length

5 - 23 (e) tmrTime_Timer() (Operation during monitoring) STARTStore the device to be monitoredto DevboxENDYesNoStore the device list toszDeviceList

Strany 221 - App - 67

5 - 24 5.4.2 Operation of demonstration machine The program is executed, and the device of PLC CPU is monitored. (1) Program screen The following i

Strany 222

5 - 25 Continued from the previous page 4) Click the Open button to open the communication line. When opening normally, "Communication line

Strany 223 - Receive data

5 - 26 (3) Check of device status of D0 to D4 The numerical value changed by the MX Component is checked in a program. (*1) *1 The following can be

Strany 224

5 - 27 Continued from the previous page 5) After the "Device write" screen appears, input any numerical value to "Setting value&q

Strany 225

5 - 28 Continued from the previous page 8) To end monitoring, click the Monitor stopbutton. 9) Click the Close button to close the communic

Strany 226

5 - 29 5.5 Visual Basic Program (Device Write) The contents of PLC CPU bit device Y70 to Y77 (eight points) and of word device D0 to D4 (five words)

Strany 227

5 - 30 Private Sub cmdMonitor_Click() Dim i As Integer 'Variable 1 for loop Dim j As Integer 'Variable 2 for loop

Strany 228

5 - 31 'Execute the random write lRet = ActEasyIF1.WriteDeviceRandom(szDeviceList, lSize, lData(0)) If lRet = 0 Then txt

Komentáře k této Příručce

Žádné komentáře