AMS DCB-274 manual Baud Rate, Easi Software, Serial Interface Using Easi, Sign-On

Page 27

ADVANCED MICRO SYSTEMS, INC.

SERIAL INTERFACE

Operating systems like Windows NT and Windows 2000 prevent programmers from direct access of the hardware. The programmer is forced into passing instructions via “mail-boxes” to perform I/O functions, a slow and inefficient process.

Baud Rate

AMS has introduced a number of motion control products over the last 20+ years. The software for serial communications has remained essentially unchanged. Depending upon the controller I.C. and hardware design, different baud rates are possible. The DCB-274 supports 9600, 38.4k and, with the SIN-10 serial adapter, a fast 470k baud.

The standard default baud rate for all AMS products is factory set to 9600 baud. . Serial data format is 8 bits; 1 start bit, 1 stop bit, and no parity; the default for most PC’s.

EASI Software

To assist with the implementation of your project, AMS offers a software program called EASI. This software has evolved over a 20-year period and will operate under DOS, Windows -95 and Windows -98 (as a DOS application).

With a SIN-7/SIN-9 and SIN-8 adapter, EASI will function running under DOS, Windows -95, Windows-98. It is reported that Windows -ME and NT are also compatible.

EASI does have limitations, especially with Windows -2000. The GUI operation (pull down menus, party line) is NOT compatible with Windows-2000 and is limited to “DUMB Terminal” operation in this mode.

SIN-10

The SIN-10 serial adapter can function in an “intelligent” mode or emulate a SIN-8 for test purposes. When in the SIN-8 mode, full GUI is possible with any of the above-mentioned operating systems, but you will be defeating the purpose of the powerful SIN-10 capabilities.

In addition to EASI, almost any communication program, such as ProComm, or Hyper Terminal can also perform the dumb terminal operation, provided the necessary character filter is configured.

Serial Interface Using EASI

1.Attach the “D” connector end of the serial adapter to either COM1 or COM2 of your PC/AT compatible computer.

2.Connect the other end of the cable assembly (looks like a telephone connector), to the mating connector J2 ”Party Line Serial Input”, on the AMS device.

3.Install a terminator plug (TERM-1) into J3 “Party Line Serial Output” of the last axis. The controller will work without a terminator plug, however reliability may be compromised, based on the environment (noise) and length of the interconnect cables.

4.Apply power to the device. (Reference Hardware Section).

5.Install the diskette and type: EASI<CR> at the prompt. At the opening screen enter “n” if you are operating from a monochrome terminal or hit the ENTER key for color. Use the arrow keys to select COM1 or COM2. COM1 is the default setting. Follow the same procedure to select the correct baud rate (9600 BPS is the default setting).

Sign-On

Single axis mode must be used for name assignment. Any terminal software, including EASI “dumb terminal” can be used. When using a SIN-8 make sure that the RED switch on the side of the connector is in the single

(S)line mode. When using a SIN-10 make sure the party line switch (S8) is in the off position.

1.Start easi.exe.

2.Select the “DUMB TERMINAL” mode. A blank window will appear.

2 1

Image 27
Contents Nashua, NH Page Revision Date 07/05/06 Page Advanced Micro SYSTEMS, INC Addenum Limitations or Exceptions for the DCB-274 IntroductionProduct Overview FeaturesSIN-8 Required Hardware for OperationOut of the Box Quick Start After Sign-on Connect the MotorDual Ammeter Circuit Serial Interface J2, J3 Connections J1, J4 Advanced Micro SYSTEMS, INC HardwarePLC Mode- Sourcing Inputs Pin 7 VIO Reference InputInput Ports Standard Mode- Sinking InputsOutput Ports Typical User Input CircuitEncoder Input Option J1 PortTypical Output Circuit Power Supply and Motor Connection J5 Step and Direction Inputs J1Encoder Inputs J1 Baud Rate Jumpers B1, B2 Typical Wiring Diagrams for Step MotorsPhysical SpecificationsElectrical EnvironmentalPhysical Dimensions RS-422 OverviewRS-232 Hardware RS-232RS-232 Daisy Chain connection Single axis, RS-232 connection using AMS SIN-7 adapterRS-422 Party Line Cable SpecificationsRS-422 Party Line Hardware Party Line ConnectSIN-8 Serial Adapter RS-422/485 BUS-dropSIN-8, RS-232 to RS-422 converter Other Party Line Signals SIN-10 Intelligent Serial AdapterSIN-10, intelligent serial line converter Serial Communications Software Party Line ModeDaisy Chain Mode not recommended for more than 1 axis Serial Communications OverviewSign-On Serial Interface Using EasiBaud Rate Easi SoftwareExamine Command Simple Command Examples Daisy Chain Start-UpAxis Name Assignment NV Memory Programming Verify the ProgramExecute the Program Party Line and Daisy Chain Line Commands Edit ProgramSome Rules Party Line Startup Command ExampleAnatomy of Instruction Execution Command Cycle Examples Interrupt CommandsAdvanced Micro SYSTEMS, INC Serial Interface Advanced Micro SYSTEMS, INC Serial Interface Memory Map Non-Volatile Memory DetailsTurbo Ram Default TableCommand Format Description ESC Global Abort@ Soft Stop Outputs ResetPort Read/Write InputsProgramming Example Lower case B Fast and Slow Decay Set Jog SpeedsDivide Speeds Clear and Restore NV MemoryNormally Open Home Switch Normally Closed Home SwitchFind Home Special case Go Initial Velocity Step ResolutionLower case I Restart Special Trip Jump to Address a, n+1 timesRamp Slope Lower case K Trip Output Value Advanced Micro SYSTEMS, INC SMC-27X2 Software Loop on Port Lower case L Option FlagsFlags and Numbers Moving Output Flag PLC Mode FlagLimit Polarity Flag Make Step and Direction Outputs FlagMove at a Constant Velocity Port 4 Input FlagGentle Limit Flag Set Origin Program ModeIndex Relative to Origin Trip Point SaveSet Slew Speed Lower case W Pre-energize WaitHold and Run Current ExamineRead Position Read Limits, Hardware Read NV MemoryIndex in Minus Direction + Index in Plus Direction\ Write to NV Memory Read Moving StatusName Axis Selective TerminationAMS SIN-11 Serial Adapter Party Line ModeAdvanced Micro SYSTEMS, INC Addendum Command SummaryCtrl Char Dec Hex Code Ascii Character CodeAbout Step Motor Current Step Motor CharacteristicsDetermining the Current Value Motor ChoiceBasic 8 Wire Motor Amps and Wire Count and PowerWire Motor Decay Control Application Notes V1.10 Double Speed CharacteristicsSerial Adapter Summary