CPU ADAM 821x
Chapter 7 Integrated OBs, SFBs and SFCs
ADAM 8000 Manual CPU 821x – Rev 1.1
7-17
Define the output channel that you want to address.
Value range: 0 ... 1
Via this parameter you may activate the PWM function (true) res. deac-
tivate it (false).
Value range: true, false
Type the frequency in Hz.
Value range: 1250 ... 50000
This parameter shows the pulse duty ratio in Promille. Here you define the
relationship between pulse length and pulse break, concerned on one
period.
1 Promille = 1 Timebase
If the calculated pulse duration is no multiplication of the timebase, it is
rounded down to the next smaller time base limit.
Value range: 0 ... 1000
Via MinLen you define the minimal pulse length. Switches are only made, if
the pulse exceeds the here fixed minimum length.
Value range: 0 ... 60000
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
8005h Parameter “MinLen” outside the permissible range
8006h Parameter “Duty” outside the permissible range
8007h Parameter “Period” outside the permissible range
8008h Parameter “Timebase” 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.
Channel
Enable
Frequency
Duty
MinLen
Ret_Val