AMS DCB-274 manual Serial Adapter Summary

Page 72

ADVANCED MICRO SYSTEMS, INC.

ADDENDUM

Serial Adapter Summary

AMS offers several serial adapters. These are used to connect a standard computer RS-232 “D” connector to the serial I/O on AMS controllers (axis).

Four, model SIN-“n” adapters are currently available, as follows.

SIN-7, SIN-9 (not recommended for multi-axis applications)

These are the lowest cost adapters. They are passive (without electronics) and are suitable for use with only one axis at any given time. Most new products employ a RS-422 interface. While RS-422 specifications differ from RS-232, these adapters will generally work over short cable runs.

For more than one axis, party line operation is not supported with these adapters. However, the original AMS “daisy chain” protocol can be used.

The SIN-7 has a standard 25 pin serial connect. The SIN-9 has a standard 9 pin serial connect.

SIN-8

This adapter contains the proper RS-232 to RS-422 electronics, powered from the AMS controller. It is reliable over long distances, and supports party line operation for 1 to 32 controllers. A mechanical switch is used to place the controllers into either single or party line mode.

Disadvantages: A host computer must have proper software that performs the rigorous handshake protocol. The software development can be expensive or impossible to implement in some operating systems.

SIN-10 (recommended for new designs)

The SIN-10 contains a microcomputer that performs all the handshake protocol and much more. Even a single axis design will benefit from the software development timesavings.

6 6

Image 72
Contents Nashua, NH Page Revision Date 07/05/06 Page Advanced Micro SYSTEMS, INC Addenum Introduction Limitations or Exceptions for the DCB-274Features Product OverviewRequired Hardware for Operation SIN-8Out of the Box Quick Start After Sign-on Connect the MotorDual Ammeter Circuit Serial Interface J2, J3 Advanced Micro SYSTEMS, INC Hardware Connections J1, J4Pin 7 VIO Reference Input Input PortsStandard Mode- Sinking Inputs PLC Mode- Sourcing InputsTypical User Input Circuit Output PortsEncoder Input Option J1 PortTypical Output Circuit Power Supply and Motor Connection J5 Step and Direction Inputs J1Encoder Inputs J1 Typical Wiring Diagrams for Step Motors Baud Rate Jumpers B1, B2Specifications ElectricalEnvironmental PhysicalPhysical Dimensions Overview RS-232 HardwareRS-232 RS-422Single axis, RS-232 connection using AMS SIN-7 adapter RS-232 Daisy Chain connectionCable Specifications RS-422 Party Line HardwareParty Line Connect RS-422 Party LineSIN-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 Party Line Mode Daisy Chain Mode not recommended for more than 1 axisSerial Communications Overview Serial Communications SoftwareSerial Interface Using Easi Baud RateEasi Software Sign-OnExamine 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 Command Example Party Line StartupAnatomy of Instruction Execution Interrupt Commands Command Cycle ExamplesAdvanced Micro SYSTEMS, INC Serial Interface Advanced Micro SYSTEMS, INC Serial Interface Non-Volatile Memory Details Memory MapDefault Table Turbo RamCommand Format Description ESC Global Abort@ Soft Stop Reset Port Read/WriteInputs OutputsProgramming Example Set Jog Speeds Lower case B Fast and Slow DecayClear and Restore NV Memory Divide SpeedsNormally Open Home Switch Normally Closed Home SwitchFind Home Special case Go Step Resolution Initial VelocityLower 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 PLC Mode Flag Limit Polarity FlagMake Step and Direction Outputs Flag Moving Output FlagMove at a Constant Velocity Port 4 Input FlagGentle Limit Flag Program Mode Set OriginIndex Relative to Origin Save Trip PointSet Slew Speed Wait Lower case W Pre-energizeExamine Hold and Run CurrentRead Position Read NV Memory Read Limits, Hardware+ Index in Plus Direction Index in Minus DirectionRead Moving Status \ Write to NV MemorySelective Termination Name AxisParty Line Mode AMS SIN-11 Serial AdapterCommand Summary Advanced Micro SYSTEMS, INC AddendumAscii Character Code Ctrl Char Dec Hex CodeStep Motor Characteristics About Step Motor CurrentMotor Choice Determining the Current ValueAmps and Wire Count and Power Basic 8 Wire MotorWire Motor Application Notes V1.10 Double Speed Characteristics Decay ControlSerial Adapter Summary