I don't have the HMI easy among the installed packages, it is possible with the user tech???
Posts by Abdoul
-
-
with the user HMI software one can make user HMI pages.
which user HMI software you have? Zenon? HMI easy?I think this HMI easy, it's not mentioned but I use User Tech as a package and the version is HMI 8.3 B450.
-
Hello everyone, I would like to know if it's possible to display a user page on the HMI interface of smartPAD for displaying information about the progress of a program?
robot: KR 6 R700 sixx
controller: KR C4
system version: KSS 8.3 -
Thanks for your help guys , it works.
-
with Sending RAW data "Stream" we have the EOS (end of string) is added automatically when we send a data and when we read in a memory, the suffix EOS indicates the end of the reading.
In my config file I have EOS = "13,10" which corresponds to CR + LF
That's why I do not get all the data sent by In-Sight.In-Sigth send: "Welcome to In-Sigth (tm) 5100 Session 0
User: "
and I receive: "Welcome to In-Sigth (tm) 5100 Session 0" because in the course of reading he read the return carriage and the line feed.How to do
-
Thanks for feedback SkyeFire
Your SWRITE command is still writing "User:" and "Password" into your output string. You cannot do that.Second, stop using the same string for your output and input. That's just going to potentially give you bad test data.
Also... are you sending "SE8" before you do the login? That's also no good.
1. in my KRL program I first open the connection with :
RET = EKI_Init ( "Configcomm")
RET = EKI_Open ( "Configcomm")
Normally I should have the welcome message to be able to log in but that's not the case2.After when I send an instruction to In-Sight with the instruction:
SWRITE (Cmd [], STATE, OFFSET, "% s", "SE8")
Cmd [STRLEN (cmd []) + 1] = 'H0D'
Cmd [STRLEN (cmd []) + 2] = 'H0A'
this time I get a answer from cognex which is this: "Welcome to Is-Sight 5100 Session 0" but without the "User:"3. Then if I send admin to see if he will ask me the Password with:
SWRITE (Cmd [], STATE, OFFSET, "% s", "admin")
Cmd [STRLEN (cmd []) + 1] = 'H0D'
Cmd [STRLEN (cmd []) + 2] = 'H0A'and I receive the following message in the Buffer:
"User: Password: Invalid Password"Configuration:
Eki ->client
In-Sight -> server (telnet port: 23)
I do not understand why I can not see the authorization for the User and Password.
I'll put a zip file containing the config file and the program tomorrow when I'm in the office. -
What does WireShark show?
I receive the data but it's just the cognex welcome message "Welcome to In-Sigh (tm) 5100 Session 0" after I do not see the prompt for the User and if I send that even the username he me invalid password returnssee the images Data attached.
-
same now it's blocking at the flag (line 57 image attached)
-
why not... Ethernet message is just a sequence of bytes. that is where WireShark comes in
I check each time with WireShark to see if the transmission of data has occurred, and I see each time it happened.QuoteHave you set up the A0 image object properly? The Trigger condition has to be set to match the communication method being used
I did not touch the configuration not default of A0 it's just the trigger mode that I chose "extern"
QuoteYes, you can. I've done it.
Oh good, I've been trying since, but I'm having some difficulty:1. with Hyperterminal and cognex when I launch the communication I get on hyperterminal a message (see image1 attached) I put the Usernam "admin" and the Password "" and I receive another logged User message.
2. with KRC and cognex I receive the welcome message in the buffer memory of the KRC (see image2 attached) but this time I have trouble putting the User name and the Password because I do not have a screen on which I display, and when I send him a string "admin" and " " as Password he sends me a message << User: Password: Invalid Password >>
-
yes I read the documentation on Native commands of InSight but it does not work when I send it, nothing happens.
I already realized an application with a Robot Staubli RX60 couple with cognex (pick and place with vision) but I had a library that allowed me to run Native commands from InSight since RX60.
But with kuka I can not send Native commands via EthernetKRL. -
SE8 is a native telnet command from cognex, does cognex identify it as a command or as a simple datum?
For example with the attached code I can send data that is read by the device on cognex (image attache capture0) and I send a data to KRC at the same time.
Code
Display MoreRET=EKI_Init("BinaryFixed") RET=EKI_Open("BinaryFixed") SWRITE(_chCommandString[],_STATE,_OFFSET,"%r,","7Ak3") _chCommandString[STRLEN(_chCommandString[])+1]='H0D' _chCommandString[STRLEN(_chCommandString[])+2]='H0A' RET =EKI_Send("BinaryFixed",_chCommandString[]) WAIT FOR $FLAG[1] wait sec 2 RET=EKI_GetString("BinaryFixed","Buffer",_chCommandString[]) $FLAG[1]=FALSE WAIT SEC 2 RET=EKI_Close("BinaryFixed") RET=EKI_Clear("BinaryFixed")
Now I would like to use the native commands (image attache capture2) to trigger events on cognex, but each time when I use a command (SE0 for example) it displays it on the device and does not execute the command .
Do you have an idea? -
-
Thank you for the feedback
it works with the SWRITE function I can send any kind of data to the cognex.
But I don't understand what is the FI_chCommandString [] variable that you used in the program above?
-
Thank you for your answer
KRC is the client and cognex the server. I read the native command doc of cognex but I can not use them in/with EthernetKRL.
But I can send as you said a character for the moment since EKI using the Raw format and I recover it on cognex in ASCII format (for example Eki_Send ("BinaryFixed", Bytes []).1. If I want to send real values, should I code in ASCII characters?
2. If I send more data from EKI how to sort the cognex side to the recovery (because in cognex I use a TCTDivice to read the data send by EKI)
-
Thanks,
I contacted kuka to ask them for the library kuka.VisionCom but they told me to use EthernetKRL to do frame exchanges with the camera (they did not mention kuka.VisioCom).1. SkyeFire@ I did not quite understand what you mean by "create your channels correctly for the native cognex mode control", I used RAW mode in EKI for data reception and in my program KRL I uses the CAST_TO() and CAST_FROM() instructions for sending and receiving data (see attached code).
2. In my cognex program I created a TCPDevice("IP robot","Port","Packet type","Timeout") and with a WriteDevice("Evenement","Device","Data",[Data1,Data2...]") I send the data, does this correspond to the cognex telnet sending element that you are talking about?
can you enlighten me a little, in advance thank you.Code
Display MoreFichier Configuration<CONFIGURATION> <EXTERNAL> <IP>192.168.1.99</IP> <PORT>59152</PORT> <TYPE>Server</TYPE> </EXTERNAL> <RECEIVE> <RAW> <ELEMENT Size="10" Set_Flag="1" Type="BYTE" Tag="Buffer"/> </RAW> </RECEIVE> <SEND/> </ETHERNETKRL> </CONFIGURATION>
Code
Display MoreProgramme KRLDEF BinaryFixed( ) ;FOLD Declaration DECL EKI_STATUS RET CHAR Bytes[10] INT i INT OFFSET REAL valueReal INT valueInt;ENDFOLD (Declaration) BAS (#INITMOV,0 ) ;FOLD Initialize sample data FOR i=(1) TO (10) Bytes[i]=0 ENDFOR OFFSET=0 valueReal=0 valueInt=0;ENDFOLD (Initialize sample data) RET=EKI_Init("BinaryFixed") RET=EKI_Open("BinaryFixed") OFFSET=0 CAST_TO(Bytes[],OFFSET,34.425,6743) RET = EKI_Send("BinaryFixed",Bytes[]) WAIT FOR $FLAG[1] RET=EKI_GetString("BinaryFixed","Buffer",Bytes[]) $FLAG[1]=FALSE OFFSET=0 CAST_FROM(Bytes[],OFFSET,valueReal,valueInt) RET=EKI_Close("BinaryFixed") RET=EKI_Clear("BinaryFixed") END
-
I have kuka.Simpro 3.0.4 and kuka.OfficeLite installed on the same pc. During the installation of kuka.OfficeLite I was asked to choose the robot type but as I did not find the model of my robot (KR 6 R700 sixx) in the list I chose the KR 6 R900 sixx for finalize the installation.
1.After the installation I launch both application to establish the connection, but each time when I put the name of the windows that runs on the VMware in Kuka.Simpro I receive the error "Failed to creator VRC manager".
2. By the way I have a KR 6 R900 sixx interface that starts on VMware when I run the Sart-up of the pendant that is in OfficeLite.
what should I do??? -
Thanks
the connection is established in server / client mode (KRC is the server) as I wanted but I can not read and write data on the camera software.
The instructions for the transmission and reception of EthernetKRL data are not recogiled by IS5100.
Is there a specific library to allow the exchange of data between KRC / IS5100 without ambiguity -
In KRC I have an XML file (image attached) in which I made my configuration and I use the same configuration data on the side of IS5100 (port, IP address).
I have a flag that tells me if the connection is established or not.Code
Display More<CONFIGURATION> <EXTERNAL> <TYPE>Client</TYPE> </EXTERNAL> <INTERNAL> <ENVIRONMENT>Program</ENVIRONMENT> <BUFFERING Mode="FIFO" Limit="10"/> <BUFFSIZE Limit="16384"/> <TIMEOUT Connect="60000"/> <ALIVE Set_Out="666" Ping="200"/> <IP>192.1.10.20</IP> <PORT>54600</PORT> <PROTOCOL>TCP</PROTOCOL> <MESSAGES Logging="error" Display="disabled"/> </INTERNAL> </CONFIGURATION>
-
Yes I know for the ethernet communication model (server / client), IS5100 can work as a server or as a client too.
I tried communication using KRC as server and IS5100 as client it does not work. After I invert the model using this time KRC as client and IS5100 as the server and this the same result (still nothing, no connection).
Before trying the communication between KRC and cognex, I performed a series of tests with hyperterminal:
--with KRC
--and with cognex too
the communication worked for both. -
I tried to make a communication between a cognex (In-Sight 5100) and a kuka model KR 6 R700 sixx, type of controller KR C4 compact version KSS 8.3
1.I have the EthernetKRL package installed, but I can not get a connection between cognex / kuka. Nothing happens when I launch my connection program (below)
2.Is there a specific library that allows communication between kuka / cognex?