Schneider Electric VW3 A3 303 user manual Output control, Parameter assigned, Input monitoring

Page 36

8. Modbus protocol

The communication scanner is configured via the display terminal as follows:

Output (control):

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Configuration parameter

 

 

 

Value

 

 

 

 

 

 

 

 

 

 

 

 

Parameter assigned

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. Out1 address] (nCA1)

 

 

8501

 

 

 

 

Control word (CMd)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. Out2 address] (nCA2)

 

 

8602

 

 

 

 

Speed reference (LFrd)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. Out3 address] (nCA3)

 

 

3104

 

 

 

 

[High speed] (HSP)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan.Out4 address] (nCA4)

 

 

3105

 

 

 

 

[Low speed] (LSP):

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. Out5 address] (nCA5)

 

 

9001

 

 

 

 

[Acceleration] (ACC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. Out6 address] (nCA6)

 

 

9002

 

 

 

 

[Deceleration] (dEC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. Out7 address] (nCA7)

 

 

0

 

 

 

 

Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. Out8 address] (nCA8)

 

 

0

 

 

 

 

Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Input (monitoring):

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Configuration parameter

 

 

 

 

Value

 

 

 

 

Parameter assigned

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. IN1 address] (nNA1)

 

 

3201

 

 

 

 

Status word (EtA)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. IN2 address] (nNA2)

 

 

8604

 

 

 

 

Output speed (rFrd)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. IN3 address] (nNA3)

 

 

3204

 

 

 

 

[Motor current] (LCr)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. IN4 address] (nNA4)

 

 

3205

 

 

 

 

[Output torque] (Otr)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. IN5 address] (nNA5)

 

 

3207

 

 

 

 

[Power section AC supply voltage] (ULn)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. IN6 address] (nNA6)

 

 

3209

 

 

 

 

[Drive thermal state] (tHd)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. IN7 address] (nNA7)

 

 

9630

 

 

 

 

[Motor thermal state] (tHr)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Scan. IN8 address] (nNA8)

 

 

7121

 

 

 

 

Altivar fault code (LFt)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Request:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Slave no.

 

Request code

 

No. of 1st word

 

 

No. of words to

 

No. of 1st word to

 

No. of words to be

 

No. of bytes to be

 

---

 

 

 

 

 

 

 

 

 

 

 

 

to be read

 

 

 

be read

 

 

 

 

be written

 

 

 

written

 

written

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hi

 

Lo

 

 

Hi

 

 

 

 

Lo

 

 

 

Hi

 

 

Lo

 

 

Hi

 

 

 

Lo

 

 

 

 

 

 

 

 

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14

 

17

 

 

 

31

 

C5

 

00

 

 

 

 

08

 

31

 

 

D9

 

00

 

06

 

 

 

 

0C

 

 

 

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

---

 

 

Value of 1st

 

Value of 2nd

 

 

Value of 3rd

 

Value of 4th

 

Value of 5th

 

 

 

Value of 6th

CRC

 

CRC

 

 

 

word to be

 

word to be

 

 

word to be

 

word to be

 

word to be

 

 

 

word to be

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

written

 

 

 

written

 

 

 

written

 

 

 

 

 

 

 

written

 

written

 

 

 

written

 

 

 

 

 

 

 

---

 

 

Hi

 

Lo

 

Hi

 

 

Lo

 

 

Hi

 

Lo

 

Hi

 

 

 

Lo

 

Hi

 

Lo

 

 

 

Hi

 

 

Lo

 

Lo

 

 

Hi

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

---

 

00

 

 

0F

 

13

 

 

88

 

 

1F

 

40

 

 

01

 

 

 

F4

04

 

 

B0

 

 

02

 

 

58

56

 

 

3D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Slave no.

 

Response code

 

 

No. of bytes

 

 

Value of 1st word

 

 

Value of 2nd word

 

Value of 3rd word

 

Value of 4th word

 

---

 

 

 

 

 

 

 

 

 

 

 

 

 

read

 

 

 

 

 

read

 

 

 

read

 

 

 

read

 

 

read

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hi

 

 

 

 

 

Lo

 

 

 

Hi

 

 

Lo

 

Hi

 

 

 

Lo

 

Hi

 

 

 

Lo

 

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14

 

17

 

 

 

 

10

 

 

 

 

00

 

 

 

 

07

 

 

13

 

 

88

 

00

 

 

 

64

 

 

00

 

 

 

45

 

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

---

Value of 5th word read

 

Value of 6th word read

 

 

Value of 7th word read

 

Value of 8th word read

 

 

 

CRC

 

 

 

CRC

---

 

 

Hi

 

 

 

Lo

 

 

Hi

 

 

 

Lo

 

 

 

 

Hi

 

 

 

Lo

 

Hi

 

 

 

 

Lo

 

 

Lo

 

 

 

 

Hi

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

---

 

 

00

 

 

 

F0

 

00

 

 

65

 

 

 

 

 

00

 

 

 

32

 

 

 

00

 

 

 

00

 

 

 

E4

 

 

 

90

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

36

Image 36
Contents Altivar Contents Before you begin Electric shock will result in death or serious injuryInstallation Manual Documentation structureProgramming Manual Communication Parameters ManualIntroduction PresentationNotation Hardware setup Installing the card in the driveReceipt Hardware descriptionSwitch coding Choosing polarizationCoding the address Address 1234Connecting to the bus Wiring recommendationsModbus RS485 standard Connection via RJ45 wiring system Connection accessoriesConnection cables Connection cables for the master Type of master Master interface Description Catalog numberTWD XCA RJ030 TSX SCP CMConnection via junction boxes Description Catalog Number Subscriber socketRS485 double shielded twisted pair CablesTSX CSA500 TSX P ACCConfiguration Communication parametersControl Command Control via Modbus in I/O profileControl via Modbus or the terminals in I/O profile Parameter Value CommentControl via Modbus in Drivecom profile Control via Modbus or the terminals in Drivecom profileConfiguration Example of configuration via the graphic display terminal Communication scannerRDY NET COM. Scanner InputCommunication faults COM. Fault ManagementCONFIG. COMM. MAP Monitored parametersFormat Format Range Terminal displayDiagnostics Checking the addressLEDs Green RUN Red ERR Meaning Corrective actionRUN NET Communication MAPCOM. Scanner Input MAP COM Scan Output MAP CMD. Word ImageInput variable Scanner parameter Output variable Scanner parameterCOM Scan Output MAP Communication fault Card faultModbus protocol PrincipleSlave Slave j Slave k RTU mode Ascii modeModes Slave address Function code DataModbus functions available Read Holding/Input Registers 3/4Code Modbus name Description Broadcast Size of data Write Single Register Diagnostics Get Comm Event Counter 11 = 16#0B Write Multiple Registers 16 = 16#10Read/Write Multiple Registers 23 = 16#17 Read Device Identification 43 = 16#2B Machine Example of positive response MEIOutput variables Logic address Default assignment Input variables Logic address Default assignmentCode Modbus name Description Size of data Input variable address Logic address Default value Parameter Logic ReadParameter Logic Output control Parameter assignedInput monitoring Value Parameter assignedCode Error code Exception responsesResponse Read non-existent or protected parameters Logic address Parameter ValueAppendix RS485 standardModbus 2-wire standard schematic MasterModbus 4-wire standard schematic Uni-Telway schematic Wire Jbus schematic Type of trunk cable Cable with 1 shielded twisted pairCreating a Modbus bus using non-standard equipment Different scenariosRecommendations Calculating the polarization ExampleRS485 schematic for the card Card connector pinoutContact no. Signal SUB-DAtv71ModbusJbusENV1 2005-05