Skip to content
Start free evaluation

pdcomm_gem_program_request

Function

Sends an S7F5 process program request.

PdcommStatus pdcomm_gem_program_request(PdcommTcpEndpoint *endpoint, const PdcommSecsItem *id, PdcommTcpToken *out_token)

Declared in: #include <pdcomm_gem_programs.h>

The S7F6 reply arrives as a #PDCOMM_GEM_PROGRAM_DATA_RECEIVED result. The reply must name exactly the requested PPID, format included; otherwise the result is #PDCOMM_GEM_INVALID_RESPONSE. Requirements and budgets are as for pdcomm_gem_program_grant().

Parameters

NameDescription
endpointCommunicating GEM endpoint with a program store.
idPPID item: nonempty ASCII or Binary.
out_tokenReceives the request token; zero after every failure. Must not be NULL.

Returns

As pdcomm_gem_program_grant().