4 data trace read function (dtrc-rd) – Yaskawa Ladder Works Programming Manual User Manual
Page 181
9.4 Data Trace Read Function (DTRC-RD)
9-6
9.4 Data Trace Read Function (DTRC-RD)
[Outline]
Reads out the trace data of the main controller unit and stores this data in the user registers.
The data in the trace memory can be read out upon designating the record number and the number of
records. The readout can be performed by designating just the necessary items in the record.
[Format]
Symbol : DTRC-RD
Full Name : Data-Trace Read
Category : SYSTEM
Icon :
[Parameter]
I/O
Definition
Parameter Name
I/O
Designation
Setting
Execute
B-VAL
Designation of the execution of data trace read
Group-No
I-REG
Designation of the data trace group No. (1 to 4)
Rec-No
I-REG
Designation of the head record No. for readout
(0 to maximum record number-1)
Rec-Size
I-REG
Designation of the number of records requested for readout
(1 to maximum record number)
Select
I-REG
Item to be read out (0001H to FFFFH)
Bits 0 to F correspond to data designations 1 to 16 of the trace
definition.
Input
Dat-Adr
Address input
Designation of the No. of the head register for readout
(address of MW or DW)
Complete
B-VAL
Completion of trace read
Error
B-VAL
Occurrence of error
Status
I-REG
Data trace read execution status
Rec-Size
I-REG
Number of records read
Output
Rec-Len
I-REG
Length (in words) of 1 record that is read