Baldor MN1851 manual Start-up with Terminal Communication and Command Examples

Page 80

Start–up with Terminal Communication and Command Examples

1.Select the correct COM port NR. and set the following at your PC:

Baud Rate: 9600

Protocol (Hardware, Xon/Xoff, None): OFF

Data Length: 8 Bit

–Stop Bit: 1

–Parity: NONE

2.Set the control address. The address is set by switch AS1-1 to AS1-4. To locate a control, type “A” then the control address, e.g. A3 (searches for a control with address 3). If a drive with address “3” is running and connected to the PC COM, this drive answers with the prompt sign “>” to indicate that communication to the drive is established. Additional command may be sent to the A3 control.

Entering an address command with another address number, will terminate communication with control A3. If more than one drive is connected to the PC COM port, typing the address of another drive connected, will change communication path to this one.

3.Communication is now established and the ASCII commands may be used.

Note: If more than one drive is connected to the PC port, correct communication can only be established if all drives have different addresses.

4.Error messages (from the control)

If the syntax and the values of the ASCII command string are correct, the control accepts the command and answers by sending “<” as acknowledge. If any error within the transferred command was found, the control rejects the command by sending a correlated error string. There are following terminal–reported errors :

SYNTAX ERROR: invalid character;

EXECUTION ERROR: invalid command;

RANGE ERROR: invalid parameter value;

INVALID EXE CONTEXT: invalid command or operation mode;

control DESIGN FAILURE: invalid control design;

INPUT BUFFER OVERFLOW: command line exceeded 80 char.;

TOO MANY PARAMETERS: too many parameters;

REQ. PARAMETER MISSED: not enough parameters;

In case of an error, the event protocol will return a NAK ( negative acknowledge ) to a user. The error check can only provide a syntax and range check for each command. Error checking will not check a wrong parameter value that may degrade system performance.

MN1851

Command Set B-3

Image 80
Contents Lin+Drive Servo Control Table of Contents Ii Table of Contents MN1851 Minimum system requirementsAppendix B 24VDC Logic Power InputAppendix a Iv Table of Contents MN1851 CE Compliance Limited WarrantySection General Information Product Notice Intended use Could result in injury or deathCould result in damage to property General Information MN1851Do not touch any circuit board, power device or electrical Connection before you first ensure that power has beenDo not apply AC power before you ensure that grounds are Voltages that are conducted to its power input terminals.General Information MN1851 Section Product Overview Control Outputs Encoder OutputSection Receiving and Installation Mechanical InstallationGND Receiving & Installation MN1851Control Recommended System Grounding 1 phase for UL Recommended System Grounding 1 phase for CEInput Power Conditioning System Grounding Ungrounded Distribution SystemWire Size for units without Power Supply X1 Power ConnectionsBreaker Mm2Baldor Control Components not provided with ControlBaldor Earth BreakerBaldor Option S Option P Control Regen Resistor Baldor Option P Control Important LPxAxxxx-xxx3 onlyHoles in the top and bottom Enclosure are for cable clamps. Be sureTo use an M4 bolt 12mm in length Longer bolts may short circuit11 Motor Connections for UL 12 Motor Connections for CE13 Optional M-Contactor Connections Control Input Wiring X3 Control Inputs & Digital I/O ConnectionsSingle Ended Connection Differential Connection X3 Digital Inputs Opto Isolated Inputs uses CrefOpto Input Signal Conditions Signal Name Opto Input Signal DefinitionProcess Duration Time Required DurationOpto Output Signal Conditions Fault RelayX3 Digital Outputs MaO1X6 RS232 / 485 Connections Null Modem Cable ConnectionsControl TXD ComputerWhat is a termination resistor? Where are these resistors placed?RS485 How many resistors should my system have?= Twisted Pair TX+ Dgnd GNDTX+ RX+ Dgnd TX+ RX+ Dgnd GNDBuffered Encoder Output at X7 Connector X7 Pin Signal NameX7 Encoder Output ReservedX9 Encoder and Hall Feedback LPxAxxxx-Exxx Section Switch Setting and Start-Up Switch AS1 SettingsControl Address Setting Address Setting, AS1-1 to AS1-4 for Multi-Drop ApplicationsSetting of switches AS1-5 to AS1-8 Switch FunctionOffset Tuning AS1-5 to AS1-8 DescriptionStart-Up Procedure Power Off ChecksPower On Checks ProcedureSwitch Setting & Start-Up MN1851 Section Operation Installing Software on your PCHost Communications Setup Windows Windows NTUsing The Setup Wizard Flowchart of the Setup Wizard Operation MN1851Page There are 7 parts to the setup procedure Motor Motor parameters. Click Download when finishedEncoder Feedback Encoder Feedback Motor pitch mm 60.96Encoder Feedback Lmcf All Micron Counts / meter Counts / mmOperating Mode Selection Screen Operating ModeCurrent Parameter MN1851 OperationSoftware Triggered MAI4 MAI3 MAI2 MAI1Index channel, Capture and Actual Position Procedure to define home positionHome Set this value. Click Download when finished DriftSetup Main Menu Choice DescriptionsFile EditTuning WatchFunctions MotionPLC Program Menu HelpMeters/second Velocity Parameters RPM m/sLinear Motor Section Troubleshooting 1Operating Mode IndicationsMN1851 Troubleshooting OverviewLong as the error is less than ± 215 ± Section Specifications & Product Data IdentificationSpecifications To 3300 feet 1000 meters. Derate the continuous+0 to 40. Above 40 C, derate the continuous and peak Output current by 2.5% per C above 40 C. MaximumPeak output current by 1.1% for each 330 feet Description Unit24VDC Logic Power Input Option LPxAxxxx-xxx3 only 24VDC Logic Power Input Option LP4Axxxx-xxx3 onlySpecifications & Product Data MN1851 Velocity ControlEncoder Input Feedback RegenerationClearance Requirements all sizes 0.06″ 15mm top and bottom DimensionsSize A, B and C Wiring of Shielded Screened Cables Section CE GuidelinesCE Declaration of Conformity EMC Conformity and CE MarkingGrounding Earth EMC Wiring TechniqueCE Guidelines MN1851 EMC Installation Instructions Cable Screens GroundingInput Signal Cable Grounding Simulated Encoder Output Cable GroundingEncoder Input Cable Grounding To ControllerSection Accessories and Options ConnectorsMating Connector by connector number for spare parts CablesAC Filter Dimensions Accessories & Options MN1851Depth = F Fo rRegeneration Resistor PackageAccessories & Options MN1851 Appendix a Manual Tuning Tools are available to make tuning easier, such asGeneral Tuning Rules Manual TuningThere are 7 parts to the setup procedure Parameters. Click Download when finishedManual Tuning MN1851 Motor15240 000,000 10,000,000 Figure A-13 Current Parameter Screen Figure A-14 Velocity Parameter Screen Drift Figure A-15 Drift Parameter ScreenFigure A-16 Select Manual Tuning Figure A-17 Inertia and Load Response Examples Tracking factorFigure A-18 PI Compensation Menu Page Plotting of Move Control WindowGraphic Screen Jog BlockAppendix B Command Set Lin Ascii Command Set GeneralSyntax General structure of the Ascii command MN1851 Command Set B-1Encoder Pulses/rev ResolutionParameters and Units Start-up with Terminal Communication and Command Examples Execution Error invalid commandInput Buffer Overflow command line exceeded 80 char Control Design Failure invalid control designGeneral Settings System Constants Command Set MN1851Basic System Parameters Motor Parameters MTR. prefixed Drive Parameters typical DRV. prefixedSoftware Limit Switches Parameters Variables None Software Limit Switches MethodsMN1851 Command Set B-5 Command Description Units Range Default E2 / Par. setPLC Parameters Variables None PLC MethodsPLC.LINE RelayMN1851 Command Set B-7 OCI Interface ParametersDigital Interface Parameters Analog Interface ParametersSystem Variables General Variables Queries / modifications of Fault Listing VariablesX1 Possible Faults X1 Fault Display Description Communication Settings Parameter MN1851 Command Set B-9Methods VariableData Record REC. prefixed Variable Queries of System Variables, Status, Faults Single ValuesData Record REC. prefixed Parameters Operation Mode Control Normal Modes Parameters Memory related methods Queries / modifications RAM relatedEeprom related Normal Modes VariablesSys.mod Current mode Parameters Current mode VariablesCurrent mode Methods Query for actual current commandSys.mod 1 & Sys.mod Velocity mode Parameters Velocity mode VariablesVelocity mode Methods MN1851 Command Set B-13Jog Parameters JOG.TIMEJOG.TYPE JOG.VELVariables MN1851 Command Set B-15Position Controller Position Controller Parameters HW.GRFX HW.GRSHHW.PLC HW.RESBaldor Electric Company  Baldor Electric Company MN1851 10/00 C&JLin+Drive Servo Control MN1851