Schneider Electric LUFP9 user manual Changing a Modbus slave Configuration

Page 60

6. Configuring the Gateway

Service

PLC input

Description

Bit 0 ..................... Bit 7

Bit 8....................Bit 15

Managing the downstream Modbus

I:1.1

LUFP9 gateway status word

network

(MSB Æ 16#xx••)

(LSB Æ 16#••xx)

 

 

I:1.2

Value of the motor starter c status register

Periodic communications

I:1.3

Value of the motor starter d status register

I:1.4

Value of the motor starter e status register

I:1.5

Value of the motor starter f status register

Monitoring of

I:1.6

Value of the motor starter g status register

TeSys U motor starters

I:1.7

Value of the motor starter h status register

 

I:1.8

Value of the motor starter i status register

 

I:1.9

Value of the motor starter j status register

 

 

 

Service

PLC output

Description

Bit 0 ..................... Bit 7

Bit 8....................Bit 15

Managing the downstream Modbus

O:1.1

DeviceNet master command word

network

(MSB Æ 16#xx••)

(LSB Æ 16#••xx)

 

 

O:1.2

Value of the motor starter c command register

Periodic communications

O:1.3

Value of the motor starter d command register

O:1.4

Value of the motor starter e command register

O:1.5

Value of the motor starter f command register

Controlling

O:1.6

Value of the motor starter g command register

TeSys U motor starters

O:1.7

Value of the motor starter h command register

 

O:1.8

Value of the motor starter i command register

 

O:1.9

Value of the motor starter j command register

10)Transferring the DeviceNet scanner configuration: Following the changes made to the list of DeviceNet scanner exchanges, it needs to be transferred to the DeviceNet scanner. Please see chapter 4.2.9 Transferring the DeviceNet Scanner Configuration, page 32.

6.10. Changing a Modbus slave Configuration

Configuring a Modbus slave itself remains very simple because it only involves the name and the Modbus address of the node to which it corresponds. On the contrary, configuring Modbus commands is much more complete and is the subject of a separate object of its own (see chapter 6.11 Adding and Setting Up a Modbus Command, page 62).

You will need to change the configuration of a Modbus slave when you add a new Modbus unit (see chapter 6.7 Adding a Modbus Slave, page 46), using any method.

Changing the name of the node which corresponds to a Modbus slave is used to distinguish it from the other nodes when the configuration of its Modbus commands has been changed, for instance.

6.10.1. Changing the Name of a Modbus Slave

To carry out this operation, all you have to do is select the node which corresponds to the Modbus slave involved (“Devices:” section), click on the current name (value of the “(Name)” field, in the “Configuration:” section), then change it. After confirming the new name (“Enter” key or click outside the name’s data entry field), this will become effective in AbcConf, and the name of the node will be automatically updated in the “Devices:” section. An example is given at the top of the next page. The three red frames shown in this example show the consequences of the change made.

60

Image 60
Contents LUFP9 Page LUFP9 Page Table of contents Introduction Introduction to the user guideIntroduction to the LUFP9 Gateway TerminologyAltistart Notational Conventions Additional DocumentationModbus Modbus VW33-A48Downstream network no.3 Modbus Downstream network no.1Principle Used to Configure and Operate the LUFP9 Gateway ABC Configurator Modbus networkLUFP9 gateway RSNetWorxRSLogix DeviceNet NetworkConfiguration Modbus RTU Hardware Implementation of the LUFP9 GatewayOn Receipt Powering the gateway Mounting the Gateway on a DIN RailMounting the gateway Dismounting the gateway Connecting the Gateway to the Modbus Network Examples of Modbus connection topologiesLUFP9 gateway TSXCSA00 Pin outsWiring recommendations for the Modbus network 120 ΩHubs, drops, taps, and line terminations Connecting the LUFP9 gateway to the DeviceNet network Wire colourCables PinConfiguring DeviceNet Communication Features Selector Switches DeviceNet speed 3 4 5 6 7Selector DeviceNet Switches Address 3 4 5 6 7 Speed Address Mac IDEncoding the Gateway Address Signalling Software Implementation of the Gateway IntroductionSystem Architecture DeviceNet Master PLC SLC500 DeviceNet upstream networkConfiguring the Motor Starters Modbus cycle timeManaging degraded modes Configuring the Gateway in RsNetWorx Installing the Gateway Description FileSelecting and adding the master PLC’s DeviceNet scanner Selecting and Adding the Gateway to the DeviceNet Network Editing gateway parametersSoftware Implementation of the Gateway Configuring the DeviceNet Scanner Configuring Inputs from the Gateway Service PLC input DescriptionI1.1 I1.2Configuring Outputs Intended for the Gateway Service PLC output DescriptionO1.1 O1.2Description of Services Assigned to Gateway Inputs/Outputs Output Value Meaning MSB + LSBInput Value Meaning MSB + LSB Transferring the DeviceNet Scanner Configuration Developing a DeviceNet ApplicationGateway Initialization and Diagnostics Full ManagementSummary Control/Status Byte field Sub-chapterFbhssend New DeviceNet master command word Fbdu Modbus exchange startupBits Description Bits Description Abchssend New gateway diagnostic 11EC Error code associated with the Modbus networkED Error data item associated with the Modbus network Gateway Status WordDescription of the error Diagnostic only DeviceNet Master Command Word Simplified Operation Configuring the Gateway Connecting the Gateway to the Configuration PCLUFP9 Configuration Female RJ45 RS-232 link protocolMale RJ45 PC COM Male 9 point SUB-DInstalling AbcConf Importing the Gateway ConfigurationTransferring a Configuration to the Gateway Monitoring the Content of the Gateway’s MemoryConfiguring the Gateway Procedure for deleting a Modbus slave Deleting a Modbus SlaveCopying a previously configured Modbus slave Adding a Modbus SlaveAdding a new type of Modbus slave Keyboard shortcut CtrlImporting/exporting a Modbus slave configuration Changing the Periodic Data Exchanged With a Modbus Slave Replacing a Periodic Input Data ElementReplacing an Output Periodic Data Element Increasing the Amount of Periodic Input Data Configuring the Gateway Configuring the Gateway I1.17 I1.18I1.19 I1.20Configuring the Gateway Configuring the Gateway Configuring the Gateway O1.17 O1.18Deleting Aperiodic Parameter Data Configuring the Gateway Changing a Modbus slave Configuration Changing the Name of a Modbus SlaveChanging the Address of a Modbus Slave Adding and Setting Up a Modbus Command Name of the Modbus command Modbus queryWith TeSys U Motor Starters Modbus responseWith a Generic Modbus Slave Configuring the Gateway DeviceNet Configuring the Query Configuration Description ElementConfiguring the Gateway Default communication mode. The query is transmitted Configuring the Response Configuring the Content of the Query Frame Field Size Description FrameField SizeFrame Mode. The default value, CRC, should not be changed Configuring the Content of the Response FrameAdding a Special Modbus Command Modbus Commands Based on Standard CommandsModbus Commands which Can Be Completely Changed by the User Configuring the General Characteristics of the Gateway Fieldbus elementABC Element Sub-Network Element Configuring the Gateway Adding a Broadcaster Node Appendix a Technical Characteristics Communication CharacteristicsEnvironment Inputs Input data areaOutputs General dataOutput data area General data areaAppendix B Default Configuration Configuring Modbus exchanges16#10 16#06Content of the Gateway’s Dpram Memory Input Data Memory Area16#0200 Appendix C Practical Example RSLogix Main Program LAD 2 MAINLUFP9Address Symbol Description ScanvalidationCmdreset Module Address Symbol DisplayAppendix C Practical Example RSLogix Numparam Appendix C Practical Example RSLogix Wrrunning Address Symbol Display Reserves relating to the RSLogix 500 exampleAppendix D DeviceNet Objects Introduction to the Gateway’s DeviceNet ObjectsList of the Gateway’s DeviceNet Objects Class Required Instances InterfacesGraphical Representation of the Gateway’s DeviceNet Objects Identity Object class 16#01Services of instance 16#01 of class 16#01 Attributes of instance 16#01 of class 16#01Message Router Object class 16#02 DeviceNet Object class 16#03Assembly Objects Class 16#04 Services of instance 16#01 of class 16#03Services in class 16#04 Revision index of the Assembly Object classServices of instances 16#64 and 16#96 of class 16#04 Connection Object Class 16#05Attributes of instance 16#64 of class 16#04 Modbus Inputs Attributes of instance 16#96 of class 16#04 Modbus OutputsServices in class 16#05 Attributes of class 16#05Initial comm. characteristics Watchdog timeout action16#83 Produced connection IDAccess Name Type Value 16#01 Get StateType Value Get / Set Produced connection path16# 20 04 24 64 30 Type Value 16#07 Get / Set Produced connection size Type Value 16#04 Get / Set Produced connection ID #0 xxServices in class 16#2B Acknowledge Handler Object class 16#2BAttributes of instances 16#01 to 16#04 of class 16#05 Attributes of class 16#2BServices of instance 16#01 of class 16#2B Type Value 16#06 Get Data with ack path list sizeData with ack path list Services in class 16#A0 Services of instance 16#01 of class 16#A010.10. I/O Data Input Mapping Object Class 16#A0 Attributes of class 16#A0Services in class 16#A1 Services of instance 16#01 of class 16#A110.11. I/O Data Output Mapping Object Class 16#A1 Attributes of class 16#A1Diagnostic Object Class 16#AA Services in class 16#AAAttributes of class 16#AA Attributes of instance 16#01 of class 16#AAAccess Name Need Type Value 16#09 Get LED status Module typeDeviceNet module status Changed data fieldServices of instance 16#01 of class 16#AA Appendix E Modbus Commands Read Holding Registers Command 16#03 Preset Single Register command 16#06Frame Field Value or properties Preset Multiple Registers Command 16#10 Modbus Protocol Exception ResponsesCode Name Description of the exception Exception Page User’s manual V1.0 2003-03