Specifications
sigmadue - IEC 61131-3 Function Block Library
68
Output parameters
Description
This function block is able to manage all the features present on the module IO-CB/
DM-08TS. Each of the I/O channels of the module can be programmed as either
input or output. In addition to that, two of the inputs (channel 1 and 2) can perform
pulse counting, frequency and pulse width measurements, while two of the outputs
can perform PWM (channel 3 and 4) and single pulse signal generation (channel 3).
Standard
I/O Mode
With the ChMode input the user is able to select which channel is configured as an
input or output: the channel n is an input if the n-th bit is zero, while the channel m
is an output if the m-th bit is 1. By the Output signal is possible to assign the
output states of the module, and using the Input signal is possible to read the
module’s input status.
Input Latch
For all the input channels of the modules is active the latch function. This value is avail-
able with the signal Input_Latch, while using the ResetLatch input it is possible for
each channel to reset the latch condition (the n-th bit resets the n-th input channel).
Input
Monostable
For all the input channels of the modules is active the monostable function. With
this function the n-th input is ON for a specified time starting from the rising edge
of the n-th input channel. The signals involved are:
- Input_MS for the monostable input image
- MS_TimeX for the timing settings (where X is 1…8)
MS_Time4 REAL
Input Monostable Time Channel 4 [s]
(from 5ms to 65.0s step by 5ms - default value = 1.0)
MS_Time5 REAL
Input Monostable Time Channel 5 [s]
(from 5ms to 65.0s step by 5ms - default value = 1.0)
MS_Time6 REAL
Input Monostable Time Channel 6 [s]
(from 5ms to 65.0s step by 5ms - default value = 1.0)
MS_Time7 REAL
Input Monostable Time Channel 7 [s]
(from 5ms to 65.0s step by 5ms - default value = 1.0)
MS_Time8 REAL
Input Monostable Time Channel 8 [s]
(from 5ms to 65.0s step by 5ms - default value = 1.0)
Input Type Description
Output Type Description
Confirm BOOL Function Block Confirm
Input DWORD Input State (default value = 0)
Input_Latch DWORD Latched Input State (default value = 0)
Input_MS DWORD Monostable Input (default value = 0)
Counter1 UDINT Counter Value Channel 1 (default value = 0)
Counter2 UDINT Counter Value Channel 2 (default value = 0)
Frequency1 REAL Frequency Value Channel 1 [Hz] (default value = 0.0)
Frequency2 REAL Frequency Value Channel 2 [Hz] (default value = 0.0)
Period1 REAL Period Value Channel 1 [s] (default value = 0.0)
Period2 REAL Period Value Channel 2 [s] (default value = 0.0)
Input_MS
n
CH Input
n
MS_TimeN