Enums ¶ CommStatus (Enum) ERROR (Enum) FaultStatus (Enum) NCAPDUFaultStatus (Enum) RPCNCARejectStatus (Enum) State Machines CLClientState (Enum) CLRequestState (Enum) SysTargetOperationNumber (Enum)
CommStatus (ENUM) ¶ TYPE CommStatus : InOut: Name Initial rpc_s_no_error 0 rpc_s_access_control_info_inv 16#16C9A04A rpc_s_cancel_timeout 16#16C9A030 rpc_s_comm_failure 16#16C9A016 rpc_s_connect_closed_by_rem 16#16C9A04C rpc_s_connect_no_resources 16#16C9A044 rpc_s_connect_rejected 16#16C9A042 rpc_s_connect_timed_out 16#16C9A041 rpc_s_connection_closed 16#16C9A036 rpc_s_host_unreachable 16#16C9A049 rpc_s_fault_remote_comm_failure 16#16C9A085 rpc_s_loc_connect_aborted 16#16C9A04B rpc_s_network_unreachable 16#16C9A043 rpc_s_no_memory 16#16C9A012 rpc_s_no_more_bindings 16#16C9A0B5 rpc_s_no_ns_permission 16#16C9A0A8 rpc_s_no_rem_endpoint 16#16C9A047 rpc_s_op_rng_error 16#16C9A001 rpc_s_rem_host_crashed 16#16C9A04D rpc_s_rem_host_down 16#16C9A048 rpc_s_rem_network_shutdown 16#16C9A045 rpc_s_too_many_rem_connects 16#16C9A046 rpc_s_unknown_if 16#16C9A02C rpc_s_unsupported_type 16#16C9A02D rpc_s_wrong_boot_time 16#16C9A006
ERROR (ENUM) ¶ TYPE ERROR : Attributes: qualified_only InOut: Name NO_ERROR TIME_OUT SESSION_ALREADY_ESTABLISHED ACTIVITY_ID_MISSMATCH INVALID_STATE PING_TIME_OUT RESPONSE_TIME_OUT OUT_OF_MEMORY RESPONSE_ALREADY_IN_PROGRESS REQUEST_ALREADY_IN_PROGRESS CANCEL_ALREADY_IN_PROGRESS TOO_MUCH_REQUEST_DATA OUT_FRAG_NUM_MISSMATCH NO_REQUEST_IN_PROGRESS INVALID_COMM_PARAMETER NULL_POINTER UNKNOWN_INTERFACE UNKNOWN_OBJECT MAX_NUM_PROVIDER_REACHED PROVIDER_NOT_FOUND INVALID_SESSION BINDING_TO_BROADCAST_FAILED INITIALIZING_END_POINT_MAPPER_FAILED ERR_SOCKET OUT_OF_SOCKET_ADDR FAILED
FaultStatus (ENUM) ¶ TYPE FaultStatus : DCE RPC Spec. page 672 Table E-3 InOut: Name Initial rps_s_no_error 0 rpc_s_fault_object_not_found 16#16C9A01B rpc_s_call_cancelled 16#16C9A031 rpc_s_fault_addr_error 16#16C9A074 rpc_s_fault_context_mismatch 16#16C9A075 rpc_s_fault_fp_div_by_zero 16#16C9A076 rpc_s_fault_fp_error 16#16C9A077 rpc_s_fault_fp_overflow 16#16C9A078 rpc_s_fault_fp_underflow 16#16C9A079 rpc_s_fault_ill_inst 16#16C9A07A rpc_s_fault_int_div_by_zero 16#16C9A07B rpc_s_fault_int_overflow 16#16C9A07C rpc_s_fault_invalid_bound 16#16C9A07D rpc_s_fault_invalid_tag 16#16C9A07E rpc_s_fault_pipe_closed 16#16C9A07F rpc_s_fault_pipe_comm_error 16#16C9A080 rpc_s_fault_pipe_discipline 16#16C9A081 rpc_s_fault_pipe_empty 16#16C9A082 rpc_s_fault_pipe_memory 16#16C9A083 rpc_s_fault_pipe_order 16#16C9A084 rpc_s_fault_remote_no_memory 16#16C9A086 rpc_s_fault_unspec 16#16C9A087 rpc_s_fault_user_defined 16#16C9A113 rpc_s_fault_tx_open_failed 16#16C9A116 rpc_s_fault_codeset_conv_error 16#16C9A16E rpc_s_fault_no_client_stub 16#16C9A170
NCAPDUFaultStatus (ENUM) ¶ TYPE NCAPDUFaultStatus : DCE RPC Spec. page 672 Table E-3 InOut: Name Initial nca_s_no_fault 0 nca_s_fault_object_not_found 16#1C000024 nca_s_fault_cancel 16#1C00000D nca_s_fault_addr_error 16#1C000002 nca_s_fault_context_mismatch 16#1C00001A nca_s_fault_fp_div_zero 16#1C000003 nca_s_fault_fp_error 16#1C00000F nca_s_fault_fp_overflow 16#1C000005 nca_s_fault_fp_underflow 16#1C000004 nca_s_fault_ill_inst 16#1C00000E nca_s_fault_int_div_by_zero 16#1C000001 nca_s_fault_int_overflow 16#1C000010 nca_s_fault_invalid_bound 16#1C000007 nca_s_fault_invalid_tag 16#1C000006 nca_s_fault_pipe_closed 16#1C000015 nca_s_fault_pipe_comm_error 16#1C000018 nca_s_fault_pipe_discipline 16#1C000017 nca_s_fault_pipe_empty 16#1C000014 nca_s_fault_pipe_memory 16#1C000019 nca_s_fault_pipe_order 16#1C000016 nca_s_fault_remote_no_memory 16#1C00001B ncs_s_fault_user_defined 16#1C000021 nca_s_fault_tx_open_failed 16#1C000022 nca_s_fault_codeset_conv_error 16#1C000023 nca_s_fault_no_client_stub 16#1C000025
RPCNCARejectStatus (ENUM) ¶ TYPE RPCNCARejectStatus : InOut: Name Initial NCA_no_error 0 NCA_rpc_version_mismatch 16#1C000008 NCA_unspec_reject 16#1C000009 NCA_s_bad_actid 16#1C00000A NCA_who_are_you_failed 16#1C00000B NCA_manager_not_entered 16#1C00000C NCA_op_rng_error 16#1C010002 NCA_unk_if 16#1C010003 NCA_wrong_boot_time 16#1C010006 NCA_s_you_crashed 16#1C010009 NCA_proto_error 16#1C01000B NCA_out_args_too_big 16#1C010013 NCA_server_too_busy 16#1C010014 NCA_unsupported_type 16#1C010017 NCA_unsupported_authn_level 16#1C00001D NCA_invalid_checksum 16#1C00001F NCA_invalid_crc 16#1C000020
State Machines ¶ CLClientState (Enum) CLRequestState (Enum)
CLClientState (ENUM) ¶ TYPE CLClientState : InOut: Name Initial NOT_INITIALIZED 0 INIT WORKING COMM_FAIL FAULT
RecipeManCommands.ReadAndSaveAs (METH) ¶ METHOD ReadAndSaveAs : DWORD Reads the current PLC values and stores the values in a recipe file without changing any existing recipe The content of an existing file will be overridden. InOut: Scope Name Type Comment Return ReadAndSaveAs DWORD Possible last error values: ERR_RECIPE_DEFINITION_NOT_FOUND ERR_RECIPE_SAVE_ERR ERR_NO_RECIPE_MANAGER_SET ERR_OK See ReturnValues (GVL) for a description of all possible errors. Inout Const RecipeDefinitionName STRING Name of the recipe definition. FileName STRING(255) Name of the file
RecipeManCommands.ReadAndSaveRecipe (METH) ¶ METHOD ReadAndSaveRecipe : DWORD Reads the current PLC values into the recipe and afterwards stores the recipe into the standard recipe file The content of an existing file will be overridden. InOut: Scope Name Type Comment Return ReadAndSaveRecipe DWORD Possible last error values: ERR_RECIPE_DEFINITION_NOT_FOUND ERR_RECIPE_NOT_FOUND ERR_RECIPE_SAVE_ERR ERR_NO_RECIPE_MANAGER_SET ERR_OK See ReturnValues (GVL) for a description of all possible errors. Inout Const RecipeDefinitionName STRING Name of the recipe definition RecipeName STRING Name of the recipe