Here I have set up a sample code to make a list with 5 values in it.
I chose the values from the motor evaluation function list.
:numeric:normal:number 5
Here I made the number of values in the list 5
:NUMERIC:NORMAL:ITEM1 SPEed
Here I made the first item speed
:NUMERIC:NORMAL:ITEM2 Torq
Here I made the second item torq
:NUMERIC:NORMAL:ITEM3 sync
“”
:NUMERIC:NORMAL:ITEM4 Slip
“”
:NUMERIC:NORMAL:ITEM5 PM
“”
:numeric:normal?
Here I returned the item setting I just set to be sure they were right
:numeric:normal:value?
Here I queried the values of those items in my list
Here are the corresponding responses:
<--- :NUMERIC:NORMAL:ITEM3 Torq (
<--- :NUMERIC:NORMAL:ITEM1 SPEed ( 1 ms )
<--- :NUMERIC:NORMAL:ITEM2 Torq ( 1 ms )
<--- :NUMERIC:NORMAL:ITEM3 sync ( 1 ms )
<--- :NUMERIC:NORMAL:ITEM4 SLip ( 30 ms )
<--- :NUMERIC:NORMAL:ITEM5 PM ( 1 ms )
<--- :numeric:normal? ( 1 ms )
---> :NUM:NUM 5;ITEM1 SPE;ITEM2 TORQ;ITEM3 SYNC;ITEM4 SLIP;ITEM5 PM ( 2 ms )
<--- :numeric:normal:value? ( 1 ms )
---> -0.001E+00,-0.002E+00,2.5496E+03,100.000E+00,0.000E+00 ( 2 ms )
|