background image

 

7-16 

Example of communication data (Other hierarchy communication) 
 

 

 

Содержание FP2 ET-LAN

Страница 1: ...PROGRAMMABLE CONTROLLER Applicable Model FP2 ET1 Model No AFP2790 Discontinued product FP2 ET2 Model No AFP27901 FP2 ET LAN Unit Technical Manual ARCT1F322E 7 2013 12 panasonic net id pidsx global ...

Страница 2: ...ss than the maximum of the characteristics and performance that are assured in these specifications Do not dismantle or remodel the product It could cause excessive exothermic heat or smoke generation Do not touch the terminal while turning on electricity It could lead to an electric shock Use the external devices to function the emergency stop and interlock circuit Connect the wires or connectors...

Страница 3: ...an be Installed 1 12 1 4 Restrictions on Unit Version and Functions 1 12 1 4 1 Functions of ET LAN Unit and Applicable Versions 1 12 1 4 2 Precautions when using the e mail function 1 12 1 5 Unit Version and Communication Setting Method 1 13 1 5 1 Configurator ET 1 13 1 6 Restrictions Relating to Communication Conditions and Functions 1 13 1 6 1 Precautions When Using the FP2 CPU Unit 1 13 2 Names...

Страница 4: ...shake Method 4 8 4 4 2 Using the I O for the Handshake 4 9 4 4 3 Using the Shared Memory for the Handshake 4 10 5 Initialization Processing and Termination Processing 5 1 5 1 Initialization Termination Processing 5 2 5 1 1 What is Initializaiton Processing 5 2 5 2 Processing Procedures 5 4 5 2 1 An Overview of the Initialization Processing Procedure 5 4 5 2 2 An Overview of the Termination Process...

Страница 5: ... 7 14 8 Data Transfer Function 8 1 8 1 An Overview of the Data Transfer Function 8 2 8 1 1 What is the Data Transfer Function 8 2 8 1 2 Commands and Functions that can be Used 8 3 8 2 Data Transfer Procedure 8 4 8 3 Settings on the PLC Side 8 5 8 3 1 Connection Information Settings 8 5 8 3 2 Writing to the Shared Memory 8 7 8 3 3 Sample Program 8 8 8 4 Command Communication on the Computer Side 8 ...

Страница 6: ...10 1 6 Sample Program 10 11 10 2 System Connection 10 23 10 2 1 Initialization processing in the system connection 10 23 10 2 2 Open processing in the system connection 10 23 10 2 3 System Connection Information Setting 10 24 10 2 4 Reading system connection information settings 10 26 11 E mail Function 11 1 11 1 Outline of E mail Function 11 2 11 1 1 E mail Function Specification 11 2 11 2 Precau...

Страница 7: ...3 3 Warning Error 12 12 12 3 4 Recovery Possible Error 12 13 12 3 5 E mail Send Error 12 15 12 3 6 E mail Receive Error transmission 12 16 12 3 7 MEWTOCOL Error 12 17 12 3 8 Hardware Error 12 17 12 3 9 Auto Connection Error 12 18 13 Troubleshooting 13 1 13 1 Operation If an Error Occurs 13 2 13 1 1 Operation If the ALARM LED on the ET LAN Unit Lights 13 2 13 1 2 Operation If the E1 or E2 LED on th...

Страница 8: ...formance Specifications 15 2 15 1 1 General Specifications 15 2 15 1 2 Performance Specifications 15 2 15 1 3 Communication Specifications 15 3 15 2 I O Allocation 15 4 15 3 Table of Shared Memory 15 5 15 4 Table of Related Relays Registers and Instructions 15 25 15 4 1 System Register 15 25 15 4 2 Special Internal Relay 15 26 15 4 3 System Register 15 27 15 5 Minimum Transmission Delay Time 15 28...

Страница 9: ... can be used simultaneously The mode setting switch is used to switch between I O handshaking and shared memory handshaking Handshake signals See pages 4 9 to 4 12 I O handshaking signals Deleted I O handshake mode flag XE Shared memory handshake signal Deleted I O handshake mode flag bank 0 360H bit E Added Expansion complete signal area 2 bank 0 366H Shared memory See page 15 5 Connection data n...

Страница 10: ...1 Available communication functions vary between AFP2790 and AFP27901 100BASE TX 10BASE T 10BASE5 AFP2790 Available Available Available AFP27901 Available Available Not available Note AFP27901 has no 10BASE5 connector Other functions are common ...

Страница 11: ...Chapter 1 Unit Functions and Restrictions ...

Страница 12: ...hese interfaces may be used Automatic switching is possible between 100BASE TX and 10BASE T using an auto negotiation function while a switch can be used to switch between 100BASE TX 10BASE T and 10BASE5 100BASE TX 10BASE T 10BASE5 AFP2790 Available Available Available AFP27901 Available Available Not available Easy to use MEWTOCOL communication and general purpose transparent communication suppor...

Страница 13: ...cation status when the test mode is accessed An error log function that records the results of various checks 1 1 2 Unit Type Name Part No Model No FP2 ET LAN unit FP2 ET1 AFP2790 FP2 ET LAN2 unit FP2 ET2 AFP27901 Note No accessories such as connectors or cables are included 1 1 3 Structure of Network Communication functions of ET LAN unit Using the ET LAN unit to connect to an Ethernet 100BASE TX...

Страница 14: ...1 4 1 1 4 Connecting to a Network AFP2790 100BASE TX 10BASE T 10BASE5 AUI AFP27901 ...

Страница 15: ...segment Node spacing Integer multiples of 2 5 m Note1 Switching between 100BASE TX and 10BASE T is done automatically by auto negotiation function Note2 The standards cite 10 m as the maximum but noise resistance measures such as attaching a ferrite core may be necessary in some cases depending on the usage environment Also if the hub is positioned close to a control board we recommend using it at...

Страница 16: ...those shown above other networks A B C etc in the above illustration Key Point When using the ET LAN unit to carry out communication with partner nodes on another network the router used by the ET LAN unit should be registered 1 Up to five routers can be registered for the source network enabling communication with any of the nodes on another adjacent network See other networks 1 2 3 etc in the le...

Страница 17: ...ovides only data communication in IP units In the UDP communication method since no re transmission sequence or flow control for the communication data is provided support at the application level is required to guarantee communication reliability IP Internet Protocol IP is used to transmit data in units of datagrams to partner node specified by an IP address It provides function such as the divid...

Страница 18: ...rom and write to the computer s virtual I O and virtual registers A programmable controller can read from and write to the I O and registers of another programmable controller partner node The maximum amount of data that can be transferred by execution of one data transfer instruction is 1020 words Key Point The programmable controller specifies the IP address and MEWTOCOL station number 1 to 64 a...

Страница 19: ...ching on and off bits in the I O or shared memory handshake areas Key Point With transparent communication either the computer or programmable controller specifies the IP address and they open a mutual connection with the communication partner After opening a connection communication processing on the programmable controller side is done by the ladder program reading from and writing to the commun...

Страница 20: ...n function The ET LAN unit is reequipped with a test mode operation function for checking the hardware memory check and communications check and for performing internal and external loop back tests You can check the results of the test mode operation function using the LEDs on the unit or by checking the contents of error log area in the shared memory Error log function The ET LAN unit is equipped...

Страница 21: ...rt number Model number Current consumption at 5 V DC FP2 ET LAN unit FP2 ET1 AFP2790 670 mA FP2 ET LAN2 unit FP2 ET2 AFP27901 670 mA Reference For information on the internal current consumption of other units see the FP2 FP2SH User s Manual and the manuals provided with the other units 1 3 2 Restrictions on Installation Position The FP2 ET LAN unit may be installed only in the CPU backplane posit...

Страница 22: ...function Available with all the versions of ET LAN unit FP2 CPU unit Ver 1 08 or later FP2SH CPU unit Ver 1 02 or later Data transfer function MEWTOCOL COM communication MEWTOCOL DAT communication Transparent communication function Error log function Auto connection function Auto connection System connection Ver 2 00 or later of ET LAN unit is required FP2 CPU unit Ver 1 21 or later FP2SH CPU unit...

Страница 23: ...Model No Control Configurtor ET Japanese Windows 95 OSR2 or later Windows 98 Windows ME Windows 2000 Windows XP Windows Vista 20MB or later AFPS32110 English AFPS32510 1 6 Restrictions Relating to Communication Conditions and Functions 1 6 1 Precautions When Using the FP2 CPU Unit If the codes MC MD MG for monitor commands are used among the commands sent from the host computer commands being sent...

Страница 24: ...1 14 ...

Страница 25: ...Chapter 2 Names and Functions of Parts ...

Страница 26: ... transceiver using a transceiver cable 100BASE TX 10BASE T connector RJ45 When an Ethernet 100BASE TX 10BASE T is being used this connector is used to connect the ET LAN unit and the hub using a UTP cable External power supply terminal for 10BASE5 12 V DC When an Ethernet 10BASE5 is being used this terminal supplies power to the transceiver When an Ethernet 100BASE TX 10BASE T is being used this t...

Страница 27: ...est mode Normal mode E1 E1 Initialization processing error Recovery possible error Normal operation E2 E2 System error Hardware error Warning error Mail transmission error Mail reception error MEWTOCOL error Auto connection error ALM ALM CPU fault Unit normal 100B 100B 100BASE TX operation Other mode in operation 10BT 10BT 10BASE T operation Other mode in operation 10B5 10BASE5 operation Other mod...

Страница 28: ... T Connector RJ45 Pin No Signal name 1 TX 2 TX 3 RX 4 Not used 5 Not used 6 RX 7 Not used 8 Not used 2 2 3 External Power Supply Terminal for 10BASE5 12 V DC Pin No Signal name 1 12 V DC 2 GND 3 F G Note F G pin connects to the external metal shell of the 10BASE5 AUI 100BASE TX 10BASE T connectors and F G pin of the power supply unit Pins should be tightened firmly to a tightening torque of 0 5 to...

Страница 29: ...Chapter 3 Connection for LAN Cable ...

Страница 30: ...nication circuit is penetrating the ET LAN unit and is causing a communication error An error subsequent to error code A001H has occurred Cause External noise from the communication circuit is penetrating the ET LAN unit and is causing a communication error Confirm the following items and take any necessary corrective action Check to see if the RXLED lights or flashes or if a communication error i...

Страница 31: ...ated so that they do not come in contact with communication devices or cables Note Installation of LAN cables and devices A specialist should be consulted concerning construction work such as the installation of 100BASE TX and 10BASE T hubs the installation of the 10BASE5 AUI transceiver and laying of cables If this construction work is done incorrectly it can adversely affect the entire network a...

Страница 32: ...ce we recommend that you keep the cable under 10 m in length We recommend that you use shielded cable in environments where electrical noise is likely to be generated External power supply terminal The external power supply terminal is not used when 100BASE TX and 10BASE T are being used Earth The F G pin of the external power supply terminal on the front of the unit is connected to the outer meta...

Страница 33: ...t you use a high reliability connector type for the transceiver External power supply terminal connections Connect the external power supply terminal on the front panel of the unit to 12 V DC power supply to power the transceiver cable Note that the internal voltage drop is 1 V max Earth The F G pin of the external power supply terminal on the front of the unit is connected to the outer metallic s...

Страница 34: ...ble Shared memory test Available Available Timer test Available Available Internal loopback test Available Available External loopback test Not available Available Loopback test Running a loopback test checks the functions of the control section and communication section in the unit Note If you conduct an external loopback test when other nodes are communicating on the LAN there is a chance that a...

Страница 35: ...wer supply to the programmable controller Switch No Off On 1 100BASE TX 10BASE T Note1 10BASE5 2 Auto connection function is not available Auto connection function is available 3 Normal mode Test mode 4 Test mode 1 Note2 Test mode 2 Note2 Note1 Switching between 100BASE TX and 10BASE T is done automatically by auto negotiation function Always turn it off when using AFP27901 Note2 Invalid when the ...

Страница 36: ...t Writes AAH to every byte in RAM area and reads every byte to check that the value matches AAH C1 to 2 C1 to 2 E1 9011H Shared memory test Checks in the same way as the RAM test but does not check the top 2k bytes C1 to 3 C1 to 3 E1 9012H Timer test Check whether or not the time generates an interrupt C1 to 4 C1 to 4 E1 9016H Internal loopback test Performs an internal communication loopback test...

Страница 37: ...Chapter 4 Confirming the Design Contents ...

Страница 38: ...ddress confirmation If the ET LAN is communicating with another node or nodes through a router the router IP address and the sub network address should be confirmed This is not necessary if communication is not being carried out with nodes of other networks through a router Key Point If the network to which the ET LAN unit is connected is completely independent any IP address except for 0000 0000H...

Страница 39: ...ng tools can be used to specify 0SE to set the number of occupied points to 0 Note If I O installation allocation and Auto allocation are used 16 points will be allocated automatically to each of the empty slots If a dual module type of CPU unit is being used the I O area occupied by the unit incorporated into the CPU unit should also be confirmed For information on I O allocations please refer to...

Страница 40: ...have been installed they are numbered route no 1 route no 2 route no 3 etc in sequence with route no 1 being the one closest to the CPU This route is not included for I O units and advanced function units other than link related units Example When one Multi wire link unit is being used at the same time Key Point If any of the following units have also been installed a route no is specified that al...

Страница 41: ...re in word 16 bit units The allocations connections 1 to 3 for the transparent communication buffer area shown above show the statuses in effect when the unit is shipped from the factory The first addresses and sizes of the transmission and receiving buffers for connections 1 to 8 can be changed to any desired values in the transparent communication buffer area 6k words by changing the contents of...

Страница 42: ...on processing for the ET LAN unit has been completed successfully the specified conditions are stored at these addresses The contents stored here include source node IP addresses MEWTOCOL station numbers and other information If the initialization processing was not completed successfully the error code is stored here Connection information notified area Addresses 2E0H to 35FH When the open proces...

Страница 43: ...e stored when e mail error log is requested Up to the latest 32 e mail error blocks send and receive errors in total can be stored The contents of the area can be checked using the shared memory readout menu in the programming tool E mail send log area Bank 11H Addresses 000H to 1FFH E mail send history is stored when e mail error log is requested Up to the latest 32 e mail send blocks can be stor...

Страница 44: ...f the CPU unit switches from RUN to PROG mode due to some error occurring communication stops As the shared memory is not changed even in PROG mode the connection communication route is not closed However if the connection is closed from another node when in PROG mode the ET LAN will not execute a process to reopen it When you switch from PROG mode to RUN mode and the reinitialize and re opening p...

Страница 45: ...ion complete signal X1C Open complete signal Connection 7 XD Initialization error signal X1D Open error signal Connection 7 XE X1E Open complete signal Connection 8 XF Error log notified complete signal X1F Open error signal Connection 8 Output Relay numbers indicate the numbers when installed in slot no 0 No Description No Description Y20 Receive request signal Connection 1 Y30 Open request signa...

Страница 46: ...t signal Connection 3 bit 4 Receive notified signal Connection 6 bit 5 bit 5 Receive complete signal Connection 6 bit 6 Open request signal Connection 4 bit 6 Transmission complete signal Connection 6 bit 7 bit 7 Transmission error signal Connection 6 bit 8 Open request signal Connection 5 bit 8 Receive notified signal Connection 7 bit 9 bit 9 Receive complete signal Connection 7 bit A Open reques...

Страница 47: ... request signal Connection 3 bit 4 Receive request signal Connection 6 bit 5 bit 5 bit 6 Open request signal Connection 4 bit 6 Transmission request signal Connection 6 bit 7 bit 7 bit 8 Open request signal Connection 5 bit 8 Receive request signal Connection 7 bit 9 bit 9 bit A Open request signal Connection 6 bit A Transmission request signal Connection 7 bit B bit B bit C Open request signal Co...

Страница 48: ...ed memory to carry out the handshake internal relays should be allocated to teach of the signal areas as shown in the program below Program example Flow of processing when re initialization and re open processing are not carried out after a switch to RUN mode ...

Страница 49: ...Chapter 5 Initialization Processing and Termination Processing ...

Страница 50: ... Items set during initialization processing Setting area Setting item Initialization information setting area Source node IP address Communication function setting between networks Source node MEWTOCOL station number TCP ULP packet existence duration TCP zero window timer value TCP re transmission timer value Receiving buffer starting address for transparent communication Receiving buffer size for...

Страница 51: ...5 3 Operation of the ET LAN unit The relationship between initialization processing and open processing ...

Страница 52: ...itialization request signal bit When I O is used for handshake Y2C When shared memory is used for handshake Bank 0 Address 368H Bit C The initialization request signal should be kept on unit termination processing is carried out 4 Check to make sure the initialization complete signal is on Handshake method Initialization request signal bit When I O is used for handshake XC When shared memory is us...

Страница 53: ...rocessing has been completed for all of the connections 2 Turn off the initialization request signal 3 Check to make sure the initialization complete signal has gone off Note If the initialization request signal is turned off while a connection is open all of the connections will be forcibly closed Timing chart for initialization and termination processing ...

Страница 54: ...H 202H Communication function setting between networks 0000H Set value 0000H Communication between networks not used 0001H Communication between networks used Specifies whether or not communication is carried out between networks using a router If communication between networks is used the routing information setting area should also be specified 203H Source node MEWTOCOL station number 0000H Set ...

Страница 55: ... value 0005H 10 seconds Setting time Setting value 1 to FFFFH x 2 seconds With TCP this specifies the time until data is re sent if ACK is not sent by the other node when data transmission etc is carried out 20DH TCP closed timer value 0001H 2 seconds Setting time Setting value 1 to FFFFH x 2 seconds This specifies the time waited until open processing is carried out when the same port is being re...

Страница 56: ...5H 10 seconds Note If the value set for the TCP ULP is smaller than that set for the TCP re send timer the data will not be re sent Data will only be sent the first time If UDP IP is being used re sending is not carried out Key Point Always specify the source node IP address and the source node MEWTOCOL station number If these are not specified correctly an error will occur processing will be term...

Страница 57: ...3H Transmission buffer size for transparent communication Connection 1 0400H Set value Size of send buffer The size of the send buffer is specified in word units when transparent communication is being carried out among the various connections 0000H is set if this is not being used 214H Connection 2 Receiving buffer starting address for transparent communication 3000H The first address in each buf...

Страница 58: ...FFFFH 225H Receiving buffer size for transparent communication 0000H 226H Transmission buffer starting address for transparent communication FFFFH 227H Transmission buffer size for transparent communication 0000H 228H Connection 7 Receiving buffer starting address for transparent communication FFFFH 229H Receiving buffer size for transparent communication 0000H 22AH Transmission buffer starting ad...

Страница 59: ...nections 1 to 8 can be sent to any desired values in the 6k words transparent communication buffer area by changing the contents of the initialization information settings The shared memory addresses indicated below are in word 16 bit units Key Point If the transparent communication function is not being used it is not necessary to write anything to these areas Please note that the various transpa...

Страница 60: ...es 230H to 24FH using the shared memory writing instructions F151 WRT and P151 PWRT Key Point In order to make the routing information setting area valid 0001H should be set for the communication function setting between networks Bank 0 Address 202H If 0000H is specified the routing information will be invalid If communication is not to be carried out between networks through a router no settings ...

Страница 61: ... is specified for the network mask 59000000H will be the network address Class A network If FFFF0000H is specified for the subnetwork mask 59010000H will be the subnetwork address Class B network 231H Network subnetwork masking H 0000H 232H Default router Gateway IP address L 0000H Se values Default router gateway IP address This is effective as long as the network subnetwork mask field is anythin...

Страница 62: ...an error will occur 00000000H and FFFFFFFFH will cause errors to occur 238H Router 1 Router IP address H 0000H 239H Router 2 Network subnetwork address L 0000H Refer to the above addresses 235H to 238H 23AH Network subnetwork address H 23BH Router IP address L 23CH Router IP address H 23DH Router 3 Network subnetwork address L 0000H 23EH Network subnetwork address H 23FH Router IP address L 240H R...

Страница 63: ...nication with destination nodes on any other desired network Other networks A B C in the diagram With the ET LAN unit with regard to the routers on the source network through which the type of communication described in 1 is handled there may be up to five of these routers the IP address es of the router s and the network sub network address es of the adjacent network s connected through the route...

Страница 64: ...network addresses for the five networks Network 1 to 5 In any other case communication with the destination node is carried out through the default router gateway if the destination node is located in networks A to C in the illustration Key Point 1 The network sub network addresses of the five routers Router 1 to 5 on the source network are registered along with the IP addresses The network sub ne...

Страница 65: ...alue is not entered until initialization processing has been completed successfully 2D2H Source node IP address 2D3H Communication function setting between networks Stored value 0 Communication function setting between networks is not used 1 Communication function setting between networks is used The value is not entered until initialization processing has been completed successfully 2D4H Source n...

Страница 66: ...5 18 Address Name Setting value and explanation 2D8H Reserved Used by the system 2D9H 2DAH 2DBH 2DCH 2DDH 2DEH 2DFH ...

Страница 67: ...lete signal area R0 to R1F RD Initialization error signal Request signal area R40 to R5F R4C Initialization request signal Allocation of data registers Classification of processing Device number Setting item Program example setting Initialization processing DT10 to DT11 Source node IP address 192 168 1 1 DT12 Communication function setting between networks Not used DT13 Source node MEWTOCOL statio...

Страница 68: ...5 20 ...

Страница 69: ...Chapter 6 Open Processing and Close Processing ...

Страница 70: ...area of the shared memory in the unit for each connection When communication has been completed close processing can be used to release the connection Items set for open processing Setting area Setting item Open information setting area Application being used Communication method TCP IP or UDP IP Open method Active Fullpassive or Unpassive Application using the connection MEWTOCOL communication or...

Страница 71: ...6 3 Operation of the ET LAN unit The relationship between open processing and close processing ...

Страница 72: ...P IP User Datagram Protocol UDP is a protocol in which connections are not used Data can be transferred simply by specifying the IP address of the partner node and the number of the port being used so no mutual connections need to be opened With the ET LAN unit however open processing is necessary in order to specify the application the number of the port being used and the IP address Note If conn...

Страница 73: ...ress and port number of the partner node are specified and then the system waits for reception Unpassive open Passive connection open The system is waiting for data to be received from an unspecified partner node in order to establish a connection In the Unpassive open method the connection information concerning the partner node should be read and confirmed when a connection has been opened ...

Страница 74: ...tive connection open The connection is actively established When the Active open is specified the source node should not begin Active open processing until the partner node has begun Fullpassive Unpassive open processing ...

Страница 75: ...sure the pen complete signal is on Hand shake method Open request signal bit Conne ction 1 Conne ction 2 Conne ction 3 Conne ction 4 Conne ction 5 Conne ction 6 Conne ction 7 Conne ction 8 When I O is used for handshake X10 X12 X14 X16 X18 X1A X1C X1E When shared memory is used for handshake Bank 0 Address 361H Bit 0 Bit 2 Bit 4 Bit 6 Bit 8 Bit A Bit C Bit E Note The connection information setting...

Страница 76: ...iew of the Close Processing Procedure 1 Check to make sure the open complete signal is on 2 Turn off the open request signal 3 Check to make sure the open complete signal is off Timing chart for open and close processing ...

Страница 77: ...151 WRT and P151 PWRT The connection information setting area consists of eight blocks to match the number of connections The offset address contents from the table in the next page are allocated for the various connections Key Point Offset addresses 0 to 8 are written before open processing is carried out Offset addresses D and F are used when communication processing is being carried out using t...

Страница 78: ...tion is used If using computer linking or data transfer set 0 MEWTOCOL communication If using transparent communication set 1 Transparent communication 1 Source node port No connections 1 to 8 0000H Set value TCP or UDP communication process port number Set any port number other than 0H a value of 8000 1F40 or higher is recommended 2 Partner node IP address L connections 1 to 8 0000H Set value Par...

Страница 79: ...If any value is written to these it should be 0000H A B C D Receive request data size connections 1 to 8 0000H Set value Receive request data size in byte units This is specified if data is being received in transparent communication No receive notification is made until data equal to the specified size has been received If FFFFH is specified direct reception is carried out the receive complete si...

Страница 80: ...2E0H to 35FH using the shared memory reading instructions F150 READ and P150 PREAD The connection information setting area consists of eight blocks to match the number of connections The offset address contents from the table in the next page are allocated for the various connections Program example This program uses an ET LAN installed in slot no 0 as shown below and reads the connection informat...

Страница 81: ...cessing has been completed The value is not entered until open processing has been successfully completed 5 Partner node MEWTOCOL station number connections 1 to 8 Stored value Partner node MEWTOCOL station numbers for various connections after open processing has been completed The value is not entered until open processing has been successfully completed 6 Connection closing time connections 1 t...

Страница 82: ...smission processing complete code connections 1 to 8 Stored value 0 Transmission processing has been completed successfully Other than 0 Error code when transmission processing ended in an error If transmission processing is carried out again the results are overwritten Error codes are also stored in the error log area F Transparent transmission complete data size connections 1 to 8 Stored value S...

Страница 83: ...er Available Available Single setting for source node port number multiple settings for partner node port number Not available Not available Multiple settings for source node port number single setting for partner node port number Available Not available Neither source node port number nor partner node port number can be set to single setting Not available Not available Connections with multiple n...

Страница 84: ...6 16 ...

Страница 85: ...Chapter 7 Computer Link Function ...

Страница 86: ...g response messages from the programmable controller When the programmable controller receives a command message it automatically returns a response message After a connection has been opened there is no need to create a program on the programmable controller side to handle communication Key Point With a computer link the programmable controller specifies an IP address and a MEWTOCOL station numbe...

Страница 87: ...rea RK Reads the timer counter elapsed value Write timer counter elapsed value area WK Writes the timer counter elapsed value Register or Reset contacts monitored MC Registers the relay to be monitored Register or Reset data monitored MD Registers the data to be monitored Monitoring start MG Monitors a registered relay or data Preset contact area fill command SC Embeds the area of a specified rang...

Страница 88: ... conditions With the ET LAN unit in addition to ordinary MEWTOCOL an expansion header is also supported that enables single frames of up to 2048 characters to be sent Type of header No of characters that can be sent in 1 frame Max 118 characters Max 2048 characters The number of characters that can be sent is restricted by the type of header and the command Reference For detailed information on ME...

Страница 89: ...tialization processing for the unit has been carried out After a connection has been opened with the partner node computer there is no need to run a communication program on the programmable controller side Instead the programmable controller receives command messages from the computer and automatically sends response messages back Procedure for setting up an ET LAN unit computer link The relation...

Страница 90: ...cify any port number other than 0H A value of 8000 1F40 or higher is recommended DTn 2 Partner node IP address L Specify the IP address of the partner node Example To specify 192 168 1 2 C0 A8 01 02H DTn 2 0102H DTn 3 C0A8H This is not necessary when using the Unpassive open mode of TCP IP DTn 3 Partner node IP address H DTn 4 Partner node port No Specify any port number for the partner node other...

Страница 91: ... a MEWTOCOL station number within a range of 1 to 64 choosing a number that does not duplicate any other station number on the same network When using the Active open mode if the partner node has no ARP function specify the Ethernet address of the partner node for DTn 6 to DTn 8 ...

Страница 92: ...writing instructions F151 WRT and P151 PWRT Shared memory address Program example If using connection 1 of the ET LAN unit installed in slot no 0 the program for writing data to the shared memory would be as follows Key Point The slot number and bank number to be used by the shared memory writing instructions F151 WRT and P151 PWRT are specified as follows ...

Страница 93: ...or signal Open error signal Connection 1 Request signal area R40 to R5F R4C R50 Initialization request signal Open request signal Connection 1 Data register allocation Classification of processing Device number Setting item Setting for program example Initialization processing DT10 to DT11 Source node IP address 192 168 1 1 C0A80101H DT12 Communication function setting between networks Not used DT...

Страница 94: ...7 10 Program example ...

Страница 95: ...ommunication If there is no other link unit between the computer and the partner node acting as a relay station the partner node is said to be on the same hierarchy level as the computer With the ET LAN unit if the computer link function is being used with a unit on the same hierarchy level commands and responses are sent and received using the format noted below ...

Страница 96: ...ed for the Data Size parameter The station number of the station sending the command is specified for Source for MEWTOCOL station number The station number of the station receiving the command is specified for Destination for MEWTOCOL station number 00H should be specified for both Hierarchy level LEVEL and Hierarchy depth DEPTH Destination Source MEWTOCOL station No is specified by converting to ...

Страница 97: ...7 13 Example of communication data Same hierarchy communication ...

Страница 98: ...a different hierarchy level commands and responses are sent and received using the format noted below Format of command transmission data Format of response received data Precautions concerning format The number of bytes comprising the MEWTOCOL COM command or message is converted to hexadecimal data and specified for the Data Size parameter The Station Number for Relay Station and Route Number for...

Страница 99: ... level LEVEL is fixed at 00H Destination Source MEWTOCOL station No is specified by converting to hexadecimal data Key Point The route number is a number that is automatically allocated to differentiate units if multiple link related units are being used on the same backplane With the FP2 this applies to ET LAN units multi wire link units and computer communication units Route numbers proceed in s...

Страница 100: ...7 16 Example of communication data Other hierarchy communication ...

Страница 101: ...7 17 Other hierarchy communication for MEWTOCOL COM ...

Страница 102: ...7 18 ...

Страница 103: ...Chapter 8 Data Transfer Function ...

Страница 104: ...used in order to assure the reliability of the communication Key Point With data transfer the programmable controller specifies an IP address and a MEWTOCOL station number 1 to 64 and opens a connection with the computer partner node in the MEWTOCOL communication mode After the connection has been opened the communication destination is specified only by the MEWTOCOL station number 1 to 64 in the ...

Страница 105: ...mable controller which automatically sends back a response message MEWTOCOL DAT commands Command code Command name Functions 50H Write word data The specified number of words of data are written starting from the specified first word number in the data area 51H Read word area The specified number of words of data are read starting from the specified first word number in the data area 52H Write con...

Страница 106: ... with a programmable controller open processing is used to specify the MEWTOCOL communication mode and to open the connection with the partner node after initialization processing for the ET LAN unit has been carried out Procedure for transferring ET LAN unit data ...

Страница 107: ...ther than 0H A value of 8000 1F40 or higher is recommended DTn 2 Partner node IP address L Specify the IP address of the partner node Example To specify 192 168 1 2 C0 A8 01 02H DTn 2 0102H DTn 3 C0A8H This is not necessary when using the Unpassive open mode of TCP IP DTn 3 Partner node IP address H DTn 4 Partner node port No Specify any port number for the partner node other than 0H A value of 80...

Страница 108: ... port number of 8000 1F40 or higher Specify a MEWTOCOL station number within a range of 1 to 64 choosing a number that does not duplicate any other station number on the same network subnetwork When using the Active open mode if the partner node has no ARP function specify the Ethernet address of the partner node for DTn 6 to DTn 8 ...

Страница 109: ...writing instructions F151 WRT and P151 PWRT Shared memory address Program example If using connection 1 of the ET LAN unit installed in slot no 0 the program for writing data to the shared memory would be as follows Key Point The slot number and bank number to be used by the shared memory writing instructions F151 WRT and P151 PWRT are specified as follows ...

Страница 110: ...ea R40 to R5F R4C R50 Initialization request signal Open request signal Connection 1 Data register allocation Classification of processing Device number Setting item Setting for program example Initialization processing DT10 to DT11 Source node IP address 192 168 1 1 C0A80101H DT12 Communication function setting between networks Not used DT13 Source node MEWTOCOL station number 01 Open processing ...

Страница 111: ...8 9 Program example ...

Страница 112: ...EWTOCOL communication If there is no other link unit between the computer and the partner node acting as a relay station the partner node is said to be on the same hierarchy level as the computer When the data transfer function is being used between units on the same hierarchy commands and responses are sent and received using the format indicated below ...

Страница 113: ...ed for the Data Size parameter The station number of the station sending the command is specified for Source for MEWTOCOL station number The station number of the station receiving the command is specified for Destination for MEWTOCOL station number 00H should be specified for both Hierarchy level LEVEL and Hierarchy depth DEPTH Destination Source MEWTOCOL station No is specified by converting to ...

Страница 114: ...8 12 Example of communication data Same hierarchy communication ...

Страница 115: ...computer and the partner node acting as a relay station the partner node is said to be on a different hierarchy level from the computer When the data transfer function is being used to send data to a unit on a different hierarchy commands and responses are sent and received using the format indicated below Format of command transmission data Format of response received data ...

Страница 116: ...cified for Destination for MEWTOCOL station number For the command the same value within a range of 01H to 03H should be specified for both the Hierarchy level LEVEL and Hierarchy depth DEPTH parameters With the responses Hierarchy level LEVEL is fixed at 00H Destination Source MEWTOCOL station No is specified by converting to hexadecimal data Key Point The route number is a number that is automat...

Страница 117: ...8 15 Example of communication data Other hierarchy communication ...

Страница 118: ... said to be on a different hierarchy level from the computer The format in which the computer receives data from a PLC on a different hierarchy and sends responses is generally s shown below The format varies depending on the hierarchy position of the PLC on the sending side Precautions concerning format The number of bytes comprising the MEWTOCOL DAT command or message is converted to hexadecimal...

Страница 119: ...8 17 Other hierarchy communication for MEWTOCOL DAT ...

Страница 120: ...8 18 ...

Страница 121: ...Chapter 9 Transparent Communication Function ...

Страница 122: ...by the bits of the handshake area in the I O or shared memory being turned on and off Key Point With the transparent communication function the programmable controller or computer specifies an IP address to open a connection with the communication destination After the connection has been opened communication processing on the programmable controller side is carried out by data being read from or ...

Страница 123: ...zation processing is first carried out for the unit and then a connection is opened between the source node and the partner node through open processing Once this connection has been opened communication processing is executed through the ladder program Procedure for transparent communication with the ET LAN unit ...

Страница 124: ...F40 or higher is recommended DTn 2 Partner node IP address L Specify the IP address of the partner node Example To specify 192 168 1 2 C0 A8 01 02H DTn 2 0102H DTn 3 C0A8H This is not necessary when using the Unpassive open mode of TCP IP DTn 3 Partner node IP address H DTn 4 Partner node port No Specify any port number for the partner node other than 0H A value of 8000 1F40 or higher is recommend...

Страница 125: ...writing instructions F151 WRT and P151 PWRT Shared memory address Program example If using connection 1 of the ET LAN unit installed in slot no 0 the program for writing data to the shared memory would be as follows Key Point The slot number and bank number to be used by the shared memory writing instructions F151 WRT and P151 PWRT are specified as follows ...

Страница 126: ...uffer of the shared memory and then executing the transmission request Reception processing When the ET LAN unit receives data from the communication circuit the reception notified signal goes on If a reception request is executed while this signal is on the received data is stored in the receive buffer of the shared memory Data is read from the receive buffer at the timing at which the reception ...

Страница 127: ...factory are as shown below See page 5 10 The first addresses and sizes of the transmission and receive buffers of connections 1 to 8 can be set to any desired values in the 6k words transparent communication buffer area by changing the contents of the initialization information settings The shared memory addresses indicated below are in word 16 bit units ...

Страница 128: ...ly completed the transmission complete signal goes on After confirmation has been made that the transmission complete signal is on the transmission request signal should be turned off When the transmission request signal has been turned off the transmission complete signal goes off If the transmission processing is not successfully completed for some reason the transmission error signal goes on To...

Страница 129: ... transmission request data size is less than or equal to the transmission buffer size x 2 The next time data is to be sent always check to make sure the transmission complete signal is off b before executing the transmission processing The user is notified of the content of an error by means of a transmission processing end code and an error log ...

Страница 130: ...eception Processing Reception processing timing chart When the size of the data received is less than or equal to the reception request data size When the size of the data received is greater than the reception request data size ...

Страница 131: ...occurs the receive request signal goes off When the receive request signal goes off the receive error signal goes off Always make sure this has been done before carrying out the reception processing again When the size of the data received is greater than the receive request data size the following procedure is used to carry out communication processing Even if the receive request signal goes off ...

Страница 132: ...ception is carried out With direct reception the receive request signal goes on each time a packet is received If the received data exceeds the receive request data size the receive data notified signal remains on even after the receive complete signal has gone off In this case reception data can continue to be read by turning on the receive request signal again The next time data is to be receive...

Страница 133: ...t 2 Bit 6 Bit A Bank 0 Address 364H Bank 0 Address 365H Bit 2 Bit 6 Bit A Bit E Bit 2 Bit 6 Bit A Bit E Transmis sion error signal Handshake using I O X3 X7 XB Handshake using shared memory Bank 0 Address 360H Bit 3 Bit 7 Bit B Bank 0 Address 364H Bank 0 Address 365H Bit 3 Bit 7 Bit B Bit F Bit 3 Bit 7 Bit B Bit F Related to transmission processing Signal name Handshake method Receive notified sig...

Страница 134: ...andshake using shared memory Bank 0 Address 360H Bit 1 Bit 5 Bit 9 Bank 0 Address 364H Bank 0 Address 365H Bit 1 Bit 5 Bit 9 Bit D Bit 1 Bit 5 Bit 9 Bit D Handshake using shared memory Bank 0 Address 366H Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Note The I O number applies when the ET LAN unit has been installed in slot no 0 Reception error signals are used only when the handshake is carrie...

Страница 135: ...on 2 Connec tion 3 Connec tion 4 Connec tion 5 Connec tion 6 Connec tion 7 Connec tion 8 Receive request data size Bank 0 Address 25DH Bank 0 Address 26DH Bank 0 Address 27DH Bank 0 Address 28DH Bank 0 Address 29DH Bank 0 Address 2ADH Bank 0 Address 2BDH Bank 0 Address 2CDH Reception notified data size Bank 0 Address 2EDH Bank 0 Address 2FDH Bank 0 Address 30DH Bank 0 Address 31DH Bank 0 Address 3...

Страница 136: ... area R40 to R5F R4C R50 Initialization request signal Open request signal Connection 1 Data register allocation Classification of processing Device number Setting item Setting for program example Initialization processing DT10 to DT11 Source node IP address 192 168 1 1 C0A80101H DT12 Communication function setting between networks Not used DT13 Source node MEWTOCOL station number 01 Dummy setting...

Страница 137: ...9 17 Program example ...

Страница 138: ...rea R0 to R1F R1 R2 R3 RC R10 Receive complete signal Transmission complete signal Transmission error signal Initialization complete signal Open complete signal Request signal area R40 to R5F R40 R42 Initialization request signal Transmission request signal Data register allocation Classification of processing Device number Setting item Setting for program example Reception processing DT210 Receiv...

Страница 139: ...9 19 Transmission processing After the data being transmitted has been written to the transmission buffer of the shared memory the following program is run ...

Страница 140: ...9 20 Reception processing After the following program has been run the received data is read from the receive buffer ...

Страница 141: ...9 21 9 5 3 Sample Program Reception to Transmission Program example for transmitting received data as it is ...

Страница 142: ...has been installed in slot 0 Internal relay allocation Classification Device number Devices used in program example Complete signal area R0 to R1F R1 R2 R3 Receive complete signal Transmission complete signal Transmission error signal Request signal area R40 to R5F R40 R42 Receive request signal Transmission request signal ...

Страница 143: ...Chapter 10 Auto Connection ...

Страница 144: ...n the back of the ET LAN unit is turned ON The operation flow of the ET LAN unit is as shown below Reference 2 1 3 Mode setting switch Operation flow of ET LAN unit Auto initialization processing When the auto connection function is ON Setting mode switch 2 is ON the initialization processing is performed automatically At this time the initialization processing by the ladder program is invalid Ref...

Страница 145: ...2 Open processing in the system connection Initialization processing by the ladder program When the auto connection function is OFF Setting mode switch 2 is OFF the initialization processing is performed by the ladder program At this time the auto initialization processing is invalid Reference Chapter 5 Initialization Processing and Termination Processing Open processing by the ladder program When...

Страница 146: ...sary to set up each information as shown in the diagram below with the setup tool Configurator ET Configurator ET the setup tool can be uploaded and downloaded irrespective of the auto connection function ON OFF status Reference Concerning the use of Configurator ET refer to Control Configurator ET Operational Guide Book ARCT1F341E ...

Страница 147: ...1H Auto connection function valid Mode setting switch 2 is ON 041H Normal connections 1 to 8 open processing setup procedure Open processing setup status is stored 00H Tool setup valid Ladder setup invalid 01H Ladder setup valid Tool setup invalid 042H System connection 1 status Connection status of System connection 1 is stored 00H Open processing Waiting 01H Open processing Completed 02H Connect...

Страница 148: ...rea Items set with the Configurator ET during auto initialization processing Setting information Setting item Initialization information Source node IP address Communication setting between networks Source node MEWTOCOL station number TCP ULP packet existence duration TCP zero window timer value TCP re transmission timer value IP reassembling timer value Connections 1 to 8 Receiving buffer startin...

Страница 149: ... complete signal and the open error signal in the conventional I O handshake area or in the shared memory handshake complete signal area Items set with the Configurator ET during auto open processing Setting information Setting item Common setting Open processing set with the ladder program Valid or Invalid Open setting information connections 1 to 8 Connection setting Valid Invalid Application be...

Страница 150: ... an IP address for the destination node that is in the same class and is other than 0 0 0 0 When using TCP Unpassive No address needs to be specified 0 Destination node port No Specify any port number other than 0 A value of 8000 1F40H or higher is recommended When using TCP Unpassive No address needs to be specified 0 Destination node MEWTOCOL station No Specify the station number of the destinat...

Страница 151: ...ort No Connections 1 to 8 Stored value Destination node port No for various connections after open processing has been completed The value is not entered until open processing has been successfully completed 5 Destination node MEWTOCOL station No Connections 1 to 8 Stored value Destination node MEWTOCOL station numbers for various connections after open processing has been completed The value is n...

Страница 152: ...value to be notified as exceeding the receive request data size When the connection has been closed receive processing may end in some cases even if the receive request data size has not been satisfied If this happens the value is notified as being less than the receive request data size E Transparent transmission processing complete code Connections 1 to 8 Stored value 0 Transmission processing h...

Страница 153: ...m is necessary on the PLC side which receives the MEWTOCOL DAT command To transfer the data the following procedures are required Communication setting can be performed as shown below When the auto connection function is not used Setting is performed only using the ladder program Case 1 When the auto connection function is used When using the setup tool Configurator ET Connection setting using the...

Страница 154: ...o R5F R4C Initialization request signal R50 Open request signal Connection 1 Data register allocation Classification of processing Device number Setting item Settings used in the program Initialization processing DT10 to DT11 Source node IP address 192 168 1 1 C0A80101H DT12 Communication function setting between networks Not used DT13 Source node MEWTOCOL station No 01 Open processing DT20 Open m...

Страница 155: ...10 13 Case 1 Ladder program example ...

Страница 156: ...nfigurator ET Open processing Ladder program Data transfer Ladder program Setting using the setup tool Configurator ET Setting the connection using the ladder program To set the open processing using the ladder program confirm that a check mark is placed in The connection 1 to 8 are set by ladder program check box Setting the initialization processing using the Configurator ET Classification Setti...

Страница 157: ...R5F R4C Initialization request signal Data register allocation Classification of processing Device number Setting item Settings used in the program Open processing DT20 Open method MEWTOCOL communication TCP IP Full Passive open DT21 Source node port No 8000 DT22 to DT23 Destination node IP address 192 168 1 2 C0A80102H DT24 Destination node port No 8000 DT25 Destination node MEWTOCOL station No 0...

Страница 158: ...10 16 Case 2 1 Ladder program example Same as the one which the X Programming is not required section as shown below is deleted from the ladder program in Case 1 ...

Страница 159: ...T Data transfer Ladder program Setting using the setup tool Configurator ET Setting the connection using the setup tool Configurator ET To set the open processing using the setup tool Configurator ET confirm that a check mark is NOT placed in The connection 1 to 8 are set by ladder program check box Setting the initialization processing using the Configurator ET Classification Setting item Descrip...

Страница 160: ...initialization complete signal RD Initialization error signal R11 Open error signal Connection 1 Request signal area R40 to R5F R4C Initialization request signal Data register allocation Classification Device number Setting description Setting for program example Data transfer processing DT22 to DT23 Source node route No 1 Destination node MEWTOCOL station No 05 Number of transferred words 3 Data ...

Страница 161: ...10 19 Case 2 2 Ladder program example Same as the one which the X Programming is not required sections as shown below are deleted from the ladder program in Case 1 ...

Страница 162: ... setting Source node IP address 192 168 1 1 Communication function setting between networks Not used Source node MEWTOCOL station No 1 Time setting Default Transparent communication setting Default Open processing Connection setting Connection information setting Open method Transparent communication TCP IP Active Open Source node port No 8000 Destination node IP address 192 168 1 2 C0A80102H Dest...

Страница 163: ...signal R3 Transmission error signal RC Initialization complete signal RD Initialization error signal R10 Open complete signal R11 Open error signal Request signal area R40 to R5F R40 Receive request signal R50 Transmission request signal Data register allocation Common to transmission and reception sides Classification Device number Setting item Setting for program example Reception processing DT2...

Страница 164: ...emory the following program is executed Initialization processing and open processing are automatically executed Example of transparent communication program Reception processing After the following program has been executed the received data is read from the receive buffer of the shared memory Initialization processing and open processing are automatically executed ...

Страница 165: ...he application using the connection MEWTOCOL communication 10 2 1 Initialization processing in the system connection System connection can be used when the auto connection function is valid Mode setting switch 2 is ON To use the system connection function therefore auto initialization processing setting is required Reference 2 1 3 Auto Initialization Processing 10 2 2 Open processing in the system...

Страница 166: ...er than 0 and 255 255 255 255 When using UDP Specify the IP address for the destination node that is in the same class and is other than 0H When using TCP Unpassive No address needs to be specified 0 0 0 0 Destination node port No Specify the port number other than 0 A value of 8000 or higher is recommended When using TCP Unpassive No address needs to be specified 0 Destination node MEWTOCOL stati...

Страница 167: ...RMT LED Description ON When any connection among System connections 1 to 3 is effective and no error occurs Flashing When an error occurs in any System connection System connection 1 2 or 3 OFF When System connections 1 to 3 are not connected Reference Chapter 2 1 2 LED Operation Status ...

Страница 168: ...resses for various connections after auto open processing has been completed The value is not entered until auto open processing has been successfully completed 3 Destination node IP address H System connections 1 to 3 4 Destination node port No System connections 1 to 3 Stored value Destination node port number for various connections after auto open processing has been completed The value is not...

Страница 169: ...Chapter 11 E mail Function ...

Страница 170: ...e entered destination when an error is detected in a CPU unit Report Mail E mail is sent to the entered destination at the specified intervals 1 to 120 min or at an appointed date Date and time Up to three appointed times can be registered Device Watch Mail Bit device watch X Y R L T and C Word device watch WX WY WR WL DT SV EV FL and LD Message only Message specified in the ladder send e mail pro...

Страница 171: ...en sending and receiving e mails Proceed to Q4 and Q5 NO E mail setting cannot be performed without the setup tool Configurator ET Q4 Do you have the IP address for ET LAN unit YES E mail send function can be used Set up the necessary items according to this manual NO E mails cannot be sent without the IP address Not clear Check with your e mail server administrator Q5 Does your e mail server supp...

Страница 172: ...wnload Perform the server settings required for using the e mail function Concerning the necessary information ask the server administrator Perform the setting for the e mail function to be used Additionally the following two items should be conducted if necessary Registering e mail addresses in the Address Book Editing the signature Set the Receive Filter when you would like to enhance the securi...

Страница 173: ...rm the settings required for the e mail function according to the instructions by the Internet provider or network administrator Note To avoid the malfunction affected by unauthorized incoming e mails perform the specified setting so that unauthorized e mails cannot be received in the e mail server on the ET LAN unit Concerning the error that may occur when sending and receiving e mails he error c...

Страница 174: ... auto connection function is OFF Refer to Chapter 5 Initialization processing and Termination processing When the auto connection function is ON Refer to 10 1 2 Auto Initialization Processing of this manual Relations between initialization processing and E mail sending receiving processing Note When the initialization complete signal is ON e mails can be sent received When the e mail setup tool Co...

Страница 175: ...pter 10 6 Error Codes of the FP2 FP2SH Hardware manual ARCT1F320E Note If an error that disables the unit from normal operation e g ALARM LED of the CPU unit lights up occurs e mails cannot be sent successfully Report Mail E mails are sent to the designated destination at the specified intervals or at the specified date Time intervals can be specified within the range of 1 to 120 min E mails can b...

Страница 176: ...ing time 50 x N ms If the conditions for device monitoring are satisfied when the power is supplied a Device Watch Mail is sent to the specified destination Ladder send e mail When the e mail send request flag in the shared memory turns ON an e mail is sent to the specified destination The e mail message which is registered using the Configurator ET in advance is determined by specifying using the...

Страница 177: ...11 9 Request Mail function Response Mail When the ET LAN unit receives the request e mail it sends back a response e mail to the e mail source Reference Chapter 3 6 Request Mail Function ...

Страница 178: ...in characters later than mark of the sender Contents of Subject in the e mail Example of Mail Filter function Targeted item to be set E mail address of the sender Keyword aaa bbb co jp When the conditions as shown in the example above are set the ET LAN unit receives only e mails that are sent from the specified e mail address For the Mail Filter function up to 20 e mail addresses can be registere...

Страница 179: ... is a request e mail This function prevents CPU data from being read and written by an unauthorized e mail Reference Chapter 3 6 Outline of Request E mail Function Note A password must be entered within 16 chatacters Case sensitivity is available for a password E mails that have been regarded as incorrect by the e mail security function are not received The description of the unreceived mail is st...

Страница 180: ...ET LAN unit with this function After the ET LAN unit receives the Request Mail it automatically creates the Response Mail in answer to the request e mail and sends back the Response Mail to the computer Request Mail and Response Mail A computer sends a Request Mail to a programmable controller and receives the Response Mail from the controller In this function the computer receives various informa...

Страница 181: ...en the security password is not set press the Enter key just after entering Pass 3 MEWTOCOL command Enter the MEWTOCOL COM command for the 2nd line of the message body For BCC enter asterisks Reference For details concerning MEWTOCOL command refer to Chapter 12 Note When entering MEWTOCOL COM command the response must not be multiframe If the response is multiframe the error message as shown below...

Страница 182: ...ve Option of Configurator ET is attached to the Response Mail Error messages When a message as shown below is written in the Response Mail 2 in the example above check the Request Mail Error message Description No good password A security password is not correct No good subject A subject is not correct No good command format METOCOL COM command format is not correct Correct format and are written ...

Страница 183: ...ified each for To Cc and Bcc Cc Bcc Selection of e mail message to be sent Using the ladder program the No of the message which is registered with the setup tool Configurator ET is specified Selection of a signature Whether the signature is attached to a message or not is selected A signature is registered using the setup tool Configurator ET Reference Control Configurator ET Operational Guide Boo...

Страница 184: ...ure to turn OFF the e mail send request signal at first 8 When the e mail send request signal is turned OFF the e mail send error signal is turned OFF To conduct the e mail resend processing be sure to confirm that the e mail send error signal is OFF Note To send e mails using the ladder program the following settings are required 1 Source e mail address This should be specified in advance using C...

Страница 185: ...ddress 1 For To or Destination address 2 For To This setting is not required for the destination addresses Cc and Bcc 001H Destination address 2 For To Address Nos 17 to 32 0000H 002H Destination address 1 For Cc Address Nos 1 to 16 0000H 003H Destination address 2 For Cc Address Nos 17 to 32 0000H 004H Destination address 1 For Bcc Address Nos 1 to 16 0000H 005H Destination address 2 For Bcc Addr...

Страница 186: ...xample Complete signal area R0 to R1F RC Initialization complete signal E mail complete signal area R20 to R2F R22 E mail send complete signal R23 E mail send error signal E mail request signal area R40 to R4F R42 E mail send request signal Customized contact R300 R300 User defined contact Data register allocation Classification Device No Settings Settings for program example E mail sending proces...

Страница 187: ... for e mail receive processing Procedure to receive e mails 1 The e mail receive request signal is turned ON 2 When the e mail receive processing from the ET LAN unit to the e mail server is completed successfully the e mail receive complete signal is turned ON 3 After confirming that the e mail receive complete signal is ON the e mail receive request signal should be turned OFF 4 When the e mail ...

Страница 188: ...nce using the setup tool Configurator ET Log in name Password POP e mail server IP address When all required settings are not specified an e mail is not received even if the e mail receive request signal is turned ON The e mail receive error signal is turned ON instead Users are notified of the description of the error by means of the error log Reference Control Configurator ET Operational Guide B...

Страница 189: ...turns ON Internal relay allocation Classification Device No Device used in the program example Complete signal area R0 to R1F RC Initialization complete signal E mail complete signal area R20 to R2F R20 E mail receive complete signal R21 E mail receive error signal E mail request signal area R40 to R4F R40 E mail receive request signal Customized contact R301 R301 User defined contact Program exam...

Страница 190: ...ommunication error information when sending receiving e mails To read the contents of the log buffer read the e mail error log area e mail send log area and e mail receive log area in the shared memory using the shared memory access The e mail send receive status e g the number of times that e mails are sent and received can be checked by reading the e mail status area of the ET LAN unit Whenever ...

Страница 191: ...mail address No set for To is stored using the bit data 5 Specifying To Lower 16 bits Nos 17 32 6 Specifying Cc Higher 16 bits Nos 1 16 E mail address No set for Cc is stored using the bit data 7 Specifying Cc Lower 16 bits Nos 17 32 8 Specifying Bcc Higher 16 bits Nos 1 16 E mail address No set for Bcc is stored using the bit data 9 Specifying Bcc Lower 16 bits Nos 17 32 A E Reserved Reserved Use...

Страница 192: ... error log complete signal Bank 0 is ON Confirm that the address 362H bit 5 in the e mail complete signal area Bank 0 is ON 4 The e mail error log area Bank 10H Addresses from 200H in the e mail error log area of the shared memory is read 5 The e mail error log request signal is turned OFF 6 The e mail error log complete signal is turned OFF To read the next error log be sure to confirm that this ...

Страница 193: ...ss No set for Cc is stored using the bit data 7 Specifying Cc Lower 16 bits Nos 17 32 8 Specifying Bcc Higher 16 bits Nos 1 16 E mail address No set for Bcc is stored using the bit data 9 Specifying Bcc Lower 16 bits Nos 17 32 A F Reserved Reserved Used in the system Contents of the receive log block Receive log blocks can be registered in the e mail receive log area A newer e mail receive log is ...

Страница 194: ...complete signal Bank 0 Address 362H Bit 4 is ON Confirm that the address 362H bit 4 in the e mail complete signal area Bank 0 is ON 4 The e mail send log area Bank 11H Addresses from 000H and the e mail receive log area Bank 11H Addresses from 200H of the shared memory are read 5 The e mail log request signal is turned OFF 6 The e mail log complete signal is turned OFF To read the next e mail log ...

Страница 195: ...end error Stored value 0 FFFFH The number of times that e mails have not been sent normally is stored The value is reset to 0 when the initialization processing is executed or the e mail setting is changed 082H E mail re send status Stored value 0 FFFFH E mail re send status 1 is stored when the e mail re send processing is being executed When the re send processing is completed 0 is stored 083H 0...

Страница 196: ...shared memory Internal relay allocation Classification Device No Device used in the program example E mail complete signal area R20 to R2F R24 E mail log notified complete signal R25 E mail error log notified complete signal E mail request signal area R40 to R4F R44 E mail log notified request signal R45 E mail error log notified request signal Program example After transferring the e mail error l...

Страница 197: ...s specified for To Address No 32 is specified for Cc and Address No 6 is specified for Bcc Example of reading the e mail receive log area Bank 11H Addresses 200H to 3FFH This receive log block shows that the e mail is received from the source address etlan1_mail_test aaa bbb ccc at 4 58 on Feb 3 Note When the e mail source address is indicated in more than 27 characters the characters later than t...

Страница 198: ...yyy zzz at 1 14 on Feb 4 The contents of the block is the same as the one of the receive log block except for the added error codes Receive error log block This error log block shows that the registered No 2 e mail message is sent to the addresses Nos 1 and 32 for To The contents of the block is the same as the one of the send log block except for the added error codes Reference 12 3 Error Code Co...

Страница 199: ...11 31 11 11 Troubleshooting Flowchart The troubleshooting flowchart applicable for using the e mail function is shown below ...

Страница 200: ...11 32 ...

Страница 201: ...Chapter 12 Error Log Function ...

Страница 202: ... buffer where hardware and communication errors that occur in the unit are recorded The contents of the log buffer are read by using the shared memory access instructions F150 READ and P150 PREAD and F151 WRT and P151 PWRT to read from and write to the error log area of the shared memory Configuration of the error log area ...

Страница 203: ...12 3 Latest log block area Log block reading processing area ...

Страница 204: ...s is cleared to 0 when initialization processing is carried out The number of logs is counted up to FFFFH 65535 but if an attempt is made to record more logs than will fit into the available buffer space logs are overwritten starting with the oldest The number of logs will not be incremented past FFFFH 65535 387H Number of log blocks used Stored value Current number of log blocks available for rea...

Страница 205: ...ding log block The error log notified request signal is turned on If the handshake is carried out through the I O Y2F is turned on If the handshake is carried out through the shared memory bit F of address 368H in the request signal area bank 0 is turned on The error log is sent to the shared memory Check to make sure the error log notified complete signal is on If the handshake was carried out th...

Страница 206: ...gram read the error log information to data registers DT60 to DT75 Internal relay allocation Classification Device number Devices used in sample program Complete signal area R0 to R1F R1 Receive complete signal RF Error log notified complete signal Request signal area F40 to R5F R4F Error log notified request signal ...

Страница 207: ...e network IP address Correct the IP address of the default router gateway 8003H Router subnetwork address error 0H or FFFFFFFFH was set for the router sub network address Correct the router sub network address 8004H Router IP address error 0H or FFFFFFFFH was set for the router IP address or an address was set that does not match the source node network IP address Correct the router IP address 800...

Страница 208: ...in offset address 0 of the open processing end code of the connection information notified area 8015H UDP IP source node port number duplication error The same source node port number was set in UDP IP as that of a source node port that is already open Specify a different source node port number 8016H TCP IP source node port number duplication error The same source node port number was set in TCP ...

Страница 209: ...ommunication data could not be sent because the connection had been closed Send data to a partner node for which a connection is open 8025H Transparent communication reception error In transparent communication an attempt was made to execute reception processing although initialization processing was not completed successfully Carry out reception processing after initialization and open processing...

Страница 210: ...OL communication A packet specified a hierarchy level LEVEL or 8 or more packets Run the MEWTOCOL transmission again 24 8034H An error occurred when sending data because of a format error in the MEWTOCOL communication A packet specified a hierarchy depth DEPTH or 8 or more packets Run the MEWTOCOL transmission again 24 8035H An error occurred when sending data because of a format error in the MEWT...

Страница 211: ...rarchy depth DEPTH of 8 or higher was received 8043H A packet containing an error in the MEWTOCOL communication format was received A packet with a message data size of 2 049 or more was received 8044H A packet containing an error in the MEWTOCOL communication format was received A packet was received that specified a value other than 10H 11H 20H or 21H as the first value 8045H The received MEWTOC...

Страница 212: ...vered during the ROM test Turn the power supply off and then on again These are errors that occur during test operation If one of these errors occurs the E2 LED on the front panel of the ET LAN unit lights 9011H An error was discovered during the RAM test 9012H An error was discovered during the shared memory test 9013H An error was discovered during the EEPROM checksum test 9014H An error was dis...

Страница 213: ...out the transmission processing again A004H IP processing error Error notification was received from the IP Assembly timeout error During assembly of the IP split data the remaining data was not received within the allowed time limit Specified IP address does not exist There was no response to an ARP request for the specified IP address of the partner node Checksum error This notification is recei...

Страница 214: ...with the same source node port number partner node port number and partner node IP address after a connection has been established Internal resource error Successive TCP transmission requests are made without a response being returned Checksum error This notifies the user that when a TCP packet was received the checksum value was incorrect ULP timeout error This notifies the user that when a TCP p...

Страница 215: ...ed for the destination does not exist Check the e mail settings C004H SMTP server error The specified command was not executed due to a problem in the mail box Check the e mail settings C010H Registered condition setting error Setting contents have a problem which are notified to the SMTP server Check the e mail settings C011H Server connection error Access to the server was not conducted successf...

Страница 216: ...POP is not supported Check if the POP server can be indentified using the password C105H POP server error POP server receive time out error occurred Check if the POP server works normally Check if the POP server or network is not busy C110H Setting error The values of e mail settings are incorrect Check if the e mail settings are correct C111H POP internal error Specified UID does not exist Turn O...

Страница 217: ...ccurs the E2 LED on the front panel of the ET LAN unit flashes Code Name Description Step to take Remark C220H Setting value error The values of the communication settings or e mail settings stored in the ET LAN unit are abnormal Download the settings again If the download is not conducted successfully turn OFF the mode setting switch 2 and try to download once more If this error occurs the E2 LED...

Страница 218: ...or LEDs E1 E2 on the ET LAN unit are off B101H System connection error An error occurred in the system connection Connection was automatically closed and could not be re opened Check the system connection settings Check if the network is not busy The RMT LED blinks When the error occurs to all the system connections 1 to 3 RMT and E2 LEDs blink Note The access errors from 8000H other than the abov...

Страница 219: ...Chapter 13 Troubleshooting ...

Страница 220: ...AN unit lights if the watchdog timer in the unit is activated to warn of a problem CPU unit operation when the Alarm ALM LED lights The ERROR LED on the CPU unit lights and operation stops The error code to be occurred in the CPU unit is 41 intelligent unit error If it is necessary to continue operation change the setting of the CPU unit system register 22 ...

Страница 221: ...ts flashes ERROR LED status ET LAN unit operation CPU unit operation When E1 is flashing Operation is continued Operation is continued When E1 is lighted Operation is continued Operation is continued When E2 is flashing Operation is continued Operation is continued When E2 is lighted This notifies the user of a run away unit or another problem involving the unit Normal operation cannot be continue...

Страница 222: ... 12 5 Solution 2 Take the appropriate action based on the contents of the error log See page 12 7 Key Point The following will cause aborted processing An incorrect IP address setting or station number setting Processing was not carried out in the sequence of initialization open communication processing The MEWTOCOL communication format was incorrect 13 2 3 If the E2 LED on the ET LAN Unit Lights ...

Страница 223: ...into 390H and subsequent addresses of the shared memory The I O number for Y2F changes depending on the position at which the unit is installed When the shared memory is used for the handshake the relay that reflects the error log notified request signal should be used 3 Cancel the force input output status 4 On the Tools menu select Display PLC Shared Memory This reads the PLC 5 Specify a slot nu...

Страница 224: ...13 6 13 2 4 Troubleshooting Flowchart ...

Страница 225: ...13 7 ...

Страница 226: ...sing Initial information setting area Bank 0 Address Name Default Setting value Explanation 208H No communication connection time type 0000H Set the base time for the no communication connection detection timer value 0000H 2 minutes Other than 0000H x 6 seconds 209H No communication connection detection timer value 0000H Setting time Setting value 1 FFFFH Base time Set the time to detect a no comm...

Страница 227: ...ove addresses is 55AAH the unit will not be reset 3 After the reset function has been executed on the ET LAN unit the reset complete notified area Shared memory 206H Bank 0 is set to 90FFH The reset complete notification is used to confirm that the ET LAN has been reset As this area is not automatically cleared it is necessary to clear separately Initial information setting area Bank 0 Address Nam...

Страница 228: ...communication of connection 1 stops the no communication time out signal of connection 1 is on longer than 60 seconds after the open of connection 1 The request signal area in the handshake area should be cleared after the execution of the reset function The no communication time should be reset when starting the program operation and after executing the reset function ...

Страница 229: ...Chapter 14 MEWTOCOL Communication Procedure ...

Страница 230: ...h other so that various kinds of information can be obtained and provided Note A user program is required on the computer side in order to carry out a computer link No program is necessary on the programmable controller side Command and response formats Note Dedicated procedures and conversational formats are used Transmissions are made by sending ASCII codes The computer has the first right of tr...

Страница 231: ...es Destination and source AD H L Two digit decimal 01 to 64 ASCII codes Command messages contain a unit number for the programmable controller that receives the message Response messages contain the unit number of the programmable controller that is sending the response H indicates the upper digit and L the lower digit If there is no particular value to be specified 01 should be set When FF ASCII ...

Страница 232: ...t carries out an error check using horizontal parity to improve the reliability of the data being sent The BCC uses an exclusive OR from the header to the final character of the text and converts the 8 bit data into a 2 character ASCII code Example ...

Страница 233: ...xternal output Y internal relays R and link relays L the last digit is in hexadecimal notation while the preceding digits are in decimal notation In T C contact numbers all of the digits including the last digit are in decimal notation In this case the notation would read as follows X16 0 x10 1 x10 2 to Example Specification of command contact of contact area lead RCS Note Data is limited to a cer...

Страница 234: ...ber of characters from the header to the terminator is as indicated below If the maximum message length is exceeded the message should be split into multiple sections and sent responses should be split into several frames and sent Header 118 characters Expanded header 2048 characters Some restrictions apply however based on the type and command Multiple frame commands and responses ...

Страница 235: ...ing completed Note When a transmission is split into several frames and sent after one frame has been sent the next frame cannot be sent until a transmission request message 1 in the sample communication timing chart has been received from the partner side If multiple frames are being received a transmission request message 2 in the sample communication timing chart should be sent to the partner s...

Страница 236: ...Reads the timer counter elapsed value Write timer counter elapsed value area WK Writes the timer counter elapsed value Register or Reset contacts monitored MC Registers the contact to be monitored Register or Reset data monitored MD Registers the data to be monitored Monitoring start MG Monitors a registered contact or data Preset contact area fill command SC Embeds the area of a specified range i...

Страница 237: ...14 9 RCS Read contact area single point This reads the on and off status for only one contact RCP Read contact area plural point ...

Страница 238: ...14 10 RCC Read contact area word units block This reads the on and off status of the contact in word units WCS Write contact area single point This turns only one contact on or off ...

Страница 239: ...14 11 WCP Write contact area plural points This turns multiple contacts on and off WCC Write contact area word units block This turns a contact on or off in word units ...

Страница 240: ...14 12 RD Read data area This reads the contents of the data area To read the contents of DT LD and FL To read the contents of an index register ...

Страница 241: ...14 13 WD Write data area This writes the contents of the data area To write the contents of DT LD and FL ...

Страница 242: ...14 14 To write to an index register ...

Страница 243: ...14 15 RS Read set value area This reads the value set for a time counter WS Write set value area This writes the value to be set for a timer counter ...

Страница 244: ...14 16 RK Read elapsed value area This reads the elapsed value for a time counter WK Write elapsed value area This writes the elapsed value for a timer counter ...

Страница 245: ...14 17 MC Register or Reset contacts monitored This registers a contact to be monitored Up to 80 points can be registered for one unit ...

Страница 246: ...egisters data to be monitored Up to 16 points can be registered for one unit Note If the data code is IX or IY 0 should be specified for the four characters of the word number Dummy registrations are not possible when registering data to be monitored ...

Страница 247: ...ing start This monitors a contact or data that has been registered Contact data is entered in the order registered starting from bit 0 of the contact data Data is entered in the order registered starting from the data ...

Страница 248: ...SC Preset contact area fill command This embeds the areas of the specified range for 16 on and off points SD Preset data area fill command This writes the same contents to the data area of the specified range ...

Страница 249: ...on This expresses the CPU unit version as a 2 character decimal value For example 15 Ver 1 5 Program capacity This expresses the program capacity by specified by system register no 0 as a 2 character decimal value The value is expressed in k step units Code Program capacity Last step address 02 2k steps 1 534 n n steps 1 024 x n 152 2 For example If n 8 the value is 7 678 16 16k steps 15 870 32 32...

Страница 250: ...eight error flags special internal relays R9000 to R9007 are expressed as 2 character hexadecimal values They are read using binary notation as shown below Self diagnostic error code If an error occurs the self diagnosis error code is expressed as a 4 digit hexadecimal value Please be careful since self diagnosis error codes are normally treated as decimal values For example if the content is read...

Страница 251: ...14 23 RR Read system register This reads the contents of the system registers WR Write system register This sets the system registers ...

Страница 252: ...ler It is effective only when the operation mode of the programmable controller is the REMOTE mode AB Abort If a transmission is aborted while a multiple frame response is being received from the programmable controller this is issued from the side sending the command the computer side ...

Страница 253: ...imum length for text data is 1 020 words If the transmission source is a programmable controller command messages are transmitted by executing the SEND and RECV commands Note With MEWTOCOL communication carried out through an ET LAN unit format is used in which the special header shown below is added to MEWTOCOL DAT commands and responses Special header for ET LAN unit MEWTOCOL command response Th...

Страница 254: ...m a data area D1H 52H Writing of contact information D2H 53H Reading of contact information D3H Note The corresponding response code is a value that is the reverse of the first bit 0 1 of the command code 1 byte binary code The end code for a normal response is FFH while that when an error occurs is an error code See MEWTOCOL Error Codes on Chapter 14 3 ...

Страница 255: ... word number of the data area Area code Area type Area code Link relay WL 00 Internal relay WR 01 External output relay WY 02 External input relay WX 03 Timer counter set value area SV 04 Timer counter elapsed value area EV 05 Link data register LD 06 Special internal relay WR 07 Special data register DT 08 Data register DT 09 File register FL 0A ...

Страница 256: ...ata area Area code Area type Area code Link relay WL 00 Internal relay WR 01 External output relay WY 02 External input relay WX 03 Timer counter set value area SV 04 Timer counter elapsed value area EV 05 Link data register LD 06 Special internal relay WR 07 Special data register DT 08 Data register DT 09 File register FL 0A ...

Страница 257: ...ode Area type Area code Link relay WL 00 Internal relay WR 01 External output relay WY 02 External input relay WX 03 Timer counter set value area SV 04 Timer counter elapsed value area EV 05 Link data register LD 06 Special internal relay WR 07 Special data register DT 08 Data register DT 09 File register FL 0A ...

Страница 258: ...ode Area type Area code Link relay WL 00 Internal relay WR 01 External output relay WY 02 External input relay WX 03 Timer counter set value area SV 04 Timer counter elapsed value area EV 05 Link data register LD 06 Special internal relay WR 07 Special data register DT 08 Data register DT 09 File register FL 0A ...

Страница 259: ...stem Steps to take Please contact your dealer 28H No response error Timeout error while waiting for response from partner station Steps to take Use the application program to send the transmission again 30H Time out error Ongoing transmission disabled status Steps to take Use the application program to send the transmission again 32H Transmission impossible error The transmission was interrupted b...

Страница 260: ...sage there was still more data to be sent a different command was sent Steps to take Send the transmission request message to the partner node Processing error Error code Error name Steps to take 50H Link setting error When using the computer link function A route number has been specified that does not exist Steps to take Specify the route number correctly 51H Simultaneous operation error When us...

Страница 261: ...mand cannot be processed Steps to take Specify using the correct format code 65H Protect error When using the computer link function An attempt was made to write data to a program area or system register while the memory protect status was in effect Steps to take Data cannot be written while the memory protect status is in effect 66H Address error When using the computer link function An error occ...

Страница 262: ...14 34 ...

Страница 263: ...Chapter 15 Specifications ...

Страница 264: ...te 2 MEWTOCOL DAT data transfer Max 1 020 words Transparent communication Number of connections per unit System connection Note3 4 Max 3 connections Connection Max 8 connections Transparent communication buffer Note5 Transmit Factory setting 1 K words connection x 3 Receive Factory setting 1 K words connection x 3 E mail function Note3 Buffer memory size for storing e mail data Note 6 96K bytes Su...

Страница 265: ...s Transmission system Baseband Baseband Baseband Max segment length 100 m Note2 100 m Note2 500 m Max distance between nodes 205 m 2 segments 500 m 5 segments 2 500 m 5 segments Communication cable for connection Category 5 UTP cable Category 3 4 and 5 UTP cable Transceiver cable Max transceiver cable length 50 m Note3 Max number of nodes 100 nodes segment Node spacing Integer multiples of 2 5 m N...

Страница 266: ...zation complete signal X1C Open complete signal Connection 7 XD Initialization error signal X1D Open error signal Connection 7 XE X1E Open complete signal Connection 8 XF Error log notified complete signal X1F Open error signal Connection 8 Output Contact numbers indicate the numbers when installed in slot no 0 No Description No Description Y20 Receive request signal Connection 1 Y30 Open request ...

Страница 267: ...munication between networks is used the routing information setting area should also be specified 203H Source node MEWTOCOL station number 0000H Set value 01H to 40H 01 to 64 Specifies the MEWTOCOL station no of the source node as a value between 01 and 64 when MEWTOCOL communication is used Specify a number that does not overlap that of any other station on the network A dummy value should be set...

Страница 268: ...P zero window timer value 0005H 10 seconds Setting time Set value 1 to FFFFH x 2 seconds With TCP this specifies the time until the receive window size check packet is re sent when the receive window size of the other node becomes 0 20CH TCP re transmission timer value 0005H 10 seconds Setting time Set value 1 to FFFFH x 2 seconds With TCP this specifies the time until data is re sent if ACK is no...

Страница 269: ...f the shared memory when transparent communication is being carried out among the various connections 0000H is set when this is not being used 213H Transmission buffer size for transparent communication Connection 1 0400H Set value Size of transmission buffer The size of the transmission buffer is specified in word units when transparent communication is being carried out among the various connect...

Страница 270: ...for transparent communication 0000H 224H Connection 6 Receiving buffer starting address for transparent communication FFFFH 225H Receiving buffer size for transparent communication 0000H 226H Transmission buffer starting address for transparent communication FFFFH 227H Transmission buffer size for transparent communication 0000H 228H Connection 7 Receiving buffer starting address for transparent c...

Страница 271: ...FFFF000H When 4 bits are used for a Class B subnetwork 1111 1111 1111 1111 1111 0000 0000 0000 FFFFFF00H For a Class C network 1111 1111 1111 1111 1111 1111 0000 0000 FFFFFFE0H When 3 bits are used for a Class C subnetwork 1111 1111 1111 1111 1111 1111 1110 0000 An error occurs if FFFFFFFDH or higher is specified The network subnetwork address is the address that results from the logical AND of th...

Страница 272: ...to 5 This specifies the number of routers used on the source network The default router gateway is not included in the number of registered routers This is effective as long as the network subnetwork mask field is anything other than 0 Any value higher than 5 will be treated as 5 The number of network addresses and router IP addresses registered should not exceed the number specified here 235H Rou...

Страница 273: ... 23EH Network subnetwork address H 23FH Router IP address L 240H Router IP address H 241H Router 4 Network subnetwork address L 0000H 242H Network subnetwork address H 243H Router IP address L 244H Router IP address H 245H Router 5 Network subnetwork address L 0000H 246H Network subnetwork address H 247H Router IP address L 248H Router IP address H 249H Reserved Used by the system If any value is ...

Страница 274: ...sing the data transfer function always set TCP IP b Opening method This is valid only when TCP IP was specified as the communication method Active open Connection is actively established Fullpassive open System waits for reception from a specified partner node in order to establish a connection Unpassive open System waits for reception from an unspecified partner node in order to establish a conne...

Страница 275: ...artner node Ethernet address connections 1 to 8 0000H Set value Ethernet address of partner node When using TCP Active open if the partner node has no ARP function specify this Example When 1 2 3 4 5 6 is set the offset addresses will be When 0 or FFFFFFFFFFFFH is specified for this value processing will be carried out as though the partner node has an ARP function 7 0000H 8 higher word 0000H 9 Re...

Страница 276: ...e 0 Communication function setting between networks is not used 1 Communication function setting between networks is used The value is not valid until initialization processing has been completed successfully 2D4H Source node MEWTOCOL station number Stored value Source node MEWTOCOL station number when initialization processing was completed successfully The written value is the source node MEWTOC...

Страница 277: ...completed successfully 2 Partner node IP address L connections 1 to 8 Stored value Partner node IP addresses for various connections after open processing has been completed The value is not valid until open processing has been completed successfully 3 Partner node IP address H connections 1 to 8 4 Partner node port No connections 1 to 8 Stored value Partner node IP port numbers for various connec...

Страница 278: ... as exceeding the receive request data size When the connection has been closed receive processing may end in some cases even if the receive request data size has not been satisfied If this happens this value is notified as being less than the receive request data size E Transparent transmission processing complete code connections 1 to 8 Stored value 0 Transmission processing has been completed s...

Страница 279: ...tination address1 For Cc Address Nos 1 to 16 0000H 003H Destination address 2 For Cc Address Nos 17 to 32 0000H 004H Destination address 1 For Bcc Address Nos 1 to 16 0000H 005H Destination address 2 For Bcc Address Nos 17 to 32 0000H 006H Message No 0000H Default 0H Set value 1H to the numbers that are registered as e mail messages using Configurator ET The e mail message that you wish to send us...

Страница 280: ...id 042H System connection 1 status SC1 0 Open processing wait status 1 Open processing has been completed 2 Connection is ongoing FF Open processing has been ended in error 043H System connection 2 status SC2 0 Open processing wait status 1 Open processing has been completed 2 Connection is ongoing FF Open processing has been ended in an error 044H System connection 3 status SC3 0 Open processing ...

Страница 281: ... H System connections 1 to 3 4 Destination node port No System connections 1 to 3 Stored value Destination node IP port numbers for various connections after auto open processing has been completed The value is not entered until auto open processing has been completed successfully 5 Destination node MEWTOCOL station number System connections 1 to 3 Stored value Destination node MEWTOCOL station nu...

Страница 282: ... the e mail check is conducted to the e mail server is stored The value is reset to 0 when the initialization processing is executed or the e mail setting is changed 089H Number of e mail receive check error times The number of errors issued when the e mail check is conducted is stored The value is reset to 0 when the initialization processing is executed or the e mail setting is changed 08AH Numb...

Страница 283: ...t 5 Receive complete signal Connection 6 bit 6 Open complete signal Connection 4 bit 6 Receive complete signal Connection 6 bit 7 Open error signal Connection 4 bit 7 Send error signal Connection 6 bit 8 Open complete signal Connection 5 bit 8 Receive notified signal Connection 7 bit 9 Open error signal Connection 5 bit 9 Receive complete signal Connection 7 bit A Open complete signal Connection 6...

Страница 284: ...al Connection 3 bit 4 Receive request signal Connection 6 bit 5 bit 5 bit 6 Open request signal Connection 4 bit 6 Send request signal Connection 6 bit 7 bit 7 bit 8 Open request signal Connection 5 bit 8 Receive request signal Connection 7 bit 9 bit 9 bit A Open request signal Connection 6 bit A Send request signal Connection 7 bit B bit B bit C Open request signal Connection 7 bit C Receive requ...

Страница 285: ...to the old block to be read from the log block reading point A value of 14 or less should be set If a value of 15 or higher is set or if 0 is set 14 blocks will be read 383H 384H Reserved Used by the system 385H Log buffer size Stored value Log buffer size available with the unit itself number of log blocks Set value 0100H 256 blocks This is set by the unit itself when it boots 386H Total number o...

Страница 286: ... blocks Stored value Data read during lob block read processing Up to 14 blocks are stored in the log in the order in which the errors occurred when a read request is issued the error log notified request bit of the handshake area in the I O or shared memory goes on This is cleared to 0 when initialization processing is carried out Note1 Addresses 380H to 382H should be set before the error log no...

Страница 287: ... the allowable duration of time used for communication processing is set at 52428 µs 31 Multi frame communication time settings in the computer link and communication time setting for data sending buffer 6500 ms 10 0 to 81917 5 ms Use of default setting 6500 ms is recommended 32 Tome out tome setting for the SEND RECV and RMRD RMWT instructions 10000 ms 10 0 to 81917 5 ms Use of default setting 10...

Страница 288: ...e above mentioned instructions can be executed R9031 SEND RECV instruction end flag Monitors if an abnormality has been detected during the execution of the SEND F145 RECV F146 instructions as follows OFF No abnormality detected ON An abnormality detected Communication error The error code is stored in DT90039 R9055 Intelligent communication unit 1 transmission error flag 1 and 2 Turns on when the...

Страница 289: ...re if SEND RECV instruction F145 F146 was executed abnormally When the instruction was successfully executed 0 is stored DT9195 DT90195 Intelligent communication unit 1 unit number 1 and 2 The link status is stored in the higher bytes The unit number is stored in the lower bytes DT9196 DT90196 Intelligent communication unit 2 unit number 1 and 2 DT9197 DT90197 Intelligent communication unit 3 unit...

Страница 290: ...CS command 0 032 x no of command and response data bytes 4 8 CPU scan time ms Write contact data WD WCS command 0 046 x no of command and response data bytes 4 3 CPU scan time ms FP2SH CPU Read contact data RD RCS command 0 015 x no of command and response data bytes 8 7 CPU scan time ms Write contact data 0 022 x no of command and response data bytes 6 4 CPU scan time ms Transmission processing t...

Страница 291: ...ssing time of MEWTOCOL communication and transparent communication gets longer with the e mail function to perform communication processing by automatically generating MEWTOCOL in order to get the status of the CPU unit within the ET LAN unit Referring to the following calculate the transmission processing time When using the FP2 CPU Transmission processing time Minimum transmission delay time wit...

Страница 292: ...15 30 15 6 ASCII Codes ...

Страница 293: ...15 31 15 7 Dimensions AFP2790 FP2 ET1 AFP27901 FP2 ET2 ...

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

Страница 295: ...Chapter 16 Sample Program ...

Страница 296: ...EWTOCOL COM to send data to the ET LAN unit and writes it to the DT0 of the programmable controller On the programmable controller side initialization processing and open processing of the ET LAN unit are carried out and 01 is set as the MEWTOCOL station number Usage method 1 Compile the sample program and create the execution file 2 Enter the RUN mode on the programmable controller side 3 Run the...

Страница 297: ...16 3 16 1 2 Workstation Sample Program The following shows an example of the make file and source file of the sample program run at the workstation make file source file ...

Страница 298: ...16 4 ...

Страница 299: ...16 5 ...

Страница 300: ...16 6 ...

Страница 301: ...16 7 ...

Страница 302: ...nal Request signal area R40 to R5F R4C R50 Initialization request signal Open request signal Connection 1 Data register allocation Classification of processing Device number Setting item Setting for program example Initialization processing DT10 to DT11 IP address 192 9 201 130 C009C982H DT12 Communication function setting between networks Not used DT13 MEWTOCOL station number 01 Open processing D...

Страница 303: ... ARCT1F322E 7 APR 2001 NOV 2001 NOV 2006 NOV 2008 NOV 2009 AUG 2011 MAY 2013 DEC 2013 First edition Second edition Chapter12 Page12 5 12 10 12 11to12 13 corrected Page12 25 12 28 corrected Third edition Fourth edition Change in Corporate name Fifth edition Addition of ET LAN2 Unit AFP27901 Addition of ARCT1F370E 2 Additional vertion Sixth edition Change in Corporate name Seventh edition Eighth edi...

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

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

Страница 306: ...hiyama cho Kasugai shi Aichi 486 0901 Japan Telephone 81 568 33 7861 Facsimile 81 568 33 8591 panasonic net id pidsx global About our sale network please visit our website Panasonic Industrial Devices SUNX Co Ltd 2013 ARCT1F322E 7 December 2013 PRINTED IN JAPAN ...

Отзывы: