Schneider Electric VW3 A3 303 Input variable address Logic address Default value, Parameter Logic

Page 35

8. Modbus protocol

The link between the drive parameters and the communication scanner variables can be made:

-Via the display terminal (see section "6. Configuration - 6.2 Communication scanner")

-Via Modbus: Before starting the application, the PLC must first write the address tables described below.

Output variable address

Logic address

Default value

[Scan.Out1 address] (nCA1)

12 721 = 16#31B1

8501 = 16#2135

[Scan.Out2 address] (nCA2)

12 722 = 16#31B2

8602 = 16#219A

[Scan.Out3 address] (nCA3)

12 723 = 16#31B3

0

 

 

 

[Scan.Out4 address] (nCA4)

12 724 = 16#31B4

0

[Scan.Out5 address] (nCA5)

12 725 = 16#31B5

0

[Scan.Out6 address] (nCA6)

12 726 = 16#31B6

0

 

 

 

[Scan.Out7 address] (nCA7)

12 727 = 16#31B7

0

[Scan.Out8 address] (nCA8)

12 728 = 16#31B8

0

Input variable address

Logic address

Default value

[Scan. IN1 address] (nMA1)

12 701

= 16#319D

3201 = 16#0C8B

[Scan. IN2 address] (nMA2)

12 702 = 16#319E

8604 = 16#219C

[Scan. IN3 address] (nMA3)

12 703

= 16#319F

0

 

 

 

[Scan. IN4 address] (nMA4)

12 704 = 16#31A0

0

[Scan. IN5 address] (nMA5)

12 705 = 16#31A1

0

[Scan. IN6 address] (nMA6)

12 706 = 16#31A2

0

 

 

 

[Scan. IN7 address] (nMA7)

12 707 = 16#31A3

0

[Scan. IN8 address] (nMA8)

12 708 = 16#31A4

0

Example

Use of the "Read/Write Multiple Registers" function (request code: 23 = 16#17)

Transmission of the request to a drive located at address 20 (16#14)

Reading all 8 scanner input variables

List of source parameters:

No.

Parameter

Logic

Read

 

 

address

value

1

Status word (EtA)

3201

16#0007

 

 

 

 

2

Output speed (rFrd)

8604

16#1388

 

 

 

 

3

Motor current (LCr)

3204

16#0064

 

 

 

 

4

Output torque (Otr)

3205

16#0045

 

 

 

 

Writing the first 6 scanner output variables

List of target parameters:

No.

Parameter

Logic

Value to

 

 

address

be written

1

Control word (CMd)

8501

16#000F

 

 

 

 

2

Speed reference (LFrd)

8602

16#1388

 

 

 

 

3

High speed (HSP)

3104

16#1F40

 

 

 

 

4

Low speed (LSP):

3105

16#01F4

 

 

 

 

No.

Parameter

Logic

Read

 

 

address

value

5

Power section AC supply voltage

3207

16#00F0

 

(ULn)

 

 

6

Drive thermal state (tHd)

3209

16#0065

 

 

 

 

7

Motor thermal state (tHr)

9630

16#0032

 

 

 

 

8

Altivar fault code (LFt)

7121

16#0000

 

 

 

 

No.

Parameter

Logic

Value to

 

 

address

be written

5

[Acceleration] (ACC)

9001

16#04B0

 

 

 

 

6

[Deceleration] (dEC)

9002

16#0258

 

 

 

 

7

-

0

16#0000

 

 

 

 

8

-

0

16#0000

 

 

 

 

35

Image 35
Contents Altivar Contents Electric shock will result in death or serious injury Before you beginCommunication Parameters Manual Installation ManualDocumentation structure Programming ManualNotation IntroductionPresentation Hardware description Hardware setupInstalling the card in the drive ReceiptCoding the address Switch codingChoosing polarization 1234 AddressModbus RS485 standard Connecting to the busWiring recommendations Connection cables Connection via RJ45 wiring systemConnection accessories TSX SCP CM Connection cables for the masterType of master Master interface Description Catalog number TWD XCA RJ030Cables Connection via junction boxesDescription Catalog Number Subscriber socket RS485 double shielded twisted pairTSX P ACC TSX CSA500Communication parameters ConfigurationParameter Value Comment Control CommandControl via Modbus in I/O profile Control via Modbus or the terminals in I/O profileControl via Modbus or the terminals in Drivecom profile Control via Modbus in Drivecom profileConfiguration COM. Scanner Input Example of configuration via the graphic display terminalCommunication scanner RDY NETCOM. Fault Management Communication faultsFormat Range Terminal display CONFIG. COMM. MAPMonitored parameters FormatGreen RUN Red ERR Meaning Corrective action DiagnosticsChecking the address LEDsCOM Scan Output MAP CMD. Word Image RUN NETCommunication MAP COM. Scanner Input MAPCOM Scan Output MAP Input variable Scanner parameterOutput variable Scanner parameter Card fault Communication faultSlave Slave j Slave k Modbus protocolPrinciple Slave address Function code Data RTU modeAscii mode ModesCode Modbus name Description Broadcast Size of data Modbus functions availableRead Holding/Input Registers 3/4 Write Single Register Diagnostics Write Multiple Registers 16 = 16#10 Get Comm Event Counter 11 = 16#0BRead/Write Multiple Registers 23 = 16#17 Machine Read Device Identification 43 = 16#2BMEI Example of positive responseCode Modbus name Description Size of data Output variables Logic address Default assignmentInput variables Logic address Default assignment Parameter Logic Input variable address Logic address Default valueParameter Logic Read Value Parameter assigned Output controlParameter assigned Input monitoringResponse Code Error codeException responses Logic address Parameter Value Read non-existent or protected parametersRS485 standard AppendixMaster Modbus 2-wire standard schematicModbus 4-wire standard schematic Uni-Telway schematic Type of trunk cable Cable with 1 shielded twisted pair Wire Jbus schematicRecommendations Creating a Modbus bus using non-standard equipmentDifferent scenarios Example Calculating the polarizationSUB-D RS485 schematic for the cardCard connector pinout Contact no. SignalAtv71ModbusJbusENV1 2005-05