YOKOGAWA F3SP71-4S User Manual Download Page 17

   

2-1

 

 

IM 34M06P15-03E 2nd Edition: Jan. 31, 2012-00

 

2. 

Modbus/TCP Slave Function 

This chapter describes the Modbus/TCP slave function via Ethernet. 

 

2.1 Specifications 

This section describes the functional and communication specifications of the 

Modbus/TCP slave function. 

„

 Functional Specifications

 

The following table shows the functional specifications of the Modbus/TCP slave 

function. 
 

Table 2.1.1    Supported Modbus Slave Functions

 

Function Description 

Support 

Serial communication 

Modbus communication via Serial 

communication 

No 

Ethernet communication 

Modbus communication via Ethernet 

Yes 

Write-protect function 

Function that prohibits device writing 

using Modbus commands. 

Yes 

„

 Communication Functions 

The following table shows the communication specifications of the Modbus/TCP slave 

function. 
 

Table 2.1.2  Specifications of Higher-level Link Service Provided by Modbus/TCP Slave 

Function (Ethernet) 

 

Specification Item 

Specification

 

Communications 

protocol 

TCP/IP 

Maximum number of 
connections 


(Total amount of TCP/IP connections of higher-level link 

services) 

Port number 

502 ($01F6) 

Command data format 

Binary 

 

2.2 Communication 

Protocol 

In Modbus/TCP frame, the module returns one response to each request received from 

a higher-level computer (monitor or PC). 

F020201.VSD

MBAP

Header

Data

Sending
station

Receiving 
station

Modbus/TCP Application Protocol

Function Code

MBAP Header : Modbus Application Header

MBAP

Header

Data

Function Code

 

Figure 2.2.1  Communication Protocol 

 

Summary of Contents for F3SP71-4S

Page 1: ...TCP Functions IM 34M06P15 03E Applicable Modules Model Code Model Name F3SP71 4S Sequence CPU Module with network functions F3SP76 7S Sequence CPU Module with network functions IM 34M06P15 03E 2nd Edi...

Page 2: ...Blank Page Blank Page...

Page 3: ...free Multi controller FA M3 Model code Name F3SP71 4S Sequence CPU Module with network functions F3SP76 7S Sequence CPU Module with network functions The document number and document model code for t...

Page 4: ...the attention of the user please contact the nearest Yokogawa Electric representative or sales office Safety Precautions when Using Maintaining the Product The following safety symbols are used on the...

Page 5: ...uipment for the product and control system as well as designing or installing separate protection and or safety circuits for fool proof design and fail safe design of processes and lines using the pro...

Page 6: ...the software for use with each additional computer Copying the software for any purposes other than backup is strictly prohibited Store the original media that contain the software in a safe place Rev...

Page 7: ...eck them thoroughly before turning on the power Interlock with emergency stop circuitry using external relays Equipment incorporating the FA M3 controller must be furnished with emergency stop circuit...

Page 8: ...PU module has a built in battery avoid storage in places with high temperature or humidity Since the service life of the battery is drastically reduced by exposure to high temperatures take special ca...

Page 9: ...entation product Do not dispose in domestic household waste When disposing products in the EU contact your local Yokogawa Europe B V office How to Discard Batteries The following description on DIRECT...

Page 10: ...Manual Functions for F3SP71 4N 4S F3SP76 7N 7S IM 34M06P15 01E Sequence CPU Network Functions for F3SP71 4N 4S F3SP76 7N 7S IM 34M06P15 02E z To create ladder programs FA M3 Programming Tool WideField...

Page 11: ...h the latest version of the online manual Ensure that the edition agrees with the latest CD ROM version Copying passing selling or distribution including transferring over computer networks of the con...

Page 12: ...Blank Page...

Page 13: ...2 4 Function Codes 2 3 Support Function Codes 2 3 PDU Configuration 2 4 2 5 Response Error Code 2 5 2 6 Modbus Device Allocation Specifications 2 6 Modbus Device List 2 6 Modbus Device Associations 2...

Page 14: ...oil 05 3 5 3 6 Write Single Register 06 3 6 3 7 Write Multiple Coils 0F 3 7 3 8 Write Multiple Registers 10 3 8 3 9 Read File Record 14 3 9 3 10 Write File Record 15 3 11 3 11 Mask Write Register 16 3...

Page 15: ...It enables Modbus communication to receive process requests from a master device via Ethernet lines under Modbus commands As no programming is required on the module end this greatly simplifies creati...

Page 16: ...module A monitor or PC is connected using Modbus TCP application protocol F010102 VSD FA M3 Modbus Command Ethernet SCADA 10BASE T 100BASE TX Connector Figure 1 2 1 Example Configuration of Modbus TC...

Page 17: ...device writing using Modbus commands Yes Communication Functions The following table shows the communication specifications of the Modbus TCP slave function Table 2 1 2 Specifications of Higher level...

Page 18: ...application protocol Length 2 byte Byte count from after the unit ID Unit ID 1 byte Used by the master when specifying the slave connected to another line via a gateway or similar method Specifies the...

Page 19: ...5 holding registers Yes 04 04 Read Input Registers Consecutively reads the status of a max of 125 input registers Yes 05 05 Write Single Coil Writes a single coil Yes 06 06 Write Single Register Write...

Page 20: ...Starting Holding Register No 001F Read Points 0001 31 001F is specified as the starting address of the holding register for reading holding register no 32 Figure 2 4 1 Specifying Device Numbers Device...

Page 21: ...XX 1 byte Error Code 1 byte Figure 2 5 1 PDU at Faulty Completion The request function code 80 value is inserted in the function code XX z Response Error Code Table 2 5 1 Response Error Code Error Cod...

Page 22: ...List Modbus devices are as defined below Devices are as described below Table 2 6 1 Modbus Device List Modbus Device Unit Direction Points Number Coil 1 bit Read Write 65 536 1 to 65536 Discrete input...

Page 23: ...Relays I I00001 to I65535 65535 65536 00001 Figure 2 6 1 Associations of Coil Internal Relay I00001 is associated with 00001 of the coils The coil device number associated with an internal relay is c...

Page 24: ...cial Relays M X00201 is associated with input 00065 The input device number associated with an input relay is calculated using the following formula Input device number Unit number x 1024 Slot number...

Page 25: ...65536 00001 01025 Figure 2 6 3 Associations of Input Registers with Special Registers Z Z00001 is associated with 00001 of the input registers The input register device number associated with a specia...

Page 26: ...ng Registers and Data Registers D D00001 is associated with 00001 of the holding registers The holding register device number associated with a data register is calculated using the following formula...

Page 27: ...0001 is associated with record number 0000 of file number 0 The file and record numbers associated with file registers are calculated using the following formula File number File register number 10000...

Page 28: ...tiple Coils 15 Shared Relay Special Relay Read Discrete Input 02 Timer Relay Counter Relay Bit Device Link Relay Read Holding Register 03 Write Single Register 06 Write Multiple Registers 16 Read Writ...

Page 29: ...to prohibit device writing using the Modbus TCP slave function Table 2 8 2 Higher Level Link Service Settings Setting Description Setting Range Initial Value Higher Level Link Service Port A Protocol...

Page 30: ...restricts the IP addresses allowed to access this module The initial value permits all IP addresses to access this module This setting is referenced from all functions that correspond to higher level...

Page 31: ...n of the monitor Connecting to a PC z Connecting to a Program Created on a PC To connect to a program on a PC perform the following steps 1 Create a communication program on a PC using Visual Basic et...

Page 32: ...Blank Page...

Page 33: ...Code Data 01 1 byte 2 byte 2 byte Starting Coil Nos 0000 to FFFF Read Points 0001 to 07D0 Response Format Slave Master At Normal Completion Function Code Data 01 1 byte Read Length n 01 to FA 1 byte...

Page 34: ...ta 02 1 byte 2 byte 2 byte Starting Input Nos 0000 to FFFF Read Points 0001 to 07D0 Response Format Slave Master At Normal Completion Function Code Data 02 1 byte Read Length n 01 to FA 1 byte 1 byte...

Page 35: ...quest is 1 to 125 points Request Format Master Slave F030103 VSD Function Code Data 03 1 byte 2 byte 2 byte Starting Holding Register Nos 0000 to FFFF Read Points 0001 to 007D Response Format Slave Ma...

Page 36: ...uest is 1 to 125 points Request Format Master Slave F030104 VSD Function Code Data 04 1 byte 2 byte 2 byte Starting Input Register Nos 0000 to FFFF Read Points 0001 to 007D Response Format Slave Maste...

Page 37: ...ter Slave F030105 VSD Function Code Data 05 1 byte 2 byte 2 byte Coil Nos 0000 to FFFF Specified Value 1 FF00 0 0000 Response Format Slave Master At Normal Completion At Faulty Completion Function Cod...

Page 38: ...e F030106 VSD Function Code Data 06 1 byte 2 byte 2 byte Holding Register Nos 0000 to FFFF Write Points 0000 to FFFF Response Format Slave Master At Normal Completion At Faulty Completion Function Cod...

Page 39: ...r level bit order bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Device Data 1 Device Data n 0 OFF 1 ON Function Code Data 0F 1 byte Starting Coil Nos 0000 to FFFF Write Points 0001 to 07B0 Write Length n 01...

Page 40: ...8 VSD Function Code Data 10 1 byte 2 byte 2 byte Starting Holding Register Nos 0000 to FFFF Write Points 0001 to 007B Response Format Slave Master At Normal Completion At Faulty Completion Function Co...

Page 41: ...Nos 0000 to FFFF Read Starting Record Nos 0000 to 270F 2 byte Sub request 1 2 byte Read Record Count 0000 to 007C n1 Data Reference No 06 1 byte 2 byte File Nos 0000 to FFFF Read Starting Record Nos 0...

Page 42: ...At Faulty Completion Function Code Data 14 1 byte 1 byte Length Data Reference No 06 1 byte 2 byte Sub request 1 2 byte 1 byte Read Data Size n1 2 1 Data 1 Data n1 Data Reference No 06 1 byte 2 byte S...

Page 43: ...s 0000 to FFFF Write Starting Record Nos 0000 to 270F 2 byte Sub request 1 2 byte Write Record Count 0000 to 007A n1 Data 1 Data n1 2 byte 2 byte Request Format Master Slave Data Reference No 06 1 byt...

Page 44: ...1 byte 2 byte File Nos 0000 to FFFF Write Starting Record Nos 0000 to 270F 2 byte Sub request 1 2 byte Write Record Count 0000 to 007C n1 Data 1 Data n1 2 byte 2 byte Data Reference No 06 1 byte 2 by...

Page 45: ...written value Response Format Slave Master F030113 VSD Function Code Data 16 1 byte 2 byte 2 byte Starting Register Nos 0000 to FFFF AND Mask Value 0000 to FFFF Response Format Master Slave At Normal...

Page 46: ...tion Code Data 17 1 byte 2 byte 2 byte Read Starting Holding Register Nos 0000 to FFFF Read Points 0001 to 007D n Response Format Slave Master At Normal Completion At Faulty Completion Data 97 1 byte...

Page 47: ...gle request is 1 to 31 points Request Format Master Slave F030115 VSD Function Code Data 18 1 byte 2 byte FIFO Pointer Nos 0000 to FFFF Response Format Slave Master At Normal Completion At Faulty Comp...

Page 48: ...Blank Page...

Page 49: ...5 03E Edition Date Revised Item 1st June 2011 New publication 2nd Jan 2012 Errata Written by PLC Group International Sales Promotion Dept IA Systems Business Headquarters Yokogawa Electric Corporation...

Page 50: ...Blank Page...

Reviews: