Ethernet Module Interface (EMI)
– API Description
Copyright IXXAT Automation GmbH
78
IEM Manual, 1.5
or in its application buffer. In case, of the serial interface the maximum length
of the data to copy from the memory of the IE Module has to be provided with-
in the "w_length" parameter, otherwise it is not used.
Remarks
-
Parameter
Dir.
Description
td_brdRef
IN
unique IEM reference
ppv_input_data
OUT
memory pointer to the shared memory input data area
pb_ready
IN
show if the data is up-to-date
w_length
IN
data length to be copied by serial interface
Return Value
Description
COM_k_OK
access to shared memory granted
COM_k_INVALID_BOARD
invalid IEM reference
COM_k_BUSY
no access to shared memory possible. Retry limit was hit
COM_k_INVALID_STATE
routine called in invalid state
COM_k_ERROR
parameter error
4.1.2.42 EMI_ioCyclDataReadRelease()
COM_e_ERROR EMI_ioCyclDataReadRelease(COM_t_BOARD_REF td_brdRef);
Description
This function is used to guarantee data consistency during access to the pro-
cess data. It unlocks the current read buffer.
Remarks
-
Parameter
Dir.
Description
td_brdRef
IN
unique IEM reference
Return Value
Description
COM_k_OK
consistent input data access
COM_k_INVALID_BOARD
invalid IEM reference
COM_k_INVALID_STATE
routine called in invalid state
COM_k_ERROR
parameter error