Schneider Electric VW3A3310d user manual List of Modbus functions supported, Byte Meaning

Page 35

11. Modbus TCP server

11. 4. List of Modbus functions supported

 

Code

Modbus name

Description

Size of data

 

(decimal)

 

 

 

3 = 16#03

Read Holding Registers

Read N output words

63 words max.

6 = 16#06

Write Single Register

Write one output word

-

16

= 16#10

Write Multiple Registers

Write N output words

61 words max.

23

= 16#17

Read/Write Multiple Registers

Read/write N words

20/20 words max.

43

= 16#2B

Read Device Identification

Identification

-

11. 5. “Read Holding Registers” (3) function

This Modbus request is used to read the values of a number (No. of Points) of adjacent words starting at the address indicated (Starting Address). The values read are restored one after another, at the end of the response (First Point Data Last Point Data).

Request format:

Byte

Meaning

0Function Code = 16#03

1Starting Address Hi

2Starting Address Lo

3No. of Points Hi (0)

4No. of Points Lo (1 - 125)

Response format:

 

 

 

 

 

Byte

Meaning

 

0

Function Code = 16#03

 

1

Byte Count (B = 2 × No. of Points)

 

2

First Point Data Hi

 

3

First Point Data Lo

 

………………………

 

B

Last Point Data Hi

 

B+1

Last Point Data Lo

 

Exception response format:

 

 

 

 

Byte

Meaning

With the VW3A3310d Ethernet card

0

Function Code = 16#83

 

 

 

01 (Illegal Function)

1

Exception Code

02 (Illegal Data Address)

03 (Illegal Data Value)

 

 

 

 

04 (Illegal Response Length)

 

 

 

35

Image 35
Contents Altivar 61 Page Table of contents Table of contents Please Note Important InformationHazard of Electric SHOCK, EXPLOSION, or ARC Flash Before you beginATV61 Installation ManualDocumentation structure Programming ManualNotation IntroductionPresentation Hardware description Hardware setupInstalling the card in the drive ReceiptExample of connection to an Ethernet network Connecting to the Ethernet networkCard RJ45 connector pinout Pin SignalEthernet network connection elements ENT Access to Ethernet menu via graphic display terminalAccess to Ethernet menu via the integrated display terminal Ethernet menuEthernet menu parameters IPF Code Description IPPIPP1 0.0.0 0 0 0 IPP2 IPP3 IPP4FdrE FdrAFdrS FdrtList of functions to be configured ConfigurationStatic Addressing Dynamic Configuring IP addressesPower-up Initialization Assigning IP addressesIP card IPC1 IPC2 IPC3 IPC4 IP Mask IPM1 IPM2 IPM3 IPM4 Configuring BootpConfiguring FDR Entering IP addresses in the terminalReserving control Configuring IO ScanningParameter Value Comment Configuring the controlControl via Ethernet in I/O profile Control via Ethernet or the terminals in I/O profileControl via Ethernet or the terminals in CiA402 profile Control via Ethernet in CiA402 Drivecom profileProfile Separate Communication Configuring communication interruption managementCommunication monitoring Network managementRDY NET COM. Fault ManagementExternal Fault Drive responseFormat Range Terminal display Configuring monitored parametersColor/ state Description DiagnosticsSignalling LEDs Terminal Workshop Web server Available informationMonitoring the control Integrated displayCode Troubleshooting communication interruptionsEthernet communication interruption type Extended communication interruptionTroubleshooting the card TCP connections Software setupList of services supported Client Service Number of connectionsDrive Modbus servers Unit ID Modbus TCP server Accessible parametersModbus TCP server Modbus TCP framesIPM1.IPM2.IPM3.IPM4 Address Size Description Access Possible values, commentsEthernet card parameters IPC1.IPC2.IPC3.IPC4IPF1.IPF2.IPF3.IPF4 IPP1.IPP2.IPP3.IPP4FDR autosave Byte Meaning List of Modbus functions supportedRead Holding Registers 3 function Code Modbus name Description Size of data DecimalWrite Single Register 6 function Write Multiple Registers 16 = 16#10 function 16#17 Read/Write Multiple Registers 23 = 16#17 functionBytes Meaning With the VW3A3310d Ethernet card Read Device Identification 43 = 16#2B functionPeriodic variables IO Scanning serviceAddress table Address Description Default valueFDR service Local configuration IP assignment Save Downloading Downloaded configurationDrive parameters configuration First useCheck that the system is operational Save the drive configuration parameters in the FDR serverReplacing a drive Download the IP addressesLimitations Other commandsConfiguration file Periodic savingWeb server functions Home menu Monitoring menu Diagnostics menuSetup menu Security submenu Documentation menu Standard web serverApplets Username and password Access to the web serverMonitoring menu Web server user interfaceHome menu Altivar Viewer Data Viewer Diagnostics menu Altivar ChartEthernet Statistics Setup menuHttp password and Data write password pages Lcfg = No nO FDR AgentRestore Counter Local ConfigFile Error Error CodeIO Scanner Assigning the IO Scanning periodic variables Enabling IO ScanningMaster Time outImportant Notice MailDocumentation menu FTP server AccessDIR FunctionsFile system FTP functionality CommentFile name 32 characters max Downloading from the web serverPrinciple File managementWeb server Complete URL Bytes Standard web server resourcesType File name Size Complete URL Bytes Type File nameTree structure Snmp agentPresentation ATV Objects Description Access Default valueObjects handled Defining the hardware configuration Setup using PL7Bootp configuration Multi Configuring Modbus messagingModbus Configuring periodic variables PLC Configuring the Dhcp address server FDR Setup using Concept Hardware configuration Traffic Cop Network configuration Setup using ProWORX NxTTCP/IP configuration O Scanner configuration Page 30072-452-37 2008-02