Welcome, Guest
Username Password: Remember me
Messages posted to this category need to be reviewed by the moderator before it gets posted.
  • Page:
  • 1

TOPIC: HMI RS232 COM

HMI RS232 COM 1 year, 7 months ago #1739

  • nicka
  • OFFLINE
  • Posts: 1
  • Karma: 0
I am using the Red Lion G304k200 with an animatics smart motor SM23165D. The program on the HMI shows up and the program on the smart motor is working. However, I can not pull values from smart motor to display on the HMI. I am looking to pull variables and change variables in the program. The main variable I am looking to follow is an analog voltage input. RINA(V1,0)

Re: HMI RS232 COM 1 year, 7 months ago #1740

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
Here's a link to the Animatics driver manual from Red Lion's website if you don't have it yet.
You can use Variables a-z, aa-zz, and aaa-zzz. The syntax is explained in the driver manual. You'll have to do an endless loop or run a timed interrupt to keep the value updated in one of the variables... "minimum code below"... because you won't have the command RINA available.

WHILE 1
a=INA(V1,0)
WAIT=100 '100msec delay
LOOP
END

www.redlion.net/sites/default/files/drivers/Animatics-Smartmotor-G3.pdf
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 1.56 seconds