background image

Procedures before operation

  

MELSEC-WS 

98 

8.2.4 

Auto update mode 

This section describes an example of communications in auto update mode. 
The QCPU reads MELSEC-WS safety controller information (e.g. logic result, CRC, 
and each module status) from the safety controller through communications 
between the WS0-GETH and the QJ71E71-100. The WS0-GETH automatically 
sends input data sets to the QJ71E71-100 at 5000-ms intervals. 

Read-target data 

 

Logic result 0 (input data set 1) 

 

CRC (input data set 2) 

 

Each module status (input data set 3) 

 

Figure 56: System configuration example 

 

 
(1) Parameter configuration 

(a) Configuration required for the WS0-GETH 

Configuration examples of network parameters required for communications in 
auto update mode are shown below. Configure these parameters using Setting 
and Monitoring Tool. 
The WS0-GETH requires no program for communications. 

 

1) Creating a hardware configuration 

Refer to Section 8.2.2 (1). 

2) Assigning an IP address 

Refer to Section 8.2.2 (1). 

 
 

 

Содержание Melsec WS Series

Страница 1: ...Safety Controller Ethernet Interface Module User s Manual WS0 GETH ...

Страница 2: ......

Страница 3: ... the product shall be for one 1 year after the date of delivery or for eighteen 18 months after manufacturing whichever is less The onerous repair term after discontinuation of production shall be for four 4 years Mitsubishi shall mainly replace the product that needs a repair It may take some time to respond to the problem or repair the product depending on the condition and timing Specifications...

Страница 4: ...o serious consequences Observe the precautions of both levels because they are important for personal and system safety Make sure that the end users read this manual and then keep the manual in a safe place for future reference Design Precautions WARNING The Ethernet interface module is not suitable for operation on a safety fieldbus The Ethernet interface module only generates non safety related ...

Страница 5: ...trical conductivity Additionally connect all network cable shields directly at the control cabinet entrance to a common FE ground line Tighten the screw within the specified torque range Undertightening can cause drop of the screw short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction Shut off the external power supply all phas...

Страница 6: ...sulting in damage to the module or cables or malfunction due to poor contact Tighten the terminal screw within the specified torque range Undertightening can cause short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction When disconnecting the cable from the module do not pull the cable by the cable part When disconnecting the ca...

Страница 7: ...ble for damages that could have been prevented by compliance with any applicable safety standard regulation or law 2 MELCO prohibits the use of Products with or in any application involving and MELCO shall not be liable for a default a liability for defect warranty a quality assurance negligence or other tort and a product liability in these applications 1 power plants 2 trains railway systems air...

Страница 8: ...080857ENG E Correction of errors in writing August 2016 SH NA 080857ENG F Description on the corporate logo was changed December 2019 SH NA 080857ENG G Adding the WS0 CPU3 Japanese manual version SH 080854 G This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any prob...

Страница 9: ...stallation 20 3 4 First configuration steps 20 3 4 1 Establishing a connection between MELSEC WS safety controller and PC 20 3 4 2 Assignment of an IP address 22 3 4 3 Configuration of the Ethernet interface module 24 3 4 4 Transfer of a configuration 25 3 4 5 Verification of a configuration 26 3 4 6 Upload of a configuration 26 3 5 Features of the Ethernet interface module 27 3 5 1 TCP IP configu...

Страница 10: ...ection 64 7 2 Applicable system 65 8 Procedures before operation 66 8 1 Wiring 71 8 1 1 Wiring precautions 73 8 2 Communications with the QJ71E71 100 QCPU 74 8 2 1 System configuration 74 8 2 2 Polling mode input data set reading 75 8 2 3 Polling mode output data set writing 90 8 2 4 Auto update mode 98 8 3 Communications with the Built in Ethernet port QCPU 107 8 3 1 System configuration 107 8 3 ...

Страница 11: ... interface module CPU module A generic term for the WS0 CPU0 WS0 CPU1 and WS0 CPU3 Safety I O module A generic term for the WS0 XTIO and WS0 XTDI Ethernet interface module Another name for the WS0 GETH Network module A generic term for the WS0 GETH and WS0 GCC1 Q series programmable controller The abbreviation for the Mitsubishi Electric MELSEC Q series programmable controller QJ71E71 100 The abbr...

Страница 12: ...ly distinguished fields of application as well as user s manuals hardware for each module This manual describes the Ethernet interface module and its functions in detail The user s manuals hardware are enclosed with each MELSEC WS module They inform on the basic technical specifications of the modules and contain simple mounting instructions Use the user s manuals hardware when mounting MELSEC WS ...

Страница 13: ...IO U HW 13J201 Safety Controller Safety Relay Output Module User s Manual Hardware WS SR U HW 13J202 Safety Controller Ethernet Interface Module User s Manual Hardware WS ET U HW 13J203 Safety Controller CC Link Interface Module User s Manual Hardware WS CC U HW 13J209 1 3 Target group This manual is addressed to planning engineers machine designers and the operators of systems in which a MELSEC W...

Страница 14: ...ative 1 5 Scope This manual applies to the WS0 GETH Ethernet interface module This document is the original manual 1 6 Abbreviations used Enhanced Function Interface 1 7 Symbols used Notes provide special information on the device LED symbols describe the state of a diagnostics LED Examples Red The red LED is illuminated constantly Red The red LED is flashing Green The green LED is off Instruction...

Страница 15: ...operated with a MELSEC WS safety controller The Ethernet interface module does not have a dedicated voltage supply The Ethernet interface module is not suitable for operation on a safety fieldbus The Ethernet interface module only generates non safety related fieldbus data status bytes for control and diagnostics purposes Do not use non safe data from an Ethernet interface module for safety relate...

Страница 16: ... Provision and Use of Work Equipment Directive 89 655 EC the work safety regulations safety rules This manual must be made available to the operator of the machine where the MELSEC WS safety controller is used The machine operator is to be instructed in the use of the device by qualified safety personnel and must be instructed to read the manual Since an Ethernet interface module is powered from t...

Страница 17: ...ration may only be performed by qualified safety personnel Exercise care when disassembling the devices The danger of injury is present Before you can turn over the devices for environmental friendly recycling you must separate the different materials of the Ethernet interface module from one another Separate the housing from the remaining components especially the PCB Send the separated component...

Страница 18: ... connecting to an external application e g MELSEC programmable controller PC via TCP IP 3 1 1 Interfaces and operation The Ethernet interface module is equipped with an integrated three port switch for connection with the Ethernet network Two RJ45 sockets are available for the connection The switch functionality allows the Ethernet interface module to be used for connection to another Ethernet com...

Страница 19: ...e start Green Executing live process data from to CPU Green Idle Red 1 Hz Configuring configuration required 2 Hz Critical fault on Ethernet interface module Red Critical fault on another module Red Green Executing but Ethernet communication not established or faulty Error elimination is described in Chapter 5 Power up sequence On power up the following LED test sequence is performed LED MS Off fo...

Страница 20: ...at the control cabinet entrance to a common FE ground line In a MELSEC WS safety controller the WS0 CPU0 or WS0 CPU1 module is positioned at the extreme left The two optional network modules follow directly to the right of the CPU module Connect further MELSEC WS safety I O modules e g WS0 XTIO or WS0 XTDI onto the right side of the network modules and any additional safety relay output modules WS...

Страница 21: ...urely to allow electrical conductivity Latch the module onto the DIN rail by pressing it lightly in the direction of the arrow 3 If there are several modules slide the modules together individually in the direction of the arrow until the side plug connection latches in Install the end clips on the right and left The following steps are necessary after mounting Complete the electrical connections S...

Страница 22: ...s slide the modules away from each other individually in the direction of the arrow until the side plug connection is separated Press the module downwards at the rear 1 and remove it from the DIN rail in the direction of the arrow while keeping it pressed down 2 1 2 Figure 4 Disconnecting the plug connections Figure 5 Removing modules from the DIN rail ...

Страница 23: ...8 equipment of electrical power installation with electronic devices Ensure that all the modules of the MELSEC WS safety controller the connected protective devices as well as the voltage supplies are connected with the same earth GND The GND of the RS 232 interface is connected internally to the GND of the supply of the CPU module A2 Connect all fieldbus and Ethernet cable shields directly at the...

Страница 24: ...ct The Setting and Monitoring Tool will search for connected MELSEC WS safety controller and load the hardware configuration into the Hardware configuration dialog Once all modules have been identified correctly the Setting and Monitoring Tool will ask whether the configuration shall be uploaded Click Yes to upload the configuration Figure 6 Connection settings dialog Figure 7 Modify profile dialo...

Страница 25: ...ules 3 4 2 Assignment of an IP address If your project is online click on the Disconnect button to go offline Click on the GETH Network module 13 button Network Modules button when two network modules are used above the main window and select the desired Ethernet interface module Click on Network module configuration on the left hand menu The following dialog appears Figure 8 Hardware configuratio...

Страница 26: ...quired a valid Subnet mask and a valid IP address for a Default gateway Or If your network uses a DHCP server activate the DHCP checkbox If your project is online you can use the Read button at the upper left corner of the Ethernet interface module IP configuration area to retrieve the current IP settings of the Ethernet interface module The out of the box default IP address of the Ethernet interf...

Страница 27: ...rea Click on the Set device config button to transfer the new settings to the Ethernet interface module If multiple Ethernet interface modules are connected to the PC network scanning may fail In that case disable the unused modules The Open web browser button is unavailable for Ethernet interface modules 3 4 3 Configuration of the Ethernet interface module For the configuration of the Ethernet in...

Страница 28: ...Depending on your current user level you will be prompted to log on as Administrator to be able to transfer a configuration For details please see the Safety Controller Setting and Monitoring Tool Operating Manual Once the transfer has been completed you will be asked whether you want to run the CPU module Depending on your choice click Yes or No to leave the dialog You can also start and stop the...

Страница 29: ...rning on Only if the device and the corresponding configuration have been marked as verified the Auto RUN Mode is active in the configuration of the CPU module If the configuration is not set to verified the safety controller stays in Idle mode CV LED on the CPU module flashing after power up and needs to be set to Run Mode using the Setting and Monitoring Tool If differences between the project d...

Страница 30: ... module Power on the MELSEC WS safety controller Open the Setting and Monitoring Tool installed on the PC and load the hardware configuration including the Ethernet interface module If your project is online click on the Disconnect button to go offline Assign an IP address For details see Section 3 4 2 Click on the Connect button to go online and transfer the new settings to the MELSEC WS safety c...

Страница 31: ...rface modules on your Ethernet network Ethernet interface modules located will be displayed as shown in the dialog below The IP address will be displayed as well as MAC address and device name If multiple Ethernet interface modules are connected to the PC network scanning may fail In that case disable the unused modules Figure 11 Com settings dialog Figure 12 Create new TCP IP profile dialog Note ...

Страница 32: ... profile has now been created and is shown in the connection dialog In order to use this profile it needs to be activated Click on the Activate profile icon white arrow in green circle on the far right The entry point will then be activated and marked as such Figure 13 Create new TCP IP profile dialog after scan has been performed Figure 14 Connection settings dialog with new TCP IP profile ...

Страница 33: ...tep 3 Connect via TCP IP Click on the Connect button to go online While Setting and Monitoring Tool is connected via TCP IP do not transfer the parameters in which the IP address of the connected Ethernet interface module has been changed Doing so will result in disconnection of communication In that case click on the Disconnect button to go offline make the correct configuration in the Connection...

Страница 34: ...rface module processes the data of a MELSEC WS safety controller and makes it available in different compilations the data sets These data sets are available over the TCP IP interface For a detailed description of the data sets please refer to Chapter 4 In order to configure the Ethernet TCP IP socket interface perform the following steps Open the Setting and Monitoring Tool and load the hardware ...

Страница 35: ... www iana org assignments port numbers Finally determine how the data is transferred Follow the steps outlined in the following section Data transfer method how the data is transferred Whenever the TCP IP socket connection has been established either by an application on a PC or by the Ethernet interface module itself there are two possible methods how the data sets can be transferred The applicat...

Страница 36: ... Data Length determined by command As defined in specific command Error response to invalid messages The Ethernet interface module will set the most significant bit of the command word in the event that an invalid or improperly formatted message is received Parameter Length Description Command WORD Bit 15 of received command will be set i e command of 00F2H would become 80F2H Following data Length...

Страница 37: ...t not returned in data set s data field Non zero Length of data set Data set s data Array of bytes Data set s information Output data set writing The following command message is sent by the application to the Ethernet interface module to write to the output data sets Parameter Length Value Command WORD 00F2H Set output data set s command message Output data set 1 length WORD 0 Output data set not...

Страница 38: ...ng information Configuration via Setting and Monitoring Tool In order to configure the polling mode of the Ethernet interface module via the Setting and Monitoring Tool perform the following steps Open the Setting and Monitoring Tool and load the hardware configuration including the Ethernet interface module Click on the GETH Network module 13 button Network Modules button when two network modules...

Страница 39: ...formation i e the application does not need to send any request messages as it would do in polling mode once the connection to the application has been made The configuration settings are available via the Setting and Monitoring Tool or via the TCP IP interface itself Using one interface does not disable the other The auto update mode could be enabled via Setting and Monitoring Tool and disabled v...

Страница 40: ... application by the Ethernet interface module Parameter Length Value Command WORD 001EH Response to the auto update control message Configuration via Setting and Monitoring Tool In order to configure the auto update mode of the Ethernet interface module via the Setting and Monitoring Tool perform the following steps Open the Setting and Monitoring Tool and load the hardware configuration including...

Страница 41: ...rface module shall write to Select the update mode Enable COS update or Enable auto update and COS If you have selected Enable auto update and COS select the Update rate in ms Configurable range 40 to 65535 Select which data sets shall be updated Check the Update Dataset n checkbox Figure 18 TCP IP configuration for auto update ...

Страница 42: ...on Details see Section 4 1 and Section 4 3 3 5 3 TCP IP process image example The following example shows a possible process image sent by an Ethernet interface module via TCP IP in auto update mode Byte values hex Part of message Meaning 00 2E Command Auto update data sets see Table 12 00 32 Command parameters Length of data set 1 50 bytes 00 20 Length of data set 2 32 bytes 00 3C Length of data ...

Страница 43: ...icant byte byte 3 placed in the leftmost position Status module 0 WS0 CPU0 WS0 CPU1 OK FF FF FF FF Status module 1 e g WS0 XTDI OK FD FB FF FF Status module 2 e g WS0 XTIO Byte 0 FF 11111111 No errors Byte 1 FF 11111111 No errors Byte 2 FB 11111011 Input 3 external test signal failure Byte 3 FD 11111101 Output 1 stuck at low error FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Status modules 3 6 ...

Страница 44: ... Byte values hex Part of message Meaning 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Data set 4 Reserved ...

Страница 45: ...datory to communicate within a safety network Configuration of the Ethernet interface module is performed using the Setting and Monitoring Tool on a PC or notebook connected to the CPU module over RS 232 interface or connected to the Ethernet interface module over Ethernet TCP IP Configuration data can be exported imported and saved The safety relevant logic of the MELSEC WS safety controller oper...

Страница 46: ...dules except the safety relay output module see Section 4 1 5 Data sets Input data sets to be sent from the Ethernet interface module to the network consist of logic results I O state data diagnostics data e g module status CRC and other data These data are organized into four input data sets Input data set Description Size Customization 1 Logic result Module and EFI input and output values Data s...

Страница 47: ...es module 11 Byte 15 Input values module 12 Byte 16 Output values module 1 Reserved Module status module 4 Byte 17 Output values module 2 Byte 18 Output values module 3 Byte 19 Output values module 4 Byte 20 Output values module 5 Module status module 5 Byte 21 Output values module 6 Byte 22 Output values module 7 Byte 23 Output values module 8 Byte 24 Output values module 9 Module status module 6...

Страница 48: ...e of one input or output on off EFI system information The WS0 CPU1 and WS0 CPU3 have 2 EFI interfaces An EFI interface is a safe communication interface between SICK devices It allows to read out information from the safety devices e g SICK C4000 S3000 transfer commands to the safety devices The Ethernet interface module allows these EFI devices connected to the WS0 CPU1 and WS0 CPU3 to transmit ...

Страница 49: ...S0 CPUx Network modules e g WS0 GETH 0 0 Module operating state 1 Executing 0 Any other state Module operating state 1 Executing 0 Any other state Module operating state 1 Executing 0 Any other state 1 Internal error Internal tests failed 1 No error 0 Error Internal error Internal tests failed 1 No error 0 Error Internal error Internal tests failed 1 No error 0 Error 2 External error Summary of bi...

Страница 50: ...ommunication 7 Reserved EFI 2 communication failure 1 No error 0 Error Reserved 1 0 Input 1 2 dual channel input evaluation error 1 No error 0 Error Reserved Reserved 1 Input 3 4 dual channel input evaluation error 1 No error 0 Error 2 Input 5 6 dual channel input evaluation error 1 No error 0 Error 3 Input 7 8 dual channel input evaluation error 1 No error 0 Error 4 Reserved 5 Reserved 6 Reserved...

Страница 51: ... error 1 No error 0 Error 2 Output 2 stuck at high error 1 No error 0 Error 3 Output 2 stuck at low error 1 No error 0 Error 4 Output 3 stuck at high error 1 No error 0 Error 5 Output 3 stuck at low error 1 No error 0 Error 6 Output 4 stuck at high error 1 No error 0 Error 7 Output 4 stuck at low error 1 No error 0 Error 0 Error Reserved for future use static 1 no status change If no module is pre...

Страница 52: ...ved please see Section 4 5 The status of the communication to and from the network can be monitored in the logic editor using the module input status bit for data from the network and the module output status bit for data to the network When the Ethernet interface module detects an invalid communication the contents of the data sets will be set to zero logical 0 and the corresponding module status...

Страница 53: ... 3 input 7 Module 4 input 8 Module 5 input 9 Module 6 input 10 Module 7 input 11 Module 8 input 12 Module 9 input 13 Module 10 input 14 Module 11 input 15 Module 12 input 16 Module 1 output 17 Module 2 output 18 Module 3 output 19 Module 4 output 20 Module 5 output 21 Module 6 output 22 Module 7 output 23 Module 8 output 24 Module 9 output 25 Module 10 output 26 Module 11 output 27 Module 12 outpu...

Страница 54: ...ules button when two network modules are used above the main window and select the desired Ethernet interface module or double click the desired Ethernet interface module in the hardware configuration to open the network module configuration dialog Click on the MELSEC WS to Ethernet tab on the left hand menu to display the network module configuration dialog The default setting is as follows Basic...

Страница 55: ...module data after editing the data in a text editor such as Notepad select CSV Files Shift JIS encoded for Files of type in the Open dialog box if the data is saved in ANSI format If not characters in the data may get garbled The Import button is only available for the Ethernet to MELSEC WS routing configuration Reset to default restores the default routing configuration You will be prompted for c...

Страница 56: ...e current configuration are displayed in black connected MELSEC WS modules connected EFI devices configured logic results 1 input data available from another network module in the system 1 In the default configuration only the first logic result byte Logic Result 0 is active and available You can activate more logic result output bits in the logic editor Sources currently not configured will be di...

Страница 57: ...on Then click on the Delete routing button in the toolbar Or Call up the context menu by clicking the respective byte with the right mouse button In the context menu select the Delete routing command How to move a data byte to another place in the routing table Drag and drop the byte you want to move to the desired position If the desired position is not free you will have to clear it first by del...

Страница 58: ...nto two areas Network Module Data 1 and Tag names 2 The Network Module Data area shows the current configuration of the output modules The Tag names area shows the tag names associated to the byte selected in the Network Module Data area Select a byte in the Network Module Data area For each bit of the selected byte that you wish to use enter a tag name in the Tag names area Figure 21 Ethernet to ...

Страница 59: ...WS 56 Each bit you enter a tag name for here will be available within the logic editor or for the process image of a second network module Figure 22 Tag names of incoming bits of the WS0 GETH in the logic editor dialog ...

Страница 60: ...ith the Import and Export buttons you can import and export a configuration including the tag names used as a CSV comma separated values file This allows you to import and use tag names you have assigned in the MELSEC WS safety controller project in another programmable controller program and vice versa To edit the CSV file use a text editor If you import a configuration all previously made change...

Страница 61: ...e power supply of this module is faulty In the Ethernet to MELSEC WS view bits that have no tag name assigned so that they can not be used in the logic editor but which are included in the process image that the Ethernet interface module receives from the programmable controller are highlighted yellow The Ethernet interface module always reflects the actual physical status of the inputs and output...

Страница 62: ...ransfer to programmable controller but Ethernet communication is not yet established or faulty Duplicate IP address detected Another device on the network has the same IP address Minimum one Ethernet connection needs to be established Set up Ethernet connection on programmable controller side check Ethernet cabling check Ethernet connection settings on programmable controller and in the Setting an...

Страница 63: ...CT Green LED MS Red WS0 GETH is not plugged properly into the other MELSEC WS module Module connection plug is soiled or damaged Other MELSEC WS module has internal critical error Ethernet communication with the WS0 GETH is under excessive load Plug the WS0 GETH in correctly Clean the connecting socket plug Repower the safety controller Check the error MELSEC WS module and remove the error cause C...

Страница 64: ... 0 0 Default gateway 0 0 0 0 MAC address Printed on type label example 00 06 77 02 00 A7 6 2 Technical specifications supply circuit Item Specifications Supply voltage 24 V DC 16 8 to 30 V DC Power consumption Max 2 4 W 6 3 General technical specifications Terminals Fieldbus Ethernet TCP IP FLEXBUS 10 pin connector for internal safety bus plug Climatic conditions Ambient operating temperature TA 2...

Страница 65: ...c compatibility IEC 61000 6 2 EN 55011 Class A Mechanical and assembly Housing material Polycarbonate Housing type Device for control cabinet installation Housing enclosure rating terminals IP 40 IP 20 Housing color Light grey Weight 125 g Data interface FLEXBUS backplane bus Ethernet interface One connector on the top and one connector on the bottom Mounting rail Mounting rail according to EN 607...

Страница 66: ...ings Unit mm 6 5 Module information Type Module name Abbreviation WS0 GETH00200 MELSEC WS safety controller Ethernet interface module WS0 GETH 93 7 120 8 114 4 78 96 5 93 3 58 22 5 85 67 Figure 26 Dimensional drawings of WS0 GETH mm Table 23 Module information ...

Страница 67: ...tem WS0 GETH MELSEC QJ71E71 100 Ethernet interface module in a MELSEC programmable controller system QJ71E71 100 7 1 Features achieved by the connection MELSEC programmable controllers can acquire MELSEC WS safety controller information over Ethernet The QJ71E71 100 connected to a MELSEC programmable controller or the Built in Ethernet port QCPU can read MESLEC WS safety controller information e g...

Страница 68: ...other information of external devices to the MELSEC WS safety controller over Ethernet The send data can be used as input data for a function block in the logic editor of Setting and Monitoring Tool Figure 28 Sending data to the MELSEC WS safety controller 7 2 Applicable system For configurations of MELSEC programmable controller systems refer to the following QnUCPU User s Manual Communication vi...

Страница 69: ...etting and Monitoring Tool Write the configuration data to the module with Setting and Monitoring Tool End Mount the QJ71E71 100 on the base unit Configure network parameters for Ethernet with GX Developer Connect an Ethernet cable Create a ladder program Check operations QJ71E71 100 1 1 For details refer to the Q Corresponding Ethernet Interface Module User s Manual Basic WS0 GETH Execute a PING ...

Страница 70: ... the WS0 GETH to the MELSEC WS CPU module Connect an Ethernet cable Write the configuration data to the module with Setting and Monitoring Tool End Connect an Ethernet cable Check operations Built in Ethernet port QCPU WS0 GETH Create a ladder program Configure PLC parameters with GX Developer Configure configuration data with Setting and Monitoring Tool Figure 30 Procedure before operation commun...

Страница 71: ... GETH and the Qj71E71 100 or Built in Ethernet port QCPU Two communication modes are available polling mode and auto update mode For system configuration refer to the section for the communication target module For the acquisition of sample programs provided in this manual please contact your local Mitsubishi representative ...

Страница 72: ...C WS safety controller to read input data sets MELSEC WS safety controller information from the WS0 GETH Polling mode output data set writing command 00F2 002F The QJ71E71 100 sends the Write output data set settings command to the MELSEC WS safety controller to write data to the output data sets in the WS0 GETH Figure 31 Polling mode input data set reading Figure 32 Polling mode output data set w...

Страница 73: ...1E71 100 Input data set auto update command 002E The WS0 GETH automatically sends input data sets MELSEC WS safety controller information to the QJ71E71 100 at the following timing At fixed intervals Upon change of any input data set value t t Figure 33 Auto update mode ...

Страница 74: ...erface Module User s Manual Basic QnUCPU User s Manual Communication via Built in Ethernet Port 1 Cables and connectors Prepare the cable shown in the following table Part Name Remarks Cable Shielded twisted pair cable STP with RJ45 jack Straight cable of Category 5 or higher The following figure shows connection of the cable and the connector Table 24 Ethernet cable Figure 34 Cable connection dia...

Страница 75: ...k topologies Two network topologies using Ethernet cables are available line topology and star topology using a hub Figure 35 Wiring example line topology Figure 36 Wiring example star topology Figure 37 Wiring example line topology and star topology ...

Страница 76: ...angling cable may swing or inadvertently be pulled resulting in damage to the module or cables or malfunction due to poor contact 5 When laying the cables do not touch the contact surfaces of the connector of the cable and the connector of the module nor let dirt or dust collect on the contact surfaces If oil from the hands dirt or dust adheres to the cores the transmission loss may increase resul...

Страница 77: ...his section describes parameter configuration examples and sample programs for communications between the WS0 GETH and the QJ71E71 100 connected to the QCPU 8 2 1 System configuration The following is the system configuration used for sample programs Figure 38 System configuration example ...

Страница 78: ...ach module status input data set 3 1 Parameter configuration a Configuration required for the WS0 GETH Configuration examples of network parameters required for communications in polling mode are shown below Configure these parameters using Setting and Monitoring Tool The WS0 GETH requires no program for communications 1 Creating a hardware configuration for reading writing Read the hardware confi...

Страница 79: ...S0 GETH in the Network module configuration dialog Option Configuration value DHCP Unchecked Device name GETH any given name IP address 192 168 250 250 default Subnet mask 255 255 0 0 default Default gateway 0 0 0 0 default Figure 40 Network module configuration dialog Table 25 Network module configuration parameters ...

Страница 80: ...n value Listen to Configuration value Connect to Enabled Checked Listen to Selected Deselected Port 9100 238CH default Connect to Deselected Selected IP address 192 168 250 251 Port 9100 238CH Enable COS update Enable auto update and COS Any All Update Dataset checkboxes need to be unchecked Update rate ms Update Dataset 1 Unchecked Update Dataset 2 Unchecked Update Dataset 3 Unchecked Update Data...

Страница 81: ...input data set 1 In the sample program the default settings are used Input data sets 2 to 4 cannot be edited since their data formats are fixed Editing output data sets for writing Open the Ethernet to CPU dialog and configure tag names for each output data set as required Figure 42 CPU to Ethernet dialog Figure 43 Ethernet to CPU dialog ...

Страница 82: ...riting Select Ethernet CC IE MELSECNET to open the network parameter dialog and configure the following options Option Configuration value Network type Ethernet Starting I O No 0000 Network No 1 Group No 1 Station No 2 2 Network parameter Operational settings for reading writing Click the Operational settings button to open the configuration dialog and configure the options as follows Table 27 Net...

Страница 83: ...xistence confirmation Confirm Host station Port No hex 238CH 9100 238CH 9100 Transmission target device IP address 192 168 250 250 Transmission target device Port No hex 238CH 9100 4 Network parameter Initial settings for reading writing Click the Initial settings button to open the configuration dialog and configure 120 for Destination existence confirmation starting interval The QJ71E71 100 can ...

Страница 84: ... D500 and D501 BUFRCV instruction control data M311 OPEN instruction abnormal completion D520 Response command check device reading M400 Send execution D521 Response command check device writing M401 BUFSND instruction success device D600 and D601 CLOSE instruction control data M402 BUFSND instruction failure device D700 to D705 BUFSND instruction send data area reading M410 BUFSND instruction nor...

Страница 85: ...umber of failures C10 BUFSND instruction Number of executions C11 Number of successes C12 Number of failures C20 BUFRCV instruction Number of executions C21 Number of successes C22 Number of failures C31 Verification check Number of successes C32 Number of failures C33 Number of response errors writing C40 Close instruction Number of executions C41 Number of successes C42 Number of failures ...

Страница 86: ...ration 83 The following shows details of data transmission and reception processing in a program for reading input data sets in polling mode Figure 47 Data transmission and reception processing in polling mode input data set reading ...

Страница 87: ...le Endian format the byte order needs to be swapped Note that the byte order of the input data set 1 and output data set 1 does not need to be changed because these data are one byte long Data need to be swapped Command and parameters word data 16 bits Input data set 2 and 3 double word data 32 bits The following table lists data to be sent at reading Device Configuration value hex Byte swapping 1...

Страница 88: ...MELSEC WS Procedures before operation 85 Sample program polling mode input data set reading Figure 48 Sample program polling mode input data set reading ...

Страница 89: ...Procedures before operation MELSEC WS 86 ...

Страница 90: ...MELSEC WS Procedures before operation 87 ...

Страница 91: ...Procedures before operation MELSEC WS 88 ...

Страница 92: ...Active High Example of overall CRC input data set 2 overall CRC 0 x 47B97013 Example of CPU module 0 status input data set 3 in RUN status Reference When the CPU module is in the STOP state the value will be FFFF FFFE Example of network module 13 status input data set 3 Input status Inactive Low Reference The input status becomes Active High after a write command is executed to the WS0 GETH Figure...

Страница 93: ...roller through communications between the WS0 GETH and the QJ71E71 100 Write target data Output data sets 1 to 5 In the sample program bit 0 of Byte 0 bit 1 of Byte 1 bit 2 of Byte 2 and bit 3 of Byte 3 in output data set 1 are set to Active High 1 Parameter configuration a Configuration required for the WS0 GETH Refer to Section 8 2 2 1 b Configuration required for the QJ71E71 100 Refer to Sectio...

Страница 94: ...ation 91 The following shows details of data transmission and reception processing in a program for writing output data sets in polling mode Figure 53 Data transmission and reception processing in polling mode output data set writing ...

Страница 95: ...a specification Output data set 1 writing 10 bytes D803 000AH Write data specification Output data set 2 writing 10 bytes D804 000AH Write data specification Output data set 3 writing 10 bytes D805 000AH Write data specification Output data set 4 writing 10 bytes D806 000AH Write data specification Output data set 5 writing 10 bytes D807 Any Not required Output data set 1 Byte 0 and Byte 1 D808 Ou...

Страница 96: ...MELSEC WS Procedures before operation 93 Sample program polling mode output data set writing Figure 54 Sample program polling mode output data set writing ...

Страница 97: ...Procedures before operation MELSEC WS 94 ...

Страница 98: ...MELSEC WS Procedures before operation 95 ...

Страница 99: ...Procedures before operation MELSEC WS 96 ...

Страница 100: ...ccessful 1 Error 1 Since the QJ71E71 100 treats application data in Little Endian format the byte order needs to be swapped 3 Monitoring data with Setting and Monitoring Tool The written output data sets can be monitored in the Ethernet to CPU dialog of Setting and Monitoring Tool The following window shows the execution result of the program for writing output data set in polling mode Table 32 Ex...

Страница 101: ...e QJ71E71 100 at 5000 ms intervals Read target data Logic result 0 input data set 1 CRC input data set 2 Each module status input data set 3 Figure 56 System configuration example 1 Parameter configuration a Configuration required for the WS0 GETH Configuration examples of network parameters required for communications in auto update mode are shown below Configure these parameters using Setting an...

Страница 102: ...d Listen to Selected Deselected Port 9100 238CH default Connect to Deselected Selected IP address 192 168 250 251 Port 9100 238CH Enable COS update Enable auto update and COS Enable auto update and COS Update rate ms 5000 default Update Dataset 1 Checked Update Dataset 2 Checked Update Dataset 3 Checked Update Dataset 4 Unchecked To switch the communication mode to the polling mode activate the En...

Страница 103: ...ications in auto update mode are shown below Configure these parameters using a programming tool 1 Configuring network parameters Refer to Section 8 2 2 1 2 Network parameter Operational settings Click the Operational settings button to open the configuration dialog and configure the options as follows Figure 58 Network parameter Operational settings ...

Страница 104: ...xistence confirmation Confirm Host station Port No hex 238CH 9100 238CH 9100 Transmission target device IP address 192 168 250 250 Transmission target device Port No hex 238CH 9100 4 Network parameter Initial settings Click the Initial settings button to open the configuration dialog and configure 120 for Destination existence confirmation starting interval The QJ71E71 100 can quickly detect a com...

Страница 105: ...mal completion signal M510 BUFRCV instruction normal completion M511 BUFRCV instruction abnormal completion M520 Response command verification normal completion M521 Data size error device C device 1 C20 BUFRCV instruction Number of executions C21 Number of successes C22 Number of failures C31 Verification check Number of successes C32 Number of failures 1 C device is used to check the operation o...

Страница 106: ...S Procedures before operation 103 The following shows details of data reception processing in a program for receiving input data sets in auto update mode Figure 61 Data reception processing in auto update mode ...

Страница 107: ...eive data 1 is changed and input data sets are stored to the corresponding input data set storage areas W0 to W4D refer to 2 in Figure 61 1 Since the QJ71E71 100 treats application data in Little Endian format the byte order needs to be swapped Note that the byte order of the input data set 1 and output data set 1 does not need to be changed because these data are one byte long Data need to be swa...

Страница 108: ...MELSEC WS Procedures before operation 105 Sample program auto update mode Figure 62 Sample program auto update mode ...

Страница 109: ...C WS 106 3 Monitoring data with a programming tool The read input data sets can be monitored using the device monitor function of a programming tool For the execution results of the program for auto update mode refer to Section 8 2 2 3 ...

Страница 110: ...ration example 8 3 2 Polling mode input data set reading This section describes an example of communications in polling mode The Built in Ethernet port QCPU reads MELSEC WS safety controller information e g logic result CRC and each module status from the safety controller through communications between the WS0 GETH and the Ethernet ports of Built in Ethernet port QCPU Read target data Logic resul...

Страница 111: ...eters required for communications in polling mode are shown below Configure these parameters using a programming tool 1 Configuring PLC parameters Built in Ethernet port for reading writing Click the Built in Ethernet port tab to open the configuration dialog and configure the options as follows Figure 64 PLC parameter Built in Ethernet port ...

Страница 112: ...connection is opened by the Built in Ethernet port QCPU set Active When connection is opened by the WS0 GETH set Unpassive Option Configuration value Active Configuration value Unpassive Protocol TCP Open system Socket communication TCP connection Active Unpassive Host station port No 9100 238CH Transmission target device IP address 192 168 250 250 Transmission target device port No hex 9100 238CH...

Страница 113: ...normal completion D300 to D309 SOCOPEN instruction control data M400 Send execution D400 and D401 SOCSND instruction control data M401 SOCSND instruction success device D500 and D501 SOCRCV instruction control data M402 SOCSND instruction failure device D520 Response command check device reading M410 SOCSND instruction normal completion D521 Response command check device writing M411 SOCSND instru...

Страница 114: ...ion value hex Byte swapping 1 Description D700 000AH Not required Send data length 10 bytes D701 00F1H Required Command D702 0001H Read data specification Input data set 1 reading D703 0001H Read data specification Input data set 2 reading D704 0001H Read data specification Input data set 3 reading D705 0000H Read data specification Input data set 4 not reading 1 Since the QJ71E71 100 treats appli...

Страница 115: ...roller through communications between the WS0 GETH and the Ethernet ports of Built in Ethernet port QCPU Write target data Output data sets 1 to 5 In the sample program bit 0 of Byte 0 bit 1 of Byte 1 bit 2 of Byte 2 and bit 3 of Byte 3 in output data set 1 are set to Active High 1 Parameter configuration a Configuration required for the WS0 GETH Refer to Section 8 2 2 1 b Configuration required f...

Страница 116: ...ny Not required Output data set 1 Byte 0 and Byte 1 D808 Output data set 1 Byte 2 and Byte 3 D809 Output data set 1 Byte 4 and Byte 5 D810 Output data set 1 Byte 6 and Byte 7 D811 Output data set 1 Byte 8 and Byte 9 D812 to D816 Any Not required Output data set 2 D817 to D821 Any Not required Output data set 3 D822 to D826 Any Not required Output data set 4 D827 to D831 Any Not required Output dat...

Страница 117: ...oller through communications between the WS0 GETH and the QJ71E71 100 The WS0 GETH automatically sends input data sets to the QJ71E71 100 at 5000 ms intervals Read target data Logic result 0 input data set 1 CRC input data set 2 Each module status input data set 3 Figure 66 System configuration example 1 Parameter configuration a Configuration required for the WS0 GETH Configuration examples of ne...

Страница 118: ...d Listen to Selected Deselected Port 9100 238CH default Connect to Deselected Selected IP address 192 168 250 251 Port 9100 238CH Enable COS update Enable auto update and COS Enable auto update and COS Update rate ms 5000 default Update Dataset 1 Checked Update Dataset 2 Checked Update Dataset 3 Checked Update Dataset 4 Unchecked To switch the communication mode to the polling mode activate the En...

Страница 119: ...s of network parameters required for communications in auto update mode are shown below Configure these parameters using a programming tool 1 Configuring PLC parameters Built in Ethernet port Select Built in Ethernet port on the PLC parameter window and configure the following options Figure 68 Built in Ethernet port dialog ...

Страница 120: ... is opened by the Built in Ethernet port QCPU set Active When connection is opened by the WS0 GETH set Unpassive Option Configuration value Active Configuration value Unpassive Protocol TCP Open system Socket communication TCP connection Active Unpassive Host station port No 9100 238CH Transmission target device IP address 192 168 250 250 Transmission target device port No hex 9100 238CH Figure 69...

Страница 121: ...normal completion D900 to D976 SOCRCV instruction receive data area M511 SOCRCV instruction abnormal completion M520 Response command verification normal completion M521 Data size error device C device 1 C20 SOCRCV instruction Number of executions C21 Number of successes C22 Number of failures C31 Verification check Number of successes C32 Number of failures 1 C device is used to check the operati...

Страница 122: ... Endian format the byte order needs to be swapped Note that the byte order of the input data set 1 and output data set 1 does not need to be changed because these data are one byte long Data need to be swapped Command and parameters word data 16 bits Input data sets 2 and 3 double word data 32 bits 3 Monitoring data with a programming tool The read input data sets can be monitored using the device...

Страница 123: ...ample 8 4 2 Polling mode input data set reading This section describes an example of communications in polling mode The QSCPU reads MELSEC WS safety controller information e g logic result CRC and each module status from the safety controller through communications between the WS0 GETH and the QJ71E71 100 Read target data Logic result 0 input data set 1 CRC input data set 2 Each module status inpu...

Страница 124: ...vice M410 BUFSND instruction normal completion D300 to D309 OPEN instruction control data M411 BUFSND instruction abnormal completion D400 and D401 BUFSND instruction control data D500 and D501 BUFRCV instruction control data M420 Command in execution D520 Response command check device reading M500 Receive execution D521 Response command check device writing M501 BUFRCV instruction success device ...

Страница 125: ...eed to be changed because these data are one byte long Data need to be swapped Command and parameters word data 16 bits Input data set 2 and 3 double word data 32 bits C device 1 C0 Open instruction Number of executions C1 Number of successes C2 Number of failures C10 BUFSND instruction Number of executions C11 Number of successes C12 Number of failures C20 BUFRCV instruction Number of executions ...

Страница 126: ...1 Since the QJ71E71 100 treats application data in Little Endian format the byte order needs to be swapped Since the QSCPU does not support the SWAP instruction the upper and lower bytes are swapped in the following way 1 Store the swap target data into the areas M1000 to M1015 2 Move the lower byte data in the areas M1000 to M1007 to the other areas M1016 to M1023 3 Return the data in the areas M...

Страница 127: ...Output data sets 1 to 5 In the sample program bit 0 of Byte 0 bit 1 of Byte 1 bit 2 of Byte 2 and bit 3 of Byte 3 in output data set 1 are set to Active High 1 Parameter configuration a Configuration required for the WS0 GETH Refer to Section 8 2 2 1 b Configuration required for the QJ71E71 100 Refer to Section 8 2 2 1 2 Sample program This manual describes only devices used in sample programs and...

Страница 128: ...ification Output data set 3 writing 10 bytes D805 000AH Write data specification Output data set 4 writing 10 bytes D806 000AH Write data specification Output data set 5 writing 10 bytes D807 Any Not required Output data set 1 Byte 0 and Byte 1 D808 Output data set 1 Byte 2 and Byte 3 D809 Output data set 1 Byte 4 and Byte 5 D810 Output data set 1 Byte 6 and Byte 7 D811 Output data set 1 Byte 8 an...

Страница 129: ...H Required Response command D902 0000H Status 0 Successful 1 Error 1 Since the QJ71E71 100 treats application data in Little Endian format the byte order needs to be swapped 3 Monitoring data with Setting and Monitoring Tool The written output data sets can be monitored in the Ethernet to CPU dialog of Setting and Monitoring Tool For the execution result of the program refer to Section 8 2 3 3 Tab...

Страница 130: ...et data Logic result 0 input data set 1 CRC input data set 2 Each module status input data set 3 Figure 71 System configuration example 1 Parameter configuration a Configuration required for the WS0 GETH Configuration examples of network parameters required for communications in auto update mode are shown below Configure these parameters using Setting and Monitoring Tool The WS0 GETH requires no p...

Страница 131: ... program W device W0 to W18 Input data set 1 storage area W20 to W2F Input data set 2 storage area W30 to W4D Input data set 3 storage area M device D device M500 Receive execution D2 BUFRCV instruction failure error code M501 BUFRCV instruction success device D500 and D501 BUFRCV instruction control data M502 BUFRCV instruction failure device D520 Response command check device M510 BUFRCV instruc...

Страница 132: ...longer than the scan time For details of data reception processing in a program for receiving input data sets in auto update mode refer to Section 8 2 4 2 Since the QJ71E71 100 treats application data in Little Endian format the byte order needs to be swapped Note that the byte order of the input data set 1 and output data set 1 does not need to be changed because these data are one byte long Data...

Страница 133: ...m If the LED flashes even after restarting the module may have failed On in red Another module in the system may have a critical error Search for the error module with Setting and Monitoring Tool and eliminate the error Flashing in red and green Check if either the QJ71E71 100 or the WS0 GETH has been configured as a master module Check if the parameter configuration such as an IP address is corre...

Страница 134: ... GETH Execute the OPEN instruction to open the connection Turn on the open execution device M300 Execute the BUFSND instruction and send the command Turn on the send execution device M400 Was the BUFSND instruction executed Was M400 turned on YES M410 is on NO M411 is on Check the code of an error occurred by executing the BUFSND instruction and eliminate the error Eliminate the error referring to...

Страница 135: ...k if the data have been sorted in Little Endian format NO Check if the read write request data sent from the QJ71E71 100 have been correctly sorted In polling mode output data set writing check if the MELSEC WS CPU module is in Run state YES End YES M510 is on NO M511 is on Check the code of an error occurred by executing the BUFRCV instruction and eliminate the error Eliminate the error referring...

Страница 136: ...the WS0 GETH Check if the auto update mode has been configured for the WS0 GETH Check the network totally including the communication path between the WS0 GETH and the QJ71E71 100 a noise and installation status Was the expected value read NO The value was added in C32 Check if the response data are correctly verified in the verification processing Check that the data have been sorted in Little En...

Страница 137: ... 27 43 41 E Mail info sick it Japan Phone 81 0 3 3358 1341 E Mail support sick jp Nederlands Phone 31 0 30 229 25 44 E Mail info sick nl Norge Phone 47 67 81 50 00 E Mail austefjord sick no Österreich Phone 43 0 22 36 62 28 8 0 E Mail office sick at Polska Phone 48 22 837 40 50 E Mail info sick pl Republic of Korea Phone 82 2 786 6321 4 E Mail kang sickkorea net Republika Slovenija Phone 386 0 1 4...

Страница 138: ...h MELCO s Technical Bulletins Products discontinued and repair parts for them may not be available after their production is discontinued 2 Limits of Warranties a MELCO does not warrant or guarantee the design specify manufacture construction or installation of the materials construction criteria functionality use properties or other characteristics of the equipment systems or production lines int...

Страница 139: ... these terms shall apply to all three types of damages to the fullest extent permitted by law If however the personal injury wrongful death and or physical property damages cannot be disclaimed or limited by law or public policy to the extent provided by these terms then in any such event the disclaimer of and limitations on pecuniary or economic consequential and incidental damages shall neverthe...

Страница 140: ...tem names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies In some cases trademark symbols such as or are not specified in this manual SH NA 080857ENG G ...

Страница 141: ......

Страница 142: ...o 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 ...

Отзывы: