Chapter 11 Integrated OBs SFBs SFCs Manual VIPA CPU 21x
11-26 HB103E - Rev. 05/45
Offset Input, Offset Output
The terminal allows you to set in- and output byte. The TD200 from
Siemens supports only a size of 16Byte for in- and outputs.
The CPUs from VIPA enables the access to the complete process image
(each 128Byte for in- and outputs).
By setting an offset, you may overlay the periphery range of 128Byte with a
window of 16Byte for in- and output. The following picture illustrates this:
Input
Periphery 128 Byte
OFFSET_INPUT
16 Byte
TD200
Output
Periphery 128 Byte
OFFSET_OUTPUT
16 Byte
TD200
Return Value
Type the bit memory byte (marker byte) where the resulting message
should be stored.
For specification of the (error) messages see the table below.
Value Description
00h no error
10h Error at MPI_ADR
11h MPI_ADR contains MPI address of the CPU
12h Value in MPI_ADR exceeds max. MPI address
20h Error in OFFSET_INPUT
21h Value in OFFSET_INPUT is too high
30h Error in OFFSET_OUTPUT
31h Value in OFFSET_OUTPUT is too high
40h Error in TD_STRUCT_PTR
41h TD_STRUCT_PTR points not to a DB
50h Error in FUNC_KEY_PTR
51h Error in FUNC_KEY_PTR
52h FUNC_KEY_PTR points not to an I, Q or M area
60h An internal error occurred
OFFSET_INPUT
OFFSET_OUTPUT
RET_VAL
Messages