ENGLISH
OUTPUT MODULE
CR2011
PAGE
41
■
Data structure:
CR2011 ConfigStruct
■
Purpose:
Parameter and configuration data
can be written or read.
The data structure is assigned to the
function input "CFG_DATA" via the
ADR operator.
■
Structure components
Name
Data type
Description
GUARDTIME
TIME
Guarding time of the module [msec.]
LIFETIME
BYTE
Lifetime of the module
Ch1_2
BYTE
Config. channel 1/2
0 = disabled (OFF)
2 = binary output *
4 = analog output (PWM)
5 = analog output (PWM; current-controlled)
Ch3_4
BYTE
Config. channel 3/4
0 = disabled (OFF)
2 = binary output *
4 = analog output (PWM)
5 = analog output (PWM; current-controlled)
Ch5_6
BYTE
Config. channel 5/6
0 = disabled (OFF)
2 = binary output *
4 = analog output (PWM)
5 = analog output (PWM; current-controlled)
Ch7_8
BYTE
Config. channel 7/8
0 = disabled (OFF)
2 = binary output *
4 = analog output (PWM)
5 = analog output (PWM; current-controlled)
PwmFrq
BYTE
PWM frequency in Hz
Range = 20 to 150 Hz (100 Hz)*
Note:
Mode 5 is only available if connection is made via the outputs with
current monitoring. (see also page 27, Electrical connection).
*) default
TYPE CR2011 ConfigStruct
STRUCT
GUARDTIME: TIME;
LIFETIME: BYTE;
Ch1_2: BYTE;
Ch3_4: BYTE;
Ch5_6: BYTE;
Ch7_8: BYTE;
PwmFrq: BYTE;
END_STRUCT
END_TYPE