EventParameter ¶ EVTPARAM_CmpAppException (Struct) EVTPARAM_SysExcept (Struct) RegContext (Struct)
EVTPARAM_CmpAppException (STRUCT) ¶ TYPE EVTPARAM_CmpAppException : STRUCT InOut: Name Type pApp POINTER TO APPLICATION hIecTask RTS_IEC_HANDLE ulException UDINT
EVTPARAM_SysExcept (STRUCT) ¶ TYPE EVTPARAM_SysExcept : STRUCT InOut: Name Type uiTaskOSHandle UDINT ulException UDINT Context RegContext
RegContext (STRUCT) ¶ TYPE RegContext : STRUCT InOut: Name Type IP UDINT BP UDINT SP UDINT
POUs ¶ EventCallbackFunction (Function) MapException (Function) OpenEvent (Function) SysCallbackRegister (Function) SysCallbackUnregister (Function)
Is_SphereWithPoly (FUN) ¶ FUNCTION Is_SphereWithPoly : UDINT Intersects a sphere given by the center point c and the radius with a polynomial given by n+1 coefficients a[0] .. a[n], p(x) = Sum(0 <= i <= n, a[i] * x^i). Returns the number of intersections found in increasing order along the polynomial. InOut: Scope Name Type Comment Return Is_SphereWithPoly UDINT Inout aRoots ARRAY [0..(Cnst.IS_SPHERE_MAX_ROOTS - 1)] OF LREAL The points of intersection, that means p(aRoots[i]) is a point on the sphere. The points are returned in increasing order in the direction of p. Inout Const c SM3M.SMC_Vec The center of the sphere. Input radius LREAL The radius of the sphere. Must be positive. pA POINTER TO SM3M.SMC_Vec Pointer to the array of vector-valued coefficients of the polynomial p(x) = Sum(0 <= i <= n, pA[i] * x^i). n UDINT The degree of the polynomial. Must not be greater than (Cnst.IS_SPHERE_MAX_ROOTS-1)/2. dX0 LREAL Roots are returned only in the interval [dX0 .. dX1]. dX1 LREAL Roots are returned only in the interval [dX0 .. dX1].
EventCallbackFunction (FUN) ¶ FUNCTION EventCallbackFunction : UDINT InOut: Scope Name Type Return EventCallbackFunction UDINT Input pEventParam2 POINTER TO EventParam2
Serialize_BOOL (FUN) ¶ FUNCTION Serialize_BOOL : BOOL InOut: Scope Name Type Return Serialize_BOOL BOOL Input stream IOutStream b BOOL
Serialize_DINT (FUN) ¶ FUNCTION Serialize_DINT : BOOL InOut: Scope Name Type Return Serialize_DINT BOOL Input stream IOutStream di DINT
Serialize_LREAL (FUN) ¶ FUNCTION Serialize_LREAL : BOOL InOut: Scope Name Type Return Serialize_LREAL BOOL Input stream IOutStream lr LREAL