Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: variable declaration in smi interface

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

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 4 months ago #1301

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • 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
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 0.263 seconds