AMS DCB-274 manual Serial Interface J2, J3

Page 12

ADVANCED MICRO SYSTEMS, INC.

HARDWARE

“Do’s, Don’ts and Important Notes”

NEVER connect or disconnect motor wires while power is supplied.

When using a 6 lead motor be sure to insulate/isolate unused wires.

The physical direction of the motor with respect to the direction input will depend on the connection of the motor windings. To reverse the direction of the motor with respect to the direction input, switch the wires on phase 1 or phase 2 of the outputs.

**************** WARNING ********************

LIVE CONNECTING/DISCONNECTING MOTORS WILL CAUSE DAMAGE THAT IS NOT COVERED BY WARRANTY.

Serial Interface (J2, J3)

Two (RJ-45) connectors provide a loop-through connection, facilitating multiple axis systems. This “mini- drop” network allows for a single ASCII character “name” to be assigned and stored in the integral non- volatile memory of each axis during the setup procedure.

 

 

J2

 

 

J3

Pin

Signal

Comment

Pin

Signal

Comment

 

 

 

 

 

 

1

J2-1

Not used

1

J3-1

Not used

2

GND

Power Gnd

2

GND

Power Gnd

3

RX-

+Data in

3

RX-

+Data in

4

TX-

+Data out

4

TX-

+Data out

5

TX+

-Data out

5

TX+

-Data out

6

RX+

-Data in

6

RX+

-Data in

7

5V

Power for serial adapter

7

N/C

Not used

8

Party

Enable party line or single

8

Party

Enable party line or single

All signals on J2 and J3 are interconnected; the 5-volt power is only supplied to J2 – 7. The 5-volts is intended to power an AMS serial adapter.

There are three types of serial adaptors available.

1.SIN-7 (DB-25), SIN-9 (DB-9). These are passive adapters that allow a basic RS-232 interconnect, suitable for single axis usage. Party line is not possible with the SIN-7 or SIN-9. Daisy chain protocol is possible but not recommended.

2.SIN-8 (DB-25) includes an RS-232 to RS-422 converter. A switch selects single or party line mode for up to 32 axes (includes terminator plug). Proper handshake must be implemented in your computer for successful party line operation.

3.SIN-10 (DB-9) is a microprocessor-based adaptor that features a dual UART, RS-232 to RS-422 converter at different baud rates and character buffers. The necessary handshake is built in, thus the sometimes expensive and time -consuming software interface is avoided. The serial communications is full duplex at 9600 baud. Operation at special 470k baud is possible.

If you have not chosen the SIN-10, the proper handshake MUST be implemented in the host computer to avoid loss of characters. This protocol is “echoed” characters. If your operating system or application software is not capable of character-by-character transmission, a SIN-10 is probably necessary. If system production cost is the priority, the additional system programming effort to implement a SIN-7, 8 or 9 may be cost effective. A complete description of the serial interface specifications and operation is contained in Section 2, “Serial Interface.”

6

Image 12
Contents Nashua, NH Page Revision Date 07/05/06 Page Advanced Micro SYSTEMS, INC Addenum Introduction Limitations or Exceptions for the DCB-274Features Product Overview Required 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