B&B Electronics 485DSS manual Software Description

Page 20

Chapter 2: SOFTWARE

Description

The Distributed Smart Switch Demonstration (DSS_DEMO) Program (IBM PC or Compatible) provides the user with examples of how to receive and transmit commands to the 485DSS. The DSS_DEMO.EXE is a DOS executable program written in QuickBasic that will send turn on, turn off, and status request commands to the 485DSS. The program also monitors reply messages from any or all 256 addresses. The source code is written in QuickBasic (DSS_DEMO.BAS), Borland Pascal (DSS_DEMO.PAS) and Borland and Microsoft C/C++ (DSS_DEMO.C). The source code provides an illustration of how to send and receive commands for the 485DSS. SimpCom Version 1.03+ is required to recompile DSS_DEMO.C and DSS_DEMO.PAS.

NOTE: This is a demonstration program only and not intended for system applications.

16485DSS-0308 Manual

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445

Image 20
Contents Electronics Mfg. Co. Inc Designed and Manufactured Ottawa, IllinoisInternet 485DSS-0308 Manual CoverPage Table of Contents IiTable of Contents 485DSS-0308 Manual Checklist Hardware IntroductionRS-485/422 Port SpecificationsPort Configuration RS-232 Port RS-422/485 Port Terminal Block Signal Description DirectionSignal Ground +12VDC Power Supply Input Clear to Send Input Signal Ground RS-422/485 WiringWire Mode Frame Ground Transmit Data Output Receive Data InputComponent Values For Send Data Timing RS-485 Wiring Diagram Wire Mode Power Supply RS-422 Wiring Diagram RS-485 and RS-422 TerminationOperation Communication Configuration Distributed Smart Switch CommandsCommand String On CommandDecimal HexOFF Command Status Request CommandPage ACK DIP Switch Setting the 485DSS AddressAddress Switch Binary File Transfer Software Description Appendix a Ascii Character Codes 485DSS-0308 Manual Appendix aPage Symbol Appendix B Decimal/Hexadecimal/ConversionsDec/Hex Conversions Decimal Hexadecimal 485DSS-0308 Manual Appendix BHexadecimal to Decimal Conversion Decimal to Hexadecimal ConversionAppendix C Cable Charts Chart 1. IBM PC DB25 Connector to 485DSS RS-232 DTE PortRS-232 DTE Port DB25 Connector Direction RS-232 DTE PortDevice Direction Terminal Blocks Chart 6. RS-485 2-Wire Device to 485DSS RS-485/422 PortRS-485/422
Related manuals
Manual 26 pages 24.25 Kb