pdcomm_gem_program_send
Function
Sends an S7F3 process program send.
PdcommStatus pdcomm_gem_program_send(PdcommTcpEndpoint *endpoint, const PdcommSecsItem *id, const PdcommSecsItem *body, PdcommTcpToken *out_token)The S7F4 acknowledgement (ACKC7) arrives as a #PDCOMM_GEM_PROGRAM_ACK_RECEIVED result. Requirements and budgets are as for pdcomm_gem_program_grant().
Parameters
| Name | Description |
|---|---|
endpoint | Communicating GEM endpoint with a program store. |
id | PPID item: nonempty ASCII or Binary. |
body | PPBODY item in one of the supported program body formats. |
out_token | Receives the request token; zero after every failure. Must not be NULL. |
Returns
As pdcomm_gem_program_grant(); additionally #PDCOMM_INVALID_ARGUMENT for an unsupported body format.