I keep getting junk...
 
Notifications
Clear all

I keep getting junk on my screen while polling with the monitor status window, what's wrong?

3 Posts
1 Users
0 Reactions
21.7 K Views
(@Animatics)
Posts: 26
Eminent Member Guest
Topic starter
 

There could be a print statement in your program. Make sure that ECHO is off. There is a chance that the memory module is corrupt.

 
Posted : 13/01/2010 4:35 am
(@klimovitsky)
Posts: 7
Active Member Guest
 

What might be a reason to a cutting off part of a PRINT statement?

Simple code shows that:

ZS 'Clear faults
MP 'Set Position Mode

A=1000000
V=1000000
P=2000
G
TWAIT
PRINT("MOTOR IS @ 360.00")

TWAIT
A=10000
V=10000
P=0
G
TWAIT
G
PRINT("MOTOR IS @ 0")
G

END

it shows on the screen:
RUN
MOTOR IS @ 360.00 0

any idea? and how can i print the next line on a new line?

thanks

 
Posted : 28/11/2011 11:07 am
(@csearcy)
Posts: 316
Reputable Member Guest
 

The Motor View, Monitor, and Chart View don't expect PRINT statements in your program to be sending data while they are polling. You can use the SILENT and TALK commands to enable and disable PRINT statements when needed.

To get a carriage return, add #13 to the PRINT command.
ex. PRINT("MOTOR IS @ 360.00",#13)

 
Posted : 28/11/2011 11:14 am
Share: