Create a Message and Read an Input Variable

[GET PARTS]

Name the subroutine

MS1,“”

Clears the Display

MS1,“How many?: ”

Writes string beginning at character 1, top line

IV12,(PIECES)

Waits at 12th character for the # of pieces.

MS1,“”

Clears the Display

MS1,“How long?:: ”

Writes string beginning at character 1, top line

IV12,(LENGTH)

Waits at 12th character for the length.

LP(PIECES)

Loops the number of pieces entered

DI(LENGTH)

Moves the length entered.

GO EB

 

Create a Menu (menu display on keypad display for operator)

MS1,“”

Clears keypad screen

MS21,“PART1 PART2 PART3” Writes a message above function keys.

FK1,2,3

Waits for a Function Key to be pressed

(FKEY)=(FKEY)+50

Add an offset to FKEY

GT(FKEY)

Goto program #51, 52, or 53. (50 + 1, 2, or 3)

Fast In, Slow Feed Move (Using the Distance to Change (DC) command)

AC.05

Set acceleration

DE.09

Set deceleration

VE50

Set first velocity

DA6

Set total move distance

DC5.5

Set point where you want to change speed

VE5

Set second speed

GO

Start the move profile

50

 

 

5.0

 

 

0

5.5

6.0

Setting an Output=On (on–the–fly)

AC.05

 

Set acceleration

VE10

 

Set velocity

DA4

 

Set total move distance

DC1

 

Set point to turn on...

OT1

 

Output 1

DC2

 

Set point to turn on...

OT2,1

 

Output 2

DC3

 

Set point to turn on...

OT3,1

 

Output 3

GO

 

 

 

OT1,1

OT2,1

OT3,1

 

1

2

3

4

MN1854

Keypad Programming 6-31

Page 86
Image 86
Baldor mn1854 manual Create a Message and Read an Input Variable, Create a Menu menu display on keypad display for operator