Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
7-413
SP.FWRITE
1
2
3
4
6
6
7
8
7.18 Other instructions
7.18.12 Writing Data to Designated File (SP.FWRITE)
7.18.12 Writing Data to Designated File (SP.FWRITE)
SP.FWRITE
*1: Local devices and the devices designated for individual programs cannot be used.
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
Other
Bit Word Bit Word K, H $
–– –– ––
–– –– –– –– ––
–– –– –– –– ––
–– –– –– ––
*1 *1
–– –– –– ––
Setting
Data
Meaning Setting Range Set by Data Type
U0
Dummy
–– ––
BIN 16 bits
Drive designation
2User
Head number of the devices storing the control data. The following control data is required.
Device Item Contents/Setting Data Setting Range Set by
Execution/
completion
type
Designate the execution type.
0000H : Write binary data
0100H :
Write data after CSV format conversion
0000H
0100H
User
+1
(Not used)
Used by system
––
System
+2
Writing
result (No.
of written
data)
Contains the number of actually written data
against the data designated by . The unit
of the value depends on data type specified at
+7.
––
System
+3
(Not used)
–– –– ––
+4
+5
File
position
Set the file position when binary data writing
is specified by .
00000000
H
:
Starting at the beginning of the file
00000001
H
to FFFFFFFE
H
:
From the specified position
The unit of the value depends
on data type specification.
FFFFFFFF
H
: Addition starts from the end
of the file.
When CSV format write is specified at
• For the High Performance model QCPU of
which the first 5 digits of the serial number
are "01111" or lower, always set the
beginning (0
H
) of the file.
• For the High Performance model QCPU/
Process CPU/Redundant CPU/Universal
model QCPU of which the first 5 digits of
the serial number are "01112" or higher, set
the file position.
00000000
H
to FFFFFFFE
H
: Starting at the beginning of
the file
FFFFFFFF
H
:
Addition starts at the end of the file
.
00000000H to
FFFFFFFFH
User
Process
High
performance
Redundant
Universal
Basic
SP.FWRITE
Command
SP.FWRITE
U0
S0 D0 S1 S2 D1
S0
D0
S1
S2
D1
S0
D0
D0
D0
D0
S2
D0
D0
D0
D0
D0
D0