Hi all!
Now I am trying to communicate with my robot (S4C IRB2400) via embedded serial port. I just try to send data to serial and first to see any reaction on a tx pin with an oscilloscope. I faced a problem.
What i did:
1) I checked that there are physical channels in service->communitation section:
sio1: and sio2:
2) Created an iodev variable PORT:
3) Wrote a simple program:
Open "sio1:",PORT;
Write PORT,"EOF"; //EOF is just a system string variable to not to create an additional one
4) Started a program and got a 40505 error:
Error 40505
Cannot open sio1:
RAISE CODE: ERR_FILEOPEN=1015
Maybe someone can tell me where I am wrong.
It is written in a manual that:
"The robot can communicate with computers or other equipment via RS232/RS422
serial channels or via Ethernet. However this requires optional software, see the
Product Specification RobotWare." Does it apply only to the ethernet connection or to a serial connection too?
UPD Seems i should have an "Advanced Functions" option to use serial communication...
UPD2 Checked it, I have this option