EasyManua.ls Logo

YASKAWA VIPA SPEED7 - FB 21 - SETIO - PROFIBUS;PROFINET Write All Outputs

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...
Parameter Declaration Data Type Memory Area Description
ID INPUT DWORD I, Q, M, D, L
constant
n Low word: logical address of the DP
slave/PROFINET IO component
(module or submodule)
n High word: irrelevant
STATUS OUTPUT DWORD I, Q, M, D, L Contains error information for SFC 14
DPRD_DAT in the form DW#16#40xxxx00
LEN OUTPUT INT I, Q, M, D, L Amount of data read in bytes
INPUTS IN_OUT ANY I, Q, M, D Target area for the read data.
It must have the same length as the area
that you configured for the selected DP
slave/PROFINET IO component. Only the
data type BYTE is permitted.
Please refer to SFC 14 - DPRD_DAT - Read consistent data.
Ä
659
15.3.2 FB 21 - SETIO - PROFIBUS/PROFINET write all Outputs
With the FB 21 SETIO you consistently transfer the data from the source area indicated
by OUTPUTS to the addressed PROFIBUS DP slave/PROFINET IO device, and, if nec-
essary, to the process image (in the case where you have configured the affected
address area for the DP standard slave as a consistency area in a process image). In
doing so, FB 21 calls the SFC 15 DPWR_DAT. The source area must have the same
length that you configured with for the selected component. In the case of a DP standard
slave with a modular structure or with several DP IDs, you can only access the data for
one component/DP ID with an FB 20 call each time at the configured start address.
Parameter Declaration Data Type Memory Area Description
ID INPUT DWORD I, Q, M, D, L,
constant
n Low word: logical address of the DP
slave/PROFINET IO component
n (module or submodule)
n High word: irrelevant
LEN INPUT INT I, Q, M, D, L Irrelevant
STATUS OUTPUT DWORD I, Q, M, D, L Contains error information for SFC 15
DPRD_DAT in the form DW#16#40xxxx00
OUTPUTS IN_OUT ANY I, Q, M, D Source area for the read data to be read. It
must have the same length as the area that
you configured for the selected DP slave/
PROFINET IO component. Only the data
type BYTE is permitted.
Please refer to SFC 15 - DPWR_DAT - Write consistent data.
Ä
660
15.3.3 FB 22 - GETIO_PART - PROFIBUS/PROFINET read a part of the Inputs
With the FB 22 GETIO_PART you consistently read a part of the process image area
belonging to a PROFIBUS DP slave/PROFINET IO device. In doing so, FB 22 calls the
SFC 81 UBLKMOV.
Error Information
Description
Error Information
Description
VIPA SPEED7
Standard
IO > FB 22 - GETIO_PART - PROFIBUS/PROFINET read a part of the Inputs
HB00 | OPL_SP7 | Operation list | en | 18-30 822

Table of Contents

Related product manuals