Hallo to all, this is my first post.
I have a project with Anybus Compact Com C40 and DSPIC33 (host microcontroller).
With that object I would like read a file present in free memory space of Anybus (this file is before writed with FTP client) by DSPIC33.
I tought to use a sequence command below:
;---------------------------------------------------------------------------------------------------------------
static const ABCC_CmdSeqType FileHEXRead[] =
{
ABCC_CMD_SEQ( HEX_Create_Instance, HEX_Create_Instance_Response ),
ABCC_CMD_SEQ( HEX_Open_File, HEX_Open_File_Response),
ABCC_CMD_SEQ( HEX_Read_File, HEX_Read_File_Response),
ABCC_CMD_SEQ( HEX_Close_File, HEX_Close_File_Response),
ABCC_CMD_SEQ( HEX_Delete_Instance, HEX_Delete_Instance_Response),
ABCC_CMD_SEQ_END()
};
;---------------------------------------------------------------------------------------------------------------
The proble is that I do not have example how to write the single function:
HEX_Open_File, HEX_Open_File_Response, HEX_Read_File, HEX_Read_File_Response, etc…
Can you help me?