12.07.2015 Views

RAPID reference manual - Technology

RAPID reference manual - Technology

RAPID reference manual - Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

InstructionOpenFile and Serial Channel HandlingOpen - Opens a file or serial channelOpen is used to open a file or serial channel for reading or writing.ExampleVAR iodev logfile;...Open "HOME:" \File:= "LOGFILE1.DOC", logfile \Write;The file LOGFILE1.DOC in unit HOME:, is opened for writing. The <strong>reference</strong>name logfile is used later in the program when writing to the file.ArgumentsOpen Object [\File] IODevice [\Read] | [\Write] |[\Append] [\Bin]ObjectData type: stringThe I/O object (I/O device) that is to be opened, e.g. "HOME:", "TEMP:",“com1:” or “pc:”(option).Table 8 Different I/O device on the Robot ControllerI/O device name Full file path Type of I/O device"HOME:" or diskhome 1"/hd0a/xxxx/HOME/" 2Flashdisk or Hard Drive"TEMP:" or disktemp1 "/hd0a/temp/" Flashdisk or Hard Drive"RemovableDisk1:" or usbdisk11"RemovableDisk2:" or usbdisk21"RemovableDisk3:" or usbdisk31"RemovableDisk4:" or usbdisk41"com1:" 4“pc:” 5“/bd0/”“/bd1/”“/bd2/”“/bd3/”e.g. USB memory stick 3- Serial channel“/c:/temp/” 6Mounted disk1. <strong>RAPID</strong> string defining device name2. “xxxx” means the system name, defined when booting the system3. Note! RemovableDisk1 could be e.g. USB memory on one system, but USB floppy on another.4. Use defined serial channel name, defined in system parameters5. Application protocol, server path, defined in system parameters6. Application protocol, server path, defined in system parameters<strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R 307

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!