background image

WUME-FP7LAN-01

2013.3

panasonic.net/id/pidsx/global

PROGRAMMABLE CONTROLLER

FP7 CPU Unit

User's Manual

LAN port communication

Summary of Contents for FP7 CPU Unit

Page 1: ...WUME FP7LAN 01 2013 3 panasonic net id pidsx global PROGRAMMABLE CONTROLLER FP7 CPU Unit User s Manual LAN port communication ...

Page 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...

Page 3: ...ode FP7 Power Supply Unit FP7 CPU Unit Users Manual Hardware WUME FP7CPUH FP7 CPU Unit Instructions for Built in COM Port FP7 Extension Communication Cassette FP7 CPU Unit Users Manual COM Port Communication WUME FP7COM Instructions for Built in LAN Port FP7 CPU Unit Users Manual LAN Port Communication WUME FP7LAN FP7 Digital Input Output Unit FP7 Digital Input Output Unit Users Manual WUME FP7DIO...

Page 4: ...EWTOCOL DAT Master Slave Communication Binary Communication 1 6 1 3 2 MEWTOCOL COM Master Slave Communication ASCII Communication 1 7 1 3 3 MODBUS TCP Master Slave Communication 1 8 1 3 4 General Purpose Communication 1 9 1 4 Terms 1 10 2 Installation and Wiring 2 1 2 1 Installation Environment and Wiring for LAN Ports 2 2 2 1 1 Before Installation and Wiring 2 2 2 1 2 Installation Environment and...

Page 5: ...Setting on the Programming Tool Side 3 9 3 6 Setting of User Connection 3 10 3 6 1 List of Setting Items 3 10 3 6 2 Specifying Port Number 3 12 4 Setting and Operation of User Connection 4 1 4 1 Configuration Concerning Open Process 4 2 4 1 1 Connection of the FP7 CPU Unit 4 2 4 1 2 Specifying Use of Connection 4 2 4 1 3 Open Method Server Client 4 2 4 1 4 Open Method Auto Manual 4 2 4 1 5 Instruc...

Page 6: ...Write Data into an External Device 5 7 5 4 2 SEND Command When MEWTOCOL is Used 5 9 6 MODBUS TCP Master Slave Communication 6 1 6 1 MODBUS TCP Format 6 2 6 1 1 MODBUS TCP 6 2 6 2 List of MODBUS TCP Supported Commands 6 3 6 2 1 List of MODBUS Function Codes 6 3 6 3 MODBUS TCP Master Communication RECV 6 4 6 3 1 Read Data from an External Device 6 4 6 3 2 RECV Command MODBUS Function Code Specified ...

Page 7: ... 7 3 1 Overview of Receiving Operation 7 8 7 3 2 Contents of Received Data 7 10 7 3 3 GPRECV General Purpose Communication Receiving Command 7 11 8 Specifications 8 1 8 1 Specifications of CPU Unit LAN Port Communication Function 8 2 8 2 MEWTOCOL DAT Format 8 3 8 2 1 MEWTOCOL DAT Command Format in LAN Command Format 8 3 8 2 2 MEWTOCOL DAT Command Response Format 8 4 8 3 MEWTOCOL COM Format 8 6 8 3...

Page 8: ...Table of Contents vi ...

Page 9: ...1 Communication Functions of CPU Unit ...

Page 10: ...rminals 5V DC and 24V DC to which a GT series display can be connected 3 LAN Port This is equipped to a standard model of CPU unit It is used for connection to Ethernet It can also be connected with a programming tool The MAC address is printed on the side of the unit It supports the Ethernet communication interfaces 100BASE TX and 10BASE T 100BASE TX and 10BASE T are automatically switched by the...

Page 11: ...et 100BASE TX 10BASE T and UTP Cable Pin no Signal name 1 TX 2 TX 3 RX 4 Not used 5 Not used 6 RX 7 Not used 8 Not used Functions of LED lamps 1 LINK Turns on when connection is established between the FP7 CPU unit and a device on Ethernet 2 ACK Flashes when some communication is in progress with a connected device e g sending receiving a command or response 1 3 ...

Page 12: ...tc should be specified in the configuration menu of the programming tool FPWIN GR7 In master communication commands SEND RECV messages in accordance with the protocol are automatically generated by PLC In the user program reading and writing can be done simply by specifying the station no and memory address and executing commands Communication functions can be selected depending on the partner dev...

Page 13: ...8001 16 Port 8015 Ethernet LAN Select a desired communication method for each connection IP XXXXXX Port XXXX Port XXXX Port XXXX IP XXXXXX Note Circled numbers in the figure above indicate examples of allocation of connection numbers Connection operation Connection is opened from either the FP7 CPU unit side or the external device side The open method should be selected from server connection unsp...

Page 14: ...ing receiving data between PLCs because the data size that can be transmitted in a single communication is larger and the transmission format is simpler and shorter than the MEWTOCOL COM communication ASCII communication The data size that can be sent or received in a single communication is up to 2038 words for register transmission and 1 bit for bit transmission Note In the case of connection wi...

Page 15: ...g and writing can be done simply by specifying the station no and memory address and executing SEND RECV commands Because MEWTOCOL COM communication is on an ASCII basis it is suitable for sending receiving text data The data size that can be sent or received in a single communication is up to 507 words for register transmission and 1 bit for bit transmission FP7 CPU Device supporting MEWTOCOL COM...

Page 16: ...and writing can be done simply by specifying the station no and memory address and executing SEND RECV commands Slave communication is performed when the higher device connected to PLC has the sending right and sends commands and PLC returns responses In slave communication PLC responds automatically so no program concerning communication is necessary on the PLC side The data size that can be sent...

Page 17: ...he partner device are temporarily saved in the buffer Based on the reception done flag GPRECV command is executed and the received data are copied into a given operation memory The received data can be converted into numerical data etc as necessary by the user program The data size that can be sent or received in a single communication is up to 16 372 bytes per connection Note 1 When a dedicated h...

Page 18: ... for actually sending receiving messages and data between FP7 and an external device In master communication PLC sends commands and receives responses In slave communication commands are received from an external device and responses are returned In a system using FP7 whether server connection or client connection is selected once connection is opened and a virtual communication line is connected ...

Page 19: ...2 Installation and Wiring ...

Page 20: ...r surges and the wiring for any of this equipment At least 100 mm of clearance should be allowed when installing the equipment When a device must be installed or a cable must be laid near a noise generating device for special reasons take measures such as install a programmable controller and a hub within a metal panel laying a communication cable inside a metal duct attaching a ferrite core near ...

Page 21: ...tance In an environment where noise may occur attach a ferrite core near the CPU unit on the UTP cable It is also recommended to use a shielded cable For installation of 100BASE TX or 10BASE T hub laying of cables etc please consult a specialized construction company If this construction work is done incorrectly it can adversely affect the entire network and can cause accidents 2 3 ...

Page 22: ...FPWIN GR7 select built in ET LAN adjust the TCP ULP timeout value and TCP re transmission timer value in basic communication information to increase the number of times data is sent The number of times data is sent is given in the following formula TCP ULP timeout value should be specified at an integral multiplication of TCP re transmission timer value When an integral multiplication cannot be gi...

Page 23: ...3 Configuration ...

Page 24: ...be set Settings should be performed by the programming tool FPWIN GR7 PROCEDURE 1 From the menu bar select Option FP7 Configuration 2 From the left pane select Built in ET LAN Setting items appear 3 Specify conditions for each item under Settings for Built in ET LAN and press OK button The settings are registered in the project 4 Select File Save As in the menu bar 3 2 ...

Page 25: ...ral multiplication of TCP re transmission timer value When an integral multiplication cannot be given round up the given decimal number TCP zero window timer value 5 Setting range 0001 FFFF by 100 ms 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 TCP re transmission timer value 5 Setting range 0001 FFF...

Page 26: ... existence duration and the TCP re transmission timer value When TCP IP communication is being carried out data is automatically re sent the specified number of times as shown in the illustration below E g When TCP ULP 30 seconds TCP re transmission timer value 10 seconds KEY POINTS Communication errors occurring in the unit can be minimized by increasing the number of re transmission times Correc...

Page 27: ...Setting item Default Setting method SNTP server address Setting method Specification using IP address IPv4 Select the setting for SNTP server specified by IP address IPv4 host name SNTP server IP address 0 0 0 0 Specify the setting for SNTP server IP address host name Time zone 0000 Setting unit HHMM HH hour MM minute Setting range 9999 to 9999 Specify a standard time zone in each region based on ...

Page 28: ... server function Permission of anonymous user No If authentication by user account and password is not required select Yes FTP server closing time 3000 Setting unit 100 ms Setting range 3 000 0BB8H to 429 496 729 1999 9999 H Input the no communication monitoring time during FTP connection unit 100 ms Connection is automatically cut off when FTP no communication exceeds the specified time User name...

Page 29: ...he communication protocol TCP IP Source node port No Connection 01 32769 Connection 02 32770 Connection 03 32771 Connection 04 32772 Specify the source node sender port number Partner node port No Connection 01 32769 Connection 02 32770 Connection 03 32771 Connection 04 32772 Specify the partner node receiver port number This needs not to be set if the partner node is not specified Connection clos...

Page 30: ...ion Setting screen for system connection KEY POINTS System connection is aimed at connecting a programming tool Use this in default settings MEWTOCOL COM server connection unspecified partner Auto OPEN TCP IP 3 8 ...

Page 31: ...ol FPWIN GR7 side PROCEDURE 1 From the menu bar select Online Communication Settings The Communication Settings dialog box is displayed 2 Switch the port to be used to LAN Setting items for LAN connection are displayed 3 In the Connection destination setting field input the IP address and the port number 4 Press OK button 3 9 ...

Page 32: ...ient connection Select connection function settings server connection unspecified partner server connection specified partner client connection Open method auto manual Auto OPEN Select the connection open method auto manual Select Auto OPEN Communication method TCP IP Select the communication protocol TCP IP UDP IP Source node port No 0 Specify the source node sender port number Partner node port ...

Page 33: ...atibility with the existing models of FP2 ET LAN unit For connection between FP7 units default values should be used For the open method select Open automatically For server connection client connection please see 4 1 Configuration Concerning Open Process Setting screen for user connection 3 11 ...

Page 34: ...er node Multiple settings for both source node port number and partner node port number Single setting for source node port number multiple settings for partner node port number Multiple settings for source node port number single setting for partner node port number Neither source node port number nor partner node port number can be set to single setting Connections with multiple nodes Multiple s...

Page 35: ...4 Setting and Operation of User Connection ...

Page 36: ...f client connection when Use these settings is selected and if connection is failed it is regarded as a communication error 4 1 3 Open Method Server Client Select the open method for establishing connection Setting item Operation Server connection unspecified partner Wait for connection from an unspecified client Server connection specified partner Wait for connection from a specified client Clien...

Page 37: ...XX XX XX XXX IP XXX XX XX XXX IP XXX XX XX XXX Port No 8000 Client Client Server Server Server Port No 8000 8001 8002 8000 Port No 8000 Port No Note Circled numbers in the figure above indicate examples of allocation of connection numbers Setting example Node Connection no Operation Mode Setting Open method Communication method Remark PC personal computer MEWTOCOL COM Active Open TCP IP Use applic...

Page 38: ... that support the protocol for each communication mode MEWTOCOL DAT MEWTOCOL COM MODBUS TCP When commands are sent from a higher device to the FP7 CPU unit in communication formats that support the protocol for each communication mode MEWTOCOL DAT MEWTOCOL COM MODBUS TCP data are sent attached with the Ethernet header as necessary to be selected by protocol or by partner Here the FP7 CPU unit resp...

Page 39: ...on 14 X7E Connection 15 X7F Connection 16 X80 Connection 1 Clear to send general purpose communication flag When connection is ON in the general purpose communication mode the flag is ON When the connection is not ON the flag is OFF When connection is in MEWTOCOL DAT MEWTOCOL COM or MODBUS TCP the flag is OFF General purpose communication X81 Connection 2 X89 Connection 10 X8A Connection 11 X8B Co...

Page 40: ...n sending command GPSEND and turns OFF when sending has been completed This flag turns ON at the start of execution of the sending command and turns OFF when the command is executed following sending completion General purpose communication Y81 Connection 2 Y89 Connection 10 Y8A Connection 11 Y8B Connection 12 Y8C Connection 13 Y8D Connection 14 Y8E Connection 15 Y8F Connection 16 Y90 Connection 1...

Page 41: ...5 MEWTOCOL Master Slave Communication ...

Page 42: ...part of MEWTOCOL DAT In communication via LAN a header including size information of the sent data is added 5 1 2 MEWTOCOL COM ASCII Communication In master communication PLC has the sending right and executes communication by sending commands to devices that support MEWTOCOL COM and receiving responses Messages in accordance with the protocol are automatically generated by PLC In the user program...

Page 43: ...D Reads the contents of a data area Write data area WD Writes data to a data area 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 using MC and MD Preset contact area fill command SC Embeds the area of a specified range in a 16 point on off p...

Page 44: ...mple program Send commands from the LAN port of the CPU unit read data from the data area of an external device DT400 DT401 and write the content into PLC s data register DT100 DT101 Confirm that Connection 1 is established in the master mode X90 and that the sending process is not in progress for the same port Y90 and start up the SEND command In the UNITSEL command specify the slot No LAN port U...

Page 45: ...response reception processing Y70 Y7F Sending done result flag Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 Note 1 Each contact is used for reading the operation status Do not write over it with a user program KEY POINTS Specify the connection No targeted for communication using UNITSEL command immediat...

Page 46: ...fied for S2 and D1 Transmission method 16 bit device WX WY WR WL DT LD Register transmission 1 bit device X Y R L DT n LD n Bit transmission Note 3 Bit device DT n and LD n cannot be specified for the header of the sender data in the partner node Note 4 The No of sent data is on a word basis for register transmission and on a bit basis for bit transmission Note 5 The maximum number of words vary b...

Page 47: ...ta is added Sample program Send commands from the LAN port of the CPU unit and write the content of PLC s data register DT100 DT101 into the data area of an external device DT400 DT401 Confirm that Connection 1 is established in the master mode X90 and that the sending process is not in progress for the same port Y90 and start up the SEND command In the UNITSEL command specify the slot No LAN port...

Page 48: ...esponse reception processing Y70 Y7F Sending done result flag Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 Note 1 Each contact is used for reading the operation status Do not write over it with a user program KEY POINTS Specify the connection No targeted for communication using UNITSEL command immediate...

Page 49: ...T n LD n Bit transmission Note 2 The No of sent data is on a word basis for register transmission and on a bit basis for bit transmission Note 3 Configuration The maximum number of words vary by settings of the MEWTOCOL communication type for user connection Connection settings Setting of the MEWTOCOL communication type Maximum no of words Do not connect with FP2 ET LAN 2038 words Connect with FP2...

Page 50: ...MEWTOCOL Master Slave Communication 5 10 ...

Page 51: ...6 MODBUS TCP Master Slave Communication ...

Page 52: ... Transaction identifier 00H is entered Protocol Identifier Protocol identifier 00H is entered Length Length The length of the subsequent sending receiving message is entered Unit Identifier Unit identifier Station no of the unit is entered 0 247 Function code Function code The same function name as that of MODBUS RTU is entered Data Data Data that correspond to the function code are entered KEY PO...

Page 53: ...et Multiple Registers Write DT Multiple Words 4X 22 Mask Write 4X Register Write DT Mask 4X 23 Read Write 4X Registers Read Write DT 4X Note 1 Types of MODBUS function codes vary by commands to be used Table for MODBUS reference No and device No MODBUS reference no Data on BUS hexadecimal PLC device number Coil 000001 002048 0000 07FF Y0 Y127F 002049 034816 0800 87FF R0 R2047F Input 100001 108192 ...

Page 54: ...igure indicates the data part of Modbus function In communication via LAN a header including size information of the sent data is added Sample program Send MODBUS commands 03 from the LAN port of the CPU unit read data from the data area of an external device 40001 40002 MODBUS address 0000H 0001H and write the content into PLC s data register DT100 DT101 Confirm that Connection 1 is established i...

Page 55: ...X90 X9F Confirm ON Conditions to enable execution of RECV command Clear to send flag X90 X9F ON Sending flag Y90 Y9F OFF Sending done result flag Y70 Y7F Normal completion OFF Abnormal completion ON Sending flag Y90 Y9F During the sending process ON During execution of ED command following response reception processing OFF I O Allocation I O number Name Explanation X90 X9F Clear to send master com...

Page 56: ...0 X9F for the targeted connection is ON and execute SEND RECV command You cannot execute other SEND RECV command for connection in master communication Confirm that the sending master communication flag Y90 Y9F is OFF and execute command You cannot execute SEND RECV command for connection in slave communication Up to 16 SEND RECV commands can be executed simultaneously for different connections In...

Page 57: ...E g Specify H030F when MODBUS function code is 03 Read Holding Registers and station no is 15 Note 2 Based on the types of device specified in operand D1 the transmission methods and MODBUS function codes that can be used vary Device to be specified for D1 Transmission method Values that can be specified in higher bytes of S1 16 bit device WX WY WR WL DT LD Register transmission H1 Read Coil Statu...

Page 58: ...ansmission method MODBUS function codes to be used for command execution 16 bit device WX WY WR WL DT LD Register transmission Read Coil Status 01 Read Input Status 02 Read Holding Registers 03 Read Input Registers 04 1 bit device X Y R L DT n LD n Bit transmission Read Coil Status 01 Read Input Status 02 Note 2 Bit device L DT n and LD n cannot be specified for the header of the sender data in th...

Page 59: ...U unit and write the content of PLC s data register DT100 DT101 into the data area of an external device 40001 40002 MODBUS address 0000H 0001H Confirm that Connection 1 is established in the master mode X90 and that the sending process is not in progress for the same port Y90 and start up the SEND command In the UNITSEL command specify the slot No LAN port U100 and the connection No U1 In the SEN...

Page 60: ...xecuted following response reception processing Y70 Y7F Sending done result flag Reports completion result of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 Note 1 Each contact is used for reading the operation status Do not write over it with a user program KEY POINTS Specify the connection No targeted for communication using UNITSE...

Page 61: ... No of sent data n Values that can be specified in higher bytes of D1 16 bit device WX WY WR WL DT LD Register transmission 1 H6 Preset Single Register 06 HF Force Multiple Coils 15 H10 Preset Multiple Registers 16 2 127 HF Force Multiple Coils 15 H10 Preset Multiple Registers 16 1 bit device X Y R L DT n LD n Bit transmission 1 H5 Force Single Coil 05 HF Force Multiple Coils 15 2 2040 HF Force Mu...

Page 62: ...specified in S Transmission method MODBUS function codes to be used for command execution 16 bit device WX WY WR WL DT LD Register transmission Force Multiple Coils 15 Preset Multiple Registers 16 1 bit device X Y R L DT n LD n Bit transmission Force Multiple Coils 15 Note 2 The No of sent data n is on a word basis for register transmission and on a bit basis for bit transmission Note 3 16 bit dev...

Page 63: ...7 General Purpose Communication ...

Page 64: ...ion via LAN a header including size information of the sent data is added 7 1 2 Write Data into an External Device Write data into a partner device In general purpose communication communication is executed by sending commands that suit the partner device and receiving responses Command messages are sent by formulating a data table for message in accordance with the protocol on the given data regi...

Page 65: ... this when general purpose communication is not executed with the FP2 ET LAN unit Do not attach a dedicated header A header is not attached to the message Within 8 192 bytes The receiving process is completed when there is no more received data exceeding the TCP terminal detection timer value default 20 ms Select this when general purpose communication is executed with the FP2 ET LAN unit or commu...

Page 66: ...SCII text string and specify the number of strings to be sent in the data register DT100 and the message to be sent from the data register DT101 In the UNITSEL command specify the slot No LAN port U100 and the connection No U1 In the GPSEND command specify and execute the header of the table where the message to be sent is saved DT101 and the No of characters DT100 R0 DF SSET DT100 ABCDE R100 R100...

Page 67: ...ng flag Y80 Y8F During the sending process ON During execution of command following sending completion OFF I O Allocation I O number Name Explanation X80 X8F Clear to send general purpose communication flag When connection is ON in general purpose communication the flag is ON Y80 Y8F Sending general purpose communication flag Turns ON during sending data based on GPSEND command Turns OFF when GPSE...

Page 68: ...the No of bytes specified by GPSEND command are sent in ascending order from lower bytes DT100 H42 B H41 A H44 D H43 C H45 E DT101 DT102 DT103 DT104 After executing SSET command the No of characters is set U5 KEY POINTS No start code or end code are attached to data that are sent from the FP7 CPU unit When it is necessary to send a start code and an end code in accordance with the protocol of an e...

Page 69: ...L DT LD Note 3 Devices that can be specified for D are WX WY WR WL DT LD Once the sending process is completed the sent bytes are saved When an error occurs FFFFH is saved Note 4 This indicates a case where the sending port is a LAN port When a dedicated header is attached the size is up to 16 372 bytes KEY POINTS Specify the connection targeted for communication using UNITSEL command immediately ...

Page 70: ...sed on GPRECV command Operation memory Note The above figure indicates the data part In communication via LAN a header including size information of the sent data is added Sample program When the reception done flag X70 for Connection 1 turns ON the reception program is started up by the GPRECV command In the UNITSEL command specify the slot No LAN port U100 and the connection No U1 In the GPRECV ...

Page 71: ...planation X70 X7F General purpose communication reception done flag Turns ON when the receiving process is completed in the general purpose communication mode Saving method for received data When data are saved in a given data register from the reception buffer based on GPRECV command the data are saved in the following manner The received data are saved in ascending order from lower bytes DT200 H...

Page 72: ...anner The received data are saved in ascending order from lower bytes DT200 H32 2 H31 1 H34 5 H33 3 H0D CR H35 4 DT201 DT202 DT203 DT204 Saves the received No of bytes U6 If the received No of bytes is smaller than the area specified by the GPRECV command the data are not overwritten KEY POINTS When a start code and an end code are included in accordance with the communication format of an externa...

Page 73: ...Note 1 D2 Specify the final address of the data area to save the received data Note 2 Note 1 Devices that can be specified for D1 are WX WY WR WL DT LD Note 2 Devices that can be specified for D2 are WX WY WR WL DT LD KEY POINTS Specify the connection targeted for communication using UNITSEL command immediately before GPRECV command When the general purpose communication reception done flag is ON ...

Page 74: ...General Purpose Communication 7 12 ...

Page 75: ...8 Specifications ...

Page 76: ...ts name server DHCP Automatic getting of IP address FTP server File transmission server function No of users 3 SNTP Time synch function Communication function MEWTOCOL DAT master slave MEWTOCOL COM master slave MEWTOCOL7 COM slave MODBUS TCP master slave general purpose communication Note 1 Switching between different speeds is done automatically by auto negotiation function Note 2 The standards c...

Page 77: ...ze L Data size H 02 H 00 H 02 H 00 H 00 H 00 H Command message 10 H User connection No of sender MEWTOCOL station no of receiver MEWTOCOL DAT Response data part 00 H Data size L Data size H 02 H 00 H 02 H 00 H 00 H 00 H Response message Note1 Note 2 Note1 Note 2 Note 1 MEWTOCOL station no of the receiver varies based on settings for user connection information MEWTOCOL communication type Note 2 Th...

Page 78: ... the message Type of instruction Command code Response code Description Write data area 50H D0H Writes data to a data area Read data area 51H D1H Reads the contents of a data area Write contact information 52H D2H Turns ON or OFF the specified 1 word contact Read contact information 53H D3H Read ON OFF status of contact in the specified 1 word contact 3 Data The content of this varies depending on...

Page 79: ...8 2 MEWTOCOL DAT Format Example of command response message Below is shown an example of Read data area command code 51H 8 5 ...

Page 80: ... data part or the MEWTOCOL COM response data part as indicated in the data structure below When the PLC side has the sending right and executes the sending receiving process PLC automatically attaches these data when SEND RECV command is executed Therefore it is not necessary to take account of these data in a user program Message format in the case of Connect with FP2 ET LAN 10 H MEWTOCOL station...

Page 81: ... specified by IP address 3 Text The content of this varies depending on the type of command The content should be noted in all upper case characters following the fixed formula 4 Check code This is a BCC block check code for error detection using horizontal parity The BCC should be created so that it targets all of the text data from the header to the last text character The BCC starts from the he...

Page 82: ...haracters send the command divided in several times When the message contains a large number of characters the response is sent divided in several times KEY POINTS An expansion header is supported to send single frames of up to 2048 characters as well as general Type of header No of characters that can be sent in 1 frame Max 118 characters Max 2048 characters 8 8 ...

Page 83: ...on no of the PLC that processed the command 3 Text The content of this varies depending on the type of command If the processing is not completed successfully an error code will be stored here so that the content of the error can be checked 4 Check code This is a BCC block check code for error detection using horizontal parity The BCC starts from the header and checks each character in sequence us...

Page 84: ... ON or if the connection information setting is correct If the response contains an instead of a the command was not processed successfully The response will contain a communication error code Check the meaning of the error code Station no and command name are always identical in a command and its corresponding response see below This makes the correspondence between a command and a response clear...

Page 85: ... The station no of the PLC is specified by the system register In the case of the FP7 CPU unit the station no is specified in the FPWIN GR7 configuration menu When the receiver is FP7 specify 01 ASCII code H3031 The receiver to which you want to connect is specified by IP address 3 Frame No This indicates the sending frame No Make sure to use consecutive frame numbers E g Commands for multiple fra...

Page 86: ... and is created automatically 6 Terminator end code Messages must always end with a CR ASCII code H0D KEY POINTS The method for writing text segments in the message varies depending on the type of command When the message to be sent contains a large number of characters send the command divided in several times When the message contains a large number of characters the response is sent divided in ...

Page 87: ...inator end code Data normal status read data abnormal status error code R 1 Header start code A ASCII code H3E must be at the beginning of a message The response must start with the same header start code 2 Station no This is the station no of the PLC that processed the command 3 Frame No This is the frame number where the command was processed 4 Text The content of this varies depending on the ty...

Page 88: ...D If no response is returned the communication format may not be correct or the command may not have arrived at the PLC or the PLC may not be functioning Check if the specified connection is ON or if the connection information setting is correct If the response contains an instead of a the command was not processed successfully The response will contain a communication error code Check the meaning...

Page 89: ...Record of changes Manual No Date Record of Changes WUME FP7LAN 01 Mar 2013 First Edition ...

Page 90: ......

Page 91: ......

Page 92: ...shiyama 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 WUME FP7LAN 01 March 2013 PRINTED IN JAPAN ...

Reviews: