Schneider Electric BM85 manual Overview of the Development Software, Development Software Files

Page 70

4.3 Overview of the Development Software

This overview of the ￿M8￿ Program Development Software Tool Kit is provided to assist your planning. ￿xamples are shown for the ￿orland

3.1environment. ￿omplete documentation is supplied with the kit. Part numbers and ordering information are in the ￿M8￿ Spe￿ifi￿￿tions, Section 1.7.2.

Your ￿M8￿ software includes all of the development files for compiling and downloading your application. You also have an assortment of source code files that you can use as examples.

4.3.1Development Software Files

The following ￿M8￿ development files are supplied:

File Name

Purpose

 

 

README.DOC

Complete BM85 development information text file. View or

 

print this file for current information about your software.

 

 

BM85LOAD.EXE

The BM85 download utility

 

 

MBPSTIM.EXE

Data transfer exerciser. Reads registers and writes a single

 

register to a controller over Modbus Plus.

 

 

BM85.EXE

User±compiled demonstration program to be downloaded.

 

See the descriptions of the test programs below.

 

 

BM85.PRJ

Borland C++ 3.1 project file to build BM85.EXE

 

 

BM85.H

Header file containing function prototypes of utility routines

 

 

C0BM85.OBJ

BM85 startup code

 

 

BM85.C

Source file for user base demonstration program. Copy the

 

source for a specific test program into this file and compile it.

 

Initially supplied as TEST0.C. See the test programs below.

 

 

BM85LIB.LIB

Library of utility routines

 

 

MBPHOST.SYS

Device driver for Modbus Plus network adapter

 

 

MBPSTAT.EXE

Modbus Plus network management and diagnostic utility

 

 

BDRESET.EXE

Initializes and enables the Modbus Plus adapter

 

 

4.3.2The README.DOC Information File

Your disks contain an information text file R￿ADM￿.DO￿. This file contains detailed information about developing￿ compiling￿ and downloading your ￿M8￿ application using the ￿orland environment. It also contains any recently updated information about your ￿M8￿ software. ￿efore installing the software￿ you should view this file. You may also want to printout a hard copy to use as a reference in developing your application..

60 Configuring the Programmable Models

890 USE 103 00

Image 70
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*gViii Contents Chapter Installing the BM85Appendix a Compatible Devices and Cables Glossary Index FiguresPage Chapter Introducing the BM85 Bridge/Multiplexers Introducing the BM85 Bridge/MultiplexersModbus Plus Network Bridge/Multiplexers on Modbus PlusBM85 on Modbus Plus BM85 Bridge/Multiplexers on Modbus Plus Available Models Overview of BM85 ModelsMounting Methods Operating Power Configuration MethodsProgrammable Port Models BM85 With Typical RS232/485 Devices Developing the Application Configuring the Programmable ModelsDownloading the Application Contact Telephone Software Development Tool KitPart 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 ModelsProgrammable Port Models Modbus Address ConversionModbus Port Models Silent Master Port Addressing Routing Examples Routing ExamplesFrom Routing Path From Address Routing MethodPage Chapter Configuring Modbus Models Configuring the Modbus ModelsBefore You Start An Overview of the Configuration ProcessModels 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 Connecting Power for the Configuration Configuring the Modbus PortsSetting the Switches Connecting the Terminal Your Configuration Commands Command Action RangeDefault Configuration Parameter PortEntering Commands Into Your Screens Your Configuration 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 SwitchesWhen to Set the RUN Mode Setting 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 PurposeDefault Parameters Installing the Development SoftwareInstallation 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 BM85Mounting the BM85 Installing the BM85 HardwareShelf/Panel Mounted Models Vertical Mounting Rack Mounted ModelsHorizontal Mounting Part Number Mounting MethodRear Panel View Front Panel View Connecting AC Power Connecting the Power CablesConnecting 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 CablesPower and Ready Indicators Reading the 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