background image

##

SECTION 6:  EXPANDED SEBASIC COMMANDS

The commands listed below can be used when programming one of the fol-
lowing SLO-SYN

®

 controllers:

MX2000

SS2000D3i

TDC

SS2000D6i

SS2000PCi

EXPANDED SEBASIC CONTROL COMMANDS

COMMAND

DESCRIPTION

Cursor_ON

Make cursor visible

Cursor_OFF

Make cursor invisible

CLRSCRN

Clear screen and home cursor

CLRLINE

Clear line and reposition cursor on line

LOCATE

Position cursor

DISP

Position cursor and print text

FLUSH_RX_BUFFER

Clear out receive buffer

Expanded SEBASIC Control Commands Descriptions including syntax.
Refer to Section 7 Programming the Control, for program explanations.

Cursor_ON

Action:

Makes the cursor visible.

Program Syntax:

Cursor_ON

Remarks:

The cursor will become visible in its current location. 
Refer to the LOCATE command to position the cursor.

Cursor_OFF

Action:

Makes the cursor invisible.

Program Syntax:

Cursor_OFF

Remarks:

The cursor will become invisible in its current location.

CLRSCRN

Action:

Clears the screen and homes the cursor.

Program Syntax:

CLRSCRN

Remarks:

Clears the screen of all characters and locates the cursor
to the upper left corner of the screen.

StockCheck.com

Summary of Contents for ELTERM 24

Page 1: ...INSTALLATION and OPERATING INSTRUCTIONS for the ELTERM 24 REMOTE OPERATOR PANEL S t o c k C h e c k c o m...

Page 2: ...ection Diagrams 8 SECTION 4 SPECIFICATIONS 10 4 1 Mechanical Specifications 10 4 2 Electrical Specifications 10 4 3 Environmental Specifications 10 SECTION 5 ELTERM 24 TRANSMIT CHARACTER CODES 10 SECT...

Page 3: ...onnections are covered in Section 3 Complete specifications listed in Section 4 provide easily referenced infor mation concerning electrical mechanical and environmental specifications Sections 5 7 de...

Page 4: ...simple operator interface dumb terminal designed to operate with an intelligent control The Terminal has two primary functions display data messages sent from the control on its screen and transmit k...

Page 5: ...eypresses from the terminal Refer to Sections 6 7 and Appendix A 3 Install mount the ELTERM 24 and power supply See Section 3 1 for panel cutout and mounting information 3 Connect the AC power source...

Page 6: ...unting location it is important to leave at least two inches 51mm of space around the top bottom and sides of the unit to allow proper airflow for cooling Refer to cutout diagram below It is also impo...

Page 7: ...wing diagrams provide overall dimensions and mounting hole layout Figure 3 2a Figure 3 2b Power Supply Dimensions Panel Mounting Hole Layout 1 38 35 or 1 52 38 5 2 36 60 or 2 46 62 5 Use both smaller...

Page 8: ...Figure 3 3a SS2000D3i D6i PCi Connections Figure 3 3b TDC330 04 TDC330 08 Connections 789 78 9 9 78 789 8 8 AB CD E 25F B0 9 G H98 I J 8 K 9 J 0LL01K B0M 5 D66EFN BA 88OP8Q9 R 120 ohm termination res...

Page 9: ...s dc power connections to the ELTERM 24 terminal from the 24VDC switching power supply P N 227928 001 and AC power connections to the power supply Figure 3 4 Power Supply Connections H78 CD E 25F B05...

Page 10: ...Power Supply 227928 001 Operating Temperature 23 F to 122 F 5 C to 50 C free air am bient Natural Convection 14 F to 140 F 10 C to 60 C Humidity 70 relative 20 90 RH Altitude 6 562 feet 2000 m max 6...

Page 11: ...ve buffer Expanded SEBASIC Control Commands Descriptions including syntax Refer to Section 7 Programming the Control for program explanations Cursor_ON Action Makes the cursor visible Program Syntax C...

Page 12: ...ax LOCATE row column Remarks Positions the cursor at the specified row and column Example LOCATE 2 4 Positions the cursor on row 2 in column 4 DISP Action Displays text starting from a specified curso...

Page 13: ...MCPI ELTERM24 INC Replace MCPI with MCPI MA if applicable Define Statements The following define statements MUST be included in your program if the include file ELTERM24 INC is not used available in o...

Page 14: ...e DO Wait until the escape Keypress INCHAR 2 Key is pressed LOOP WHILE Keypress 27 STOP Stop jog cycle RETURN Getvalue Routine Getvalue txt This is a sample Getvalue subroutine used for data entry suc...

Page 15: ...ss 58 AND Keypress 44 THEN Only accept chars 0 to 9 NewValue NewValue STRING 1 Keypress decimal and the minus sign END IF X LEN NewValue If the backspace key is pressed erase the last IF KeyPress 8 AN...

Page 16: ...ayout DISP 1 3 Move Distance DISP 2 1 in inches DISP 4 1 ESC Exit ENTER Edit 3 Determine max and min allowable values min 9999 9 max 9999 9 4 Specify the number format using the fmt variable fmt 0 Hin...

Page 17: ...command prints the items in DISP 3 1 Up Arrow Jog quotes on the screen of the ELTERM 24 DISP 4 1 Dwn Arrow Jog RETURN Sample Program Eltrmsmp tsk INCLUDE C MCPI Elterm24 inc The INCLUDE statement all...

Page 18: ...items in quotes on the DISP 3 1 Up Arrow Jog screen of the ELTERM 24 DISP 4 1 Dwn Arrow Jog RETURN Get_Distance CLRSCRN Clear Screen DISP 1 3 Move Distance Print the followings messages DISP 2 1 in in...

Page 19: ...the position of the cursor PRINT USING 2 fmt Value Prints initial number DO Keypress INCHAR 2 LOOP WHILE Keypress 0 IF Keypress 13 THEN CLRLINE 3 CLRLINE 4 DISP 4 5 Edit Value GOSUB GetValue END IF IF...

Page 20: ...IN PROGRESS X 0 DO UNTIL X Repeat MOVEI Distance WAITDONE X X 1 LOOP RETURN JOG_Forward CLRSCRN Print to the Display DISP 2 1 Jogging Forward motor status DISP 4 1 Push Esc to STOP JOG 1 Start jog cy...

Page 21: ...ress 9999 more than one minus sign IF KeyPress 58 AND Keypress 44 Only accept numbers 0 to 9 THEN NewValue NewValue STRING 1 Keypress decimal and the minus sign END IF X LEN NewValue If the backspace...

Page 22: ...colon is also used to structure the various codes sent to the Elterm 24 panel The MX2000 TDC DXi and PCi have two com ports for serial communica tion with external devices Port 1 is the host port and...

Page 23: ...move the cursor to row 1 col 5 and display MX2000 DEFINE CLRSCRN PRINT COM CHR 27 E DEFINE LOCATE 1 2 PRINT COM CHR 27 Y CHR 31 1 CHR 2 31 DEFINE DISP 1 2 3 LOCATE 1 2 3 DEFINE LC 1 PRINT COM CHR 27 Y...

Page 24: ...glect or accident THE FOREGOING WARRANTY IS IN LIEU OF ANY OTHER WARRANTIES EXPRESS OR IMPLIED INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE...

Reviews: