Schneider Electric Altivar 212 Modbus functions available, Read one word, Function 3, quantity =

Page 33

Modbus services

Modbus functions available

The following table indicates which Modbus functions are managed by the Altivar 212 and specifies their limits. The "read" and "write" functions are defined from the point of view of the master.

Code

Function name

Size of data

Altivar 212 function name

Broadcast

3 = 16#03

Read Holding Registers

1 object

Read one word

Yes

 

 

 

 

 

 

 

1 ... 5 objects

Read indirect block

Yes

 

 

 

 

 

6 = 16#06

Write Single Register

1 objects

 

Yes

 

 

 

 

 

16 = 16#10

Write Multiple Registers

1 object

Write one word

Yes

 

 

 

 

 

 

 

2 objects

Write indirect block

Yes

 

 

 

 

 

43/14 = 16#2B/0E

Read Device Identification

3 objects

 

No

 

 

 

 

 

Read one word (03)

Function 3, quantity = 1

One word function permits to read one parameter value. All parameter of the Altivar 212 can be read. Request:

Slave no.

Function code

Starting address

Quantity of registers

 

CRC16

 

 

 

 

 

 

(fixed)

 

 

 

 

03

Hi

 

Lo

00

 

01

Lo

 

Hi

 

 

 

 

1 byte

1 byte

 

2 bytes

 

2 bytes

 

2 bytes

Response:

Slave no.

Function code

Byte count

Register value

 

CRC16

 

03

 

Hi

 

Lo

Lo

 

Hi

 

 

 

 

 

 

 

 

 

1 byte

1 byte

1 byte

 

2 bytes

 

2 bytes

Error response:

Slave no.

Function code

Exception

 

CRC16

 

83

code

Lo

 

Hi

 

 

1 byte

1 byte

1 byte

1 byte

 

1 byte

Example: Read [Output frequency] (Fd00) on Altivar 212 at slave address 1

Request:

01

03

FD 00

00 01

B5 A6

Response:

01

03

02

17

70

B6

50

Example: Invalid read of 2 words

Request:

01

03

FD 00

00 02

F5 A7

Error response:

01

83

03

01 31

S1A53844 01/2011

33

Image 33
Contents Altivar S1A53844 01/2011 Table of Contents Table of Contents Important Information Safety InformationAt a Glance About the BookHazard of Electric SHOCK, Explosion or ARC Flash S1A53844 01/2011 Introduction Introduction Hardware setup Whats in this Chapter?Topic RJ45 Pin out of the Open Style Modbus connectorCross section Tightening torquePin out of the RJ45 Modbus connector Connection via Open Style wiring systemPin Signal Open Style ReferenceConnection accessories Connection via RJ45 wiring systemConnecting cables RJ45 ReferenceProtection Against Interference PTC resistor value F646 Description of terminalsGND Hardware setup Configuration Access to the parameters Configuration of the communication parametersParameters Modbus Adjustment range Default Valid Address AfterParameters Modbus Setting Configuration of the control sourceControl by the Modbus network CommunicationSetting Default Valid Control by the terminals, monitoring by the Modbus networkParameters Parameters Modbus Setting Default Valid Com channel choice F807 Communication Menu COM submenu Parameters Modbus Setting Default Valid AddressLI R selection F112 LI R selectionRemote spd ref 2 F207 Parameters LocationFrequency source VIA VIACommands CMOd Complete control diagramConfiguration Configuration of the indirect blocksConfiguration of the communication interruption Parameter Modbus Setting Default Valid Address Configure the drive behaviourCommunication detected fault 16#851 2129Configuration Modbus services Principle of the Modbus protocol RTU modeSlave 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 Function 16 = 16#10, quantity =1 Write multiple registersCommand word Frequency Setpoint Write indirect blockSpeed Setpoint Request 6C 7E Response Read Device Identification 43/14 Exception code Error responseModbus services Parameter list Setting of Max frequency FH Auto ramp AUI Disabled ManualReferring to the Altivar 212 programming manual GeneralList of control parameters Commands from serial communicationSetpoints from serial communication Outputs control from serial communicationStatus List of monitoring parametersFrequency and speed Current and torqueMaintenance Power and energyTrip and alarm codes ValuesCommands Command word FA00Bit Specifications Remarks Energy reset bit Command word 2 FA20Examples Over-current stall level change bitSetpoints Frequency setpoint FA01Speed setpoint FA13 Status word FE0I Fd01 StatusSetpoint mode status FE46 Command mode status FE45Status 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 Digital inputs status Fd06, FE06 Monitoring and control of I/O from communicationDigital outputs status Fd07, FE07 Bit Terminal name Function parameter titleAnalog outputs command FA51 Digital outputs command FA50Damper 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