Ethernet Module Interface (EMI)
– API Description
Copyright IXXAT Automation GmbH
50
IEM Manual, 1.5
4 Ethernet Module Interface (EMI)
– API
Description
4.1
EMI - Ethernet Module Interface
The EMI Unit provides the required functionality to connect application and in-
dustrial Ethernet protocol. The provided functions and services include the ini-
tialization of the module and protocol, the generation of variables and the local
respective remote access of variables. Several modules are supported. The
interface functions are non-blocking. If any transmitted request requires a re-
sponse the application is responsible to request for the response.
4.1.1 Types and Macros
4.1.1.1 EMI_k_MAX_FTP_USER_NAME_PASSWORD_LEN
Maximum size of the username and the password inclusive '\0' for the FTP ac-
cess.
#define EMI_k_MAX_FTP_USER_NAME_PASSWORD_LEN (20/PLATFORM_FACTOR)
4.1.1.2 EMI_t_API_CONFIG
EMI configuration structure.
w_manual_segmentation:
For small host systems the application can deactivate the response and in-
dication queues (w_manual_segmentation = TRUE). If this is the case the
application has to reassemble the messages itself by means of
EMI_ServiceDataResponseSegment_Query
respectively
EMI_ServiceDataIndicationSegment_Query
w_watchdog_period:
Period of watchdog in milliseconds from 1 to 0xFFFF, 0 = watchdog de-
activated. This watchdog is used to monitor an availability of the IE
Module by means of the "heartbeat" signals. If the module does not an-
swer to the heartbeat request within the w_watchdog_period, the state
of the system will be automatically changed to the "Major unrecoverable
fault"