12.07.2015 Views

RAPID reference manual - Technology

RAPID reference manual - Technology

RAPID reference manual - Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OpenFile and Serial Channel HandlingInstructionTable 9 Different I/O device on the Virtual ControllerTable 10I/O device name Full file path Type of I/O device"HOME:" or diskhome 1"/xxxx/HOME/" 2"TEMP:" or disktemp1 "/c:/temp/yyyy/" 3"RemovableDisk1:" or usbdisk11"RemovableDisk2:" or usbdisk21"RemovableDisk3:" or usbdisk31"RemovableDisk4:" or usbdisk41"/xxxx/HOME/RemovableDisk1/""/xxxx/HOME/RemovableDisk2/""/xxxx/HOME/RemovableDisk3/""/xxxx/HOME/RemovableDisk4/"Hard Drivee.g. USB memory stick 41. <strong>RAPID</strong> string defining the device name2. “xxxx” means the path to the system directory, defined when creating the system3. “yyyy” means a directory named as System ID4. Note! RemovableDisk1 could be e.g. USB memory on one system, but USB floppy on another.[\File]Data type: stringThe name of the file to be opened, e.g. "LOGFILE1.DOC" or "LOGDIR/LOGFILE1.DOC"The complete path can also be specified in the argument Object,“HOME:/LOGDIR/LOGFILE.DOC".IODeviceData type: iodevA <strong>reference</strong> to the file or serial channel to open. This <strong>reference</strong> is then used forreading from and writing to the file or serial channel.[\Read]Data type: switchOpens a file or serial channel for reading. When reading from a file, the readingis started from the beginning of the file.[\Write]Data type: switchOpens a file or serial channel for writing. If the selected file already exists, itscontents are deleted. Anything subsequently written is written at the start of thefile.[\Append]Data type: switchOpens a file or serial channel for writing. If the selected file already exists, anythingsubsequently written is written at the end of the file.Open a file or serial channel with \Append and without the \Bin arguments. Theinstruction opens a character-based file or serial channel for writing.308 <strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R

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

Saved successfully!

Ooh no, something went wrong!