USB memory control in Macro executor


0

USB memory control in Macro executor

BOOK_:15018E_B-63943EN-2@07-01

FANUC Series 30i/ 31i/ 32i-MODEL B  FANUC Series 0i-MODEL F

USB MEMORY CONTROL

USB memory control can be executed using the same commands that are used for the reader/puncher interface and Memory card control. USB memory control is enabled when bit 7 (EXT1) of compile parameter No. 9002 is set to 1.

G330 : USB memory open
G331 : USB memory close
G335 : 1-byte reading
G336 : Data writing
G337 : Macro variable input
G338 : Macro variable output
G339 : File information reading/file deletion

Completion codes are also used, as with the reader/puncher interface and Memory card control.
See following section “Completion codes” for details of completion codes.

NOTE
This function is available in the following models.
– FANUC Series 30i/31i/32i-MODEL B
– FANUC Series 0i-MODEL F

6.9.2 Functions

USB memory open G330
– Format
G330 Pp Ll ;
P
= 18
:
USB memory read control (Specify a file name.)
= 28
:
USB memory write control (Specify a file name.)
= 38
:
File control based on USB memory
L
:
Specify the start variable number of the variable string storing the file name.
In read mode, a search for the beginning of the file is made based on this file name.
In write mode, a new file is created using this file name.
– Explanation
By setting the lower one digit specified for P to “8”, the USB memory is opened and made usable according to the control method and control conditions.

For more information, please download the learning document

相关文件下载地址
©The copyright of the downloaded resources belongs to the author; All resources of this site are from the network, only for learning use, please support the genuine!

Leave a Reply

Your email address will not be published. Required fields are marked *