Function description: Digital inputs/outputs
MSX-E1516
Fig. 3-3: Event logic
NOTICE!
If the digital input filter is activated, the event logic may be
initialised only when the filter time has elapsed.
To avoid “false” events at the beginning of the application, a delay between the filter activation
(SOAP function “MSXE1516__DigitalIOSetInputFilterTime”) and the event logic initialisation (SOAP
function “MSXE1516__DigitalIOInitAndEnableEvent”) must be inserted. This delay should correspond
to the longest possible filter time, i.e. 65535
μ
s.
When the filter is activated, the digital inputs are internally set to 0. If they are externally switched to
24 V, for example, they will only be set to 1 again when the complete filter time has elapsed.
By configuring a digital output via the web interface, all other information from the “Digital I/O” page
including filter value and event logic is transferred to the MSX-E-System as well, and that at the same
time, i.e. without delay. Since the digital inputs are set to 0 during the whole filter time, a “false”
event is thus detected.
However, if you set an output directly via the SOAP function (e.g. sample in the CD directory
“MSX-E1516\SOAP\Samples \Windows\C#.NET_2005\ReadWrite”), no “false” events will occur.
www.addi-data.com 16