Mitsubishi Electric MELSEC iQ-R Series User Manual page 29

System recorder user's manual (application)
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Target data for the device/label batch specification
When using the device/label batch specification, the following types of data in a target program are specified as sampling
targets.
To sample a device that is not included in the following, specify it by using the device individual specification.
Target data
Start of data specified for an operand
Range of devices according to the data type for an operand (number of
elements)
Range of devices specified by an operand (n) (number of elements)
Range of labels according to the data type of a label specified for an
operand
*1 Excluding character strings and VAR_CONSTANT
• Examples of sampling targets for each instruction and operand
For an instruction that can determine the range of devices and labels when specified, target data within the range is sampled.
For the instructions, refer to the following:
Page 117 List of Instructions that can Determine the Range of Devices and Labels When Specified
For instructions that cannot determine the range of devices and labels when specified (ones not included in 'List of
Instructions that can Determine the Range of Devices and Labels When Specified'), standard FUNs, and standard FBs, refer
to the definition of each operand.
If a constant (excluding a character string and VAR_CONSTANT) is specified for a variable-length argument (n) in an
instruction that cannot determine the range of devices and labels when specified, standard FUN, or standard FB, devices
according to a specified size are sampled.
The following table shows examples of the sampling targets for each instruction and operand.
Examples of sampling targets for each instruction
Instruction
Sampling target
MOV
Specified device
BMOV
Devices for the number of transfers
(Number of transfers =
constant)
BMOV
Specified device
(Number of transfers =
(Devices for the number of transfers
device)
must be specified by using the device
individual specification.)
GP.SWRITE (J/U) (s1)
• s1 and s2: Specified device
(s2) "(d1)" (d2) "(d3)"
(A device such as control data for
the area required for other
operations must be specified by
using the device individual
specification.)
• d1 and d3: Not to be sampled
• d2: Two points of the number of
elements
Remarks
Examples of sampling targets for each instruction and operand
Only when the data size is determined (excluding the string type)
Only when the range is specified by a constant
Examples of sampling targets for each instruction and operand
Example
Program
MOV D0 W0
BMOV D31 D100 K10
BMOV D31 D100 W0
• W0=10
GP.SWRITE U0 D0 D100 "D100" M511 "B0"
*1
Sampling target
• D0 to D31 (32 points)
• W0 to W1F (32 points)
• D0 to D63 (64 points)
• D96 to D127 (32 points)
• D0 to 31 (32 points)
• D96 to 127 (32 points)
• W0 to 1F (32 points)
• D0 to 31 (32 points)
• D96 to 127 (32 points)
• M0 to 1023 (1024 points)
1 FUNCTIONS
1.1 Recording Function
1
27

Advertisement

Table of Contents
loading

Table of Contents