Schneider Electric BM85 Modbus Address Conversion, Programmable Port Models, Modbus Port Models

Page 30

2.2 Modbus Address Conversion

Programmable Port Models

￿or the programmable models, the user application stored in the BM85 defines the addressing conventions to be used between the serial ports and Modbus Plus. The application program must define the routing between serial ports, as well as the paths to Modbus Plus nodes.

Modbus Port Models

￿or the Modbus port models, address conversion between Modbus and Modbus Plus addresses is provided internally as described below. ￿xamples are shown in Section 2.3.

When the BM85 receives a message at a Modbus port, the Modbus address (1 ... 255) is compared to an internal address map for that port. You define the map table during your BM85 configuration. It can hold up to 64 Modbus addresses, each pointing to a five-byte routing path.

￿￿￿n ￿￿￿￿￿ss m￿￿￿￿ ￿s ￿￿￿n￿ in the table, the five routing path bytes are applied to the message. If the first byte is in the range 1 ... 64, the message is routed out on Modbus Plus. If the first byte is zero, the message goes to a Modbus port (1 ... 4) specified in byte two. If that port has a single slave device, the remaining three bytes are zeros. If the port has a network of slave devices, byte three specifies the slave address.

255

IMPLICIT

ATTACH

ADDRESS

80

79

RESERVED

75

74MUX ATTACH

71ADDRESS

NOTE:

ALL ADDRESSES 65 ... 79

ARE RESERVED AT ANY PORT CONFIGURED IN THE

70

65

64

RESERVED

DIRECT

ATTACH

`SILENT MASTER' MODE.

ADDRESS

1

0RESERVED

Figure 7 Bridge Multiplexer Address Conversion

20 Device Addressing and Message Routing

890 USE 103 00

Image 30
Contents August Page Preface PrefacePage Contents Chapter Configuring the Modbus Models Vi ContentsChapter Configuring the Programmable Models Dica0+. C+de/ D1.i*g D+3*+adi*gChapter Installing the BM85 Viii ContentsAppendix a Compatible Devices and Cables Glossary Index FiguresPage Chapter Introducing the BM85 Bridge/Multiplexers Introducing the BM85 Bridge/MultiplexersBridge/Multiplexers on Modbus Plus Modbus Plus NetworkBM85 on Modbus Plus BM85 Bridge/Multiplexers on Modbus Plus Overview of BM85 Models Available ModelsMounting Methods Operating Power Configuration MethodsProgrammable Port Models BM85 With Typical RS232/485 Devices Configuring the Programmable Models Developing the ApplicationDownloading the Application Software Development Tool Kit Contact TelephonePart Number Description Modbus Port Models BM85 With Typical Modbus Devices Specifications AC/DC Power Models Bridge/Multiplexer Models for AC/DC PowerDevelopment Requirement Supplied by Customer Specifications DC/DC Power Models Bridge/Multiplexer Models for DC/DC PowerSoftware Development Tool Kit Page Chapter Device Addressing Message Routing Device Addressing and Message RoutingModbus Plus Message Routing Paths Routing to Programmable ControllersRouting to Serial Ports on BM85 Programmable Models Routing to Host Based Network AdaptersRouting to BM85 Bridge/Multiplexers Routing to a Single Slave Device on BM85 Modbus ModelsModbus Address Conversion Programmable Port ModelsModbus Port Models Silent Master Port Addressing Routing Examples Routing ExamplesFrom Routing Path From Address Routing MethodPage Chapter Configuring Modbus Models Configuring the Modbus ModelsAn Overview of the Configuration Process Before You StartModels Covered in This Chapter Required Equipment Configuration Checklist Modbus Port Parameters Information You Will NeedSlave Port TypeMaster NetworkCommunication Parameters Setting the ParameterSlave Device Address Port PriorityLink Timeout Timeout Examples Modem Booster How the Parameter Applies to the BM85Modem Booster Example Modbus Address Map Table Location Modbus Address Five±Byte Routing PathIf a Match is Not Found Configuring the Modbus Models Silent Master Port Considerations Configuring the Modbus Ports Connecting Power for the ConfigurationSetting the Switches Connecting the Terminal Your Configuration Commands Command Action RangeDefault Configuration Parameter PortYour Configuration Screens Entering Commands Into Your ScreensHelp Screens V5, V6, V7 Printing the Configuration Saving the ConfigurationYour V1 Screen Your V1 Screen LayoutUsing the V1 Screen ExampleYour V2 and V3 Screens Your V2 or V3 Screen LayoutUsing the V2 or V3 Screen Your V4 Screen Your V4 Screen LayoutUsing the V4 Screen EnterSetting the Modbus Plus Address BM85 Modbus Models Modbus Plus Address SwitchesSetting the RUN Mode When to Set the RUN ModeHow to Set the RUN Mode Modbus Driver Error Codes 24 .. E Hex Modbus Port Indicator CodesHardware Error Codes 11 .. Hex Indicators Pattern Hexadecimal DigitModbus Plus Processor Interface Error Codes 34 .. Hex LLC Layer Error Codes 81 ... A3 HexPage Chapter Configuring Programmable Models Configuring the Programmable ModelsBefore You Start Equipment for Writing the Application Program Equipment For Downloading the Application ProgramREADME.DOC Information File Overview of the Development SoftwareDevelopment Software Files File Name PurposeMultitasking in Your Application Using the Test and Demonstration Source FilesTest and Demonstration Source Files Key Sequence PurposeInstalling the Development Software Default ParametersInstallation Steps Key Sequence Purpose Alt±C Project close Preparing the BM85 for Downloading Setting the Configuration Switches BM85 Programmable Models Configuration SwitchesBM85 Programmable Models Modbus Plus Address Switches Error Code Hexadecimal Meaning Indicator Codes During DownloadingError Codes Normal Download CodesSetting the RUN Mode Installing the BM85 Installing the BM85Installing the BM85 Hardware Mounting the BM85Shelf/Panel Mounted Models Vertical Mounting Rack Mounted ModelsHorizontal Mounting Part Number Mounting MethodRear Panel View Front Panel View Connecting the Power Cables Connecting AC PowerConnecting DC Power BM85±000 Rear Panel Connecting the Network and Serial Cables BM85000Connecting Dual-Cable Units on Single-Cable Networks Connecting a Single Network CableConnecting Dual Network Cables Connecting Serial Port CablesReading the Indicators Power and Ready IndicatorsModbus and Serial Port Indicators Modbus Plus Port Status Indicators Attaching Identification Labels Modbus Plus Port LabelSerial Port Parameters Label Serial Port Parameters LabelPage Appendix a Compatible Devices Cables Compatible Devices and CablesMaking `Quick Connections Compatible Devices and CablesAbbreviations Modicon Devices and CablesCables for Modbus Slave Devices Devices and Cables for Configuring Modbus PortsCables for Modbus Master Devices Device Cable and Adapter CombinationModbus/RS232 Cable Wiring Diagrams Modbus/RS232 Cable Wiring DiagramsModbus/RS232 Ports Pinout Serial Ports Pinout ± Modbus/RS232 BM85 Direction PurposeRS485 Ports Pinout Serial Ports Pinout ± RS485 BM85 Direction PurposeBaud rate AcknowledgementAddress BitBus Bridge PlusBroadband CarrierbandDownload DIO Drop AdapterDistributed I/O Drop cableGlobal Output Frame descriptorGlobal Input Host computerModbus LayerMedium Modbus PlusNode ModemNetwork Option Module OSI ModelPort Peer-to-peer communicationPhysical Layer ProtocolSlot time SegmentSerial port Specific InputTerminator SystemTap TokenPage Index IndexIndex