Device manual CR3105/CR3106
30
8.4.2 Function block CAN1_CANREMOTE_RXFILE
●
Library:
IFM_CANx_CR310x_Vxxxxxx
●
Purpose:
This block is integrated if files are to be received from the ifm remote
maintenance portal�
●
Parameters:
Input
Data type
Value Description
ENABLE
BOOL
TRUE
FALSE
processing the instance
no processing
RECEIVE
BOOL
��� A rising edge fetches the data from the receive buffer�
Max� size of the receive buffer: 1024 bytes
RECEIVE_DATA_ADR
DWORD
��� indication of the address in the PLC memory where the
received data is stored�
Output
Data type
Value Description
RESULT
BYTE
0
1
2
3
ready
done
busy
error
FILE_AVAILABLE
BOOL
TRUE
FALSE
ready
new data available in the receive buffer
FILE_NAME
STRING (13)
��� name of a file on the server from where the data bytes
were sent
FILE_SEGMENT
WORD
��� file reception: number of the file segment
FILE_SEGMENT_LEN
WORD
��� file reception: file segment length
FILE_SEGMENT_MAX
WORD
��� file reception: maximum number of the file segments
Files can only be sent/received if there is an online connection to the ifm
remote maintenance portal in the portal mode�