Schneider Electric Altivar 212 manual Write indirect block, Command word Frequency Setpoint

Page 38

Modbus services

Write indirect block (16)

Function 16 = 16#10, quantity = 2

The Write indirect block function permits to write 2 parameters. These parameters can be chosen by parameters [Block write data 1] (F870) and [Block write data 2] (F871) (refer to "Configuration of the indirect blocks", page 27).

Access to the parameter

This parameter is accessible in the [COMMUNICATION MENU] COM submenu of [PROGRAMMING MENU] Programming mode.

Description

Parameters

Modbus Adjustment range address

Default Valid setting after

[Block write data 1] (F870)

2160

 

16#870

 

 

[Block write data 2] (F871)

2161

 

16#871

 

 

0[No select]: No selection

1[Command word 1]

2[Command word 2]

3[Frequency Setpoint]

4[Relay command]: Ouput data on the terminal board

5[FM command]: Analog output for communication

6[Speed Setpoint]

0

Power cycle

Request:

Slave no.

Function

Starting address

Quantity of register

Byte

First register value

-------

CRC16

 

code

 

 

 

 

 

count

 

 

 

 

 

 

 

10

18

 

00

 

02

04 (fixed)

 

 

 

 

 

 

 

70

 

 

 

 

 

 

 

 

(fixed)

(fixed)

(fixed)

 

(fixed)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 byte

1 byte

2 bytes

2 bytes

1 byte

2 bytes

2 bytes

Response:

Slave no.

Function code

Starting address

Quantity of register

CRC16

 

10

18 (fixed)

70 (fixed)

00 (fixed)

02 (fixed)

 

 

 

 

 

 

 

 

 

 

1 byte

1 byte

2 bytes

2 bytes

2 bytes

Error response:

Slave no.

Function code

Exception code

CRC16

90

 

 

 

 

 

 

 

1 byte

1 byte

1 byte

2 bytes

Refer to "Error response", page 41.

Example: Write value 60Hz in the parameter [Frequency Command] (FA01) and run forward command in Altivar 212 slave 1.

Configuration:

[Block write data 1] (F870) = 1: [Command word 1] (FA00)

[Block write data 2] (F871) = 3: [Frequency reference from serial comm.] (FA01)

The Altivar 212 accepts the request:

Request:

01

10

18 70

00 02

04

C4 00

17 70

6D AF

Response:

01

10

18 70

00 02

43 B3

The Altivar 212 rejects the request because it is busy or F870 is 0:

Request:

01

10

18 70

00 02

04

C4 00

17 70

6D AF

Response:

01

90

04

4D C3

38

S1A53844 01/2011

Image 38
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 Topic Hardware setupWhats in this Chapter? Cross section Pin out of the Open Style Modbus connectorRJ45 Tightening torquePin Signal Connection via Open Style wiring systemPin out of the RJ45 Modbus connector Open Style ReferenceConnecting cables Connection via RJ45 wiring systemConnection accessories RJ45 ReferenceProtection Against Interference Description of terminals PTC resistor value F646GND Hardware setup Configuration Parameters Modbus Adjustment range Default Valid Address Configuration of the communication parametersAccess to the parameters AfterControl by the Modbus network Configuration of the control sourceParameters Modbus Setting CommunicationParameters Setting Default ValidControl by the terminals, monitoring by the Modbus network Parameters Modbus Setting Default Valid LI R selection F112 Parameters Modbus Setting Default Valid AddressCom channel choice F807 Communication Menu COM submenu LI R selectionFrequency source Parameters LocationRemote spd ref 2 F207 VIA VIAComplete control diagram Commands CMOdConfiguration of the indirect blocks ConfigurationConfiguration of the communication interruption Communication detected fault 16#851 Configure the drive behaviourParameter Modbus Setting Default Valid Address 2129Configuration Modbus services Slave Slave j Slave k RTU modePrinciple of the Modbus protocol Slave address Function code DataFunction 3, quantity = Modbus functions availableRead one word Status info Read indirect blockFunction 3, quantity = 1 Read indirect block of 2 parameters Write Single Register Write multiple registers Function 16 = 16#10, quantity =1Speed Setpoint Command word Frequency SetpointWrite indirect block Request 6C 7E Response Read Device Identification 43/14 Error response Exception codeModbus services Parameter list Referring to the Altivar 212 programming manual Auto ramp AUI Disabled ManualSetting of Max frequency FH GeneralSetpoints from serial communication Commands from serial communicationList of control parameters Outputs control from serial communicationFrequency and speed List of monitoring parametersStatus Current and torqueTrip and alarm codes Power and energyMaintenance ValuesBit Specifications Remarks CommandsCommand word FA00 Examples Command word 2 FA20Energy reset bit Over-current stall level change bitSpeed setpoint FA13 SetpointsFrequency setpoint FA01 Status Status word FE0I Fd01Status word 2 FE42 Fd42 Command mode status FE45Setpoint mode status FE46 Status word 3 FE49 Fd49Alarm of run time FE79 Trip and alarm codesAlarm code FC91 Code Value Description Hexadecimal number Decimal number Digital outputs status Fd07, FE07 Monitoring and control of I/O from communicationDigital inputs status Fd06, FE06 Bit Terminal name Function parameter titleDamper opening command Digital outputs command FA50Analog outputs command FA51 Analog inputs values FE35, FE36F580 = 3 Drive model code F805 Model Voltage Power Rating Code FB05 Class FB72bit8Identification ATV212WU15N4C S1A53844 01/2011 Appendix RS485 standard Modbus 2-wire standard schematicSchematic diagram Migration Commissioning Migration ATV21 ATV212For example ATV212Modbus manualENS1A5384401 S1A53844 01/2011