Input Description¶
EN (enable)
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
Input EN has to be continuously set to TRUE.
When the function block is called for the first time, input SLOT is checked for validity and the corresponding device is checked for correct configuration in the operating mode “IO mode”. If this is not the case, processing is aborted and an error is displayed. The function block outputs are updated as long as input EN = TRUE.
SLOT
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
This input is used to select the slot (module number) of the DC541.
The slots are numbered consecutively from right to left. Slot 1 is the first slot on the left of the CPU.
CH (channel)
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
Input is used to select the output to be pulsed.
PULSE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
Input is used to specify the ratio for the TRUE signal (on time ratio).
PAUSE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | - | - | - |
Input is used to specify the ratio for the FALSE signal (off time ratio).
CYCLE
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
WORD | - | - | µs |
Input CYCLE is used to specify the minimum switching time of the output. The output remains in the TRUE or FALSE state for at least the time specified at CYCLE.
The minimum time specified at input CYCLE must not be smaller than the cycle time of the device DC541. Depending on its configuration, the cycle time of the DC541 can be 50, 100 or 200 µs. The cycle time can be polled using the Function Block DC541_GET_CFG, output CYCLE DC541_GET_CFG.