Mitsubishi Electric MELSEC iQ-R Series User Manual page 30

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

Advertisement

Examples of sampling targets for each operand
Operand
Timer, counter
Indirect specification
Index modification
Index-modified input/output numbers and network
number
Data specification
Structure
Array label
*1 A device specified for indirect specification is not sampled. Set it by using the device individual specification to sample it.
*2 A device specified for index modification is not sampled. Set it by using the device individual specification to sample it.
■Consideration when the device/label batch specification is enabled
• When the device/label batch specification is enabled, the capacity of the buffer area setting for data sampling is exceeded
as a result of changing a program after a recording setting is completed, and recording may not start.
■Considerations for sampling labels
• Labels cannot be specified for the device individual specification.
• By assigning a device to a global label, the assigned device can be set for the device individual specification. (A device
cannot be assigned to a local label.)
• When sampling a label specified as an operand that uses a variable-length value, all members of a structure or all elements
of an array can be sampled by specifying a label defined as the structure or array as an operand. (Examples of
sampling targets for each instruction and operand)
1 FUNCTIONS
28
1.1 Recording Function
Sampling target
Contact, coil, and current value
of a specified device
Specified device for indirect
specification
Specified device and index
register for index modification
No target data
Bit-specified word device
Devices in a specified range
Digit-specified bit device
Devices in a specified range
All members of a specified
structure
Member
Members of a specified
structure
Member
All members of a specified
(for block transfer
structure
instructions)
Timer, counter
Contact, coil, and current value
of a specified device
All elements of a specified
array
Element
All elements of a specified
array
Example
Program
OUTH T0 K10
MOV K100 @D0
*1
MOV K100 D0Z0
*2
MOV K100 U04\G0Z0
MOV K100 J1\W0Z0
MOV K100 U0Z0\G0
MOV K100 J1Z0\W0
LD D0.0
DMOV K4M497 D0
BMOV stLabel0 stLabel10 K10
MOV K10 stLabel0.member1
BMOV stLabel0.member1 stLabel10
K10
LD tLabel0
MOV K0 LabelA
MOV K0 LabelA[K0]
MOV K10 LabelA[D100]
Sampling target
T0 to 31 (TS, TC: 32 points,
TN: 32 points)
D0 to D31 (32 points)
• D0 to 31 (32 points)
• Z0 to 23 (24 points)
U0\G0 to U0\G31 (32
points)
Z0 to 23 (24 points)
J1\W0 to J1\W1F (32
points)
Z0 to 23 (24 points)
N/A
N/A
D0 to 31 (32 points)
• M0 to 511 (512 points)
• D0 to 31 (32 points)
• Entire stLabel0
• Entire stLabel10
stLabel0.member1
(Members other than
stLabel0.member1 are not
sampled.)
• Entire stLabel0
• Entire stLabel10
tLabel0
(tLabel0.S, tLabel0.C,
tLabel0.N)
LabelA [0] to LabelA [999]
(all elements of LabelA)
• LabelA [0] to LabelA
[999] (all elements of
LabelA)
• D96 to 127 (32 points)

Advertisement

Table of Contents
loading

Table of Contents