EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Page 658

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Parameters
Parameter Declaration Data type Memory block Description
REQ INPUT BOOL I, Q, M, D, L,
constant
REQ = 1: read request
LADDR INPUT WORD I, Q, M, D, L,
constant
The configured diagnostic address of the DP
slave
RET_VAL OUTPUT INT I, Q, M, D, L return value
RECORD OUTPUT ANY I, Q, M, D, L Target area for the diagnostic data that has
been read. Only data type BYTE is valid. The
minimum length of the read record or respec-
tively the target area is 6. The maximum
length of the read record is 240. When the
standard diagnostic data exceeds 240bytes
on a norm slave and the maximum is limited
to 244bytes, then only the first 240bytes are
transferred into the target area and the
respective overflow-bit is set in the data.
BUSY OUTPUT BOOL I, Q, M, D, L BUSY = 1: read operation has not been com-
pleted.
The CPU tests the actual length of the diagnostic data that was read:
When the length of RECORD
n is less than the amount of data the data is discarded and the respective error code is
entered into RET_VAL.
n is larger than or equal to the amount of data then the data is transferred into the
target areas and RET_VAL is set to the actual length as a positive value.
It is essential that the matching RECORD parameters are be used for all
calls that belong to a single task. A task is identified clearly by input
parameter LADDR and RECORD.
The following conditions apply if the amount of standard diagnostic data of the norm slave
lies between 241 and 244bytes:
When the length of RECORD
n is less than 240bytes the data is discarded and the respective error code is entered
into RET_VAL.
n is greater than 240bytes, then the first 240bytes of the standard diagnostic data are
transferred into the target area and the respective overflow-bit is set in the data.
RECORD
Norm slaves
VIPA SPEED7
Integrated Standard
System Functions > SFC 13 - DPNRM_DG - Read diagnostic data of a DP slave
HB00 | OPL_SP7 | Operation list | en | 18-30 658

Table of Contents

Related product manuals