AMS DCB-274 manual SIN-10 Intelligent Serial Adapter, SIN-10, intelligent serial line converter

Page 25

ADVANCED MICRO SYSTEMS, INC.

SERIAL INTERFACE

SIN-10 Intelligent Serial Adapter

The SIN-10 is an intelligent serial line converter that simplifies application software development and improves overall performance. Dual, independent UARTS (COM ports) permit spooling commands at rates between 1200 and 115k baud. Specific operating instructions are contained in the SIN-10 Users Guide.

The SIN-10 has a built-in microprocessor that offers a number of features:

Emulating the SIN-8

Diagnostic LED’s

Numerous Input baud rates

Output (party line) baud rates – including the special 470k baud rate

DB-9 serial input connector

RJ-45 party line connector

5 volt powered from controller

250 character buffers for multiple commands per line

Because the SIN-10 eliminates the need for special echoed character software it can be used in Windows applications where either the machine or software is slow and/or the operating system prevents direct programming of input or output instructions.

RS-232 DATA LEDS PARTY DATA LEDS

CTS

 

 

DSR

 

 

TXD

 

256 CHAR

UART

RECEIVE

RXD

1

BUFFER

 

DB-9

 

 

 

 

MOVING

 

 

 

PARTY

 

 

 

SELECT

CPU

256 CHAR

 

 

 

RECEIVE

UART

PARTY LINE

 

BUFFER

 

2

DATA

 

 

 

 

 

5V

 

 

 

GND

 

BAUD AND MODE

 

RJ-45

 

SWITCH

 

 

 

 

SIN-10, intelligent serial line converter

There are several commands that the SIN-10 can execute including: “Scan for axis present” (required initialization) and “Wait until motion complete” (1 or all axis). A typical command string to a X-Y- Z system could be:

X+1000;Y+1000;Z+1000;9W*;XZ;YZ;ZZ

This would cause all three axes to move the specified number of steps; wait until motion is stopped then read back the three positions.

Other Party Line Signals

In addition to the serial data bus wires several other signals exist in the AMS party line interconnect.

1.GND (pin 2) Ground is common for all devices (axis). All power supply commons are connected to prevent high common mode voltages. Please note that the power common is generally connected to the case return.

2.+5 Volts (pin 7) is available to power the serial adapter (SIN-8 or SIN-10) from the first axis.

3.MVG Not available in this product. Software pooling must be used to query motion.

Note, The SIN-10 determines motion via special SIN-10 instructions.

1 9

Image 25
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 Connect the Motor After Sign-onDual Ammeter Circuit Serial Interface J2, J3 Connections J1, J4 Advanced Micro SYSTEMS, INC HardwareInput Ports Pin 7 VIO Reference InputStandard Mode- Sinking Inputs PLC Mode- Sourcing InputsOutput Ports Typical User Input CircuitPort Encoder Input Option J1Typical Output Circuit Step and Direction Inputs J1 Power Supply and Motor Connection J5Encoder Inputs J1 Baud Rate Jumpers B1, B2 Typical Wiring Diagrams for Step MotorsElectrical SpecificationsEnvironmental PhysicalPhysical Dimensions RS-232 Hardware OverviewRS-232 RS-422 RS-232 Daisy Chain connection Single axis, RS-232 connection using AMS SIN-7 adapterRS-422 Party Line Hardware Cable SpecificationsParty Line Connect RS-422 Party LineRS-422/485 BUS-drop SIN-8 Serial AdapterSIN-8, RS-232 to RS-422 converter SIN-10 Intelligent Serial Adapter Other Party Line SignalsSIN-10, intelligent serial line converter Daisy Chain Mode not recommended for more than 1 axis Party Line ModeSerial Communications Overview Serial Communications SoftwareBaud Rate Serial Interface Using EasiEasi Software Sign-OnExamine Command Daisy Chain Start-Up Simple Command ExamplesAxis Name Assignment Verify the Program NV Memory ProgrammingExecute the Program Edit Program Party Line and Daisy Chain Line CommandsSome 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 TableESC Global Abort Command Format Description@ Soft Stop Port Read/Write ResetInputs OutputsProgramming Example Lower case B Fast and Slow Decay Set Jog SpeedsDivide Speeds Clear and Restore NV MemoryNormally Closed Home Switch Normally Open Home SwitchFind Home Special case Go Initial Velocity Step ResolutionJump to Address a, n+1 times Lower case I Restart Special TripRamp Slope Lower case K Trip Output Value Advanced Micro SYSTEMS, INC SMC-27X2 Software Lower case L Option Flags Loop on PortFlags and Numbers Limit Polarity Flag PLC Mode FlagMake Step and Direction Outputs Flag Moving Output FlagPort 4 Input Flag Move at a Constant VelocityGentle 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