CPU ADAM 821x
Chapter 7 Integrated OBs, SFBs and SFCs
ADAM 8000 Manual CPU 821x – Rev 1.1
7-15
Via the parameter Ret_Val you get an error number in return. See the table
below for the concerning error messages:
Value Description
0000h No
error
8002h The chosen channel is not configured as counter
(Error in the hardware configuration)
8008h Parameter “Direction” outside the permissible range
8009h Parameter “Channel” outside the permissible range
9001h Internal
error:
There was no valid address for a parameter
9002h Internal hardware error:
Please call the Advantech-Service.
Per SetCounter=true the value given by PresetValue is transferred into the
according counter.
The Bit is set back from the SFC.
Value range: true, false
Ret_Val
SetCounter