SECS/GEM C API
The public C API of SECS/GEM.
1806 symbols
PDCOMM_BACKPRESSUREWork cannot be accepted until earlier work is drained.PDCOMM_GEM300_CAPABILITY_INFO_VERSIONValue for the version field of the catalog, profile, and capability info structures.PDCOMM_GEM300_CAPABILITY_OPTIONS_VERSIONValue for PdcommGem300CapabilityOptions::version.PDCOMM_GEM300_CARRIERCapability axis: carrier management (SEMI E87).PDCOMM_GEM300_CONTROL_JOBCapability axis: control job management (SEMI E94).PDCOMM_GEM300_EXPERIMENTALCapability status label 3 (experimental) that the application assigns to its own capability; the catalog stores it without interpreting it.PDCOMM_GEM300_MODEL_ONLYCapability status label 2 (model only) that the application assigns to its own capability; the catalog stores it without interpreting it.PDCOMM_GEM300_PLANNEDCapability status label 1 (planned) that the application assigns to its own capability; the catalog stores it without interpreting it.PDCOMM_GEM300_PROCESS_JOBCapability axis: process job management (SEMI E40).PDCOMM_GEM300_SUBSTRATECapability axis: substrate tracking (SEMI E90).PDCOMM_GEM300_UNVERIFIEDVerification label value 1, currently the only defined value; the catalog accepts and reports it.PDCOMM_GEM_ALARM_ACKOutcome: an Equipment received the S5F2 acknowledgement (ACKC5) of a W=1 alarm report.PDCOMM_GEM_ALARM_ENABLE_ACKOutcome: an alarm enable/disable acknowledgement (ACKC5) was handled.PDCOMM_GEM_ALARM_LISTRequest kind of an S5F5 List Alarms Request.PDCOMM_GEM_ALARM_LIST_RECEIVEDOutcome: a Host received a validated S5F6 List Alarm Data reply.PDCOMM_GEM_ALARM_LIST_REPLIEDOutcome: an Equipment answered an S5F5 request with S5F6 from its alarm store.PDCOMM_GEM_ALARM_OPTIONS_VERSIONRequired value of PdcommGemAlarmOptions::version.PDCOMM_GEM_ALARM_RECEIVEDOutcome: a Host received a validated S5F1 Alarm Report Send.PDCOMM_GEM_ALARM_REPORTRequest kind of an S5F1 Alarm Report Send published with W=1.PDCOMM_GEM_ALREADY_ONLINEOutcome: equipment already ON-LINE received S1F17 and answered S1F18 with ONLACK 2.PDCOMM_GEM_ANNOTATED_QUERYQuery kind and request kind for an Annotated Individual Report Request (S6F21) by RPTID.PDCOMM_GEM_ANNOTATED_QUERY_RECEIVEDOutcome: a Host received a validated Annotated Individual Report Data reply (S6F22).PDCOMM_GEM_ARE_YOU_ONLINERequest kind: S1F1 Are You There Request.PDCOMM_GEM_ATTEMPT_ONLINEControl state: E30 ATTEMPT ON-LINE.PDCOMM_GEM_BINDING_OPTIONS_VERSIONVersion value for PdcommGemBindingOptions::version.PDCOMM_GEM_CHANGE_CONSTANTSRequest kind for a New Equipment Constant Send (S2F15) from pdcomm_gem_host_change_constants().PDCOMM_GEM_COMMAND_ACCEPTED_LATERHCACK 4: acknowledged, the command will be performed and completion is signaled later by an event.PDCOMM_GEM_COMMAND_ACKOutcome: a Host received a validated S2F42 Host Command Acknowledge.PDCOMM_GEM_COMMAND_ALREADY_IN_CONDITIONHCACK 5: rejected, the equipment is already in the desired condition.PDCOMM_GEM_COMMAND_CANNOT_PERFORMHCACK 2: the command cannot be performed now.PDCOMM_GEM_COMMAND_COMPLETEDHCACK 0: acknowledged, the command has been performed.PDCOMM_GEM_COMMAND_NO_SUCH_OBJECTHCACK 6: no such object exists (used by S2F50 for an unknown OBJSPEC).PDCOMM_GEM_COMMAND_OPTIONS_VERSIONRequired value of PdcommGemCommandOptions::version.PDCOMM_GEM_COMMAND_PARAMETER_ERRORSHCACK 3: at least one parameter is invalid; CPACK entries describe the problems.PDCOMM_GEM_COMMAND_RECEIVEDOutcome: an Equipment received a validated S2F41 Host Command Send.PDCOMM_GEM_COMMAND_UNKNOWNHCACK 1: the command does not exist.PDCOMM_GEM_COMMUNICATINGCommunication state: E30 COMMUNICATING; GEM requests are allowed.PDCOMM_GEM_COMMUNICATION_ESTABLISHEDOutcome: communication was established (E30 COMMUNICATING).PDCOMM_GEM_COMMUNICATION_REJECTEDOutcome: S1F14 with a nonzero COMMACK (1, denied) was received.PDCOMM_GEM_CONSTANT_APPLYEquipment decision and EAC 0: accept and apply the new values.PDCOMM_GEM_CONSTANT_CANNOT_PERFORMEquipment decision and EAC 2: denied, busy (cannot perform now).PDCOMM_GEM_CONSTANT_CHANGES_RECEIVEDOutcome: an Equipment received a validated S2F15 that awaits a decision.PDCOMM_GEM_CONSTANT_CHANGE_ACKOutcome: a Host received the New Equipment Constant Acknowledge (S2F16); the EAC (0 to 63) is in PdcommGemResultInfo::acknowledgement.PDCOMM_GEM_CONSTANT_CURRENTField selector: the current value (ECV); valid only for the local pdcomm_gem_equipment_constant_get().PDCOMM_GEM_CONSTANT_DEFAULTField selector: the default value (ECDEF).PDCOMM_GEM_CONSTANT_IDField selector: the constant ID (ECID).PDCOMM_GEM_CONSTANT_MAXIMUMField selector: the maximum value (ECMAX).PDCOMM_GEM_CONSTANT_METADATARequest kind for an Equipment Constant Namelist Request (S2F29); used by pdcomm_gem_host_constant_request().PDCOMM_GEM_CONSTANT_METADATA_RECEIVEDOutcome: a Host received a validated Equipment Constant Namelist reply (S2F30).PDCOMM_GEM_CONSTANT_METADATA_REPLIEDOutcome: an Equipment answered an S2F29 automatically with S2F30 from its constant store.PDCOMM_GEM_CONSTANT_MINIMUMField selector: the minimum value (ECMIN).PDCOMM_GEM_CONSTANT_NAMEField selector: the name (ECNAME), as an ASCII item.PDCOMM_GEM_CONSTANT_OPTIONS_VERSIONVersion value for PdcommGemConstantOptions::version.PDCOMM_GEM_CONSTANT_OUT_OF_RANGEEquipment decision and EAC 3: denied, at least one value is out of range.PDCOMM_GEM_CONSTANT_UNITSField selector: the units, as an ASCII item.PDCOMM_GEM_CONSTANT_VALUESRequest kind for an Equipment Constant Request (S2F13); used by pdcomm_gem_host_constant_request().PDCOMM_GEM_CONSTANT_VALUES_RECEIVEDOutcome: a Host received a validated Equipment Constant Data reply (S2F14).PDCOMM_GEM_CONSTANT_VALUES_REPLIEDOutcome: an Equipment answered an S2F13 automatically with S2F14 from its constant store.PDCOMM_GEM_CONTROL_UNAVAILABLEControl state and online mode value reported for a host role.PDCOMM_GEM_DATA_CACHEDpdcomm_gem_equipment_data_get() field selector: the cached value, or NULL when no value is cached.PDCOMM_GEM_DATA_DIRECTORYRequest kind for a Data Variable Namelist Request (S1F21).PDCOMM_GEM_DATA_DIRECTORY_RECEIVEDOutcome: a Host received a validated Data Variable Namelist reply (S1F22).PDCOMM_GEM_DATA_DIRECTORY_REPLIEDOutcome: an Equipment answered an S1F21 automatically with S1F22.PDCOMM_GEM_DATA_NAMEpdcomm_gem_equipment_data_get() field selector: the name, as an owned ASCII item.PDCOMM_GEM_DATA_OPTIONS_VERSIONVersion value for PdcommGemDataOptions::version.PDCOMM_GEM_DATA_UNITSpdcomm_gem_equipment_data_get() field selector: the units, as an owned ASCII item.PDCOMM_GEM_DEFINE_REPORTSRequest kind for a Host Define Report request (S2F33).PDCOMM_GEM_DEFINE_REPORTS_ACKOutcome: a Define Report Acknowledge (S2F34) was exchanged.PDCOMM_GEM_DIRECTORY_NAMEDirectory field selector: the name (DVVALNAME or CENAME), as an ASCII item.PDCOMM_GEM_DIRECTORY_OPTIONS_VERSIONVersion value for PdcommGemDirectoryOptions::version.PDCOMM_GEM_DIRECTORY_UNITSDirectory field selector: the units of a data variable entry, as an ASCII item.PDCOMM_GEM_DIRECTORY_VARIABLE_IDSDirectory field selector: the VIDs of an event entry, as one U4 array item.PDCOMM_GEM_DISCONNECTEDCommunication state: the HSMS session is not SELECTED.PDCOMM_GEM_ENABLED_ALARM_LISTRequest kind of an S5F7 List Enabled Alarm Request.PDCOMM_GEM_ENABLED_ALARM_LIST_RECEIVEDOutcome: a Host received a validated S5F8 List Enabled Alarm Data reply.PDCOMM_GEM_ENABLED_ALARM_LIST_REPLIEDOutcome: an Equipment answered an S5F7 request with S5F8 from its alarm store.PDCOMM_GEM_ENABLE_ALARMRequest kind of an S5F3 Enable/Disable Alarm Send sent with W=1.PDCOMM_GEM_ENABLE_EVENTSRequest kind for a Host Enable/Disable Event Report request (S2F37).PDCOMM_GEM_ENABLE_EVENTS_ACKOutcome: an Enable/Disable Event Report Acknowledge (S2F38) was exchanged.PDCOMM_GEM_ENHANCED_COMMAND_ACKOutcome: a Host received a validated S2F50 Enhanced Remote Command Acknowledge.PDCOMM_GEM_ENHANCED_COMMAND_OPTIONS_VERSIONRequired value of PdcommGemEnhancedCommandOptions::version.PDCOMM_GEM_ENHANCED_COMMAND_RECEIVEDOutcome: an Equipment received a validated S2F49 Enhanced Remote Command.PDCOMM_GEM_ENHANCED_REMOTE_COMMANDRequest kind of an S2F49 Enhanced Remote Command.PDCOMM_GEM_EQUIPMENTGEM role value for equipment (::PdcommGemState::role).PDCOMM_GEM_EQUIPMENT_IDENTITYOutcome: a host received S1F2 with the equipment model (MDLN) and software revision (SOFTREV); read them with pdcomm_gem_result_body().PDCOMM_GEM_EQUIPMENT_OFFLINEControl state: E30 EQUIPMENT OFF-LINE (operator has the equipment off-line).PDCOMM_GEM_ERROR_ABORTEDGEM error: the peer aborted the transaction with a function 0 (SxF0) reply.PDCOMM_GEM_ERROR_ACKGEM error: an acknowledgement code is outside the range the message defines.PDCOMM_GEM_ERROR_BODYGEM error: the body structure, item formats, or item counts do not match the message definition.PDCOMM_GEM_ERROR_CODECGEM error: the body is not valid SECS-II or exceeds the configured item limits.PDCOMM_GEM_ERROR_CORRELATIONGEM error: reply entries do not correspond to the requested identifiers (count or identifier mismatch).PDCOMM_GEM_ERROR_DISCONNECTEDGEM error: the GEM role saw no SELECTED HSMS session when it processed the message.PDCOMM_GEM_ERROR_MISSING_BODYGEM error: the message requires a body but has none.PDCOMM_GEM_ERROR_RESPONSEGEM error: the reply does not fit the pending request, or another GEM protocol rule failed without a more specific code.PDCOMM_GEM_ERROR_STATEGEM error: the message is not allowed in the current communication or control state.PDCOMM_GEM_ERROR_UNEXPECTED_BODYGEM error: the message must be header-only but has a body.PDCOMM_GEM_ERROR_UNSUPPORTEDGEM error: this role or configuration does not support the stream and function, or a reply has an unexpected stream or function.PDCOMM_GEM_ERROR_WAITGEM error: the W-bit (reply expected) does not match the message definition.PDCOMM_GEM_ESTABLISHRequest kind: S1F13 Establish Communications Request, from pdcomm_gem_begin_communication().PDCOMM_GEM_EVENT_ACKOutcome: an Equipment received the Event Report Acknowledge (S6F12).PDCOMM_GEM_EVENT_DIRECTORYRequest kind for a Collection Event Namelist Request (S1F23).PDCOMM_GEM_EVENT_DIRECTORY_RECEIVEDOutcome: a Host received a validated Collection Event Namelist reply (S1F24).PDCOMM_GEM_EVENT_DIRECTORY_REPLIEDOutcome: an Equipment answered an S1F23 automatically with S1F24 from its event directory.PDCOMM_GEM_EVENT_QUERYQuery kind and request kind for an Event Report Request (S6F15) by CEID.PDCOMM_GEM_EVENT_QUERY_RECEIVEDOutcome: a Host received a validated Event Report Data reply (S6F16).PDCOMM_GEM_EVENT_RECEIVEDOutcome: a Host received a validated Event Report Send (S6F11).PDCOMM_GEM_EVENT_REPORTRequest kind for an Equipment Event Report Send (S6F11) from pdcomm_gem_equipment_publish_event().PDCOMM_GEM_FAILEDResult kind: a pending GEM request ended without a valid reply.PDCOMM_GEM_FORMATTED_PROGRAM_ACK_RECEIVEDGEM result outcome: the equipment received the S7F28 acknowledge.PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_BEFOREDependency field selector for BCDS (before command codes).PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_IMMEDIATE_AFTERDependency field selector for IACDS (immediately-after command codes).PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_IMMEDIATE_BEFOREDependency field selector for IBCDS (immediately-before command codes).PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_NON_AFTERDependency field selector for NACDS (not-after command codes).PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_NON_BEFOREDependency field selector for NBCDS (not-before command codes).PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_OPTIONS_VERSIONRequired value of PdcommGemFormattedProgramCapabilityOptions::version.PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_RECEIVEDGEM result outcome: the equipment received an S7F21 request.PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_RESULTGEM result outcome: the host received valid S7F22 capability data.PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_SENDGEM request kind of an S7F21 capability request.PDCOMM_GEM_FORMATTED_PROGRAM_CREATE_ONLYStore action: add the program; fails when the PPID already exists.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_CAPABILITY_MISSINGIssue (indeterminate): no capability catalog is installed or capabilities are not configured.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_CAPABILITY_PARAMETER_UNVERIFIEDIssue (indeterminate): a catalog command has parameter descriptors, whose meaning the dry run does not evaluate; command_index is the catalog command index and observed the descriptor count.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_COMMAND_COUNT_EXCEEDEDIssue (reject): the program has more commands than CMDMAX; observed is the count and expected is CMDMAX.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_DEPENDENCY_UNVERIFIEDIssue (indeterminate): a catalog command declares a nonzero BLKDEF or dependencies, which the dry run does not evaluate; command_index is the catalog command index.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ENCODED_BYTES_EXCEEDEDIssue (reject): the encoded program is larger than BYTMAX; observed is the size and expected is BYTMAX.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_INDETERMINATEDry-run outcome: at least one check is indeterminate; execution may still be started.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_INFO_VERSIONRequired input value of PdcommGemFormattedProgramDryRunInfo::version.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_COMMAND_INDEX_PRESENTIssue presence bit: PdcommGemFormattedProgramDryRunIssueInfo::command_index is valid.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_EXPECTED_PRESENTIssue presence bit: PdcommGemFormattedProgramDryRunIssueInfo::expected is valid.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_FIELD_INDEX_PRESENTIssue presence bit: PdcommGemFormattedProgramDryRunIssueInfo::field_index is valid.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_INFO_VERSIONRequired input value of PdcommGemFormattedProgramDryRunIssueInfo::version.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_OBSERVED_PRESENTIssue presence bit: PdcommGemFormattedProgramDryRunIssueInfo::observed is valid.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_MODEL_MISMATCHIssue (reject): the program's MDLN differs from the catalog's MDLN.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_OPTIONS_VERSIONRequired value of PdcommGemFormattedProgramDryRunOptions::version.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_PASSDry-run outcome: no issue was found.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_POLICY_V1Dry-run policy version 1, the only supported policy.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_PROGRAM_PARAMETER_UNVERIFIEDIssue (indeterminate): a program command has parameters, whose meaning the dry run does not evaluate; command_index is the program command index and observed the parameter count.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_REJECTDry-run outcome: the program contradicts the capability catalog; execution is refused.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_REQUIRED_COMMAND_MISSINGIssue (reject): a required catalog command is absent from the program.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_SOFTWARE_REVISION_MISMATCHIssue (reject): the program's SOFTREV differs from the catalog's SOFTREV.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_UNKNOWN_ASCII_COMMANDIssue (reject): an ASCII command code is not in the catalog; command_index is the program command index.PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_UNSIGNED_COMMAND_UNMAPPEDIssue (indeterminate): an unsigned-integer command code cannot be matched against ASCII catalog codes; command_index is the program command index.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_CANCELAction kind: cancel the execution; carries the index of the first command not applied.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_CANCEL_NEXT_COMMAND_INDEX_PRESENTAction presence bit: cancel_next_command_index is valid (Cancel).PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_COMMAND_PRESENTAction presence bit: a command code and parameters are available (Step).PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_INFO_VERSIONRequired input value of PdcommGemFormattedProgramExecutionActionInfo::version.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_MODEL_PRESENTAction presence bit: the program MDLN is available (Start).PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_NONEAction kind: no action (used when nothing is pending).PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_PROGRAM_ID_PRESENTAction presence bit: the program identifier is available (Start).PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_RESULT_ACCEPTEDAction result for Start only: started; the state becomes RUNNING.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_RESULT_APPLIEDAction result for Step only: the command was applied; the next command index advances.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_RESULT_CANCELLEDAction result for Cancel only: cancelled; the state becomes CANCELLED.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_RESULT_FAILEDAction result for any action: the action failed; the state becomes FAILED.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_RESULT_OUTCOME_UNKNOWNAction result for any action: the effect is unknown; the state becomes OUTCOME_UNKNOWN.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_RESULT_REJECTEDAction result: refused.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_SOFTWARE_REVISION_PRESENTAction presence bit: the program SOFTREV is available (Start).PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_STARTAction kind: start the program; carries the program identity and the dry-run admission data.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_STEPAction kind: apply one program command; carries the command code and parameters.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_TOKEN_VERSIONRequired value of PdcommGemFormattedProgramExecutionActionToken::version.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_APPLICATION_DETAIL_PRESENTSnapshot presence bit: the terminal report has nonempty detail bytes.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_APPLICATION_REJECTEDTerminal state: the application rejected a Start or Step action.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_APPLICATION_REPORT_PRESENTSnapshot presence bit: a terminal report was recorded (application_report_kind and application_report_id are valid).PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_CANCELLEDTerminal state: the application confirmed a Cancel action.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_CANCEL_PENDINGExecution state: a Cancel action waits for the application's result.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_COMPLETEDTerminal state: the application reported completion after every command was applied.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_EMPTYExecution state: no execution has been started on this endpoint.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_FAILEDTerminal state: the application reported a failed action or a failed execution.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_INFO_VERSIONRequired input value of PdcommGemFormattedProgramExecutionInfo::version.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_OUTCOME_UNKNOWNTerminal state: the application could not determine what the machine did.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_PENDING_ACTION_PRESENTSnapshot presence bit: an action is pending (pending_kind and pending_action_sequence are valid).PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_RUNNINGExecution state: started, with no action pending.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_START_PENDINGExecution state: the Start action waits for the application's result.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_STEP_PENDINGExecution state: a Step action waits for the application's result.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_TERMINAL_COMPLETETerminal report: the execution completed.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_TERMINAL_FAILTerminal report: the execution failed.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_TERMINAL_OUTCOME_UNKNOWNTerminal report: the outcome is unknown.PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_TOKEN_VERSIONRequired value of PdcommGemFormattedProgramExecutionToken::version.PDCOMM_GEM_FORMATTED_PROGRAM_OPTIONS_VERSIONValue for #PdcommGemFormattedProgramOptions::version.PDCOMM_GEM_FORMATTED_PROGRAM_QUERY_OPTIONS_VERSIONValue for #PdcommGemFormattedProgramQueryOptions::version.PDCOMM_GEM_FORMATTED_PROGRAM_QUERY_RECEIVEDGEM result outcome: the equipment received an S7F25 request.PDCOMM_GEM_FORMATTED_PROGRAM_QUERY_RESULTGEM result outcome: the host received the S7F26 program data.PDCOMM_GEM_FORMATTED_PROGRAM_QUERY_SENDGEM request kind of an S7F25 Formatted Process Program Request.PDCOMM_GEM_FORMATTED_PROGRAM_RECEIVEDGEM result outcome: the host received an S7F27 verification report.PDCOMM_GEM_FORMATTED_PROGRAM_REPLACE_ONLYStore action: replace an existing program; fails when the PPID is absent.PDCOMM_GEM_FORMATTED_PROGRAM_RESPOND_ONLYStore action: send the S7F24 acknowledge without changing the store.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_EMPTYSelection state: no program is selected.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_INFO_VERSIONValue for #PdcommGemFormattedProgramSelectionInfo::version.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_READYSelection state: the selected program is unchanged in the store and in the current session.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALESelection state: a program is selected but is no longer valid; see the stale reason.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALE_CLEAREDValidation result: no program is selected.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALE_DISCONNECTEDStale reason: the HSMS session in which the selection was made has ended.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALE_ENTRY_CHANGEDStale reason: the selected store entry was replaced.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALE_ENTRY_DELETEDStale reason: the selected PPID was removed from the store.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALE_NONEStale reason: the selection is not stale.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALE_SESSION_CHANGEDStale reason: the current HSMS session generation differs from the one the selection was made in.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALE_TOKEN_MISMATCHValidation result: the token does not match the current selection.PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_TOKEN_VERSIONValue for #PdcommGemFormattedProgramSelectionToken::version.PDCOMM_GEM_FORMATTED_PROGRAM_SENDGEM request kind of an S7F27 Process Program Verification Send.PDCOMM_GEM_FORMATTED_PROGRAM_STORE_INFO_VERSIONValue for the version field of the store info structures.PDCOMM_GEM_FORMATTED_PROGRAM_TRANSFER_ACK_RECEIVEDGEM result outcome: the host received the S7F24 acknowledge.PDCOMM_GEM_FORMATTED_PROGRAM_TRANSFER_OPTIONS_VERSIONValue for #PdcommGemFormattedProgramTransferOptions::version.PDCOMM_GEM_FORMATTED_PROGRAM_TRANSFER_RECEIVEDGEM result outcome: the equipment received an S7F23 program.PDCOMM_GEM_FORMATTED_PROGRAM_TRANSFER_SENDGEM request kind of an S7F23 Formatted Process Program Send.PDCOMM_GEM_FORMATTED_PROGRAM_UPSERTStore action: add the program, or replace the entry with the same PPID.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_ACK_RECEIVEDGEM result outcome: the equipment received the S7F28 acknowledgement of its S7F27 report.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_GRANT_RECEIVEDGEM result outcome: the equipment received an S7F30 grant (granted or denied).PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_OPTIONS_VERSIONRequired value of PdcommGemFormattedProgramVerificationNegotiationOptions::version.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_RECEIVEDGEM result outcome: the host received an S7F29 inquiry.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_SENDGEM request kind of an S7F29 verification inquiry.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_STATE_PREPAREDNegotiation state: an equipment-side record (prepared, grant, acknowledgement, or failure result).PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_STATE_RECEIVEDNegotiation state: a host-side S7F29 inquiry that has not been answered yet.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_STATE_RESPONDEDNegotiation state: a host-side S7F29 inquiry answered with S7F30.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_TERMINAL_DENIEDTerminal value: denied with a nonzero PPGNT code.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_TERMINAL_DISCONNECTEDTerminal value: the HSMS session was disconnected or deselected first.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_TERMINAL_GRANTEDTerminal value: granted.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_TERMINAL_NONETerminal value: not finished, or finished by a protocol error without a more specific reason.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_TERMINAL_TIMED_OUTTerminal value: the transaction ended with a T3 reply timeout or T6 control timeout.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_REQUEST_ACK_RECEIVEDGEM result outcome: the host received the S7F32 acknowledge.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_REQUEST_OPTIONS_VERSIONValue for #PdcommGemFormattedProgramVerificationRequestOptions::version.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_REQUEST_RECEIVEDGEM result outcome: the equipment received an S7F31 request.PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_REQUEST_SENDGEM request kind of an S7F31 Verification Request Send.PDCOMM_GEM_HOSTGEM role value for a host (::PdcommGemState::role).PDCOMM_GEM_HOST_OFFLINEControl state: E30 HOST OFF-LINE (equipment is willing to go on-line; the host has not accepted).PDCOMM_GEM_IGNOREDResult kind: the event is not GEM traffic for this role.PDCOMM_GEM_INDIVIDUAL_QUERYQuery kind and request kind for an Individual Report Request (S6F19) by RPTID.PDCOMM_GEM_INDIVIDUAL_QUERY_RECEIVEDOutcome: a Host received a validated Individual Report Data reply (S6F20).PDCOMM_GEM_INVALID_RESPONSEResult kind: a reply matched a pending request but failed validation.PDCOMM_GEM_LINK_REPORTSRequest kind for a Host Link Event Report request (S2F35).PDCOMM_GEM_LINK_REPORTS_ACKOutcome: a Link Event Report Acknowledge (S2F36) was exchanged.PDCOMM_GEM_LOCALOnline mode: an accepted ON-LINE transition enters ON-LINE LOCAL.PDCOMM_GEM_NAMES_RECEIVEDOutcome: a host received a valid S1F12; read the entries with pdcomm_gem_result_status_name().PDCOMM_GEM_NOT_COMMUNICATINGCommunication state: E30 NOT COMMUNICATING.PDCOMM_GEM_OFFLINERequest kind: S1F15 Request OFF-LINE.PDCOMM_GEM_OFFLINE_ACCEPTEDOutcome: equipment received S1F15 and answered S1F16 with OFLACK 0; an ON-LINE control state changes to HOST OFF-LINE, other states are unchanged.PDCOMM_GEM_OFFLINE_ACKOutcome: a host received S1F16; acknowledgement holds OFLACK (0).PDCOMM_GEM_ONLINERequest kind: S1F17 Request ON-LINE.PDCOMM_GEM_ONLINE_ACCEPTEDOutcome: the equipment went ON-LINE.PDCOMM_GEM_ONLINE_ACKOutcome: a host received S1F18; acknowledgement holds ONLACK (0 accepted, 1 not allowed, 2 already ON-LINE).PDCOMM_GEM_ONLINE_LOCALControl state: E30 ON-LINE LOCAL.PDCOMM_GEM_ONLINE_REJECTEDOutcome: equipment in EQUIPMENT OFF-LINE or ATTEMPT ON-LINE received S1F17 and answered S1F18 with ONLACK 1 (not allowed).PDCOMM_GEM_ONLINE_REMOTEControl state: E30 ON-LINE REMOTE.PDCOMM_GEM_OPERATOR_ONLINERequest kind: the equipment's operator-initiated S1F1 ON-LINE attempt.PDCOMM_GEM_OPTIONS_VERSIONCurrent version of ::PdcommGemHostOptions and ::PdcommGemEquipmentOptions.PDCOMM_GEM_OUTCOME_NONEOutcome: none (ignored, failed, invalid, and unhandled results, and results without a specific outcome).PDCOMM_GEM_PRIMARYResult kind: a received primary message was processed.PDCOMM_GEM_PROGRAM_ACK_RECEIVEDResult outcome: an S7F4 or S7F18 acknowledgement (ACKC7) was received.PDCOMM_GEM_PROGRAM_BODYField selector for pdcomm_gem_result_program_item(): the PPBODY.PDCOMM_GEM_PROGRAM_CONFIRMEDDurability: an unconfirmed installation was accepted with pdcomm_gem_program_confirm_reply().PDCOMM_GEM_PROGRAM_CREATEPut mode: create a new program; fail if the PPID exists.PDCOMM_GEM_PROGRAM_DATA_RECEIVEDResult outcome: an S7F6 program data reply was received.PDCOMM_GEM_PROGRAM_DELETERequest kind of S7F17 delete process program send.PDCOMM_GEM_PROGRAM_DIRECTORYRequest kind of S7F19 current equipment process program directory request.PDCOMM_GEM_PROGRAM_DIRECTORY_RECEIVEDResult outcome: an S7F20 directory reply was received.PDCOMM_GEM_PROGRAM_DURABILITY_NONEDurability: no change was installed.PDCOMM_GEM_PROGRAM_GRANTRequest kind of S7F1 process program load inquire (grant request).PDCOMM_GEM_PROGRAM_GRANT_OPTIONALGrant policy: an incoming S7F3 without a grant is accepted when no other grant is active.PDCOMM_GEM_PROGRAM_GRANT_RECEIVEDResult outcome: an S7F2 grant (PPGNT) was received.PDCOMM_GEM_PROGRAM_GRANT_REQUIREDGrant policy: an incoming S7F3 needs a prior accepted S7F1 grant for the same PPID.PDCOMM_GEM_PROGRAM_IDField selector for pdcomm_gem_result_program_item(): a PPID.PDCOMM_GEM_PROGRAM_OPTIONS_VERSIONRequired version of ::PdcommGemProgramOptions.PDCOMM_GEM_PROGRAM_RECEIVEDResult outcome: a valid incoming S7F1, F3, F5, F17, or F19 request was received.PDCOMM_GEM_PROGRAM_REPLACEPut mode: replace an existing program; fail if the PPID does not exist.PDCOMM_GEM_PROGRAM_REQUESTRequest kind of S7F5 process program request.PDCOMM_GEM_PROGRAM_SENDRequest kind of S7F3 process program send.PDCOMM_GEM_PROGRAM_SYNCEDDurability: the snapshot file was replaced and its parent directory synchronized.PDCOMM_GEM_PROGRAM_UNCONFIRMEDDurability: the snapshot file was replaced, but the directory sync failed (#PDCOMM_PROGRAM_UNCONFIRMED).PDCOMM_GEM_PROGRAM_UPSERTPut mode: create the program or replace an existing one.PDCOMM_GEM_PROGRAM_VOLATILEDurability: the change was applied to a RAM store.PDCOMM_GEM_REMOTEOnline mode: an accepted ON-LINE transition enters ON-LINE REMOTE.PDCOMM_GEM_REMOTE_COMMANDRequest kind of an S2F41 Host Command Send.PDCOMM_GEM_REPLIEDOutcome: a received primary was answered automatically and has no more specific outcome, for example S1F1 answered with S1F2.PDCOMM_GEM_REPORT_OPTIONS_VERSIONVersion value for PdcommGemReportOptions::version.PDCOMM_GEM_REPORT_QUERY_RECEIVEDOutcome: an Equipment received a valid S6F15, S6F19, or S6F21 that awaits pdcomm_gem_equipment_respond_report_query().PDCOMM_GEM_RESPONSEResult kind: a valid reply completed a pending GEM request.PDCOMM_GEM_SOURCE_CONSTANTBinding source kind: the current value of an equipment constant from pdcomm_gem_equipment_configure_constants().PDCOMM_GEM_SOURCE_DATABinding source kind: a data variable from pdcomm_gem_equipment_configure_data_variables().PDCOMM_GEM_SOURCE_STATUSBinding source kind: a status variable registered with pdcomm_gem_equipment_status_register().PDCOMM_GEM_SPOOL_ACTIVATEDMutation: spooling became active because communication is down and spooling is enabled.PDCOMM_GEM_SPOOL_CAPTUREDMutation: a message was stored; entry_id names it and affected_count counts overwritten entries.PDCOMM_GEM_SPOOL_CONFIGURERequest kind of an S2F43 reset spooling streams and functions request.PDCOMM_GEM_SPOOL_CONFIGUREDMutation: spool policy and selection were replaced (initial snapshot, local configuration, or accepted S2F43).PDCOMM_GEM_SPOOL_CONFIG_ACKResult outcome: Host received a valid S2F44 reset spooling acknowledge.PDCOMM_GEM_SPOOL_CONFIG_DATAResult outcome: Host received a valid S2F60 carrying the current selection.PDCOMM_GEM_SPOOL_CONFIRMEDDurability: an unconfirmed reply was accepted with pdcomm_gem_spool_confirm_reply().PDCOMM_GEM_SPOOL_CONTROLRequest kind of an S6F23 request spooled data (transmit or purge).PDCOMM_GEM_SPOOL_CONTROL_ACKResult outcome: Host received a valid S6F24 request spooled data acknowledge.PDCOMM_GEM_SPOOL_DELIVERYRequest kind of a spooled message sent by pdcomm_gem_spool_send_next().PDCOMM_GEM_SPOOL_DELIVERY_FAILEDResult outcome: a delivery attempt failed (T3, cancellation, disconnect, write failure, or invalid reply).PDCOMM_GEM_SPOOL_DELIVERY_RESPONSEResult outcome: the matching secondary reply to a W1 spooled message arrived.PDCOMM_GEM_SPOOL_DELIVERY_WRITTENResult outcome: a W0 spooled message was completely written to the local socket.PDCOMM_GEM_SPOOL_DISCARDEDMutation: a selected message was discarded because the spool is full; only statistics changed.PDCOMM_GEM_SPOOL_DISCARD_NEWOverflow policy: when the spool is full, discard the new message (E30 OverWriteSpool false).PDCOMM_GEM_SPOOL_DURABILITY_NONEDurability: no change was installed.PDCOMM_GEM_SPOOL_MUTATION_NONEMutation: nothing was changed.PDCOMM_GEM_SPOOL_OPTIONS_VERSIONRequired version of ::PdcommGemSpoolOptions and ::PdcommGemSpoolHostOptions.PDCOMM_GEM_SPOOL_OVERWRITE_OLDESTOverflow policy: when the spool is full, remove the oldest messages to make room (E30 OverWriteSpool true).PDCOMM_GEM_SPOOL_PROOF_NONEDelivery proof: the result carries no delivery proof.PDCOMM_GEM_SPOOL_PROOF_RESPONSEDelivery proof: a matching secondary reply to a W1 spooled message was received.PDCOMM_GEM_SPOOL_PROOF_WRITTENDelivery proof: the complete frame of a W0 spooled message was written locally.PDCOMM_GEM_SPOOL_PURGES6F23 RSDC command 1: purge spooled messages.PDCOMM_GEM_SPOOL_PURGEDMutation: all spooled messages were purged; affected_count counts them.PDCOMM_GEM_SPOOL_QUERYRequest kind of an S2F59 spool configuration request (current selection).PDCOMM_GEM_SPOOL_RECEIVEDResult outcome: Equipment received a valid S2F43, S2F59, or S6F23 primary.PDCOMM_GEM_SPOOL_REMOVEDMutation: a delivered head entry was dequeued; entry_id names it.PDCOMM_GEM_SPOOL_SYNCEDDurability: the snapshot file was replaced and its parent directory synchronized.PDCOMM_GEM_SPOOL_TRANSMITS6F23 RSDC command 0: transmit spooled messages.PDCOMM_GEM_SPOOL_UNCONFIRMEDDurability: the snapshot file was replaced, but the directory sync failed (#PDCOMM_SPOOL_UNCONFIRMED).PDCOMM_GEM_SPOOL_VOLATILEDurability: the change was applied to a RAM spool.PDCOMM_GEM_STATUS_NAMESRequest kind: S1F11 Status Variable Namelist Request.PDCOMM_GEM_STATUS_REPLIEDOutcome: equipment answered S1F3 with S1F4 or S1F11 with S1F12 from its status variable registry.PDCOMM_GEM_STATUS_VALUESRequest kind: S1F3 Selected Equipment Status Request (status variable values).PDCOMM_GEM_UNHANDLEDResult kind: a received primary was not processed and no reply was sent.PDCOMM_GEM_VALUES_RECEIVEDOutcome: a host received a valid S1F4; read the values with pdcomm_gem_result_status_value().PDCOMM_GEM_WAITING_ACKCommunication state: S1F13 sent, waiting for S1F14 (E30 WAIT CRA).PDCOMM_INVALID_STATEThe call is not valid in the endpoint's current state or context.PDCOMM_POISONEDThe endpoint is permanently unusable after a contained panic.PDCOMM_PROGRAM_UNCONFIRMEDThe program store change was installed, but its durability is unconfirmed.PDCOMM_SECS1_EVENT_FAULTEvent kind: a terminal fault stopped the endpoint.PDCOMM_SECS1_EVENT_INBOUNDEvent kind: a complete message was received.PDCOMM_SECS1_EVENT_OUTBOUND_COMPLETEEvent kind: the peer acknowledged every block of a submitted message.PDCOMM_SECS1_EVENT_OUTBOUND_FAILEDEvent kind: a submitted message was not delivered.PDCOMM_SECS1_FAULT_BLOCKFault kind reserved for block faults; not produced by this release.PDCOMM_SECS1_FAULT_CLOSEDFault kind: the read callback reported end of stream.PDCOMM_SECS1_FAULT_IOFault kind: a read or write callback failed.PDCOMM_SECS1_FAULT_LINEFault kind reserved for line-control faults; not produced by this release.PDCOMM_SECS1_FAULT_REASSEMBLYFault kind: memory for reassembling an inbound message could not be allocated.PDCOMM_SECS1_FAULT_UNKNOWN_CONTROLFault kind retained for compatibility; no longer produced.PDCOMM_SECS1_IO_ABORTEDI/O result or fault detail: the connection was aborted.PDCOMM_SECS1_IO_ADDRESS_IN_USEI/O result or fault detail: the address is already in use.PDCOMM_SECS1_IO_ADDRESS_UNAVAILABLEI/O result or fault detail: the address is not available.PDCOMM_SECS1_IO_BROKEN_PIPEI/O result or fault detail: the pipe or line is broken.PDCOMM_SECS1_IO_CLOSEDI/O result or fault detail: the stream is closed.PDCOMM_SECS1_IO_INTERRUPTEDI/O result: the operation was interrupted before any transfer.PDCOMM_SECS1_IO_INVALID_DATAI/O result or fault detail: invalid data.PDCOMM_SECS1_IO_INVALID_INPUTI/O result or fault detail: the device layer rejected an input parameter.PDCOMM_SECS1_IO_NOT_CONNECTEDI/O result or fault detail: the stream is not connected.PDCOMM_SECS1_IO_NOT_FOUNDI/O result or fault detail: the device or entity was not found.PDCOMM_SECS1_IO_OKI/O result: the operation succeeded.PDCOMM_SECS1_IO_OTHERI/O result or fault detail: any other failure.PDCOMM_SECS1_IO_PERMISSIONI/O result or fault detail: permission was denied.PDCOMM_SECS1_IO_REFUSEDI/O result or fault detail: the connection was refused.PDCOMM_SECS1_IO_RESETI/O result or fault detail: the connection was reset by the peer.PDCOMM_SECS1_IO_TIMED_OUTI/O result or fault detail: the operation timed out in the device layer.PDCOMM_SECS1_IO_WOULD_BLOCKI/O result: no progress is possible now.PDCOMM_SECS1_IO_WRITE_ZEROI/O result or fault detail: a write made no progress.PDCOMM_SECS1_MASTERLine priority of the SEMI E4 master.PDCOMM_SECS1_MESSAGE_VERSIONValue for PdcommSecs1Message::version.PDCOMM_SECS1_OPTIONS_VERSIONValue for PdcommSecs1Options::version.PDCOMM_SECS1_SLAVELine priority of the SEMI E4 slave.PDCOMM_SECS1_TO_EQUIPMENTMessage direction host to equipment: the block header R-bit is 0.PDCOMM_SECS1_TO_HOSTMessage direction equipment to host: the block header R-bit is 1.PDCOMM_SECS_ASCIISECS-II format code for ASCII (E5 format 20, octal); bytes must be 0x00 to 0x7F.PDCOMM_SECS_BINARYSECS-II format code for Binary (E5 format 10, octal), 1-byte elements.PDCOMM_SECS_BOOLEANSECS-II format code for Boolean (E5 format 11, octal), 1-byte elements.PDCOMM_SECS_F4SECS-II format code for 4-byte IEEE 754 floats (E5 format 44, octal).PDCOMM_SECS_F8SECS-II format code for 8-byte IEEE 754 floats (E5 format 40, octal).PDCOMM_SECS_I1SECS-II format code for 1-byte signed integers (E5 format 31, octal).PDCOMM_SECS_I2SECS-II format code for 2-byte signed integers (E5 format 32, octal).PDCOMM_SECS_I4SECS-II format code for 4-byte signed integers (E5 format 34, octal).PDCOMM_SECS_I8SECS-II format code for 8-byte signed integers (E5 format 30, octal).PDCOMM_SECS_JIS8SECS-II format code for JIS-8 text (E5 format 21, octal); bytes are not validated.PDCOMM_SECS_LISTSECS-II format code for a List (E5 format 00).PDCOMM_SECS_U1SECS-II format code for 1-byte unsigned integers (E5 format 51, octal).PDCOMM_SECS_U2SECS-II format code for 2-byte unsigned integers (E5 format 52, octal).PDCOMM_SECS_U4SECS-II format code for 4-byte unsigned integers (E5 format 54, octal).PDCOMM_SECS_U8SECS-II format code for 8-byte unsigned integers (E5 format 50, octal).PDCOMM_SPOOL_UNCONFIRMEDThe spool change was installed, but its durability is unconfirmed.PDCOMM_STALE_TOKENThe token or event belongs to another endpoint or to an earlier connection generation.PDCOMM_TCP_ACTIVEConnection mode: the endpoint connects to the peer (HSMS active entity).PDCOMM_TCP_CANCELLEDFailure reason: cancelled by pdcomm_tcp_cancel() or pdcomm_tcp_stop().PDCOMM_TCP_CONNECTINGState: active mode; a connection attempt is due and runs inside pdcomm_tcp_poll().PDCOMM_TCP_DESELECTEDFailure reason: a Deselect procedure (local or remote) completed while the transaction was open.PDCOMM_TCP_DESELECT_STATUSFailure reason: Deselect.rsp carried a nonzero DeselectStatus, stored in PdcommTcpEventInfo::value1.PDCOMM_TCP_DISCONNECTEDFailure reason: the connection ended while the transaction was open.PDCOMM_TCP_DUPLICATE_PRIMARYProtocol error: a W-bit primary reuses the system bytes of a received primary that is still unanswered.PDCOMM_TCP_FAILEDEvent kind: an outgoing transaction ended without a reply.PDCOMM_TCP_FRAME_BUFFER_TOO_SMALLFrame error: the frame buffer is too small.PDCOMM_TCP_FRAME_CONTROL_BODYFrame error: a control message has a body; PdcommTcpEventInfo::value1 holds its length.PDCOMM_TCP_FRAME_CONTROL_SESSIONFrame error: a control message has a session ID other than 0xFFFF; PdcommTcpEventInfo::value1 holds it.PDCOMM_TCP_FRAME_HEADER_FIELDFrame error: a header byte has an invalid value.PDCOMM_TCP_FRAME_INVALID_LENGTHFrame error: the message length field is smaller than the 10-byte HSMS header; PdcommTcpEventInfo::value1 holds the declared length.PDCOMM_TCP_FRAME_LENGTH_OVERFLOWFrame error: the frame length does not fit in the platform's size type.PDCOMM_TCP_FRAME_LIMITProtocol error code reserved for received frames above PdcommTcpOptions::max_frame_bytes.PDCOMM_TCP_FRAME_LIMIT_EXCEEDEDFrame error: the frame exceeds the frame limit.PDCOMM_TCP_FRAME_NEED_MOREFrame error: more bytes are needed.PDCOMM_TCP_FRAME_NOT_DATAFrame error: a data message was expected but the frame is a control message.PDCOMM_TCP_FRAME_READER_FAILEDFrame error: the frame reader failed earlier and cannot continue.PDCOMM_TCP_FRAME_SECS_BODYFrame error: a data message body is not exactly one valid SECS-II item within PdcommTcpOptions::item_limits.PDCOMM_TCP_FRAME_TRAILING_DATAFrame error: bytes follow the frame.PDCOMM_TCP_FRAME_UNSUPPORTED_PTYPEFrame error: unsupported PType; PdcommTcpEventInfo::value1 holds it.PDCOMM_TCP_FRAME_UNSUPPORTED_STYPEFrame error: unsupported SType; PdcommTcpEventInfo::value1 holds it.PDCOMM_TCP_INCOMING_LIMITProtocol error: a W-bit primary arrived while #PDCOMM_TCP_MAX_TRANSACTIONS received primaries were unanswered.PDCOMM_TCP_INVALID_FRAMEProtocol error: a received frame is malformed.PDCOMM_TCP_INVALID_REJECTProtocol error: a Reject.req matches no open transaction, or its rejected type or session ID does not match the transaction.PDCOMM_TCP_INVALID_REPLYProtocol error code reserved for invalid replies; this version does not produce it.PDCOMM_TCP_IO_ABORTEDI/O error kind: the connection was aborted.PDCOMM_TCP_IO_ADDRESS_IN_USEI/O error kind: the address is already in use.PDCOMM_TCP_IO_ADDRESS_UNAVAILABLEI/O error kind: the address is not available on this host.PDCOMM_TCP_IO_BROKEN_PIPEI/O error kind: the connection's write side is closed (broken pipe).PDCOMM_TCP_IO_INTERRUPTEDI/O error kind: the operation was interrupted.PDCOMM_TCP_IO_INVALID_DATAI/O error kind: invalid data, including HSMS framing failures.PDCOMM_TCP_IO_INVALID_INPUTI/O error kind: an invalid parameter was passed to the operating system.PDCOMM_TCP_IO_NOT_CONNECTEDI/O error kind: the socket is not connected.PDCOMM_TCP_IO_NOT_FOUNDI/O error kind: an entity was not found.PDCOMM_TCP_IO_OTHERI/O error kind: any error without a more specific portable kind.PDCOMM_TCP_IO_PERMISSIONI/O error kind: permission denied.PDCOMM_TCP_IO_REFUSEDI/O error kind: the peer refused the connection.PDCOMM_TCP_IO_RESETI/O error kind: the peer reset the connection.PDCOMM_TCP_IO_TIMED_OUTI/O error kind: the operation timed out.PDCOMM_TCP_IO_UNEXPECTED_EOFI/O error kind: the stream ended unexpectedly.PDCOMM_TCP_IO_WOULD_BLOCKI/O error kind: the operation would block.PDCOMM_TCP_IO_WRITE_ZEROI/O error kind: a write accepted zero bytes.PDCOMM_TCP_LISTENINGState: passive mode; waiting to accept a connection.PDCOMM_TCP_MAX_TRANSACTIONSNumber of transaction slots per endpoint.PDCOMM_TCP_NOT_SELECTEDState: TCP connected, HSMS NOT SELECTED.PDCOMM_TCP_OPTIONS_VERSIONRequired value of PdcommTcpOptions::version.PDCOMM_TCP_OP_ACCEPTSocket operation: accepting a connection (passive mode).PDCOMM_TCP_OP_BINDSocket operation: binding the passive listening socket.PDCOMM_TCP_OP_CONFIGURESocket operation: configuring a socket (non-blocking mode, TCP_NODELAY) or allocating its buffers.PDCOMM_TCP_OP_CONNECTSocket operation: connecting to the peer (active mode).PDCOMM_TCP_OP_LOCAL_ADDRESSSocket operation: reading the local socket address.PDCOMM_TCP_OP_READSocket operation: reading from the connection.PDCOMM_TCP_OP_WRITESocket operation: writing to the connection.PDCOMM_TCP_PASSIVEConnection mode: the endpoint listens and accepts the peer's connection (HSMS passive entity).PDCOMM_TCP_PROTOCOL_ERROREvent kind: the peer violated the HSMS protocol.PDCOMM_TCP_RECEIVEDEvent kind: a data message (primary or reply) was received.PDCOMM_TCP_REJECTEDFailure reason: the peer answered with Reject.req.PDCOMM_TCP_RETRY_WAITState: active mode; waiting for the T5 connect separation timeout before the next attempt.PDCOMM_TCP_SELECTEDState: HSMS SELECTED; data messages can be exchanged.PDCOMM_TCP_SELECT_STATUSFailure reason: Select.rsp carried a nonzero SelectStatus, stored in PdcommTcpEventInfo::value1.PDCOMM_TCP_STATE_CHANGEDEvent kind: the HSMS state changed.PDCOMM_TCP_STOPPEDState: not started, or stopped by pdcomm_tcp_stop().PDCOMM_TCP_T3_TIMEOUTFailure reason: no reply to a W-bit data request within the T3 reply timeout.PDCOMM_TCP_T6_TIMEOUTFailure reason: no response to Select.req, Deselect.req, or Linktest.req within the T6 control transaction timeout.PDCOMM_TCP_TRANSPORT_ERROREvent kind: a socket operation failed.PDCOMM_TCP_UNEXPECTED_CONTROLProtocol error code reserved for unexpected control responses.PDCOMM_TCP_UNEXPECTED_REPLYProtocol error: a reply data message matches no open request, for example after a T3 timeout or a cancellation.PDCOMM_TCP_W0_WRITTENEvent kind: a primary sent without the W-bit was completely written to the local socket.PDCOMM_TCP_WRONG_SESSIONProtocol error: a data message carries a session ID other than PdcommTcpOptions::session_id.PdcommGem300CapabilityInput description of one capability, read by pdcomm_gem300_capability_catalog_replace().axisAxis: one of #PDCOMM_GEM300_PROCESS_JOB, #PDCOMM_GEM300_CARRIER, #PDCOMM_GEM300_SUBSTRATE, or #PDCOMM_GEM300_CONTROL_JOB; unique in the profile.idIdentifier bytes, not NUL-terminated; printable ASCII 0x21 to 0x7E.id_lengthNumber of bytes at id; nonzero and at most max_capability_id_bytes.reservedReserved; must be zero.statusStatus label: #PDCOMM_GEM300_PLANNED, #PDCOMM_GEM300_MODEL_ONLY, or #PDCOMM_GEM300_EXPERIMENTAL.verificationVerification label; must be #PDCOMM_GEM300_UNVERIFIED.PdcommGem300CapabilityCatalogOpaque, mutable capability catalog.PdcommGem300CapabilityCatalogInfoTotals of a catalog or snapshot, filled by pdcomm_gem300_capability_catalog_info() or pdcomm_gem300_capability_snapshot_info().capability_countNumber of capabilities across all profiles.identifier_bytesSum of all profile and capability identifier lengths in bytes.profile_countNumber of profiles.reservedReserved; set to zero before the call.revisionCatalog revision: 0 for a new catalog, incremented by each change.struct_sizeStructure size in bytes.versionStructure version; set to #PDCOMM_GEM300_CAPABILITY_INFO_VERSION before the call.PdcommGem300CapabilityInfoDescription of one snapshot capability, filled by pdcomm_gem300_capability_snapshot_capability_info().axisCapability axis, one of the axis macros such as #PDCOMM_GEM300_PROCESS_JOB.id_lengthLength of the capability identifier in bytes.reservedReserved; set to zero before the call.reserved2Reserved; set to zero before the call.statusStatus label, one of #PDCOMM_GEM300_PLANNED, #PDCOMM_GEM300_MODEL_ONLY, or #PDCOMM_GEM300_EXPERIMENTAL.struct_sizeStructure size in bytes.verificationVerification label; #PDCOMM_GEM300_UNVERIFIED, the defined value.versionStructure version; set to #PDCOMM_GEM300_CAPABILITY_INFO_VERSION before the call.PdcommGem300CapabilityOptionsCatalog limits for pdcomm_gem300_capability_catalog_create().max_capabilities_per_profileLargest number of capabilities in one profile; from 1 to 4, one per axis.max_capability_id_bytesLargest capability identifier length in bytes.max_profile_id_bytesLargest profile identifier length in bytes.max_profilesLargest number of profiles in the catalog.max_total_capabilitiesLargest number of capabilities across all profiles.max_total_identifier_bytesLargest sum of all profile and capability identifier lengths in bytes.reservedReserved; must be zero.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGem300CapabilityOptions) or larger.versionStructure version; must be #PDCOMM_GEM300_CAPABILITY_OPTIONS_VERSION.PdcommGem300CapabilityProfileInput description of one profile, read by pdcomm_gem300_capability_catalog_replace().capabilitiesArray of capability_count capabilities, in the order to keep.capability_countNumber of capabilities; from 1 to max_capabilities_per_profile.idIdentifier bytes, not NUL-terminated; printable ASCII 0x21 to 0x7E, unique in the catalog.id_lengthNumber of bytes at id; nonzero and at most max_profile_id_bytes.PdcommGem300CapabilityProfileInfoDescription of one snapshot profile, filled by pdcomm_gem300_capability_snapshot_profile_info().capability_countNumber of capabilities in the profile.id_lengthLength of the profile identifier in bytes.reservedReserved; set to zero before the call.struct_sizeStructure size in bytes.versionStructure version; set to #PDCOMM_GEM300_CAPABILITY_INFO_VERSION before the call.PdcommGem300CapabilitySnapshotOpaque, immutable, owned copy of a catalog's contents.PdcommGemAlarmChangeResult of an alarm observation, filled by pdcomm_gem_equipment_observe_alarm().activeAlarm state after the observation: 1 for set, 0 for cleared.changed1 when the observation changed the alarm state, 0 when the state was already the observed one.event_idCEID of the transition that occurred; 0 when event_present is 0.event_present1 when the transition has a configured set or clear CEID in event_id, otherwise 0 (always 0 without a transition).idAlarm ID (ALID) that was observed.reporting_enabledSnapshot of the reporting-enabled flag: 1 when an S5F1 report may be published for this alarm.struct_sizeStructure size; set to sizeof(PdcommGemAlarmChange) or larger, receives the size written.PdcommGemAlarmDefinitionOne alarm definition passed to pdcomm_gem_equipment_configure_alarms().categoryAlarm category, 1 to 63.clear_eventCollection event ID (CEID) linked to the clear transition; read only when clear_event_present is 1.clear_event_present1 when clear_event is present, otherwise 0.idAlarm ID (ALID); must be unique within the store.set_eventCollection event ID (CEID) linked to the set transition; read only when set_event_present is 1.set_event_present1 when set_event is present, otherwise 0.textAlarm text (ALTX) as ASCII bytes, not NUL-terminated; may be NULL when text_length is 0.text_lengthNumber of bytes at text.PdcommGemAlarmInfoDefinition and current state of one stored alarm, filled by pdcomm_gem_equipment_alarm_at().active1 when the alarm is currently set, otherwise 0.categoryAlarm category, 1 to 63.clear_eventClear-transition CEID; 0 when clear_event_present is 0.clear_event_present1 when a clear-transition CEID is configured, otherwise 0.enabled1 when the Host has enabled reporting of this alarm, otherwise 0.idAlarm ID (ALID).set_eventSet-transition CEID; 0 when set_event_present is 0.set_event_present1 when a set-transition CEID is configured, otherwise 0.struct_sizeStructure size; set to sizeof(PdcommGemAlarmInfo) or larger, receives the size written.PdcommGemAlarmOptionsLimits for the alarm store, passed to pdcomm_gem_equipment_configure_alarms().max_alarmsLargest number of alarm definitions; must be at least 1.max_text_bytesLargest alarm text length of one alarm, in bytes; the effective limit is min(max_text_bytes, 120).max_total_text_bytesLargest sum of the alarm text lengths of all alarms, in bytes.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemAlarmOptions) or larger.versionOptions version; must be #PDCOMM_GEM_ALARM_OPTIONS_VERSION.PdcommGemAlarmResultInfoSummary of an alarm result, filled by pdcomm_gem_result_alarm_info().acknowledged1 after pdcomm_gem_host_acknowledge_alarm() sent S5F2 for this report; always 0 for list replies.countNumber of alarm entries: 1 for an S5F1 report, the list length for an S5F6 or S5F8 reply.is_report1 for a received S5F1 alarm report, 0 for an alarm list reply.reply_expectedW bit of the received S5F1 report; always 0 for list replies.struct_sizeStructure size; set to sizeof(PdcommGemAlarmResultInfo) or larger, receives the size written.PdcommGemAlarmStateSummary of the alarm store, filled by pdcomm_gem_equipment_alarm_state().active_countNumber of alarms currently set (active).alarm_countNumber of configured alarms.enabled_countNumber of alarms whose reporting the Host has enabled with S5F3.struct_sizeStructure size; set to sizeof(PdcommGemAlarmState) or larger, receives the size written.text_bytesSum of the alarm text lengths of all alarms, in bytes.PdcommGemAlarmValueOne alarm tuple from a received report or list, filled by pdcomm_gem_result_alarm_at().active1 when the ALCD alarm-set bit (0x80) is set, otherwise 0.categoryAlarm category from the low six bits of ALCD (ALCD & 0x3F).idAlarm ID (ALID).struct_sizeStructure size; set to sizeof(PdcommGemAlarmValue) or larger, receives the size written.PdcommGemBindingInfoOne binding, filled by pdcomm_gem_equipment_binding_at().source_idStatus variable ID or DVID; 0 for a CONSTANT source.source_kindSource kind (PDCOMM_GEM_SOURCE_*).struct_sizeStructure size in bytes; set before the call, receives the size written.vidVariable ID (VID).PdcommGemBindingOptionsLimits of an explicit report binding store.max_bindingsLargest number of bindings.max_identifier_bytesLargest ASCII constant ID of one binding, in bytes (numeric IDs count as 0).max_total_identifier_bytesLargest total of ASCII constant ID bytes across all bindings.reservedMust be 0.struct_sizeStructure size in bytes; set to sizeof(PdcommGemBindingOptions) or larger.versionMust be #PDCOMM_GEM_BINDING_OPTIONS_VERSION.PdcommGemBindingStateCounters of the binding store, filled by pdcomm_gem_equipment_binding_state().binding_countNumber of bindings.explicit_mode1 when a binding store is installed (explicit mode, possibly empty); 0 for legacy VID-to-status resolution.identifier_bytesTotal ASCII constant ID bytes.struct_sizeStructure size in bytes; set before the call, receives the size written.PdcommGemCommandDefinitionDefinition of one remote command (RCMD).completion_eventCEID reported to the application when the command is acknowledged with HCACK 0 or 4.completion_event_present1 when completion_event is present, otherwise 0.countNumber of parameter definitions; names must be unique within the command.nameRCMD item: nonempty ASCII or an integer scalar from -128 to 255; must not be NULL.parametersArray of count parameter definitions; may be NULL when count is 0.require_online_remote1 to answer HCACK 2 unless the control state is ONLINE REMOTE at receipt, otherwise 0.PdcommGemCommandInfoDefinition summary of one stored command.completion_eventCompletion CEID; 0 when completion_event_present is 0.completion_event_present1 when a completion CEID is configured.parameter_countNumber of parameter definitions of the command.require_online_remote1 when the command requires the ONLINE REMOTE control state.struct_sizeStructure size; set to sizeof(PdcommGemCommandInfo) or larger, receives the size written.PdcommGemCommandIssueOne CPACK entry for an application S2F42 response.codeCPACK code: 1 name does not exist, 2 illegal value, 3 illegal format.nameCPNAME item (ASCII or integer scalar) that the entry refers to; must not be NULL.PdcommGemCommandOptionsLimits for the remote command store, passed to pdcomm_gem_equipment_configure_commands().max_commandsLargest number of command definitions; must be at least 1.max_errorsLargest number of CPACK entries in a frozen validation or an application response.max_identifier_bytesLargest length of one ASCII RCMD or CPNAME, in bytes; numeric names count as 0 bytes.max_parameters_per_commandLargest number of parameters of one command, in definitions and in a received S2F41.max_total_identifier_bytesLargest sum of the ASCII name lengths of all configured commands and parameters, in bytes.max_total_parametersLargest number of parameter definitions across all commands.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemCommandOptions) or larger.versionOptions version; must be #PDCOMM_GEM_COMMAND_OPTIONS_VERSION.PdcommGemCommandParameterOne CPNAME/CPVAL pair to send with pdcomm_gem_host_remote_command() or pdcomm_gem_host_enhanced_remote_command().nameCPNAME item (ASCII or integer scalar); must not be NULL.valueCPVAL (or CEPVAL) item, sent as a copy; must not be NULL.PdcommGemCommandParameterDefinitionDefinition of one remote command parameter (CPNAME and its CPVAL rules).formatExact SECS-II format code required for the CPVAL item.format_present1 when format is enforced, otherwise 0.max_countLargest allowed element count of the CPVAL item; must not be less than min_count.maximumInclusive upper bound for every integer element; read only when maximum_present is 1.maximum_present1 when maximum is enforced; requires an integer format.min_countSmallest allowed element count of the CPVAL item (bytes for ASCII and Binary).minimumInclusive lower bound for every integer element; read only when minimum_present is 1.minimum_present1 when minimum is enforced; requires an integer format.nameCPNAME item (ASCII or integer scalar); borrowed for the call and must not be NULL.required1 when the parameter must be present in the request, otherwise 0.PdcommGemCommandParameterInfoDefinition of one stored command parameter.formatRequired SECS-II format code; 0 when format_present is 0.format_present1 when format is enforced.max_countLargest allowed element count of the CPVAL item.maximumInclusive upper bound; 0 when maximum_present is 0.maximum_present1 when maximum is enforced.min_countSmallest allowed element count of the CPVAL item.minimumInclusive lower bound; 0 when minimum_present is 0.minimum_present1 when minimum is enforced.required1 when the parameter is required.struct_sizeStructure size; set to sizeof(PdcommGemCommandParameterInfo) or larger, receives the size written.PdcommGemCommandReplyOutcome of a sent S2F42 or S2F50 response.acknowledgementHCACK actually sent.completion_eventCompletion CEID to report after the work completes; 0 when completion_event_present is 0.completion_event_present1 when the sent HCACK was 0 or 4 and the command has a completion CEID.struct_sizeStructure size; set to sizeof(PdcommGemCommandReply) or larger, receives the size written.PdcommGemCommandResultInfoSummary of a remote command result, filled by pdcomm_gem_result_command_info().completion_eventCompletion CEID of an accepted request; 0 when completion_event_present is 0.completion_event_present1 when an accepted request has a completion CEID.is_request1 for an Equipment-received S2F41 request, 0 for a Host-received S2F42 reply.issue_countNumber of frozen validation issues of a request, or of received CPACK entries of a reply.parameter_countNumber of CPNAME/CPVAL pairs of a received request; 0 for a reply.responded1 after pdcomm_gem_equipment_respond_command() sent S2F42 for the request.struct_sizeStructure size; set to sizeof(PdcommGemCommandResultInfo) or larger, receives the size written.validation_accepted1 when the request passed validation at receipt; always 0 for a reply.validation_acknowledgementHCACK frozen at receipt for a request (0 when accepted), or the received HCACK of a reply.PdcommGemCommandStateSummary of the command store, filled by pdcomm_gem_equipment_command_state().command_countNumber of configured commands.identifier_bytesSum of the ASCII name lengths of all commands and parameters, in bytes.struct_sizeStructure size; set to sizeof(PdcommGemCommandState) or larger, receives the size written.total_parametersNumber of parameter definitions across all commands.PdcommGemConstantChangeOne ECID/ECV pair for pdcomm_gem_host_change_constants().idConstant ID (ECID): an ASCII item or a single-element integer item.valueNew value (ECV).PdcommGemConstantChangeInfoReceipt and decision state of an S2F15 result, filled by pdcomm_gem_result_constant_change_info().applied1 when an EAC 0 reply with at least one pair swapped in the new values.change_countNumber of ECID/ECV pairs in the received S2F15; 0 for an S2F16 reply result.is_request1 for a received S2F15 on an Equipment; 0 for an S2F16 reply received by a Host.responded1 after pdcomm_gem_equipment_respond_constants() sent S2F16.struct_sizeStructure size in bytes; set before the call, receives the size written.validation_accepted1 when every pair passed receipt validation against the constant store.validation_acknowledgementEAC from receipt validation: 0 accepted, 1 unknown ECID, 3 invalid value or format.PdcommGemConstantDefinitionDefinition of one equipment constant for pdcomm_gem_equipment_configure_constants().currentCurrent value (ECV).default_valueOptional default value (ECDEF); NULL means absent.idConstant ID (ECID): an ASCII item or a single-element integer item.max_countLargest allowed element count; must be at least min_count.maximumOptional maximum value (ECMAX); NULL means absent.min_countSmallest allowed element count of current, default, and new values.minimumOptional minimum value (ECMIN); NULL means absent.nameName as ASCII bytes, not NUL-terminated.name_lengthNumber of bytes at name.unitsUnits as ASCII bytes, not NUL-terminated.units_lengthNumber of bytes at units.PdcommGemConstantInfoDefinition summary of one constant, filled by pdcomm_gem_equipment_constant_at().default_present1 when a default value is defined, else 0.formatFormat code of the current value.max_countLargest allowed element count.maximum_present1 when a maximum value is defined, else 0.min_countSmallest allowed element count.minimum_present1 when a minimum value is defined, else 0.struct_sizeStructure size in bytes; set before the call, receives the size written.PdcommGemConstantOptionsLimits of an Equipment constant store.item_limitsSECS-II limits for each stored value; every field must be nonzero.max_changes_per_requestLargest number of ECID/ECV pairs accepted in one incoming S2F15.max_constantsLargest number of constants; must be at least 1.max_identifier_bytesLargest ASCII ECID length in bytes, for definitions and incoming requests.max_metadata_bytesLargest total of ASCII ID, name, and units bytes across all constants.max_query_idsLargest number of ECIDs accepted in one incoming S2F13 or S2F29.max_value_bytesLargest total encoded size of current, default, minimum, and maximum values; must be at least 1.reservedMust be 0.struct_sizeStructure size in bytes; set to sizeof(PdcommGemConstantOptions) or larger.versionMust be #PDCOMM_GEM_CONSTANT_OPTIONS_VERSION.PdcommGemConstantReplyReply that pdcomm_gem_equipment_respond_constants() sent.acknowledgementEAC sent in S2F16 (0 on failure).applied1 when the new values were applied to the store, else 0.struct_sizeStructure size in bytes; set before the call, receives the size written.PdcommGemConstantStateCounters of the constant store, filled by pdcomm_gem_equipment_constant_state().constant_countNumber of constants.metadata_bytesTotal ASCII ID, name, and units bytes.struct_sizeStructure size in bytes; set before the call, receives the size written.value_bytesTotal encoded size of all stored values.PdcommGemDataDefinitionDefinition of one data variable for pdcomm_gem_equipment_configure_data_variables().cachedOptional initial cached value, copied; NULL leaves the cache empty.formatRequired top-level format of every value, one of the PDCOMM_SECS_* format codes (List included).idData variable ID (DVID); unique within the store.max_countLargest allowed element count; must be at least min_count.min_countSmallest allowed element count (List children or primitive elements).nameName as ASCII bytes, not NUL-terminated.name_lengthNumber of bytes at name.unitsUnits as ASCII bytes, not NUL-terminated.units_lengthNumber of bytes at units.PdcommGemDataInfoDefinition summary of one data variable, filled by pdcomm_gem_equipment_data_at().cached_present1 when a value is cached, else 0.formatDeclared format code.idData variable ID (DVID).max_countLargest allowed element count.min_countSmallest allowed element count.struct_sizeStructure size in bytes; set before the call, receives the size written.PdcommGemDataOptionsLimits of an Equipment data variable store.item_limitsSECS-II limits for each cached value and sample; every field must be nonzero.max_metadata_bytesLargest total of name and units bytes across all variables.max_sample_bytesLargest total encoded size of the samples supplied with one call, in bytes.max_samples_per_eventLargest number of samples supplied with one publication or query response.max_value_bytesLargest total encoded size of all cached values, in bytes.max_variablesLargest number of data variables; must be at least 1.reservedMust be 0.struct_sizeStructure size in bytes; set to sizeof(PdcommGemDataOptions) or larger.versionMust be #PDCOMM_GEM_DATA_OPTIONS_VERSION.PdcommGemDataSampleA data variable value sampled for one publication or query response.idData variable ID (DVID), not the report VID.valueSampled value; borrowed for the call and never stored in the cache.PdcommGemDataStateCounters of the data variable store, filled by pdcomm_gem_equipment_data_state().metadata_bytesTotal name and units bytes.struct_sizeStructure size in bytes; set before the call, receives the size written.value_bytesTotal encoded size of the cached values.variable_countNumber of data variables.PdcommGemDirectoryEntryInfoOne directory entry, filled by the *_directory_at functions.idVID for a data variable entry, CEID for an event entry.struct_sizeStructure size in bytes; set before the call, receives the size written.variable_countNumber of VIDs of an event entry; 0 for a data variable entry.PdcommGemDirectoryOptionsLimits of an Equipment event directory.max_eventsLargest number of event entries.max_metadata_bytesLargest total of name bytes across all entries.max_name_bytesLargest name of one entry, in bytes.max_total_variablesLargest total number of VIDs across all entries.max_variables_per_eventLargest number of VIDs in one entry.reservedMust be 0.struct_sizeStructure size in bytes; set to sizeof(PdcommGemDirectoryOptions) or larger.versionMust be #PDCOMM_GEM_DIRECTORY_OPTIONS_VERSION.PdcommGemDirectoryStateCounters of the event directory, filled by pdcomm_gem_equipment_directory_state().configured1 when a directory is configured (possibly empty), else 0.event_countNumber of event entries.metadata_bytesTotal name bytes.struct_sizeStructure size in bytes; set before the call, receives the size written.total_variablesTotal number of VIDs across all entries.PdcommGemEnhancedCommandOptionsLimits for the enhanced command store, passed to pdcomm_gem_equipment_configure_enhanced_commands().item_limitsSECS-II limits applied to each received CEPVAL item.max_commands_per_objectLargest number of commands of one object.max_errorsLargest number of nonzero CEPACK values in a frozen validation or an application response.max_identifier_bytesLargest length of one ASCII RCMD or CPNAME, in bytes; numeric names count as 0 bytes.max_object_bytesLargest length of one object name, in bytes, in definitions and in a received S2F49.max_objectsLargest number of objects (OBJSPEC values).max_parameters_per_commandLargest number of parameters of one command, in definitions and in a received S2F49.max_request_value_bytesLargest sum of the encoded CEPVAL sizes of one received S2F49, in bytes.max_total_commandsLargest number of commands across all objects.max_total_identifier_bytesLargest sum of the ASCII name lengths of all configured commands and parameters, in bytes.max_total_object_bytesLargest sum of the lengths of all object names, in bytes.max_total_parametersLargest number of parameter definitions across all commands.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemEnhancedCommandOptions) or larger.versionOptions version; must be #PDCOMM_GEM_ENHANCED_COMMAND_OPTIONS_VERSION.PdcommGemEnhancedCommandResultInfoSummary of an enhanced command result, filled by pdcomm_gem_result_enhanced_command_info().completion_eventCompletion CEID of an accepted request; 0 when completion_event_present is 0.completion_event_present1 when an accepted request has a completion CEID.data_idDATAID of a received request; 0 for a reply.is_request1 for an Equipment-received S2F49 request, 0 for a Host-received S2F50 reply.issue_countNumber of outer acknowledgement entries: frozen errors of a request (0 when accepted), or received entries of a reply.parameter_countNumber of CPNAME/CEPVAL pairs of a received request; 0 for a reply.responded1 after pdcomm_gem_equipment_respond_enhanced_command() sent S2F50 for the request.struct_sizeStructure size; set to sizeof(PdcommGemEnhancedCommandResultInfo) or larger, receives the size written.validation_accepted1 when the request passed admission at receipt; always 0 for a reply.validation_acknowledgementHCACK frozen at receipt for a request (0 when accepted), or the received HCACK of a reply.PdcommGemEnhancedCommandStateSummary of the enhanced command store, filled by pdcomm_gem_equipment_enhanced_command_state().command_countNumber of commands across all objects.identifier_bytesSum of the ASCII name lengths of all commands and parameters, in bytes.object_countNumber of configured objects.struct_sizeStructure size; set to sizeof(PdcommGemEnhancedCommandState) or larger, receives the size written.total_object_bytesSum of the lengths of all object names, in bytes.total_parametersNumber of parameter definitions across all commands.PdcommGemEnhancedObjectDefinitionDefinition of one object (OBJSPEC) and its commands.commandsArray of count command definitions; may be NULL when count is 0.countNumber of command definitions; RCMD names must be unique within the object.nameObject name: an ASCII item, possibly empty; must not be NULL and must be unique.PdcommGemEnhancedObjectInfoSummary of one stored object, filled by pdcomm_gem_equipment_enhanced_object_at().command_countNumber of commands of the object.struct_sizeStructure size; set to sizeof(PdcommGemEnhancedObjectInfo) or larger, receives the size written.PdcommGemEquipmentOptionsOptions for pdcomm_gem_configure_equipment().initial_controlInitial control state.item_limitsSECS-II limits for every message the equipment builds or parses.max_metadata_bytesLargest total size in bytes of all registered status variable names and units; may be 0.max_value_bytesLargest total encoded size in bytes of all registered status variable values; must be nonzero.max_variablesLargest number of registered status variables; must be nonzero.modelEquipment model type (MDLN) as ASCII bytes, without a terminator; may be NULL when model_length is 0.model_lengthNumber of bytes at model.online_modeOnline mode, #PDCOMM_GEM_LOCAL or #PDCOMM_GEM_REMOTE: the ON-LINE substate entered when going on-line.reservedReserved; must be 0.software_revisionSoftware revision (SOFTREV) as ASCII bytes, without a terminator; may be NULL when software_revision_length is 0.software_revision_lengthNumber of bytes at software_revision.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemEquipmentOptions) or larger.versionOptions version; must be #PDCOMM_GEM_OPTIONS_VERSION.PdcommGemEventDefinitionOne collection event entry for pdcomm_gem_equipment_configure_event_directory().idCollection event ID (CEID); unique and registered in the report store.nameEvent name (CENAME) as ASCII bytes, not NUL-terminated; may be empty.name_lengthNumber of bytes at name.variable_countNumber of elements in variable_ids.variable_idsArray of variable_count unique VIDs; each must be bound to a data variable.PdcommGemEventInfoHeader of a received event report (S6F11), filled by pdcomm_gem_result_event_info().acknowledged1 after pdcomm_gem_host_acknowledge_event() sent S6F12 for this result, otherwise 0.data_idDATAID of the report message.event_idCollection event ID (CEID) that was reported.report_countNumber of reports in the message.struct_sizeStructure size in bytes.PdcommGemFixedEventSpecOne collection event of a fixed report catalog.countNumber of elements in report_ids; 0 registers the event without links.enabled1 to enable the event report initially, 0 to leave it disabled.event_idCollection event ID (CEID).report_idsArray of count report IDs linked to the event.PdcommGemFormattedProgramCapabilityCommandOne command definition passed to pdcomm_gem_formatted_program_capability_catalog_replace().after_dependencyACDS: the single U2 value sent as the after-command field.before_dependenciesBCDS values; stored and sent verbatim.before_dependency_countNumber of values in before_dependencies.block_definitionBLKDEF block definition: +1, 0, or -1 as defined by SEMI E5.codeCCODE command code: ASCII bytes, at most max_command_code_bytes long.code_lengthLength of code in bytes.immediate_after_dependenciesIACDS values; stored and sent verbatim.immediate_after_dependency_countNumber of values in immediate_after_dependencies.immediate_before_dependenciesIBCDS values; stored and sent verbatim.immediate_before_dependency_countNumber of values in immediate_before_dependencies.nameCNAME command name: ASCII bytes, at most 16 long.name_lengthLength of name in bytes.non_after_dependenciesNACDS values; stored and sent verbatim.non_after_dependency_countNumber of values in non_after_dependencies.non_before_dependenciesNBCDS values; stored and sent verbatim.non_before_dependency_countNumber of values in non_before_dependencies.parameter_countNumber of handles in parameters.parametersParameter descriptors as live SECS-II item handles.requiredRQCMD: 1 when the command is required in every program, 0 otherwise.reservedReserved; all bytes must be 0.PdcommGemFormattedProgramCapabilityCommandInfoFixed-size fields of one capability command, filled by pdcomm_gem_result_formatted_program_capability_command_info().after_dependencyACDS value.before_dependency_countNumber of BCDS values.block_definitionBLKDEF block definition: +1, 0, or -1.immediate_after_dependency_countNumber of IACDS values.immediate_before_dependency_countNumber of IBCDS values.non_after_dependency_countNumber of NACDS values.non_before_dependency_countNumber of NBCDS values.parameter_countNumber of parameter descriptors.requiredRQCMD: 1 when the command is required.reservedReserved; written as 0.struct_sizeStructure size; set to sizeof(PdcommGemFormattedProgramCapabilityCommandInfo) or larger.PdcommGemFormattedProgramCapabilityInfoSummary of a capability result, filled by pdcomm_gem_result_formatted_program_capability_info().byte_maximumBYTMAX: maximum process program size in bytes; 0 when the result holds no capability.command_countNumber of commands in the capability; 0 when the result holds no capability.command_maximumCMDMAX: maximum number of commands in a process program; 0 when the result holds no capability.is_request1 when the result is a received S7F21 request (equipment side), 0 for host data results.reply_ready1 when the result is a received request that still needs pdcomm_gem_formatted_program_capability_respond().request_kindGEM request kind copied from the result, normally #PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_SEND.reservedReserved; written as 0.responded1 when S7F22 has been sent for a received request, or for a host data result.struct_sizeStructure size; set to sizeof(PdcommGemFormattedProgramCapabilityInfo) or larger.PdcommGemFormattedProgramCapabilityOptionsLimits for the formatted program capability service.max_capability_bytesLargest encoded size of the whole S7F22 capability body, in bytes.max_command_code_bytesLargest CCODE (command code) length in bytes.max_commandsLargest number of commands in one capability.max_dependencies_per_fieldLargest number of values in one dependency vector (BCDS, IBCDS, NBCDS, IACDS, or NACDS).max_historyNumber of finished transactions remembered for replay detection; must be nonzero.max_parameters_per_commandLargest number of parameter descriptors in one command.max_pendingLargest number of S7F21 requests the host can have outstanding; must be nonzero.max_receivedLargest number of received S7F21 requests the equipment can hold unanswered; must be nonzero.max_resultsNumber of completed host results the service retains; must be nonzero.max_total_dependenciesLargest number of dependency values across all commands; each command's ACDS value counts as one.max_total_parameter_bytesLargest total encoded size of all parameter descriptors, in bytes.max_total_parametersLargest number of parameter descriptors across all commands.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemFormattedProgramCapabilityOptions) or larger.versionMust be #PDCOMM_GEM_FORMATTED_PROGRAM_CAPABILITY_OPTIONS_VERSION.PdcommGemFormattedProgramDryRunInfoSummary of a dry-run report, filled by pdcomm_gem_formatted_program_dry_run_info().capability_present1 when a capability catalog was installed at analysis time.capability_revisionCapability catalog revision at analysis time (0 when capabilities are not configured).command_countNumber of commands in the program.encoded_bytesEncoded size of the program body (PPID, MDLN, SOFTREV, and commands) in bytes.endpoint_idIdentifier of the endpoint that produced the report.entry_generationStore entry generation captured by the selection.id_formatSECS-II format code of the program identifier (#PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY).issue_countNumber of issues in the report.outcomeOverall outcome: a PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_* outcome value.policy_versionPolicy version used for the analysis.reservedInput: must be zero; written as zero.selection_generationSelection generation of the analyzed selection token.session_generationHSMS session generation of the analyzed selection.store_revisionProgram store revision captured by the selection.struct_sizeInput: size of this structure, at least sizeof(PdcommGemFormattedProgramDryRunInfo).versionInput: must be #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_INFO_VERSION.PdcommGemFormattedProgramDryRunIssueInfoOne dry-run issue, filled by pdcomm_gem_formatted_program_dry_run_issue_info().codeIssue code, one of the PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_* issue codes (1 to 11).command_indexProgram or catalog command index, as described by the issue code.expectedExpected limit (CMDMAX or BYTMAX), as described by the issue code.field_indexField index within the command; not used by policy version 1.observedObserved count or size, as described by the issue code.outcomeOutcome contributed by this issue (indeterminate or reject).presence_maskBit set of PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_*_PRESENT flags.reservedInput: must be 0; written as 0.struct_sizeInput: size of this structure, at least sizeof(PdcommGemFormattedProgramDryRunIssueInfo).versionInput: must be #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_INFO_VERSION.PdcommGemFormattedProgramDryRunOptionsOptions for pdcomm_gem_formatted_program_dry_run().max_issuesLargest number of issues the report may hold; more issues fail the call with #PDCOMM_LIMIT_EXCEEDED.max_program_encoded_bytesLargest encoded program size in bytes; a larger program fails the call with #PDCOMM_LIMIT_EXCEEDED.policy_versionAnalysis policy; must be #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_POLICY_V1.reservedReserved; must be 0.reserved2Reserved; must be 0.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemFormattedProgramDryRunOptions) or larger.versionMust be #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_OPTIONS_VERSION.PdcommGemFormattedProgramDryRunReportHandleOpaque, immutable dry-run report.PdcommGemFormattedProgramExecutionActionHandleOpaque, immutable copy of one execution action.PdcommGemFormattedProgramExecutionActionInfoDescription of an action, filled by pdcomm_gem_formatted_program_execution_action_info().action_sequenceAction sequence number; copy into the action token.cancel_next_command_indexCancel only: index of the first command that was not applied.capability_revisionStart only: capability catalog revision of the admitting dry run.code_formatStep only: SECS-II format code of the command code (#PDCOMM_SECS_ASCII, #PDCOMM_SECS_U1, #PDCOMM_SECS_U2, #PDCOMM_SECS_U4, or #PDCOMM_SECS_U8).command_countNumber of commands in the program, for every kind.command_indexStep only: zero-based index of the command to apply.dry_run_outcomeStart only: outcome of the admitting dry run.endpoint_idEndpoint identifier; copy into the action token.execution_generationExecution generation; copy into the action token.id_formatStart only: SECS-II format code of the program identifier.kindAction kind: START, STEP, or CANCEL.parameter_countStep only: number of parameters of the command.policy_versionStart only: dry-run policy version.presence_maskBit set of action presence flags.reservedInput: must be zero; written as zero.session_generationHSMS session generation; copy into the action token.struct_sizeInput: size of this structure, at least sizeof(PdcommGemFormattedProgramExecutionActionInfo).versionInput: must be #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_INFO_VERSION.PdcommGemFormattedProgramExecutionActionTokenIdentifies one action of an execution.action_sequenceAction sequence number: 1 for Start, then increasing for each new Step or Cancel.endpoint_idEndpoint identifier of the execution.execution_generationExecution generation of the execution.kindAction kind: START, STEP, or CANCEL.reservedReserved; must be 0.session_generationHSMS session generation of the execution.struct_sizeSize of this structure; set to sizeof(PdcommGemFormattedProgramExecutionActionToken) or larger.versionMust be #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_TOKEN_VERSION.PdcommGemFormattedProgramExecutionInfoState of the endpoint's execution, filled by pdcomm_gem_formatted_program_execution_snapshot_info().application_detail_lengthLength of the terminal report's detail bytes, or 0.application_report_idApplication-defined identifier of the recorded terminal report, or 0.application_report_kindKind of the recorded terminal report (a TERMINAL_* value), or 0 when none was recorded.capability_present1 when a capability catalog was installed at dry-run time.capability_revisionCapability catalog revision of the admitting dry run.command_countNumber of commands in the executed program.dry_run_outcomeOutcome of the admitting dry run (PASS or INDETERMINATE); 0 in the EMPTY state.endpoint_idEndpoint identifier from the execution token.entry_generationStore entry generation captured by the admitted selection.execution_generationExecution generation from the execution token.id_formatSECS-II format code of the program identifier (#PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY); 0 in the EMPTY state.next_command_indexNumber of commands applied so far, which is also the index of the next command.pending_action_sequenceSequence number of the pending action, or 0.pending_kindKind of the pending action, or #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_NONE.policy_versionDry-run policy version of the admitting report; 0 in the EMPTY state.presence_maskBit set of snapshot presence flags.reservedInput: must be zero; written as zero.selection_generationSelection generation of the admitted selection.session_generationHSMS session generation from the execution token.stateExecution state, a PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_* state value.store_revisionProgram store revision captured by the admitted selection.struct_sizeInput: size of this structure, at least sizeof(PdcommGemFormattedProgramExecutionInfo).versionInput: must be #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_INFO_VERSION.PdcommGemFormattedProgramExecutionSnapshotHandleOpaque, immutable snapshot of the endpoint's execution state.PdcommGemFormattedProgramExecutionTokenIdentifies one execution on one endpoint.endpoint_idIdentifier of the endpoint that started the execution.execution_generationExecution generation; increases by one for each started execution.reservedReserved; must be 0.session_generationHSMS session generation at start.struct_sizeSize of this structure; set to sizeof(PdcommGemFormattedProgramExecutionToken) or larger.versionMust be #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_TOKEN_VERSION.PdcommGemFormattedProgramInfoSummary of a verification report result, filled by pdcomm_gem_result_formatted_program_info().id_formatFormat of the PPID: #PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY; 0 when the result has no report.is_request1 when the result is a received S7F27 primary (host side), 0 for an S7F28 acknowledge.issue_countNumber of issues in the received report; 0 for an S7F28 acknowledge result.reply_ready1 when the result is an S7F27 primary that still needs pdcomm_gem_formatted_program_respond().request_kindGEM request kind, #PDCOMM_GEM_FORMATTED_PROGRAM_SEND for these results.responded1 when S7F28 has been sent for this primary, or the result is itself an acknowledge.struct_sizeStructure size; set it to at least sizeof(PdcommGemFormattedProgramInfo).PdcommGemFormattedProgramIssueOne verification issue of an S7F27 report.codeACKC7A code, from 0 to 5.lengthLength of text in bytes.sequenceSEQNUM: the number of the process program command the issue refers to; sent as U4.textERRW7 text as ASCII bytes, not NUL-terminated.PdcommGemFormattedProgramOptionsLimits for the S7F27/S7F28 verification report service.max_historyNumber of completed transactions remembered to reject replays; the oldest is discarded first.max_issue_text_bytesLargest ERRW7 text of a single issue, in bytes.max_issuesLargest number of issues in one S7F27 report; 0 allows only reports without issues.max_pendingLargest number of sent S7F27 reports awaiting S7F28; must be nonzero.max_receivedLargest number of received S7F27 reports awaiting a reply; must be nonzero.max_resultsNumber of completed report outcomes the service retains; the oldest is discarded first.max_total_issue_text_bytesLargest sum of all ERRW7 text lengths in one report, in bytes.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; at least sizeof(PdcommGemFormattedProgramOptions).versionOptions layout version; must be #PDCOMM_GEM_FORMATTED_PROGRAM_OPTIONS_VERSION.PdcommGemFormattedProgramQueryCommandOne process command (CCODE and PPARM list) passed to pdcomm_gem_formatted_program_query_seed().codeCCODE item; must be a non-NULL ASCII item.parameter_countNumber of PPARM items in parameters.parametersArray of parameter_count PPARM items of any format; NULL when the count is 0.PdcommGemFormattedProgramQueryInfoSummary of a query result, filled by pdcomm_gem_result_formatted_program_query_info().command_countNumber of process commands in the returned program; 0 when no program is present.id_formatFormat of the requested PPID, #PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY.is_request1 when the result is a received S7F25 primary (equipment side), 0 for an S7F26 result.present1 when the answer contains the program; 0 when it is absent or not yet known.present_known1 when the answer is known: always for an S7F26 result, and after the reply for a received S7F25.reply_ready1 when the result is an S7F25 primary that still needs pdcomm_gem_formatted_program_query_respond().request_kindGEM request kind, #PDCOMM_GEM_FORMATTED_PROGRAM_QUERY_SEND for these results.reservedReserved; written as zero.responded1 when S7F26 has been sent for this primary, or the result is itself an S7F26.struct_sizeStructure size; set it to at least sizeof(PdcommGemFormattedProgramQueryInfo).PdcommGemFormattedProgramQueryOptionsLimits for the S7F25/S7F26 service and the Equipment program store.max_catalog_entriesLargest number of programs in the store.max_catalog_identifier_bytesLargest sum of the PPID lengths of all stored programs, in bytes.max_commandsLargest number of process commands in one program; must be below SIZE_MAX - 1.max_historyNumber of completed transactions remembered to reject replays; the oldest is discarded first.max_parameters_per_commandLargest number of PPARM items in one command.max_pendingLargest number of sent S7F25 requests awaiting S7F26; must be nonzero.max_receivedLargest number of received S7F25 requests awaiting a reply; must be nonzero.max_resultsNumber of completed query outcomes the service retains; the oldest is discarded first.max_total_parameter_bytesLargest sum of the encoded sizes of all PPARM items in one program, in bytes.max_total_parametersLargest number of PPARM items in one program.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; at least sizeof(PdcommGemFormattedProgramQueryOptions).versionOptions layout version; must be #PDCOMM_GEM_FORMATTED_PROGRAM_QUERY_OPTIONS_VERSION.PdcommGemFormattedProgramSelectionInfoSummary of a selection snapshot, filled by pdcomm_gem_formatted_program_selection_snapshot_info().command_countNumber of process commands in the selected program; 0 when none is selected.entry_generationEntry generation captured at selection; 0 when no program is selected.id_formatPPID format, #PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY; 0 when no program is selected.reservedReserved; all bytes must be 0 before the call and are written as zero.selection_generationSelection revision of the selection, or the current revision when no program is selected.session_generationSession generation of the selection; 0 when no program is selected.stale_reasonFor the STALE state, one of the reasons 1 to 4; otherwise #PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALE_NONE.stateSelection state: #PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_EMPTY, _READY, or _STALE.store_revisionStore revision captured at selection; 0 when no program is selected.struct_sizeStructure size; set it to at least sizeof(PdcommGemFormattedProgramSelectionInfo).valid_for_execution1 when the state was READY at snapshot time.versionSet to #PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_INFO_VERSION before the call.PdcommGemFormattedProgramSelectionSnapshotOpaque, immutable, owned copy of the selection state and program.PdcommGemFormattedProgramSelectionTokenIdentity of one selection, returned by pdcomm_gem_formatted_program_select().endpoint_idIdentity of the endpoint that made the selection.entry_generationGeneration of the selected store entry at the time of selection.reservedSet to 0.selection_generationSelection revision; increases with every new selection and every clear.session_generationHSMS session generation in which the selection was made.store_revisionStore revision at the time of selection.struct_sizeStructure size; set it to at least sizeof(PdcommGemFormattedProgramSelectionToken).versionSet to #PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_TOKEN_VERSION.PdcommGemFormattedProgramStoreCommandOne process command (CCODE and PPARM list) passed to pdcomm_gem_formatted_program_store_put().codeCCODE item: ASCII, or a single-element U1, U2, U4, or U8 item.parameter_countNumber of PPARM items in parameters.parametersArray of parameter_count PPARM items of any format; NULL when the count is 0.PdcommGemFormattedProgramStoreEntryInfoSummary of one program in a store snapshot, filled by pdcomm_gem_formatted_program_store_entry_info().command_countNumber of process commands in the program.id_formatPPID format: #PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY.reservedSet to 0 before the call.reserved_bytesReserved; written as zero.struct_sizeStructure size; set it to at least sizeof(PdcommGemFormattedProgramStoreEntryInfo).versionSet to #PDCOMM_GEM_FORMATTED_PROGRAM_STORE_INFO_VERSION before the call.PdcommGemFormattedProgramStoreInfoStore totals and limits, filled by pdcomm_gem_formatted_program_store_info() and pdcomm_gem_formatted_program_store_snapshot_info().encoded_bytesSum of the encoded S7F23 body sizes of all stored programs, in bytes.entry_countNumber of stored programs.identifier_bytesSum of the PPID lengths of all stored programs, in bytes.max_encoded_bytesLargest encoded_bytes: the endpoint's SECS-II message_bytes limit times max_entries.max_entriesLargest number of programs; the query option max_catalog_entries.max_identifier_bytesLargest identifier_bytes; the query option max_catalog_identifier_bytes.reservedSet to 0 before the call.revisionStore revision: 0 for a new store, increased by one for every change that alters the stored programs.struct_sizeStructure size; set it to at least sizeof(PdcommGemFormattedProgramStoreInfo).versionSet to #PDCOMM_GEM_FORMATTED_PROGRAM_STORE_INFO_VERSION before the call.PdcommGemFormattedProgramStoreSnapshotOpaque, immutable, owned copy of the whole program store.PdcommGemFormattedProgramTransferCommandOne process command (CCODE and PPARM list) passed to pdcomm_gem_formatted_program_transfer_submit().codeCCODE item; must be a non-NULL ASCII item for an outgoing S7F23.parameter_countNumber of PPARM items in parameters.parametersArray of parameter_count PPARM items of any format; NULL when the count is 0.PdcommGemFormattedProgramTransferInfoSummary of a transfer result, filled by pdcomm_gem_result_formatted_program_transfer_info().acknowledgementACKC7 code: the code received in S7F24, or the code this side sent for a received S7F23.acknowledgement_present1 when acknowledgement holds a code.command_countNumber of process commands in the received program; 0 for an S7F24 result.id_formatPPID format, #PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY; 0 when the result carries no program.is_request1 when the result is a received S7F23 primary (equipment side), 0 for an S7F24 result.reply_ready1 when the result is an S7F23 primary that still needs an S7F24 reply.request_kindGEM request kind, #PDCOMM_GEM_FORMATTED_PROGRAM_TRANSFER_SEND for these results.reservedReserved; written as zero.responded1 when S7F24 has been sent for this primary, or the result is itself an S7F24.struct_sizeStructure size; set it to at least sizeof(PdcommGemFormattedProgramTransferInfo).PdcommGemFormattedProgramTransferOptionsLimits for the S7F23/S7F24 transfer service.max_commandsLargest number of process commands in one program.max_historyNumber of completed transactions remembered to reject replays; the oldest is discarded first.max_parameters_per_commandLargest number of PPARM items in one command.max_pendingLargest number of sent S7F23 messages awaiting S7F24; must be nonzero.max_receivedLargest number of received S7F23 messages awaiting a reply; must be nonzero.max_resultsNumber of completed transfer outcomes the service retains; the oldest is discarded first.max_total_parameter_bytesLargest sum of the encoded sizes of all PPARM items in one program, in bytes.max_total_parametersLargest number of PPARM items in one program.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; at least sizeof(PdcommGemFormattedProgramTransferOptions).versionOptions layout version; must be #PDCOMM_GEM_FORMATTED_PROGRAM_TRANSFER_OPTIONS_VERSION.PdcommGemFormattedProgramVerificationNegotiationInfoNegotiation details of a GEM result, filled by pdcomm_gem_result_formatted_program_verification_negotiation_info().correlationSequence number shared by every result of the same negotiation on this endpoint.lengthLENGTH: byte length of the S7F27 body, computed by the equipment or received by the host.negotiation_terminalOutcome of the S7F29/S7F30 exchange, a TERMINAL_* value.pp_gntPPGNT grant code; valid only when pp_gnt_present is 1. 0 means granted.pp_gnt_present1 when a PPGNT code was sent (host) or received (equipment).prepared1 for equipment-side records, 0 for host-side S7F29 records.reply_ready1 when the result is a host-side inquiry that still needs pdcomm_gem_formatted_program_verification_respond().request_kindGEM request kind copied from the result; see #PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_SEND.reservedReserved; written as 0.responded1 when the host has answered the inquiry with S7F30.stateRecord state, a PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_STATE_* value.struct_sizeStructure size; set to sizeof(PdcommGemFormattedProgramVerificationNegotiationInfo) or larger.submitted1 when the equipment has sent the S7F29 inquiry for this negotiation.verification_terminalOutcome of the S7F27/S7F28 exchange after a grant, a TERMINAL_* value (GRANTED means acknowledged).PdcommGemFormattedProgramVerificationNegotiationIssueOne issue of the S7F27 report passed to pdcomm_gem_formatted_program_verification_prepare().codeACKC7A acknowledgement code, from 0 to 5 as defined by SEMI E5; other values are rejected.sequenceSEQNUM: the process program command sequence number the issue refers to.textERRW7 error text: ASCII bytes, copied.text_lengthLength of text in bytes.PdcommGemFormattedProgramVerificationNegotiationOptionsLimits for the verification negotiation service.max_historyNumber of finished negotiations remembered for replay detection; must be nonzero.max_issue_text_bytesLargest ERRW7 text length of one issue, in bytes.max_issuesLargest number of issues in a prepared S7F27 report.max_pendingLargest number of submitted equipment-side negotiations awaiting a grant or acknowledgement; must be nonzero.max_preparedLargest number of unfinished equipment-side negotiations (prepared, submitted, or granted); must be nonzero.max_receivedLargest number of unanswered host-side S7F29 inquiries; must be nonzero.max_resultsNumber of finished negotiations the service retains; must be nonzero.max_total_issue_text_bytesLargest total ERRW7 text length of all issues, in bytes.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemFormattedProgramVerificationNegotiationOptions) or larger.versionMust be #PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_NEGOTIATION_OPTIONS_VERSION.PdcommGemFormattedProgramVerificationRequestCommandOne process command (CCODE and PPARM list) passed to pdcomm_gem_formatted_program_verification_request_submit().codeCCODE item; must be a non-NULL ASCII item for an outgoing S7F31.parameter_countNumber of PPARM items in parameters.parametersArray of parameter_count PPARM items of any format; NULL when the count is 0.PdcommGemFormattedProgramVerificationRequestInfoSummary of a verification request result, filled by pdcomm_gem_result_formatted_program_verification_request_info().acknowledgementACKC7 code: the code received in S7F32, or the code this side sent for a received S7F31.acknowledgement_present1 when acknowledgement holds a code.command_countNumber of process commands in the received program; 0 for an S7F32 result.id_formatPPID format, #PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY; 0 when the result carries no program.is_request1 when the result is a received S7F31 primary (equipment side), 0 for an S7F32 result.reply_ready1 when the result is an S7F31 primary that still needs an S7F32 reply.request_kindGEM request kind, #PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_REQUEST_SEND for these results.reservedReserved; written as zero.responded1 when S7F32 has been sent for this primary, or the result is itself an S7F32.struct_sizeStructure size; set it to at least sizeof(PdcommGemFormattedProgramVerificationRequestInfo).PdcommGemFormattedProgramVerificationRequestOptionsLimits for the S7F31/S7F32 verification request service.max_commandsLargest number of process commands in one program.max_historyNumber of completed transactions remembered to reject replays; the oldest is discarded first.max_parameters_per_commandLargest number of PPARM items in one command.max_pendingLargest number of sent S7F31 requests awaiting S7F32; must be nonzero.max_receivedLargest number of received S7F31 requests awaiting a reply; must be nonzero.max_resultsNumber of completed request outcomes the service retains; the oldest is discarded first.max_total_parameter_bytesLargest sum of the encoded sizes of all PPARM items in one program, in bytes.max_total_parametersLargest number of PPARM items in one program.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; at least sizeof(PdcommGemFormattedProgramVerificationRequestOptions).versionOptions layout version; must be #PDCOMM_GEM_FORMATTED_PROGRAM_VERIFICATION_REQUEST_OPTIONS_VERSION.PdcommGemHostOptionsOptions for pdcomm_gem_configure_host().item_limitsSECS-II limits for every message the host builds or parses; item_limits.struct_size must be valid.max_pending_idsLargest total number of identifiers copied by pending host requests.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemHostOptions) or larger.versionOptions version; must be #PDCOMM_GEM_OPTIONS_VERSION.PdcommGemInt128Signed 128-bit integer split into two 64-bit halves.highHigh 64 bits of the two's-complement value; carries the sign.lowLow 64 bits of the two's-complement value.PdcommGemLinkSpecOne event link: a CEID and the reports to link to it (S2F35).countNumber of elements in report_ids.event_idCollection event ID (CEID), sent as U4.report_idsArray of count report IDs (RPTID).PdcommGemProgramInfoProcess program details of a GEM result, filled by pdcomm_gem_result_program_info().acknowledgementPPGNT (S7F2) or ACKC7 (S7F4, S7F18), sent or received.acknowledgement_present1 when acknowledgement is valid.applied1 when responding to this request changed the store.confirmation_required1 when a retained reply waits for pdcomm_gem_program_confirm_reply() after #PDCOMM_PROGRAM_UNCONFIRMED.declared_lengthLENGTH declared in an incoming S7F1, in PPBODY payload bytes; otherwise 0.durabilityDurability of the installation made while responding: one of the PDCOMM_GEM_PROGRAM_* durability values.grant_activated1 when answering this S7F1 activated a grant; it reports the original activation, not whether the grant is still live.id_countNumber of PPIDs available through #PDCOMM_GEM_PROGRAM_ID.is_request1 for an incoming request; 0 for a response to this endpoint's request.persistence_status#PDCOMM_OK, or the persistence error of an unconfirmed installation.reply_ready1 when a prepared reply is retained and can be sent by pdcomm_gem_program_respond().request_kindRequest kind: one of #PDCOMM_GEM_PROGRAM_GRANT to #PDCOMM_GEM_PROGRAM_DIRECTORY.responded1 after the reply to an incoming request was queued.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemProgramInfo) or larger before the call.PdcommGemProgramOptionsStore limits, request budgets, and grant policy for process programs.grant_policyS7F3 grant policy: #PDCOMM_GEM_PROGRAM_GRANT_REQUIRED or #PDCOMM_GEM_PROGRAM_GRANT_OPTIONAL.max_body_bytesLargest PPBODY payload of one program in bytes.max_grantsLargest number of concurrently active S7F1 grants; storage for them is reserved at configuration.max_identifier_bytesLargest PPID length in bytes; the effective limit is at most 120.max_pending_identifier_bytesLargest total PPID bytes across this endpoint's outstanding program requests.max_pending_idsLargest total number of PPIDs across this endpoint's outstanding program requests.max_programsLargest number of stored programs.max_request_idsLargest number of PPIDs in one delete, local or S7F17.max_reserved_body_bytesLargest total declared LENGTH bytes reserved by active grants.max_serialized_bytesLargest snapshot file size in bytes; used only with a file path.max_total_body_bytesLargest total PPBODY payload bytes of all stored programs.max_total_identifier_bytesLargest total PPID bytes of all stored programs.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemProgramOptions) or larger.versionStructure version; must be #PDCOMM_GEM_PROGRAM_OPTIONS_VERSION.PdcommGemProgramStateUsage snapshot of the program store, filled by pdcomm_gem_program_state().body_bytesTotal PPBODY payload bytes of the stored programs.grant_countNumber of active S7F1 grants.identifier_bytesTotal PPID bytes of the stored programs.persistent1 when the store is backed by a snapshot file; 0 for RAM.program_countNumber of stored programs.reserved_body_bytesTotal declared LENGTH bytes reserved by active grants.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemProgramState) or larger before the call.PdcommGemProgramWriteInfoOutcome of a local store mutation.applied1 when the store was changed and the change installed.durability#PDCOMM_GEM_PROGRAM_VOLATILE, #PDCOMM_GEM_PROGRAM_SYNCED, #PDCOMM_GEM_PROGRAM_UNCONFIRMED, or #PDCOMM_GEM_PROGRAM_DURABILITY_NONE.persistence_status#PDCOMM_OK, or the persistence error (for example #PDCOMM_IO_ERROR) when durability is #PDCOMM_GEM_PROGRAM_UNCONFIRMED.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemProgramWriteInfo) or larger before the call.PdcommGemQueryInfoSummary of a report query request or response, filled by pdcomm_gem_result_query_info().data_idDATAID from an S6F16 reply; 0 when data_id_present is 0.data_id_present1 for an S6F16 reply, which carries a DATAID; otherwise 0.idRequested ID: the CEID for an event query, otherwise the RPTID.is_request1 for a query received by an Equipment, 0 for a response received by a Host.query_kind#PDCOMM_GEM_EVENT_QUERY, #PDCOMM_GEM_INDIVIDUAL_QUERY, or #PDCOMM_GEM_ANNOTATED_QUERY.report_countNumber of reports in an S6F16 reply; 0 for requests and for S6F20/S6F22.responded1 after pdcomm_gem_equipment_respond_report_query() sent the reply for this request.struct_sizeStructure size in bytes; set before the call, receives the size written.value_countNumber of values: summed over all reports for S6F16, the entry count for S6F20/S6F22, 0 for requests.PdcommGemQueryReportInfoOne report of an S6F16 reply, filled by pdcomm_gem_result_query_report().idReport ID (RPTID).struct_sizeStructure size in bytes; set before the call, receives the size written.value_countNumber of values in the report.PdcommGemQueryValueInfoMetadata of one query value, filled by pdcomm_gem_result_query_value().struct_sizeStructure size in bytes; set before the call, receives the size written.vidVID of an S6F22 entry; 0 when vid_present is 0.vid_present1 only for S6F22 entries, which carry a VID on the wire.PdcommGemReportBindingBinding of one report VID to its value source.constant_idEquipment constant ID (ECID) for a CONSTANT source; must be NULL otherwise.source_idStatus variable ID or DVID for STATUS and DATA sources; must be 0 for CONSTANT.source_kindSource kind: #PDCOMM_GEM_SOURCE_STATUS, #PDCOMM_GEM_SOURCE_DATA, or #PDCOMM_GEM_SOURCE_CONSTANT.vidVariable ID (VID) used in reports; unique within the store.PdcommGemReportOptionsCapacity limits of an Equipment report store.max_eventsLargest number of collection events (CEIDs) in the store.max_reportsLargest number of defined reports (RPTIDs).max_reports_per_eventLargest number of reports linked to one event.max_total_linksLargest total number of event-to-report links.max_total_variablesLargest total number of VIDs across all reports.max_variables_per_reportLargest number of VIDs in one report.reservedMust be 0.struct_sizeStructure size in bytes; set to sizeof(PdcommGemReportOptions) or larger.versionMust be #PDCOMM_GEM_REPORT_OPTIONS_VERSION.PdcommGemReportSpecOne report definition: an RPTID and its ordered VIDs.countNumber of elements in variable_ids.idReport ID (RPTID), sent as U4.variable_idsArray of count variable IDs (VID), sent as U4.PdcommGemReportStateCounters of an Equipment report store, filled by pdcomm_gem_equipment_report_state().event_countNumber of registered collection events.report_countNumber of defined reports.struct_sizeStructure size in bytes.total_linksTotal number of event-to-report links.total_variablesTotal number of VIDs across all reports.PdcommGemResultOpaque, immutable snapshot produced by pdcomm_gem_handle_event().PdcommGemResultInfoFixed fields of a ::PdcommGemResult, read with pdcomm_gem_result_info().acknowledgementAcknowledgement code of the exchange (such as COMMACK, OFLACK, or ONLACK); valid only when acknowledgement_present is nonzero.acknowledgement_presentNonzero when acknowledgement holds a value.codeFailure or error detail; 0 when there is none.entry_countNumber of entries in list-type results, such as the values of #PDCOMM_GEM_VALUES_RECEIVED or the entries of #PDCOMM_GEM_NAMES_RECEIVED; 0 otherwise.kindResult kind: #PDCOMM_GEM_IGNORED, #PDCOMM_GEM_PRIMARY, #PDCOMM_GEM_RESPONSE, #PDCOMM_GEM_FAILED, #PDCOMM_GEM_INVALID_RESPONSE, or #PDCOMM_GEM_UNHANDLED.outcomeWhat the message did, as a PDCOMM_GEM_* outcome value.reply_sentNonzero when this side has sent the reply to the primary of this result.request_kindRequest kind of the matched pending request for response, failed, and invalid-response results; 0 otherwise.stateGEM state of the endpoint after the event was processed.struct_sizeStructure size in bytes.tokenTransaction token.PdcommGemSpoolEntryInfoHeader of one spooled message, filled by pdcomm_gem_spool_entry_at().body_present1 when the message has a body; 0 for a header-only message.entry_idEntry ID, unique within the spool.functionFunction of the spooled message.reply_expected1 when the message is sent with the W bit (a reply is expected).streamStream of the spooled message.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemSpoolEntryInfo) or larger before the call.PdcommGemSpoolHostOptionsRequest limits for Host spooling requests.max_functions_per_streamLargest number of functions for one stream in a request or accepted reply.max_pending_itemsLargest item budget of one S2F43 request.max_streamsLargest number of streams in one S2F43 request or accepted reply.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemSpoolHostOptions) or larger.versionStructure version; must be #PDCOMM_GEM_SPOOL_OPTIONS_VERSION.PdcommGemSpoolInfoSpooling details of a GEM result, filled by pdcomm_gem_result_spool_info().acknowledgementAcknowledgement code: RSPACK (S2F44), RSDA (S6F24), or ACKC5/ACKC6 from a delivered S5F1/S6F11 reply.acknowledgement_present1 when acknowledgement is valid.applied1 when processing this result installed a spool change.commandS6F23 command (#PDCOMM_GEM_SPOOL_TRANSMIT or #PDCOMM_GEM_SPOOL_PURGE) for control kinds; otherwise 0.confirmation_required1 when a retained reply waits for pdcomm_gem_spool_confirm_reply() after #PDCOMM_SPOOL_UNCONFIRMED.delivery_attemptDelivery attempt number for delivery results; otherwise 0.delivery_completed1 when pdcomm_gem_spool_complete_delivery() finished with this delivery result.delivery_proofDelivery proof: #PDCOMM_GEM_SPOOL_PROOF_NONE, #PDCOMM_GEM_SPOOL_PROOF_RESPONSE, or #PDCOMM_GEM_SPOOL_PROOF_WRITTEN.dequeue_pending1 when delivery succeeded but the dequeue failed before installation and is still pending.durabilityDurability of the change applied by a response or delivery, as in ::PdcommGemSpoolWriteInfo, or #PDCOMM_GEM_SPOOL_CONFIRMED.entry_idEntry ID of the delivered message for delivery results; otherwise 0.error_countNumber of stream errors in a received S2F44.is_request1 for an incoming request (Equipment side); 0 for a response or delivery result.persistence_status#PDCOMM_OK, or the persistence error of an unconfirmed or failed installation or dequeue.reply_ready1 when a prepared reply is retained and can be sent by pdcomm_gem_spool_respond().request_kindRequest kind: #PDCOMM_GEM_SPOOL_CONFIGURE, #PDCOMM_GEM_SPOOL_QUERY, #PDCOMM_GEM_SPOOL_CONTROL, or #PDCOMM_GEM_SPOOL_DELIVERY.responded1 after the reply to an incoming request was queued.selection_countNumber of stream selections in an incoming S2F43 or a received S2F60.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemSpoolInfo) or larger before the call.success_accepted1 when the application reported this delivery as successful.PdcommGemSpoolMessageKeyOne spoolable primary message type in the Equipment catalog.functionPrimary function number: odd and nonzero.streamStream number, 2 to 127.PdcommGemSpoolOptionsStorage limits and persistence bound for an Equipment spool.max_body_bytesLargest encoded body of one captured message in bytes; larger bodies are rejected.max_catalog_entriesLargest number of catalog entries; also bounds the total functions listed in an incoming S2F43 or an outgoing S2F60.max_functions_per_streamLargest number of functions listed for one stream in a selection.max_messagesLargest number of spooled messages; reaching it makes the spool full.max_serialized_bytesLargest snapshot file size in bytes; used only with a file path.max_streamsLargest number of streams in a selection, locally or in S2F43 and S2F60.max_total_body_bytesLargest total encoded body bytes of all spooled messages; reaching it makes the spool full.reservedReserved; must be 0.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemSpoolOptions) or larger.versionStructure version; must be #PDCOMM_GEM_SPOOL_OPTIONS_VERSION.PdcommGemSpoolPolicyLocal spool policy, set with pdcomm_gem_spool_configure_local().enabled1 enables spooling globally (E30 EnableSpooling), 0 disables it, and other values are rejected.max_transmitLargest number of messages delivered per transmission run (E30 MaxSpoolTransmit); 0 means unbounded.overflowOverflow policy: #PDCOMM_GEM_SPOOL_DISCARD_NEW or #PDCOMM_GEM_SPOOL_OVERWRITE_OLDEST.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemSpoolPolicy) or larger.PdcommGemSpoolSelectionSpool selection for one stream, as in S2F43.function_countNumber of entries in functions; 0 selects the whole stream.functionsArray of function_count function numbers; may be NULL when function_count is 0.streamStream number.PdcommGemSpoolStateSnapshot of an Equipment spool, filled by pdcomm_gem_spool_state().active1 when spooling is active (E30 SPOOL ACTIVE): messages are being stored or are still waiting for delivery.body_bytesTotal encoded body bytes of the spooled messages.catalog_countNumber of catalog entries.connected1 when the last sync observed a Selected, Communicating connection.delivery_pending1 while a delivery attempt is in flight or an acknowledged dequeue is pending.dequeue_pending1 when a delivered head entry still has to be dequeued with pdcomm_gem_spool_retry_dequeue().discardedMessages discarded or overwritten because the spool was full.enabled1 when spooling is enabled.full_timeApplication timestamp when the spool became full (E30 SpoolFullTime); valid when full_time_present is 1.full_time_present1 when full_time holds a value.max_transmitCurrent per-run transmit limit; 0 means unbounded.message_countNumber of spooled messages (E30 SpoolCountActual).next_idEntry ID that the next stored message receives.overflowCurrent overflow policy: #PDCOMM_GEM_SPOOL_DISCARD_NEW or #PDCOMM_GEM_SPOOL_OVERWRITE_OLDEST.persistent1 when the spool is backed by a snapshot file; 0 for RAM.receivedSelected messages offered for spooling while active, stored or discarded.selection_countNumber of streams in the current selection.start_timeApplication timestamp when spooling started (E30 SpoolStartTime); valid when start_time_present is 1.start_time_present1 when start_time holds a value.storedMessages stored in the spool.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemSpoolState) or larger before the call.synchronized1 when the last pdcomm_gem_spool_sync() still matches the current connection state.transmittedSpooled messages delivered and dequeued.transmitted_in_runMessages dequeued in the current transmission run.transmitting1 while a transmission run accepted by S6F23 is in progress.PdcommGemSpoolWriteInfoOutcome of a spool mutation.affected_countOverwritten entries for a capture, purged entries for a purge, 1 for a dequeue; otherwise 0.applied1 when a change was installed; 0 otherwise.durabilityDurability of the change: #PDCOMM_GEM_SPOOL_DURABILITY_NONE, #PDCOMM_GEM_SPOOL_VOLATILE, #PDCOMM_GEM_SPOOL_SYNCED, or #PDCOMM_GEM_SPOOL_UNCONFIRMED.entry_idEntry ID of a captured (#PDCOMM_GEM_SPOOL_CAPTURED) or removed (#PDCOMM_GEM_SPOOL_REMOVED) entry; otherwise 0.mutationKind of change: one of the PDCOMM_GEM_SPOOL_MUTATION_NONE to PDCOMM_GEM_SPOOL_PURGED values.persistence_status#PDCOMM_OK, or the persistence error (for example #PDCOMM_IO_ERROR) when durability is #PDCOMM_GEM_SPOOL_UNCONFIRMED.selected1 when a change was installed; 0 when a captured message was not selected for spooling.struct_sizeSize of this structure in bytes; set to sizeof(PdcommGemSpoolWriteInfo) or larger before the call.PdcommGemStateGEM state of an endpoint, filled by pdcomm_gem_state() and embedded in ::PdcommGemResultInfo.communicationCommunication state, one of #PDCOMM_GEM_DISCONNECTED through #PDCOMM_GEM_COMMUNICATING.controlEquipment control state (#PDCOMM_GEM_EQUIPMENT_OFFLINE through #PDCOMM_GEM_ONLINE_REMOTE), or #PDCOMM_GEM_CONTROL_UNAVAILABLE for a host.endpoint_idIdentifier of the TCP endpoint, as carried in ::PdcommTcpToken.generationCurrent connection generation of the TCP endpoint.online_modeEquipment online mode (#PDCOMM_GEM_LOCAL or #PDCOMM_GEM_REMOTE), or #PDCOMM_GEM_CONTROL_UNAVAILABLE for a host.pending_countNumber of occupied pending-request slots, at most 32.pending_idsNumber of identifiers held by pending requests, counted against max_pending_ids for a host.roleConfigured role: #PDCOMM_GEM_HOST or #PDCOMM_GEM_EQUIPMENT.struct_sizeStructure size in bytes.variable_countNumber of registered status variables; 0 for a host.PdcommSecs1EndpointOpaque SECS-I endpoint bound to one caller-provided byte stream.PdcommSecs1EventOpaque, immutable, owned SECS-I event snapshot.PdcommSecs1EventInfoDescription of an event, filled by pdcomm_secs1_event_info().body_lengthInbound only: message body length in bytes.device_idInbound only: device ID from the block header.directionInbound only: #PDCOMM_SECS1_TO_HOST or #PDCOMM_SECS1_TO_EQUIPMENT, from the R-bit.discarded_partialFault only: 1 when a partially received block or message was discarded.fault_detailFault only: detail for fault_kind.fault_kindFault only: one of the PDCOMM_SECS1_FAULT_* values.functionInbound only: SECS-II function number.kindEvent kind, one of the PDCOMM_SECS1_EVENT_* values.reply_expectedInbound only: 1 when the W-bit is set, otherwise 0.reservedReserved; written as zero.streamInbound only: SECS-II stream number.struct_sizeStructure size in bytes.system_bytesInbound only: system bytes from the block header, in host byte order.tokenSubmission the event refers to.PdcommSecs1IoCaller-provided I/O callback table.contextOpaque pointer passed to both callbacks; must not be NULL.readNonblocking read callback; must not be NULL.struct_sizeSize of this structure in bytes; set to sizeof(PdcommSecs1Io) or larger.writeNonblocking write callback; must not be NULL.PdcommSecs1MessageA message to send with pdcomm_secs1_submit().bodyMessage body, normally one encoded SECS-II item.body_lengthNumber of bytes at body.device_idDevice ID, 0 to 32767.directionDirection that sets the R-bit: #PDCOMM_SECS1_TO_HOST or #PDCOMM_SECS1_TO_EQUIPMENT.functionSECS-II function number, 0 to 255.reply_expectedW-bit: 1 when the sender expects a reply, otherwise 0.reservedReserved; must be zero.streamSECS-II stream number, 0 to 127.struct_sizeSize of this structure in bytes; set to sizeof(PdcommSecs1Message) or larger.system_bytesSystem bytes of the block header.versionStructure version; must be #PDCOMM_SECS1_MESSAGE_VERSION.PdcommSecs1OptionsSECS-I line settings and resource limits for pdcomm_secs1_create().ack_wait_ticksT2 for a reply, in ticks; nonzero.grant_wait_ticksT2 for the EOT that grants the line after the endpoint sends ENQ, in ticks; nonzero.inbound_progress_ticksT1 inter-character timeout while a block is received, in ticks; nonzero.inter_block_ticksT4 inter-block timeout of a multi-block inbound message, in ticks; nonzero.max_blocksLargest number of blocks in an inbound message.max_body_bytesLargest inbound message body in bytes.max_event_body_bytesLargest total body bytes held by queued events; at least max_body_bytes.max_eventsLargest number of events queued for pdcomm_secs1_next_event(); nonzero.max_io_chunkLargest byte count passed to one read or write callback; nonzero.max_outbound_blocksLargest number of blocks of a submitted message; nonzero and at most max_blocks.max_outbound_body_bytesLargest body accepted by pdcomm_secs1_submit(); nonzero and at most max_body_bytes.poll_budgetNumber of processing steps in one pdcomm_secs1_poll() call; nonzero.priorityContention role: #PDCOMM_SECS1_MASTER or #PDCOMM_SECS1_SLAVE.reservedReserved; must be zero.reserved2Reserved; must be zero.retry_limitRetry limit (SEMI E4 RTY) for sending one block.struct_sizeSize of this structure in bytes; set to sizeof(PdcommSecs1Options) or larger.versionStructure version; must be #PDCOMM_SECS1_OPTIONS_VERSION.PdcommSecs1ReadReads bytes from the serial stream without blocking.PdcommSecs1StateSnapshot of an endpoint, filled by pdcomm_secs1_state().endpoint_idProcess-unique, nonzero endpoint identifier.faulted1 while a terminal fault is active, until pdcomm_secs1_reset() or stop.generationCurrent generation; starts at 1 and grows with each restart after stop.poisoned1 after a contained panic poisoned the endpoint; otherwise 0.started1 after pdcomm_secs1_start() until pdcomm_secs1_stop(); otherwise 0.stopped1 after pdcomm_secs1_stop() until the next start; otherwise 0.struct_sizeStructure size in bytes.PdcommSecs1TokenIdentifies one accepted submission.endpoint_idProcess-unique, nonzero endpoint identifier.generationEndpoint generation; 1 after create, incremented by each restart after stop.reservedReserved; always zero.valuePer-generation submission number, starting at 1; zero means no submission.PdcommSecs1WriteWrites bytes to the serial stream without blocking.PdcommSecsInfoSummary of a SECS-II item, filled by pdcomm_secs_info().countNumber of child items for a List; number of elements (payload bytes divided by element width) for a primitive.depthNesting depth: 1 for a primitive or an empty List.encoded_lengthLength of the minimal SECS-II encoding of the whole item, headers included.formatFormat code of the item, one of the PDCOMM_SECS_* format macros.node_countNumber of items in the tree, including this item.struct_sizeStructure size in bytes.PdcommSecsItemOpaque, immutable, owned SECS-II item tree.PdcommSecsLimitsResource limits for building, decoding, and copying SECS-II items.item_bytesLargest payload of a single primitive item in bytes.item_countLargest number of items in a tree, counting every List and primitive; must be at least 1.message_bytesLargest total encoded size of an item tree, headers included, in bytes.nesting_depthLargest nesting depth; capped at 64.struct_sizeSize of this structure in bytes; set to sizeof(PdcommSecsLimits) or larger.PdcommTcpEndpointOpaque HSMS endpoint handle.PdcommTcpEventOpaque, owned snapshot of one endpoint event.PdcommTcpEventInfoDecoded description of an event, filled by pdcomm_tcp_event_info().abortedFor a received reply: 1 when the reply is an SxF0 abort (function 0).body_lengthLength of the message body in bytes; nonzero only for #PDCOMM_TCP_RECEIVED.codeKind-specific code.detailKind-specific detail.from_statePrevious state for #PDCOMM_TCP_STATE_CHANGED.functionFunction (header byte 3); valid when PdcommTcpEventInfo::header_present is 1.header_present1 when the header fields are valid.is_replyFor #PDCOMM_TCP_RECEIVED: 1 for a reply to one of your requests, 0 for a primary.kindEvent kind, such as #PDCOMM_TCP_RECEIVED.p_typeHeader PType; valid when PdcommTcpEventInfo::header_present is 1.reply_expected1 when the header's W-bit is set (a reply is expected); valid when PdcommTcpEventInfo::header_present is 1.s_typeHeader SType (0 for data messages); valid when PdcommTcpEventInfo::header_present is 1.session_idSession ID from the message header; valid when PdcommTcpEventInfo::header_present is 1.streamStream (header byte 2 without the W-bit); valid when PdcommTcpEventInfo::header_present is 1.struct_sizeStructure size in bytes.to_stateNew state for #PDCOMM_TCP_STATE_CHANGED.tokenToken of the event.value1First code-specific value, as described for each failure reason, protocol error, and frame error.value2Second code-specific value, as described for each failure reason, protocol error, and frame error.PdcommTcpOptionsConfiguration for pdcomm_tcp_create().connect_timeout_msActive-mode TCP connect timeout in milliseconds; must be nonzero.initial_system_bytesFirst system bytes value of each connection generation.item_limitsSECS-II limits for message bodies.max_application_bytesLargest total body size of the events in the queue read by pdcomm_tcp_next_event(), in bytes; must be at least PdcommTcpOptions::max_frame_bytes minus 14.max_application_eventsCapacity of the queue read by pdcomm_tcp_next_event(); must be nonzero.max_eventsCapacity of the internal session event queue; must be at least 2 * #PDCOMM_TCP_MAX_TRANSACTIONS + 8 (72).max_frame_bytesLargest HSMS frame in bytes, including the 4-byte length field and the 10-byte header; must be at least 14.max_io_chunkLargest number of bytes passed to one socket read or write call; must be nonzero.max_queued_bytesLargest total size of message bodies held in the internal session queue, in bytes.max_write_bytesLargest total size of the socket write queue in bytes; must be at least 14 and at least PdcommTcpOptions::max_frame_bytes.max_write_framesLargest number of frames in the socket write queue; must be nonzero.modeConnection mode: #PDCOMM_TCP_ACTIVE or #PDCOMM_TCP_PASSIVE.poll_budgetLargest number of internal actions one pdcomm_tcp_poll() call performs; must be nonzero.reservedReserved; must be 0.session_idHSMS session ID (device ID) for data messages.shutdown_timeout_msGraceful shutdown limit in milliseconds; must be nonzero.struct_sizeSize of this structure in bytes; set to sizeof(PdcommTcpOptions) or larger.t3_msT3 reply timeout in milliseconds; must be nonzero.t5_msT5 connect separation timeout in milliseconds; must be nonzero.t6_msT6 control transaction timeout in milliseconds; must be nonzero.t7_msT7 not-selected timeout in milliseconds; must be nonzero.t8_msT8 network intercharacter timeout in milliseconds; must be nonzero.versionOptions layout version; must be #PDCOMM_TCP_OPTIONS_VERSION.write_timeout_msWrite timeout in milliseconds; must be nonzero.PdcommTcpStateEndpoint state snapshot, filled by pdcomm_tcp_state().closed1 when a stopped endpoint has finished closing, otherwise 0.endpoint_idProcess-unique, nonzero identity of the endpoint.generationCurrent connection generation; 0 before the first start.stateCurrent HSMS state, one of the PDCOMM_TCP_* state values such as #PDCOMM_TCP_SELECTED.struct_sizeStructure size in bytes.PdcommTcpTokenIdentifies one transaction or received message of one endpoint generation.endpoint_idProcess-unique, nonzero endpoint identity; 0 in an empty token.generationConnection generation in which the transaction or message occurred.reservedReserved; the library writes 0, and tokens you pass in must have 0.system_bytesHSMS system bytes of the message.pdcomm_gem300_capability_catalog_clearRemoves every profile from the catalog.pdcomm_gem300_capability_catalog_createCreates an empty capability catalog with revision 0.pdcomm_gem300_capability_catalog_destroyReleases a catalog.pdcomm_gem300_capability_catalog_infoReads the revision and totals of a catalog.pdcomm_gem300_capability_catalog_replaceAtomically replaces the catalog contents with an ordered list of profiles.pdcomm_gem300_capability_catalog_snapshotCopies the complete ordered catalog contents into a new snapshot.pdcomm_gem300_capability_snapshot_capability_id_copyCopies the identifier of one snapshot capability.pdcomm_gem300_capability_snapshot_capability_infoReads the axis, labels, and identifier length of one snapshot capability.pdcomm_gem300_capability_snapshot_destroyReleases a snapshot.pdcomm_gem300_capability_snapshot_infoReads the revision and totals recorded in a snapshot.pdcomm_gem300_capability_snapshot_profile_id_copyCopies the identifier of one snapshot profile.pdcomm_gem300_capability_snapshot_profile_infoReads the identifier length and capability count of one snapshot profile.pdcomm_gem_begin_communicationSends S1F13 Establish Communications Request.pdcomm_gem_configure_equipmentAttaches a GEM equipment role to a stopped TCP endpoint.pdcomm_gem_configure_formatted_program_capabilitiesEnables the formatted program capability service on a GEM endpoint.pdcomm_gem_configure_formatted_program_queriesEnables the S7F25/S7F26 service on an endpoint.pdcomm_gem_configure_formatted_program_transfersEnables the S7F23/S7F24 transfer service on an endpoint.pdcomm_gem_configure_formatted_program_verification_negotiationEnables the verification negotiation service on a GEM endpoint.pdcomm_gem_configure_formatted_program_verification_requestsEnables the S7F31/S7F32 verification request service on an endpoint.pdcomm_gem_configure_formatted_programsEnables the S7F27/S7F28 verification report service on an endpoint.pdcomm_gem_configure_hostAttaches a GEM host role to a stopped TCP endpoint.pdcomm_gem_configure_programsAttaches a process program store to a GEM endpoint.pdcomm_gem_configure_spool_hostEnables Host spooling requests and sets their limits.pdcomm_gem_configure_spoolingAttaches an Equipment spool to a GEM endpoint.pdcomm_gem_equipment_alarm_atReads one stored alarm by registration index and copies its text.pdcomm_gem_equipment_alarm_stateReads the alarm counts of the Equipment alarm store.pdcomm_gem_equipment_binding_atReads one binding by position.pdcomm_gem_equipment_binding_stateReads the counters of the binding store.pdcomm_gem_equipment_clear_data_variableRemoves the cached value of one data variable.pdcomm_gem_equipment_clear_report_bindingsRemoves the binding store and restores legacy VID-to-status resolution.pdcomm_gem_equipment_command_atReads one stored command by registration index.pdcomm_gem_equipment_command_parameter_atReads one parameter definition of a stored command.pdcomm_gem_equipment_command_stateReads the counts of the Equipment remote command store.pdcomm_gem_equipment_configure_alarmsInstalls the alarm store of a GEM Equipment endpoint.pdcomm_gem_equipment_configure_commandsInstalls the remote command store of a GEM Equipment endpoint.pdcomm_gem_equipment_configure_constantsInstalls the equipment constant store of an Equipment.pdcomm_gem_equipment_configure_data_variablesInstalls or replaces the complete data variable store of an Equipment.pdcomm_gem_equipment_configure_enhanced_commandsInstalls the enhanced remote command store of a GEM Equipment endpoint.pdcomm_gem_equipment_configure_event_directoryInstalls or replaces the complete event directory of an Equipment.pdcomm_gem_equipment_configure_fixed_catalogAtomically installs a fixed report graph and its STATUS or DATA bindings.pdcomm_gem_equipment_configure_report_bindingsInstalls or replaces the explicit report binding store of an Equipment.pdcomm_gem_equipment_configure_reportsInstalls an empty report store with the given collection events on an Equipment.pdcomm_gem_equipment_constant_atReads one constant definition and its ID by position.pdcomm_gem_equipment_constant_getCopies one field of a local constant.pdcomm_gem_equipment_constant_stateReads the counters of the constant store.pdcomm_gem_equipment_data_atReads the definition summary of one data variable by position.pdcomm_gem_equipment_data_getCopies the name, units, or cached value of one data variable.pdcomm_gem_equipment_data_stateReads the counters of the data variable store.pdcomm_gem_equipment_directory_atReads one local event directory entry by position.pdcomm_gem_equipment_directory_getCopies the name or the VIDs of one local event directory entry.pdcomm_gem_equipment_directory_stateReads the counters of the event directory.pdcomm_gem_equipment_enhanced_command_atReads one stored command of an object.pdcomm_gem_equipment_enhanced_command_parameter_atReads one parameter definition of a stored enhanced command.pdcomm_gem_equipment_enhanced_command_stateReads the counts of the Equipment enhanced command store.pdcomm_gem_equipment_enhanced_object_atReads one stored object by registration index.pdcomm_gem_equipment_event_atCopies one collection event of the local report store by position.pdcomm_gem_equipment_observe_alarmRecords the current set or cleared state of an alarm without sending anything.pdcomm_gem_equipment_operator_offlineTakes the equipment to EQUIPMENT OFF-LINE (the operator's OFF-LINE switch).pdcomm_gem_equipment_operator_onlineStarts an operator-initiated ON-LINE attempt by sending S1F1.pdcomm_gem_equipment_publish_alarmPublishes the current state of one alarm as an S5F1 Alarm Report Send.pdcomm_gem_equipment_publish_eventSends an Event Report Send (S6F11, W-bit set) for an enabled event.pdcomm_gem_equipment_publish_event_with_dataSends an Event Report Send (S6F11, W-bit set) using sampled data variable values.pdcomm_gem_equipment_report_atCopies one report definition of the local report store by position.pdcomm_gem_equipment_report_stateReads the counters of an Equipment report store.pdcomm_gem_equipment_report_valueResolves the current value of one report VID from local stores only.pdcomm_gem_equipment_respond_commandSends the S2F42 Host Command Acknowledge for a received S2F41.pdcomm_gem_equipment_respond_constantsSends the S2F16 reply for a received S2F15 and applies accepted values.pdcomm_gem_equipment_respond_enhanced_commandSends the S2F50 Enhanced Remote Command Acknowledge for a received S2F49.pdcomm_gem_equipment_respond_report_querySends the reply (S6F16, S6F20, or S6F22) to a received report query.pdcomm_gem_equipment_set_online_modeSets the operator's REMOTE/LOCAL switch.pdcomm_gem_equipment_status_getCopies the current value of a registered status variable.pdcomm_gem_equipment_status_id_atReturns the ID of the status variable at a registration index.pdcomm_gem_equipment_status_metadataCopies the name and units of a registered status variable.pdcomm_gem_equipment_status_registerRegisters an equipment status variable (SV).pdcomm_gem_equipment_status_updateReplaces the value of a registered status variable.pdcomm_gem_equipment_update_data_variableReplaces the cached value of one data variable.pdcomm_gem_formatted_program_capability_catalog_clearRemoves the equipment's published capability catalog.pdcomm_gem_formatted_program_capability_catalog_replaceReplaces the equipment's published capability catalog.pdcomm_gem_formatted_program_capability_respondAnswers a received S7F21 request with S7F22 from the catalog.pdcomm_gem_formatted_program_capability_submitSends an S7F21 capability request from the host.pdcomm_gem_formatted_program_clear_selectionClears the current selection when the token matches it.pdcomm_gem_formatted_program_dry_runAnalyzes the selected formatted program against the capability catalog.pdcomm_gem_formatted_program_dry_run_destroyReleases a dry-run report.pdcomm_gem_formatted_program_dry_run_infoReads the summary of a dry-run report.pdcomm_gem_formatted_program_dry_run_issue_infoReads one issue of a dry-run report.pdcomm_gem_formatted_program_dry_run_model_copyCopies the analyzed program's MDLN (model name).pdcomm_gem_formatted_program_dry_run_program_id_copyCopies the raw bytes of the analyzed program identifier (PPID).pdcomm_gem_formatted_program_dry_run_program_id_getCopies the analyzed program identifier (PPID) as a SECS-II item.pdcomm_gem_formatted_program_dry_run_software_revision_copyCopies the analyzed program's SOFTREV (software revision).pdcomm_gem_formatted_program_execution_action_command_code_getCopies the command code of a Step action as a SECS-II item.pdcomm_gem_formatted_program_execution_action_destroyReleases an execution action handle.pdcomm_gem_formatted_program_execution_action_infoReads the description of an action, including its token fields.pdcomm_gem_formatted_program_execution_action_model_copyCopies the program MDLN (model name) of a Start action.pdcomm_gem_formatted_program_execution_action_parameter_getCopies one parameter of a Step action's command as a SECS-II item.pdcomm_gem_formatted_program_execution_action_program_id_getCopies the program identifier (PPID) of a Start action.pdcomm_gem_formatted_program_execution_action_software_revision_copyCopies the program SOFTREV (software revision) of a Start action.pdcomm_gem_formatted_program_execution_cancelRequests cancellation of the execution as a Cancel action.pdcomm_gem_formatted_program_execution_completeRecords the application's terminal report for the execution.pdcomm_gem_formatted_program_execution_snapshotCaptures the endpoint's current execution state as a snapshot.pdcomm_gem_formatted_program_execution_snapshot_application_detail_copyCopies the detail bytes of the snapshot's terminal report.pdcomm_gem_formatted_program_execution_snapshot_command_code_getCopies the command code of one program command as a SECS-II item.pdcomm_gem_formatted_program_execution_snapshot_command_infoReads the parameter count and code format of one program command.pdcomm_gem_formatted_program_execution_snapshot_destroyReleases an execution snapshot.pdcomm_gem_formatted_program_execution_snapshot_infoReads the state summary of a snapshot.pdcomm_gem_formatted_program_execution_snapshot_model_copyCopies the executed program's MDLN (model name).pdcomm_gem_formatted_program_execution_snapshot_parameter_getCopies one parameter of one program command as a SECS-II item.pdcomm_gem_formatted_program_execution_snapshot_program_id_getCopies the executed program's identifier (PPID) as a SECS-II item.pdcomm_gem_formatted_program_execution_snapshot_software_revision_copyCopies the executed program's SOFTREV (software revision).pdcomm_gem_formatted_program_execution_startStarts tracking an execution of the selected program and returns its Start action.pdcomm_gem_formatted_program_execution_stepRequests the next program command as a Step action.pdcomm_gem_formatted_program_execution_submit_action_resultReports the application's result for the pending action.pdcomm_gem_formatted_program_query_removeRemoves a program from the Equipment store (compatibility alias).pdcomm_gem_formatted_program_query_respondSends the S7F26 reply for a received S7F25 from the program store.pdcomm_gem_formatted_program_query_seedAdds or replaces a program in the Equipment store (compatibility alias).pdcomm_gem_formatted_program_query_submitSends an S7F25 Formatted Process Program Request to the equipment.pdcomm_gem_formatted_program_respondSends the S7F28 acknowledge for a received S7F27 report.pdcomm_gem_formatted_program_selectSelects a stored program by PPID and returns its selection token.pdcomm_gem_formatted_program_selection_snapshotCopies the current selection state, and the selected program if any, into a new snapshot.pdcomm_gem_formatted_program_selection_snapshot_command_code_getCopies the CCODE of one selected command as a new SECS-II item.pdcomm_gem_formatted_program_selection_snapshot_command_infoReads the parameter count and CCODE format of one selected command.pdcomm_gem_formatted_program_selection_snapshot_destroyReleases a selection snapshot.pdcomm_gem_formatted_program_selection_snapshot_id_getCopies the PPID of the selected program as a new SECS-II item.pdcomm_gem_formatted_program_selection_snapshot_infoReads the summary stored in a selection snapshot.pdcomm_gem_formatted_program_selection_snapshot_model_copyCopies the MDLN of the selected program.pdcomm_gem_formatted_program_selection_snapshot_parameter_getCopies one PPARM of one selected command as a new SECS-II item.pdcomm_gem_formatted_program_selection_snapshot_software_revision_copyCopies the SOFTREV of the selected program.pdcomm_gem_formatted_program_store_entry_command_code_getCopies the CCODE of one command as a new SECS-II item.pdcomm_gem_formatted_program_store_entry_command_infoReads the parameter count and CCODE format of one command.pdcomm_gem_formatted_program_store_entry_id_getCopies the PPID of one snapshot entry as a new SECS-II item.pdcomm_gem_formatted_program_store_entry_infoReads the summary of one program in a snapshot.pdcomm_gem_formatted_program_store_entry_model_copyCopies the MDLN equipment model of one snapshot entry.pdcomm_gem_formatted_program_store_entry_parameter_getCopies one PPARM of one command as a new SECS-II item.pdcomm_gem_formatted_program_store_entry_software_revision_copyCopies the SOFTREV software revision of one snapshot entry.pdcomm_gem_formatted_program_store_infoReads the current store totals and limits.pdcomm_gem_formatted_program_store_putAdds or replaces a formatted process program in the local store.pdcomm_gem_formatted_program_store_removeRemoves a program from the local store.pdcomm_gem_formatted_program_store_snapshotCopies the whole store into a new owned snapshot.pdcomm_gem_formatted_program_store_snapshot_destroyReleases a store snapshot.pdcomm_gem_formatted_program_store_snapshot_infoReads the totals and limits captured in a snapshot.pdcomm_gem_formatted_program_submitSends an S7F27 Process Program Verification Send to the host.pdcomm_gem_formatted_program_transfer_respondSends the S7F24 acknowledge for a received S7F23 without storing the program.pdcomm_gem_formatted_program_transfer_respond_and_storeSends the S7F24 acknowledge for a received S7F23 and applies a store action to the program.pdcomm_gem_formatted_program_transfer_submitSends an S7F23 Formatted Process Program Send to the equipment.pdcomm_gem_formatted_program_validate_selection_for_executionChecks that a selection token is still valid for execution and returns a snapshot of the selected program.pdcomm_gem_formatted_program_verification_preparePrepares an S7F27 verification report for negotiation.pdcomm_gem_formatted_program_verification_request_respondSends the S7F32 acknowledge for a received S7F31.pdcomm_gem_formatted_program_verification_request_submitSends an S7F31 Verification Request Send to the equipment.pdcomm_gem_formatted_program_verification_respondAnswers a received S7F29 inquiry with S7F30.pdcomm_gem_formatted_program_verification_retry_responseResends the staged S7F30 reply of a received inquiry.pdcomm_gem_formatted_program_verification_retry_verificationResends the S7F27 report after a grant whose automatic send failed.pdcomm_gem_formatted_program_verification_submitSends the S7F29 verification inquiry for a prepared result.pdcomm_gem_handle_eventProcesses one TCP event with the GEM role and returns an owned result.pdcomm_gem_host_acknowledge_alarmSends the S5F2 Alarm Report Acknowledge for a received W=1 alarm report.pdcomm_gem_host_acknowledge_eventSends the Event Report Acknowledge (S6F12) for a received S6F11.pdcomm_gem_host_change_constantsSends a New Equipment Constant Send (S2F15) from a Host.pdcomm_gem_host_constant_requestSends an Equipment Constant Request (S2F13) or Namelist Request (S2F29) from a Host.pdcomm_gem_host_define_reportsSends a Define Report request (S2F33) from a Host.pdcomm_gem_host_directory_requestSends a Data Variable or Collection Event Namelist Request (S1F21 or S1F23) from a Host.pdcomm_gem_host_enable_alarmSends S5F3 Enable/Disable Alarm Send from a Host.pdcomm_gem_host_enable_eventsSends an Enable/Disable Event Report request (S2F37) from a Host.pdcomm_gem_host_enhanced_remote_commandSends S2F49 Enhanced Remote Command (W=1) from a Host.pdcomm_gem_host_link_reportsSends a Link Event Report request (S2F35) from a Host.pdcomm_gem_host_remote_commandSends S2F41 Host Command Send (W=1) from a Host.pdcomm_gem_host_report_querySends an Event Report, Individual Report, or Annotated Individual Report request from a Host.pdcomm_gem_host_requestSends a host request to the equipment.pdcomm_gem_host_request_alarm_listSends S5F5 List Alarms Request (W=1) from a Host.pdcomm_gem_host_request_enabled_alarm_listSends S5F7 List Enabled Alarm Request (W=1) from a Host.pdcomm_gem_program_atCopies one stored program by position.pdcomm_gem_program_cancel_grantCancels a grant activated by answering an S7F1.pdcomm_gem_program_confirm_replyAccepts an unconfirmed installation so its reply can be sent.pdcomm_gem_program_deleteSends an S7F17 delete process program send (Host only).pdcomm_gem_program_delete_localDeletes stored programs locally.pdcomm_gem_program_directorySends a header-only S7F19 current EPPD request (Host only).pdcomm_gem_program_getCopies the body of a stored program by PPID.pdcomm_gem_program_grantSends an S7F1 process program load inquire.pdcomm_gem_program_putStores a program locally.pdcomm_gem_program_requestSends an S7F5 process program request.pdcomm_gem_program_respondAnswers an incoming S7F1, F3, F5, F17, or F19 request.pdcomm_gem_program_resyncRetries the parent directory synchronization of a file store.pdcomm_gem_program_sendSends an S7F3 process program send.pdcomm_gem_program_stateReads the usage of the program store.pdcomm_gem_result_alarm_atReads one alarm tuple of a validated Host alarm result and copies its text.pdcomm_gem_result_alarm_infoReads the summary of a validated Host alarm report or alarm list result.pdcomm_gem_result_bodyCopies the SECS-II body of the message behind a result.pdcomm_gem_result_command_infoReads the summary of a remote command request or reply result.pdcomm_gem_result_command_issueCopies one CPACK entry of a command request validation or a received reply.pdcomm_gem_result_command_nameCopies the RCMD item of a received S2F41 request.pdcomm_gem_result_command_parameterCopies one CPNAME/CPVAL pair of a received S2F41 request.pdcomm_gem_result_constant_changeCopies one ECID/ECV pair of a received S2F15 and the value at receipt.pdcomm_gem_result_constant_change_infoReads the receipt validation and decision state of an S2F15 or S2F16 result.pdcomm_gem_result_constant_metadataCopies one metadata field of one entry of an S2F30 reply.pdcomm_gem_result_constant_valueCopies one value, and its requested ID, from an S2F14 reply.pdcomm_gem_result_destroyReleases a result.pdcomm_gem_result_directory_atReads the ID and VID count of one entry of a validated S1F22 or S1F24 reply.pdcomm_gem_result_directory_getCopies one field of one entry of a validated S1F22 or S1F24 reply.pdcomm_gem_result_enhanced_command_acknowledgementsCopies the outer acknowledgement List of an enhanced command result.pdcomm_gem_result_enhanced_command_infoReads the summary of an enhanced command request or reply result.pdcomm_gem_result_enhanced_command_nameCopies the RCMD item of a received S2F49 request.pdcomm_gem_result_enhanced_command_objectCopies the OBJSPEC item of a received S2F49 request.pdcomm_gem_result_enhanced_command_parameterCopies one CPNAME/CEPVAL pair of a received S2F49 request.pdcomm_gem_result_event_infoReads the DATAID, CEID, report count, and acknowledgement state of a received S6F11.pdcomm_gem_result_event_reportReads the RPTID and value count of one report in a received S6F11.pdcomm_gem_result_event_valueCopies one value of one report in a received S6F11.pdcomm_gem_result_formatted_program_capability_command_code_copyCopies the CCODE (command code) of one capability command.pdcomm_gem_result_formatted_program_capability_command_infoReads the fixed-size fields of one capability command.pdcomm_gem_result_formatted_program_capability_command_name_copyCopies the CNAME (command name) of one capability command.pdcomm_gem_result_formatted_program_capability_dependency_atReads one value of a command's dependency vector.pdcomm_gem_result_formatted_program_capability_infoReads the summary of a capability result.pdcomm_gem_result_formatted_program_capability_model_copyCopies the MDLN (model name) of a capability result.pdcomm_gem_result_formatted_program_capability_parameter_getCopies one parameter descriptor of a capability command.pdcomm_gem_result_formatted_program_capability_software_revision_copyCopies the SOFTREV (software revision) of a capability result.pdcomm_gem_result_formatted_program_id_getCopies the PPID of a verification report as a new SECS-II item.pdcomm_gem_result_formatted_program_infoReads the summary of a verification report result.pdcomm_gem_result_formatted_program_issue_atCopies one issue of a verification report.pdcomm_gem_result_formatted_program_query_command_code_getCopies the CCODE of one returned command as a new SECS-II item.pdcomm_gem_result_formatted_program_query_command_infoReads the parameter count and CCODE format of one returned command.pdcomm_gem_result_formatted_program_query_id_getCopies the requested PPID of a query result as a new SECS-II item.pdcomm_gem_result_formatted_program_query_infoReads the summary of a query result.pdcomm_gem_result_formatted_program_query_model_copyCopies the MDLN of the program in a query result.pdcomm_gem_result_formatted_program_query_parameter_getCopies one PPARM of one returned command as a new SECS-II item.pdcomm_gem_result_formatted_program_query_software_revision_copyCopies the SOFTREV of the program in a query result.pdcomm_gem_result_formatted_program_transfer_command_code_getCopies the CCODE of one received command as a new SECS-II item.pdcomm_gem_result_formatted_program_transfer_command_infoReads the parameter count and CCODE format of one received command.pdcomm_gem_result_formatted_program_transfer_id_getCopies the PPID of a received S7F23 program as a new SECS-II item.pdcomm_gem_result_formatted_program_transfer_infoReads the summary of a transfer result.pdcomm_gem_result_formatted_program_transfer_model_copyCopies the MDLN of a received S7F23 program.pdcomm_gem_result_formatted_program_transfer_parameter_getCopies one PPARM of one received command as a new SECS-II item.pdcomm_gem_result_formatted_program_transfer_software_revision_copyCopies the SOFTREV of a received S7F23 program.pdcomm_gem_result_formatted_program_verification_negotiation_infoReads the negotiation details of a GEM result.pdcomm_gem_result_formatted_program_verification_request_command_code_getCopies the CCODE of one received command as a new SECS-II item.pdcomm_gem_result_formatted_program_verification_request_command_infoReads the parameter count and CCODE format of one received command.pdcomm_gem_result_formatted_program_verification_request_id_getCopies the PPID of a received S7F31 program as a new SECS-II item.pdcomm_gem_result_formatted_program_verification_request_infoReads the summary of a verification request result.pdcomm_gem_result_formatted_program_verification_request_model_copyCopies the MDLN of a received S7F31 program.pdcomm_gem_result_formatted_program_verification_request_parameter_getCopies one PPARM of one received command as a new SECS-II item.pdcomm_gem_result_formatted_program_verification_request_software_revision_copyCopies the SOFTREV of a received S7F31 program.pdcomm_gem_result_infoCopies the fixed fields of a result.pdcomm_gem_result_program_infoReads the process program details of a GEM result.pdcomm_gem_result_program_itemCopies a PPID or PPBODY from a program result.pdcomm_gem_result_query_infoReads the summary of a report query request or response.pdcomm_gem_result_query_reportReads the RPTID and value count of one report in an S6F16 reply.pdcomm_gem_result_query_valueCopies one value of a report query response.pdcomm_gem_result_spool_error_atReads one stream error from a received S2F44 (Host).pdcomm_gem_result_spool_infoReads the spooling details of a GEM result.pdcomm_gem_result_spool_selection_atReads one stream selection from an S2F43 request or S2F60 reply.pdcomm_gem_result_status_nameCopies one SVID, name, and units entry from an S1F12 result.pdcomm_gem_result_status_valueCopies one status variable value from an S1F4 result.pdcomm_gem_spool_captureOffers a generic primary message to the spool.pdcomm_gem_spool_capture_alarmBuilds an S5F1 alarm report and offers it to the spool.pdcomm_gem_spool_capture_eventBuilds an S6F11 event report and offers it to the spool.pdcomm_gem_spool_catalog_atReads one catalog entry by position.pdcomm_gem_spool_complete_deliveryCompletes a delivery attempt and dequeues the head on success.pdcomm_gem_spool_configure_localReplaces the local spool policy and stream/function selection.pdcomm_gem_spool_confirm_replyAccepts an unconfirmed installation so its reply can be sent.pdcomm_gem_spool_entry_atReads one spooled message by queue position.pdcomm_gem_spool_entry_time_atReads the capture timestamp of one spooled message.pdcomm_gem_spool_purgeRemoves every spooled message locally.pdcomm_gem_spool_request_configureSends an S2F43 reset spooling streams and functions request (Host).pdcomm_gem_spool_request_dataSends an S6F23 request spooled data (Host).pdcomm_gem_spool_request_querySends a header-only S2F59 spool configuration request (Host).pdcomm_gem_spool_respondAnswers an incoming S2F43, S2F59, or S6F23 request (Equipment).pdcomm_gem_spool_resyncRetries the parent directory synchronization of a file spool.pdcomm_gem_spool_retry_dequeueRetries a pending dequeue after an accepted delivery.pdcomm_gem_spool_selection_atReads one stream selection of the current local selection.pdcomm_gem_spool_send_nextSends the head of the spool queue during an accepted transmission.pdcomm_gem_spool_stateReads the current Equipment spool state.pdcomm_gem_spool_stop_transmitEnds the current transmission run.pdcomm_gem_spool_syncSynchronizes the spool with the current communication state.pdcomm_gem_stateReads the current GEM state of an endpoint.pdcomm_secs1_createCreates a stopped SECS-I endpoint.pdcomm_secs1_destroyReleases an endpoint without invoking callbacks.pdcomm_secs1_event_bodyCopies the body of an inbound event.pdcomm_secs1_event_destroyReleases an event.pdcomm_secs1_event_infoDescribes an event.pdcomm_secs1_next_eventTakes the oldest queued event.pdcomm_secs1_pollRuns line control, timers, and callback I/O for one time slice.pdcomm_secs1_resetClears a terminal fault so the endpoint can transfer messages again.pdcomm_secs1_startStarts a created or stopped endpoint.pdcomm_secs1_stateReads the identity and lifecycle flags of an endpoint.pdcomm_secs1_stopStops a started endpoint and discards its runtime state.pdcomm_secs1_submitQueues one message for transmission.pdcomm_secs_childCopies one child of a List into a new, independent item.pdcomm_secs_decodeDecodes exactly one SECS-II item from encoded bytes.pdcomm_secs_destroyReleases an item handle.pdcomm_secs_encodeEncodes an item as SECS-II bytes into caller storage.pdcomm_secs_infoReads the format, element count, and size of an item.pdcomm_secs_listCreates a List item from copies of existing items.pdcomm_secs_payloadCopies the raw payload bytes of a primitive item.pdcomm_secs_primitiveCreates a primitive item from raw payload bytes.pdcomm_tcp_cancelCancels an open transaction.pdcomm_tcp_createCreates an HSMS endpoint.pdcomm_tcp_deselectSends Deselect.req to leave the SELECTED state.pdcomm_tcp_destroyReleases an endpoint and its sockets.pdcomm_tcp_event_bodyCopies the message body of a received event.pdcomm_tcp_event_destroyReleases an event.pdcomm_tcp_event_infoDecodes the kind, codes, header, and token of an event.pdcomm_tcp_is_pendingReports whether a transaction is still waiting for its response.pdcomm_tcp_linktestSends Linktest.req to check that the connection is alive.pdcomm_tcp_local_addressCopies the local socket address as text.pdcomm_tcp_next_eventRemoves the oldest event from the endpoint's event queue.pdcomm_tcp_pollPerforms pending socket I/O and HSMS timer processing.pdcomm_tcp_replySubmits the reply to a received primary that has the W-bit set.pdcomm_tcp_requestSubmits a primary data message.pdcomm_tcp_selectSends Select.req to enter the SELECTED state.pdcomm_tcp_startStarts a new connection generation.pdcomm_tcp_stateReads the endpoint identity, generation, HSMS state, and close status.pdcomm_tcp_stopStops the endpoint and starts a graceful close.
No API matches the filter.