EasyManua.ls Logo

YASKAWA VIPA SPEED7 - FB 23 - SETIO_PART - PROFIBUS;PROFINET Write a Part of the out Puts

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
ERROR OUTPUT BOOL I, Q, M, D, L Error display:
ERROR = TRUE if an error occurs when
calling SFC 81 UBLKMOV.
INPUTS IN_OUT ANY I, Q, M, D Target area for read data:
n If the target area is smaller than LEN,
then as many bytes as INPUTS can
accept are transferred. ERROR receives
the value FALSE.
n If the target area is greater than LEN,
then the first LEN bytes of the target
area are written. ERROR receives the
value FALSE.
Please refer to SFC 81 - UBLKMOV - Copy data area without gaps.
Ä
720
15.3.4 FB 23 - SETIO_PART - PROFIBUS/PROFINET write a part of the Outputs
With the FB 23 SETIO_PART you transfer data from the source area indicated by OUT-
PUTS into a part of the process image area belonging to a PROFIBUS DP slave/
PROFINET IO device. In doing so, FB 23 calls the SFC 81 UBLKMOV.
You must assign a process image partition for outputs to the OB in which
FB 23 SETIO_PART is called. Furthermore, before calling FB 23 you
must add the associated PROFIBUS DP slave or the associated
PROFINET IO device to this process image partition for outputs. If your
CPU does not recognize any process image partitions or you want to call
FB 23 in OB 1, you must add the associated PROFIBUS DP slave or the
associated PROFINET IO device to this process image partition for out-
puts before calling FB 23. You use the OFFSET and LEN parameters to
specify the portion of the process image area to be written for the compo-
nents addressed by means of their ID. If there was no error during the
data transmission, ERROR receives the value FALSE. If there was an
error during the data transmission, ERROR receives the value TRUE,
and STATUS receives the SFC 81 error information UBLKMOV. If the
source area (OUTPUTS parameter ) is smaller than LEN, then as many
bytes as OUTPUTS contains are transferred. ERROR receives the value
FALSE. If the source area is greater than LEN, then the first LEN bytes
are transferred from OUTPUTS. ERROR receives the value FALSE.
The FB 23 SETIO_PART does not check the process image for inputs for
delimiters between data that belong to different PROFIBUS DP or
PROFINET IO components. Because of this, you yourself must make
sure that the process image area specified by means of OFFSET and
LEN belongs to one component. Writing of data for more than one com-
ponent cannot be guaranteed for future systems and compromises the
transferability to systems from other manufacturers.
Error Information
Description
VIPA SPEED7
Standard
IO > FB 23 - SETIO_PART - PROFIBUS/PROFINET write a part of the Outputs
HB00 | OPL_SP7 | Operation list | en | 18-30 824

Table of Contents

Related product manuals