Skip to content
Start free evaluation

PdcommGemFormattedProgramTransferInfo

Struct

Summary of a transfer result, filled by pdcomm_gem_result_formatted_program_transfer_info().

typedef struct PdcommGemFormattedProgramTransferInfo { ... } PdcommGemFormattedProgramTransferInfo

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

Members

acknowledgement

Field

ACKC7 code: the code received in S7F24, or the code this side sent for a received S7F23.

uint8_t acknowledgement

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

SEMI E5 defines 0 = accepted, 1 = permission not granted, 2 = length error, 3 = matrix overflow, 4 = PPID not found, 5 = unsupported mode, 6 = initiated for asynchronous completion, and 7 = storage limit error. Valid only when acknowledgement_present is 1.

acknowledgement_present

Field

1 when acknowledgement holds a code.

uint8_t acknowledgement_present

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

command_count

Field

Number of process commands in the received program; 0 for an S7F24 result.

size_t command_count

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

id_format

Field

PPID format, #PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY; 0 when the result carries no program.

uint8_t id_format

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

is_request

Field

1 when the result is a received S7F23 primary (equipment side), 0 for an S7F24 result.

uint8_t is_request

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

reply_ready

Field

1 when the result is an S7F23 primary that still needs an S7F24 reply.

uint8_t reply_ready

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

request_kind

Field

GEM request kind, #PDCOMM_GEM_FORMATTED_PROGRAM_TRANSFER_SEND for these results.

uint32_t request_kind

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

reserved

Field

Reserved; written as zero.

uint8_t reserved[3]

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

responded

Field

1 when S7F24 has been sent for this primary, or the result is itself an S7F24.

uint8_t responded

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

struct_size

Field

Structure size; set it to at least sizeof(PdcommGemFormattedProgramTransferInfo).

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

Receives the size written.