Schneider Electric Altivar 212 manual Write Single Register

Page 36

Modbus services

Write Single Register (6)

The Write Single Register function permits to write value of one parameter. Not all Altivar 212 parameters can be written.

Request and response:

Slave no.

Function code

Register address

Register value

CRC16

 

06

Hi

 

Lo

Hi

 

Lo

Lo

 

Hi

 

 

 

 

1 byte

1 byte

 

2 bytes

 

2 bytes

2 bytes

Error response:

Slave no.

86

Exception code

CRC16

Lo

Hi

 

 

 

 

 

1 byte

1 byte

1 byte

1 byte

Example: Write value 60 Hz to the parameter [Frequency reference from serial comm.] (FA01) in Altivar 212 slave 1.

Request and response:

01

06

FA01

1770

E6C6

Example: Error response due to invalid register address.

Request:

01

06

FFFF

0000

89EE

Error response:

01

86

02

C3A1

36

S1A53844 01/2011

Image 36
Contents Altivar S1A53844 01/2011 Table of Contents Table of Contents Safety Information Important InformationAbout the Book At a GlanceHazard of Electric SHOCK, Explosion or ARC Flash S1A53844 01/2011 Introduction Introduction Hardware setup Whats in this Chapter?Topic Pin out of the Open Style Modbus connector RJ45Cross section Tightening torqueConnection via Open Style wiring system Pin out of the RJ45 Modbus connectorPin Signal Open Style ReferenceConnection via RJ45 wiring system Connection accessoriesConnecting cables RJ45 ReferenceProtection Against Interference Description of terminals PTC resistor value F646GND Hardware setup Configuration Configuration of the communication parameters Access to the parametersParameters Modbus Adjustment range Default Valid Address AfterConfiguration of the control source Parameters Modbus SettingControl by the Modbus network CommunicationSetting Default Valid Control by the terminals, monitoring by the Modbus networkParameters Parameters Modbus Setting Default Valid Parameters Modbus Setting Default Valid Address Com channel choice F807 Communication Menu COM submenuLI R selection F112 LI R selectionParameters Location Remote spd ref 2 F207Frequency source VIA VIAComplete control diagram Commands CMOdConfiguration of the indirect blocks ConfigurationConfiguration of the communication interruption Configure the drive behaviour Parameter Modbus Setting Default Valid AddressCommunication detected fault 16#851 2129Configuration Modbus services RTU mode Principle of the Modbus protocolSlave Slave j Slave k Slave address Function code DataModbus functions available Read one wordFunction 3, quantity = Read indirect block Function 3, quantity = 1Status info Read indirect block of 2 parameters Write Single Register Write multiple registers Function 16 = 16#10, quantity =1Command word Frequency Setpoint Write indirect blockSpeed Setpoint Request 6C 7E Response Read Device Identification 43/14 Error response Exception codeModbus services Parameter list Auto ramp AUI Disabled Manual Setting of Max frequency FHReferring to the Altivar 212 programming manual GeneralCommands from serial communication List of control parametersSetpoints from serial communication Outputs control from serial communicationList of monitoring parameters StatusFrequency and speed Current and torquePower and energy MaintenanceTrip and alarm codes ValuesCommands Command word FA00Bit Specifications Remarks Command word 2 FA20 Energy reset bitExamples Over-current stall level change bitSetpoints Frequency setpoint FA01Speed setpoint FA13 Status Status word FE0I Fd01Command mode status FE45 Setpoint mode status FE46Status word 2 FE42 Fd42 Status word 3 FE49 Fd49Trip and alarm codes Alarm code FC91Alarm of run time FE79 Code Value Description Hexadecimal number Decimal number Monitoring and control of I/O from communication Digital inputs status Fd06, FE06Digital outputs status Fd07, FE07 Bit Terminal name Function parameter titleDigital outputs command FA50 Analog outputs command FA51Damper opening command Analog inputs values FE35, FE36F580 = 3 Model Voltage Power Rating Code FB05 Class FB72bit8 IdentificationDrive model code F805 ATV212WU15N4C S1A53844 01/2011 Appendix Modbus 2-wire standard schematic Schematic diagramRS485 standard Migration Migration ATV21 ATV212 For exampleCommissioning ATV212Modbus manualENS1A5384401 S1A53844 01/2011