Ethernet Module Interface (EMI)
– API Description
Copyright IXXAT Automation GmbH
52
IEM Manual, 1.5
Parameter
Dir.
Description
b_brdNum
IN
board number used to select different IEM
Return Value
Description
COM_k_OK
reset done
COM_k_INVALID_BOARD
invalid slot number
4.1.2.3 EMI_cmdBrdInit()
COM_t_BOARD_REF EMI_cmdBrdInit(UINT8 b_brdNum,
const EMI_t_API_CONFIG *ps_config);
Description
A specific IEM located in the specified slot is allocated and initialized (Shared
Memory, BCC). The state of the MSM is updated on the host. The module ex-
pects a configuration record of type COM_t_BOARD_CONFIG located in the
acyclic memory area to configure the module.
Remarks
This function must be called prior to all other module calls. It enables the In-
dustrial Ethernet Module boot firmware to accept a new firmware download or
to start with the latest firmware from the flash memory. When calling
EMI_cmdBrdInit the CCI is not yet set up / ready for operation. The Industrial
Ethernet Module firmware contains the OS, CCI layer, BPW and the bus pro-
tocol stack code.
Parameter
Dir.
Description
b_brdNum
IN
board number used to select different IEM boards
ps_config
IN
points to structure for configuration of the mode of the EMI func-
tions
Return Value
Description
non-negative (>=0)
initialized IEM board reference
negative (<0)
IEM is not available in the specified slot
4.1.2.4 EMI_cmdBrdRelease()
COM_e_ERROR EMI_cmdBrdRelease(COM_t_BOARD_REF td_brdRef);