Reading Data From Designated File (Sp.fread) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.18.13

Reading Data from Designated File (SP.FREAD)

SP.FREAD
SP.FREAD
Setting
Data
S0
D0
S1
D1
D2
Setting
Data
U0
Dummy
Drive designation
S0
Head number of the devices storing the control data
The following control data is required.
Device
D0
+1
D0
D0
+2
D0
+3
D0
Command
Internal Devices
R, RZ
Bit
Word
––
––
––
*1
*1
*1: Local devices and the devices designated for individual programs cannot be used.
Meaning
Item
Contents/Setting Data
Execution/
Designate the execution type.
completion
0000
: Read binary data
H
type
0100
: Read data after CSV format conversion
H
(Not used)
Used by system
Designate the number of data to request
reading.
No. of
(Unit: Word)
request
Even when byte is specified at
read data
type specification, specify the value in units of
words (16 bits), not in units of bit devices.
(Not used)
*2: Indicates the range applicable for the Universal model QCPU, LCPU.
High
Basic
performance
Universal model QCPU: Other than Q00UJCPU/Q00UCPU/Q01UCPU
SP.FREAD
U0
S0
J
\
U
\G
Bit
Word
––
––
––
––
––
Setting Range
––
2
Setting Range
0000
0100
––
1 to 480
1 to 32767
+7 by data
D0
––
––
SP.FREAD
Ver.
Process
Redundant
Universal
LCPU
D1
D0
S1
D2
Constants
Zn
Other
K, H
$
––
––
––
––
––
––
––
––
––
––
––
––
––
Set by
Data Type
––
User
Set by
H
User
H
BIN 16 bits
System
User
*2
––
7-427
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents