hi everyone!
I wrote small program in order to communicate kuka robot with PC via Com
I press NEW.I choice EXPERT SUBMIT
My program
DECL STATE_T SR_T, SW_T, SC_T
DECL MODUS_T MR_T, MW_T
CHANNEL :SER_3 :SER_3 $PSER_3
REAL TIMEOUT
INT HANDLE,OFFSET
INT I,J
MW_T=#SYNC
MR_T=#ABS
TIMEOUT=3.0
OFFSET=0
I=123
COPEN(:SER_3,HANDLE)
CWRITE(HANDLE,SW_T,MW_T,“%d”,I)
CREAD(HANDLE,SR_T,MR_T,TIMEOUT,OFFSET,”%d”,J)
CCLOSE(HANDLE,SC_T)
Then,I press "select" button.
A line present "Submit interpreter is alredy running"
Next,I check my program.
Diagnosis!
I press the Windows Start button and calling the command “Run”.
Enter the string “telnet 192.0.1.1” in the selection box “Open” and press OK:
the following Telnet window is opened.
then,I type SER_OPEN.On the Telnet window,it present UNDEFINED SYMBOL:SER_OPEN
I do not know whether my program transmitted and received
So,could everyone tell me how diagnose?
help me!
thanks in avandce!
PS:pin 2(TX) and pin 3(RX) of COM ,I connected them