EasyManua.ls Logo

VIPA SSM-BG41 - Page 57

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...
Manual BG41/BG42/BG43 Interface modules
Rev. 99/49 3-29
3.2.7.8 Example
The SSI module should be used with channel 1 of the building block. The building block is to be
found at the address F080h. This corresponds to the peripheral address PY128. A device which
provides measured values is connected to the input channel of the SSI module. The building block’s
error messages should be filed in the flag byte MB 199 and the module’s error messages should be
filed in the flag byte MB35.
Start OBs
OB21
SPA FB 101
NAME #PROCW
ADR =KF +128 Peripheral address of the block PY128, in accordance
with F080h.
KANR =KF +1 Channel 1 on the interface building block
PROC =KF +12 SSI procedure, code 12
FEHL =MB 199 Error code in flag byte 199
OB22
SPA FB 101
NAME #PROCW
ADR =KF +128 Peripheral address of the block PY128, in accordance
with F080h.
KANR =KF +1 Channel 1 on the interface building block
PROC =KF +12 SSI procedure, code 12
FEHL =MB 199 Error code in flag byte 199
Cycle OB
OB1
SPA FB 45
NAME #SSI_IN
ADR =KF +128 Peripheral address of the block PY128, in accordance
with F080h.
K/EI =KY 1,1 Channel 1 on the building block, input channel on
module
WER1 =MW 12 Low word of the read values in MW12
WER2 =MW 10 High word of the read values in MW10
PAFE =MB 35 Error byte filed in flag byte 35

Table of Contents

Related product manuals