HMI RS232 COM
 
Notifications
Clear all

HMI RS232 COM

2 Posts
1 Users
0 Reactions
6,668 Views
(@nicka)
Posts: 1
New Member Guest
Topic starter
 

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)

 
Posted : 17/02/2015 3:45 pm
(@csearcy)
Posts: 316
Reputable Member Guest
 

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

http://www.redlion.net/sites/default/files/drivers/Animatics-Smartmotor-G3.pdf

 
Posted : 17/02/2015 11:08 pm
Share: