AMS DCB-274 manual Limit Polarity Flag, Make Step and Direction Outputs Flag, Moving Output Flag

Page 51

ADVANCED MICRO SYSTEMS, INC.

SMC-27X2 SOFTWARE

Two or more flags can be specified for multiple options, i.e., flag 1 + flag 8= 9. So, command “l 9” will invert limits and set PLC mode. When reading flags, the host software must convert decimal to binary to evaluate the results.

Option table

Flag

Bit

 

Function

Note

 

 

 

 

 

1

0

Invert limits

Both inputs must be held low to allow a move.

 

2

1

Step/dir out

Change port 4 and 5 into step and direction out.

P4 is output (JP1, JP2)

4

2

Moving

Change port 5 into moving signal.

P4 is output (JP1, JP2)

8

3

PLC mode

Inverts all input signals.

Set PLC jumper

16

4

P4 input

Inform the controller that port 4 is an input.

Based on JP1, JP2

32

5

Gentle limit

Soften limit with decelerate (K).

Over shoots limit

64

6

Reserved

 

 

128

7

Read back

Read out the values.

 

An “S” (save) command must be used to preserve the settings.

Default with CLEAR =all zero.

Limit Polarity (Flag 1)

The input levels on the travel limit sensors are inverted, allowing source type sensors such as hall-effect devices to be used. This command cannot swap the limit directions. When this bit is set, motor travel in either direction is inhibited unless the appropriate limit inputs are forced low. The PLC mode will invert the logic levels (sourcing input necessary to trigger a limit).

Example:

l 1 Invert the limit software.

l 9 PLC - invert limit software and input logic.

Make Step and Direction Outputs (Flag 2)

This option converts port 4 to a step output and port 5 to a direction output. These signals can be directed to “slave” driver(s) to control additional motors if required. The step outputs are short negative going pulses.

Port 4 logic must be configured (JP1, JP2) as an output. The step and direction outputs can be a very powerful feature as it allows the user to send step pulses and a direction bit to a stand-alone driver, moving it at the same rate and direction.

Conflicts - Flags 4 and 16 must be off.

Moving Output (Flag 4)

This flag converts output P5 into a moving status signal. While motion is active, port 5 will be at zero volt level. Several axes may be wire-or’ed together to form an “any axis moving” signal.

Conflicts - Flag 2 is not allowed.

PLC Mode (Flag 8)

This option tells the controller that all inputs are inverted, and to compensate accordingly. The PLC jumper MUST be installed, This jumper reconfigures the input hardware with pull down rather than pull ups. The inputs will read zero volts. A positive voltage must be applied to any of the affected inputs (such as GO) to trigger the “true” condition. If both GO and Soft Stop are true at power up, then a conflict message (single mode) is displayed and flag 8 will be temporally set to prevent a latch up condition.

4 5

Image 51
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