EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Page 823

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...
You must assign a process image partition for inputs to the OB in which
FB 22 GETIO_PART is called. Furthermore, before calling FB 22 you
must add the associated PROFIBUS DP slave or the associated
PROFINET IO device to this process image partition for inputs. If your
CPU does not recognize any process image partitions or you want to call
FB 22 in OB 1, you must add the associated PROFIBUS DP slave or the
associated PROFINET IO device to this process image partition for inputs
before calling FB 22. You use the OFFSET and LEN parameters to
specify the portion of the process image area to be read for the compo-
nents addressed by means of their ID. If there was no error during the
data transmission, ERROR receives the value FALSE, and the data that
have been read are entered in the target area indicated by INPUTS. 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 target area (INPUTS parameter) is smaller than LEN,
then as many bytes as INPUTS can accept are transferred. ERROR
receives the value FALSE. If the target area is greater than LEN, then the
first LEN bytes in the target area are written. ERROR receives the value
FALSE.
The FB 22 GETIO_PART does not check the process image for inputs for
delimiters between data belonging 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. Reading of data for more than one com-
ponent cannot be guaranteed for future systems and compromises the
transferability to systems from other manufacturers.
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
OFFSET INPUT INT I, Q, M, D, L
constant
Number of the first byte to be read in the
process image for the component
(smallest possible value: 0)
LEN INPUT INT I, Q, M, D, L
constant
Amount of bytes to be read
STATUS OUTPUT DWORD I, Q, M, D, L Contains error information for SFC 81
UBLKMOV in the form DW#16#40xxxx00 if
ERROR = TRUE
VIPA SPEED7
Standard
IO > FB 22 - GETIO_PART - PROFIBUS/PROFINET read a part of the Inputs
HB00 | OPL_SP7 | Operation list | en | 18-30 823

Table of Contents

Related product manuals