Schneider Electric LXM32M manual Parameter channel

Page 26

3 Basics

LXM32M

 

 

3.3.4.3 Parameter channel

The master can request a parameter value from the slave or change a parameter value via the parameter channel. Each parameter can be uniquely addressed via the index and subindex.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Byte

0

1

2

 

3

 

4

5

6

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Index

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Subindex

 

 

 

 

 

 

 

 

 

 

Ctrl

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 4: Parameter channel

 

 

 

 

 

 

 

 

 

 

 

 

 

Ctrl

Byte "Ctrl" contains the request to read or write a parameter.

 

The transmit data contains the information whether a parameter is to

 

be read or written. The receive data contains the information whether

 

the read request or the write request were successful.

 

Transmit data:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ctrl

Function

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

02h

No request

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12h

Read request

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

22h

Write request (word)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

32h

Write request (double word)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Receive data:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ctrl

Function

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

02h

Request not yet completed

 

 

 

 

 

 

 

 

 

 

 

12h

Read request or write request successfully completed (word)

 

 

 

 

 

 

22h

Read request or write request successfully completed (double

 

 

 

word)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

72h

Error message

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Only one request can be processed at a time. The slave provides the

 

response until the master sends a new request. If a response includes

 

parameter values, the slave responds with the current value in the

 

case of a repetition.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NOTE: Read requests are only executed by the slave if the value

 

changes from 02h to 12h. Write requests requests are only executed

 

by the slave if the value changes from 02h to 22h or to 32h.

Subindex

The byte "Subindex" must be set to the value 00h.

Index

The word "Index" contains the parameter address.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0198441113843,V1.01,01.2012

 

See the product manual for a list of the parameters.

26

Modbus-TCP module

Image 26
Contents LXM32M Important information Table of contents Diagnostics and troubleshooting Accessories and spare parts LXM32M About this manual Further reading Introduction Fieldbus products on the networkLXM32M Intended use Before you begin safety informationQualification of personnel Hazard categories Basic information Standards and terminology Function principle BasicsModbus TCP technology Bus topologyNetwork service Snmp Client / server modelModbus TCP protocol Structure of a Modbus messageMbap header Field Length DescriptionModbus TCP communication Connection managementModbus response to a Modbus request Excep Name Description Tion CodeReading and writing parameters Address Value4 I/O scanning to Drive Profile Lexium 4.1 I/O scanning Output Byte Meaning Data type Parameter address4.2 I/O scanning Input Bit MeaningBit Signal Factory setting InputsParameter channel Ctrl Subindex Index Field Bytes Value Meaning Modbus services Function CodeFunction Code 3 Read Multiple Registers Function Code 8 Diagnostics Sub-function Code Diagnostics functionFunction Code 16 Write Multiple Registers Function Code 23 ReadWrite Multiple Registers Function Code 43 Encapsulated Interface Transport Object ID Object name ValueExamples Example of Function CodeLXM32M Description Order no InstallationInstallation of the module Electrical installation Pin Signal MeaningCommissioning Commissioning the deviceFirst Setup Switching on the device Power stage supply is switched offManual / MAnu Manual Bootp / boot BootpManual assignment of the network address Dhcp / dhcP DhcpIP address Ethernet module, byte Assignment of the network address via Bootp Assignment of the network address via Dhcp Setting the transmission rate Setting the protocolSetting the gateway Set the IP address of the gateway with the parametersMaster with Word Swap Activating I/O scanning Setting I/O-ScanningSetting the master for I/O scanning Setting the mapping for I/O scanning PLC Setting the web server Setting communication monitoring for I/O scanning0198441113843, V1.01 Operation Bit Name Meaning Operating statesIndication of the operating state Changing the operating state Bit Name Meaning Operating stateBit Name Description Indicating and monitoring the operating modeOperating modes Starting and changing an operating mode Bit Name DescriptionOverview of operating modes MODE+ACTIONOperating mode Jog Operating mode Electronic Gear Operating mode Profile Torque 24 hOperating mode Profile Velocity 23 hOperating mode Profile Position Operating mode Homing Operating mode Motion Sequence LXM32M6 OperationExtended settings Web serverMain menu Submenu Content User interfaceAccessing the FTP server FTP serverFDR service Fast Device Replacement LXM32M Diagnostics and troubleshooting Fieldbus communication error diagnosticsStatus LEDs Color Status MeaningColor Meaning for EtherNet/IP Meaning for Modbus TCPError indication Excep Name Description Tion Code LXM32M Accessories and spare parts CablesLXM32M Glossary Units and conversion tablesTorque TemperatureRotation Moment of inertiaTerms and Abbreviations LXM32M Index LXM32M