Welcome, Guest

TOPIC: variable declaration in smi interface

variable declaration in smi interface 4 years 8 months ago #1299

  • kenobe2014
  • kenobe2014's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
Hi
in the user manual of smi2.4 , i can not find how to declare the variables in the program.
could someone pls tell me how?
The administrator has disabled public write access.

Re: variable declaration in smi interface 4 years 8 months ago #1301

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
You don't need to declare the variables. All 32bit integer variables already exist. They are designated by lower case alphabet.
a-z
aa-zz
aaa-zzz

...the following commands would be valid...
a=1234
b=2345
c=a+b
d=c/2

If you are using Class5 motors... Firmware Version 5.0 or above... please download our latest Users Guide from the website.
The administrator has disabled public write access.
The following user(s) said Thank You: kenobe2014
Moderators: hsummer, csearcy, swalters, mmeyers
Time to create page: 0.223 seconds
Powered by Kunena Forum