Schneider Electric VW3A3310d user manual Write Single Register 6 function

Page 36

11. Modbus TCP server

11. 6. “Write Single Register” (6) function

This Modbus request is used to write a given value (Preset Data) to the address supplied (Register Address).

Request format:

Byte

Meaning

0Function Code = 16#06

1Register Address Hi

2Register Address Lo

3Preset Data Hi

4Preset Data Lo

Response format:

Byte

Meaning

0Function Code = 16#06

1Register Address Hi

2Register Address Lo

3Preset Data Hi

4Preset Data Lo

Exception response format:

 

 

 

 

 

Byte

Meaning

With the VW3A3310d Ethernet card

0

Function Code = 16#86

 

 

 

 

01

(Illegal Function)

1

Exception Code

02

(Illegal Data Address)

03

(Illegal Data Value)

 

 

 

 

04

(Illegal Response Length)

 

 

 

 

36

Image 36
Contents Altivar 61 Page Table of contents Table of contents Important Information Please NoteBefore you begin Hazard of Electric SHOCK, EXPLOSION, or ARC FlashInstallation Manual Documentation structureProgramming Manual ATV61Introduction PresentationNotation Hardware setup Installing the card in the driveReceipt Hardware descriptionConnecting to the Ethernet network Card RJ45 connector pinoutPin Signal Example of connection to an Ethernet networkEthernet network connection elements Access to Ethernet menu via graphic display terminal Access to Ethernet menu via the integrated display terminalEthernet menu ENTEthernet menu parameters Code Description IPP IPP1 0.0.0 0 0 0 IPP2 IPP3IPP4 IPFFdrA FdrSFdrt FdrEConfiguration List of functions to be configuredConfiguring IP addresses Power-up InitializationAssigning IP addresses Static Addressing DynamicConfiguring Bootp Configuring FDREntering IP addresses in the terminal IP card IPC1 IPC2 IPC3 IPC4 IP Mask IPM1 IPM2 IPM3 IPM4Configuring IO Scanning Reserving controlConfiguring the control Control via Ethernet in I/O profileControl via Ethernet or the terminals in I/O profile Parameter Value CommentControl via Ethernet in CiA402 Drivecom profile Control via Ethernet or the terminals in CiA402 profileProfile Separate Configuring communication interruption management Communication monitoringNetwork management CommunicationCOM. Fault Management External FaultDrive response RDY NETConfiguring monitored parameters Format Range Terminal displayDiagnostics Signalling LEDsColor/ state Description Available information Monitoring the controlIntegrated display Terminal Workshop Web serverTroubleshooting communication interruptions Ethernet communication interruption typeExtended communication interruption CodeTroubleshooting the card Software setup List of services supportedClient Service Number of connections TCP connectionsUnit ID Modbus TCP server Accessible parameters Modbus TCP serverModbus TCP frames Drive Modbus serversAddress Size Description Access Possible values, comments Ethernet card parametersIPC1.IPC2.IPC3.IPC4 IPM1.IPM2.IPM3.IPM4IPP1.IPP2.IPP3.IPP4 IPF1.IPF2.IPF3.IPF4FDR autosave List of Modbus functions supported Read Holding Registers 3 functionCode Modbus name Description Size of data Decimal Byte MeaningWrite Single Register 6 function Write Multiple Registers 16 = 16#10 function Read/Write Multiple Registers 23 = 16#17 function 16#17Read Device Identification 43 = 16#2B function Bytes Meaning With the VW3A3310d Ethernet cardIO Scanning service Periodic variablesAddress Description Default value Address tableFDR service Local configuration Downloaded configuration Drive parameters configurationFirst use IP assignment Save DownloadingSave the drive configuration parameters in the FDR server Replacing a driveDownload the IP addresses Check that the system is operationalOther commands Configuration filePeriodic saving LimitationsHome menu Monitoring menu Diagnostics menu Setup menu Security submenu Documentation menuStandard web server Web server functionsApplets Access to the web server Username and passwordWeb server user interface Home menuMonitoring menu Altivar Viewer Data Viewer Altivar Chart Diagnostics menuSetup menu Ethernet StatisticsHttp password and Data write password pages FDR Agent Lcfg = No nOLocal Config File ErrorError Code Restore CounterIO Scanner Enabling IO Scanning Assigning the IO Scanning periodic variablesTime out MasterMail Important NoticeDocumentation menu Access FTP serverFunctions File systemFTP functionality Comment DIRDownloading from the web server PrincipleFile management File name 32 characters maxWeb server Standard web server resources Type File name Size Complete URL BytesType File name Complete URL BytesSnmp agent PresentationTree structure Objects Description Access Default value Objects handledATV Setup using PL7 Defining the hardware configurationBootp configuration Configuring Modbus messaging ModbusMulti Configuring periodic variables PLC Configuring the Dhcp address server FDR Setup using Concept Setup using ProWORX NxT Hardware configuration Traffic Cop Network configurationTCP/IP configuration O Scanner configuration Page 30072-452-37 2008-02