![VIPA SSM-BG41 Manual Download Page 56](http://html1.mh-extra.com/html/vipa/ssm-bg41/ssm-bg41_manual_1029239056.webp)
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.
Summary of Contents for SSM-BG41
Page 2: ...Lerrzeichen...
Page 8: ...Contents Manual BG41 BG42 BG43 iv Rev 99 49...
Page 10: ......
Page 16: ......
Page 26: ...Firmware s memory distribution Manual BG41 BG42 BG43 2 10 Rev 99 49...
Page 28: ......
Page 53: ...Manual BG41 BG42 BG43 Interface modules Rev 99 49 3 25 3 2 7 2 Data flow Fig 3 26 Data flow...
Page 114: ...Functional description and allocation of terminal pins Manual BG41 BG42 BG43 3 86 Rev 99 49...
Page 116: ......
Page 215: ...Manual BG41 BG42 BG43 Software Rev 99 49 4 99 Month 06h Year 95h Weekday Tuesday 02h...
Page 222: ...Application of interfaces without data handling blocks Manual BG41 BG42 BG43 4 106 Rev 99 49...
Page 224: ......
Page 258: ...Structure guidelines Manual BG41 BG42 BG43 5 34 Rev 99 49...
Page 260: ......
Page 274: ...Overview cycle load Manual BG41 BG42 BG43 6 14 Rev 99 49...
Page 275: ...Appendix A List of figures A 1 B Index of tables B 1 C Index C 1...
Page 276: ......
Page 280: ...List of figures Manual BG41 BG42 BG43 A 4 Rev 99 49...