Schneider Electric LXM32M manual 4 I/O scanning to Drive Profile Lexium

Page 22

3 Basics

LXM32M

 

 

3.3.4I/O scanning to "Drive Profile Lexium"

I/O scanning is used for cyclic interchange of data between master and slave.

I/O scanning must be configured on the master. The master can use 2 different approaches for of I/O scanning:

"Function Code" 23 (17h), Read-Write Mulitple Registers

"Function Code" 3 (03h), Read Multiple Registers and "Function Code" 16 (10h), Write Multiple Registers

NOTE: The read value is 0 until the first write command is execu- ted.

Settings The following setting must be made on the master before you can use

I/O scanning:

The "Unit Identifier" is 255.

The Modbus parameter address is 0.

The data length is 13.

In addition, you can use up to 3 mappable parameters. If these parameters are used, the data length changes to 15, 17 or 19.

The Modbus addresses for I/O scanning do not differ from the addresses for normal Modbus access.

Output - Input Output and input refer to the direction of data transmission from the perspective of the master.

Output: Commands from the master to the slave

Input: Status messages from the slave to the master

0198441113843, V1.01, 01.2012

22

Modbus-TCP module

Image 22
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 Qualification of personnel Before you begin safety informationIntended use 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 Function Code 3 Read Multiple Registers Modbus services Function CodeField Bytes Value Meaning 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 Installation of the module InstallationDescription Order no 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 Setting the master for I/O scanning Setting I/O-ScanningActivating 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 Indication of the operating state Operating statesBit Name Meaning Changing the operating state Bit Name Meaning Operating stateOperating modes Indicating and monitoring the operating modeBit Name Description 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