Chapter 7 Integrated OBs, SFBs and SFCs
CPU ADAM 821x
7-12
ADAM 8000 Manual CPU 821x – Rev 1.1
SFC 223 PWM
This block serves the parameterization of the pulse duration modulation for
the last two output channels of X5.
You define a timebase, a period, the pulse duty ratio and min. pulse length.
The CPU determines an pulse series with an according pulse/break relation
and issues this via the according output channel.
The SFC returns a certain error code. You can see the concerning error
messages in the table at the following page.
The PWM parameters have the following relationship:
Pulse length
Pulse
break
Period length
Pulse duty ratio
1000
500
700
Output
DO
Time
Period length = timebase x period
Pulse length = (period length / 1000) x pulse duty ratio
Pulse break = period length - pulse length
The parameters have the following meaning:
Description
Parameters
DO 8xDC24V 1A
L+
.0
.1
.2
.3
.4
.5
.6
.7
F
1
2
3
4
5
6
7
8
9
I0
PWM
Ch. 0
Ch. 1
11
x
21
x
51
x