Welcome, Guest
  • Page:
  • 1
  • 2

TOPIC: monitor

monitor 3 years 8 months ago #1718

  • Jimmy
  • Jimmy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 1
  • Karma: 1
May I monitor Motor's status via SMI when it is in Data Mode?Such as V,P,PE,A。 IF not what should i do to monitor the status? Will PE be changed when it is motioning?
The administrator has disabled public write access.

Re: monitor 3 years 8 months ago #1719

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
If you are in Data Mode... everything is up to you. In Command Mode... everything is easier.
If you have to stay in "Data Mode"... you can create a subroutine to Print the data you need to monitor.
For example... if you send a text command to the motor... like "Status"... and your "Data Mode" program knows that it should send status when it receives this command... you can then call a subroutine with PRINT commands sending any SmartMotor parameters needed by your application.
All of the status is available if you handle the communications.
The administrator has disabled public write access.

Re: monitor 3 years 8 months ago #1720

  • Jimmy
  • Jimmy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 1
  • Karma: 1
May I get the Run Time Value in using PRINT?
The administrator has disabled public write access.

Re: monitor 3 years 8 months ago #1721

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
The Variables @P @PE and @V have the values for Position... Position Error.. and Velocity.
These can be written to variables for evaluation or Run Time Values...

Example:
p=@P
pp=@PE
v=@V
PRINT("position=",p," position error=",pp," velocity=",v",#13) 'the #13 is a carriage return.
The administrator has disabled public write access.

Re: monitor 3 years 8 months ago #1722

  • Jimmy
  • Jimmy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 1
  • Karma: 1
Will PE change when the motor is moving?
The administrator has disabled public write access.

Re: monitor 3 years 8 months ago #1723

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
It is dynamic and will return the actual following error in encoder counts. The average value will vary based on the load and orientation of the axis. The PID loop of the motor can be modified to reduce the @PE value.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: hsummer, csearcy, swalters, mmeyers
Time to create page: 0.229 seconds
Powered by Kunena Forum