CPU ADAM 821x
Chapter 7 Integrated OBs, SFBs and SFCs
ADAM 8000 Manual CPU 821x – Rev 1.1
7-19
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 ADAM CPUs from Advantech 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