EasyManua.ls Logo

VIPA SSM-BG41 - Tab. 3-4: List of Parameters for the Loading of FB45

VIPA SSM-BG41
286 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...
Functional description and allocation of terminal pins Manual BG41/BG42/BG43
3-28 Rev. 99/49
3.2.7.6 Application of SSI modules with VIPA data handling blocks
Possible data handling blocks
Initialization FB100, FB101
Cycle FB45
For the application of an SSI module, it is necessary to enter the SSI application into the FB100 or
the FB101.
The function blocks FB100 or FB101 are described in chapter 4.1.4 as well as parametrizing
examples.
The code to be given for the identifier PROC is 12 (0Ch) for the SSI transmission.
3.2.7.7 FB45 (SSI_IN), reading SSI data
The data handling block FB45 (SSI_IN) offers the possibility to output data from a SSI module.
This function block can be used in all CPUs. The SSM is to be addressed in the peripheral area
PY128-PY248.
The following parameters are to be transferred when loading FB45:
Des. Format Explanation
ADR KF Building block’s periphery address
K/EI KY Number of channels / Number of encoders
WER1 W Output value low word
WER2 W Output value high word
PAFE BY Error byte
Tab. 3-4: List of parameters for the loading of FB45
The following details are necessary for the abovementioned paramenters:
ADR
(peripher)
Input of the peripheral address, under which the building block can be controlled
by the PLC. This address can be set with the DIL switches S1 and S2. Further
details can be found in chapter 5.
K/EI
Number of channels onto which the module is plugged. The channel number to
be used depends on the interface:
Building block BG41 Channel number 1
Building block BG42 Channel number 1, 2
Building block BG43 Channel number 1, 2, 3
Number of input channels, whose contents are to be read.
Range of values 1, 2.
WER1
The low word of the read values is to be filed in this flag word.
WER2
The high word of the read values is to be filed in this flag word.
PAFE
Error byte. This byte has a value of 0 when functioning correctly. If no data is
received, this byte is set at 1.

Table of Contents

Related product manuals