Anyone can help me ?
Posts by gb2elau
-
-
Thank you for your answer,
I'm sorry, So I'm in RSI 3.1.1 and KS 8.2.106Of course, but when you use RSIEthernet, the robot uses RSIEthenetConfig.xml to know what send to the server
For exempleMy RSIEthenetConfig by default is this one :
XML
Display More<?xml version="1.0"?> -<ROOT> -<CONFIG> <IP_NUMBER>192.168.3.168</IP_NUMBER> <!-- IP-number of the external socket --> <PORT>49152</PORT> <!-- Port-number of the external socket --> <SENTYPE>ImFree</SENTYPE> <!-- The name of your system send in <Sen Type="" > --> <ONLYSEND>FALSE</ONLYSEND> <!-- TRUE means the client don't expect answers. Do not send anything to robot --> </CONFIG> <SEND> <ELEMENTS> <ELEMENT INDX="INTERNAL" TYPE="DOUBLE" TAG="DEF_RIst"/> <ELEMENT INDX="INTERNAL" TYPE="DOUBLE" TAG="DEF_RSol"/> <ELEMENT INDX="INTERNAL" TYPE="LONG" TAG="DEF_Delay"/> <ELEMENT INDX="INTERNAL" TYPE="DOUBLE" TAG="DEF_Tech.C1"/> <ELEMENT INDX="1" TYPE="LONG" TAG="DiL"/> <ELEMENT INDX="2" TYPE="BOOL" TAG="Digout.o1"/> <ELEMENT INDX="3" TYPE="BOOL" TAG="Digout.o2"/> <ELEMENT INDX="4" TYPE="BOOL" TAG="Digout.o3"/> <ELEMENT INDX="5" TYPE="DOUBLE" TAG="Source1"/> </ELEMENTS> </SEND> -<RECEIVE> -<ELEMENTS> <ELEMENT INDX="INTERNAL" TYPE="STRING" TAG="DEF_EStr"/> <ELEMENT INDX="1" TYPE="DOUBLE" TAG="RKorr.X" HOLDON="1"/> <ELEMENT INDX="2" TYPE="DOUBLE" TAG="RKorr.Y" HOLDON="1"/> <ELEMENT INDX="3" TYPE="DOUBLE" TAG="RKorr.Z" HOLDON="1"/> <ELEMENT INDX="4" TYPE="DOUBLE" TAG="RKorr.A" HOLDON="1"/> <ELEMENT INDX="5" TYPE="DOUBLE" TAG="RKorr.B" HOLDON="1"/> <ELEMENT INDX="6" TYPE="DOUBLE" TAG="RKorr.C" HOLDON="1"/> <ELEMENT INDX="7" TYPE="LONG" TAG="FREE" HOLDON="1"/> <ELEMENT INDX="8" TYPE="LONG" TAG="DiO" HOLDON="1"/> </ELEMENTS> </RECEIVE> </ROOT>
So I receive a XML with the data as configured from the robot (cf. img capture)
In the documentation we can add some element with different TAG, each TAG correspond with one kind a data
(Cf img Documentation)In the documentation there are not TAG to send the Status and the Turn, so I hope it exists a TAG, if you know it, please give it
For the second issue, we can configurate a <element> with a "Out.o1" or "Out.o2" TAG like the third img
There are of type BOOL.
And I would like to know at what Out this TAG refer to. And it is possible to affect a value TRUE of FALSE to these "Out.o1" ?Thank you
Have a good day -
KRC4
Hello ,
I'm working on a project, and I need to send the value (0 or 1 ) of a variable by RSI.
So, in the RSIethernetConfig.xml there are :<ELEMENT INDX="2" TYPE="BOOL" TAG="Digout.o1"/>
<ELEMENT INDX="3" TYPE="BOOL" TAG="Digout.o2"/>
<ELEMENT INDX="3" TYPE="BOOL" TAG="Out.o1"/>I would like to know, at what output these informations ("Digout" and "Out") correspond ?
Can we control their value ? 1 or 0 if yes, how ?I have a other issue, I would like to have the turn and the status of the robot (S and T) but in the RSI documentation, there is no TAG to send these informations. Do you know the TAG for this ?
Thank you for our reading
Have a good day