00001 #ifndef PLCCOM_RK512_H
00002 #define PLCCOM_RK512_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #define plccomRK512_ACK_TIMEOUT 10
00017
00018 ccsCOMPL_STAT plccomRK512Open ( int fd,
00019 size_t telegramLength,
00020 int qvz_time,
00021 int zvz_time,
00022 int n_retries,
00023 ccsERROR *error);
00024
00025 ccsCOMPL_STAT plccomRK512Close ( int fd,
00026 ccsERROR *error);
00027
00028 ccsCOMPL_STAT plccomRK512Send ( int fd,
00029 int send_db,
00030 int send_dw,
00031 size_t send_size,
00032 const uint16_t *send_data,
00033 ccsERROR *error);
00034
00035 ccsCOMPL_STAT plccomRK512Fetch ( int fd,
00036 int fetch_db,
00037 int fetch_dw,
00038 size_t fetch_size,
00039 uint16_t *fetch_data,
00040 ccsERROR *error);
00041
00042 #endif