Baldor MIN1853 manual Read a 4 Digit BCD number, 2 Digits at a time, Reading an Analog Input Value

Page 91

Read a 4 Digit BCD number, 2 Digits at a time

[GET 4 BCDS]

Returns value of 4 digit BCD number

OT01

Connect ground of first two BCD digits

(4 DIGIT BCD)=(2TW)*100

Make value of first two digits the MSB

OT10

Connect ground of 2nd two BCD digits

(4 DIGIT BCD)=(4 DIGIT BCD)+(2TW)

Add value of 2nd two to 1st two * 100

Reading an Analog Input Value

The value of the analog system variables (Al I –AI6) are scaled from 14,400 to 72,000 Hz. This value is actually a scaled frequency read from the OPTO module representing the analog signal. These input values are updated every 16 milliseconds. If your program needs to display this value in units such as VOLTS, you will need to scale the value to VOLTS in your program. The scaling factor depends upon the type of OPTO module used. For example: a ”J ” thermocouple uses a different factor than a ”K” thermocouple. Due to slight variances in the output frequency from module to module, it is recommended that the OPTO be calibrated by querying the corresponding AIx value with no input signal connected to the OPTO. This value should be used as the zero input reference frequency.

Example: Use a 0–10VDC analog input. 0V=14,400; 10V=72,000 or 5.760 Hz/volt.

(VOLT)=(AI2)

Read the value of analog input #2 into variable volts

(VOLT)=(VOLT)–14400

Remove frequency offset

(VOLT)=(VOLT)*1.736

Scaling factor multiplied. by 10,000

(VOLT=(VOLT)*.0001

Scaling back to volts

The variable (VOLT) is now in units of volts. If you are waiting for a condition to occur or doing a comparison, (see below) there is no need to go through the conversion process.

(TEMP)=(AI9)

Read in temperature from analog input

WT(AI12)<45000 GO

Wait for analog input 12 <45000 (<5.3 VDC using the

 

previous example) before moving

IF(AI12)<45000 GO EB

Go if analog input 12 < 45000

80

70

Output 60

Frequency 50 (kHz)

40

30

20

14.4

10

72

Min

Max

Value

Value

 

Input Signal

6-32 Keypad Programming

MN1853

Image 91
Contents LinStep+ Single-Axis Microstepping Indexer/Driver Table of Contents POS ProgProg To PAD From Troubleshooting Iv Table of Contents MN1853 Section General Information Limited WarrantyCE Compliance Could result in injury or death Product Notice Intended useCould result in damage to property Voltages that are conducted to its power input terminals. Do not touch any circuit board, power device or electricalConnection before you first ensure that power has been Do not apply AC power before you ensure that grounds areDriver should have specifications compatible to the drive Extend more than 0.2 5 into keypad assemblyInstead, we recommend using a four wire Wye Power is removed from the driveOverview Section Product OverviewMotors Product Overview MN1853 Receiving & Inspection Section Receiving and InstallationPower Dissipation Mechanical InstallationRecommended System Grounding for UL Recommended System Grounding 1 phase for CESystem Grounding Ungrounded Distribution System Input Power ConditioningBaldor Wire Size and Protection DevicesDelay a EuropeConnection Locations 115VAC, 1 Axis Tools Required Keypad Nullmodem ConnectionsRS-232 PC Connections 9 & 25 Pin RS-232 Cable Connections for UL InstallationsRules for Daisy Chain Operation Daisy Chain ConnectionsHow many resistors should my system have? What is a termination resistor?Where are these resistors placed? RS485 PC Connections13 RS485 4 Wire Multi-Drop for UL Installations Limits Connections Discrete I/O ConnectionsET± Encoder Color Code Encoder Signal PVS100 Danaher 9-Pin D+5VDC Ground GND Motor ConnectorAY0165A00 Leadwire Connection 9 pin to flying leads Interlock Intlk21 Opto Racks PNP Converter DB25 Pin to Screw Terminal ConverterPNP Action Display Comments Start-Up ProcedurePower Off Checks Power On ChecksOverview Section Keypad OperationF1, F2, F3 Menus Menu KeyMain Menu JOG F2Comma Decimal PointAlpha New Program Edit MenuEdit an existing program Save the programExample of Naming a Program Naming a programUse the =O keys for additional alpha characters Entering Characters with the Alpha Key In edit modeSubmenu Setup Parameter Description of Setup Parameter Edit, Setup SubmenuPress EDIT, POS F3 Press YES F1 or no F3 Sequentially Eeprom message disappears Pressing Help in the Main MenuPressing Help in Menus and Sub-Menus Pressing Help In the Program Edit functionCOPY, to PAD Submenu Keypad Operation MN1853 Procedure Format Definition Section SetupValue Range AR unloaded + 12.987 x log + log 155 Tm * JrValue High Fine-Tuning OffsetsValue OFF Value Range N/AApplication Notes Configuring Encoder Resolution ERi Configure Your Application Mechanics Value inch Char Keypad Display Input Character Description Configure the I/ONo additional interrupts will be seen By one-half Over Current AMP FaultFault BrakeConfigure the Output States Configure the Optional Lxopto 44/88Configure JOG Parameters Configure End of Travel Switch PolarityConfigure Home Parameters Configuring Home Edge HEi Configure Power-up Program Value Enabled Range Enabled, Disabled Configure Serial CommunicationsVEL1 Configure Miscellaneous Setup ParametersData Type Description of Display Data Type POS1Password Type Description Gives access to these menus General Password RulesSetup MN1853 Examples Keypad Program Command ListSection Keypad Programming Value UnitsExample Value Units RangeAC2 DE.5 VE12 DA3 GO DA3 GO DA3 GO DC Distance to Change Examples of DC move profiles, AC = seconds, VE=ips Example Distance to ChangeAC.1 VE60 DI2 GO DI1 GO DI-4 GO LP2 DI3 GO EB Value Units Range N/AIF2,1 EN EB DI2 GO Copy DEL =12 =13 =17 =18 =22 =23=26 =27 =28 RUN EditExample 3-Screen Menu Program GH Start Home Value N/A Units N/A Range N/A Units Range N/A Value N/A Units N/A Range i=1-16IF10 Gtpart a EB =1-400, name = any legal program nameIFPARTS=25 GS20 EB Units RangeLppieces IV12,LENGTHDilength Value Units N/A Range N/A Syntax MC+ MC Move Continuous Move Continuous MS27,COUNT VE5 DA20 GO Powerup ONL,GTON EOTGthome Main= starting output number Syntax RGr RG Registration Value N/A Units seconds SQRESULT=0 SQ27.96,SQRESULTValue N/A Units N/A ST1 AC1 DE1 VE25 DA6 GO VE50 DA0 GO ENSyntax VEr VE Velocity Helpful Hints Programming your application Summary of Expressions, Operators and FunctionsProgramming Overview Variable Names Example of Hosted ModeVariables ProgramVariable Name Description of Built-in Variable Type Built-in VariablesUsing Built-in Variable Arowrel Parts Non-Volatile VariablesLpnumber Arithmetic Operands and Equations AO15=VOLTAGE + ErrorBoolean Operators WTAI12MAX Temp Logical OperatorsIncrement/Decrement Variables Expressions Other Programming SamplesCreate a Message and Read an Input Variable Setting an Output=On on-the-flyDigit BCD=4 Digit BCD+2TW Read a 4 Digit BCD number, 2 Digits at a timeReading an Analog Input Value GET 4 Bcds1Operating Mode Indications, 1 Axis Section TroubleshootingAdditional Information General Additional Information Serial Communications Problems Troubleshooting MN1853 Identification Section Specifications & Product DataLinStep+ LX 1 P 1 A- 0xF9 VDC General SpecificationsProtection & Indicators Description VACDimensions Specifications & Product Data MN1853 EMC Conformity and CE Marking Wiring of Shielded Screened CablesSection CE Guidelines CE Declaration of ConformityGrounding Earth EMC Wiring TechniqueCable Screens Grounding EMC Installation InstructionsSimulated Encoder Output Cable Grounding Input Signal Cable GroundingEncoder Cable Grounding Programming Template Appendix aAppendix MN1853 MN1853 Appendix A-3 Remote Keypad Mounting Template Baldor Electric Company MN1853 01 C&J Baldor Electric CompanyLinStep+ Single-Axis Microstepping Indexer/Driver