erpc_interface/erpc_PLCObject.erpc
changeset 3885 22a009561502
parent 3884 34da877021d5
child 3887 2df45e4bd500
equal deleted inserted replaced
3884:34da877021d5 3885:22a009561502
    15     Empty
    15     Empty
    16     Stopped,
    16     Stopped,
    17     Started,
    17     Started,
    18     Broken,
    18     Broken,
    19     Disconnected
    19     Disconnected
       
    20 }
       
    21 
       
    22 enum IECtype_enum {
       
    23     BOOL,
       
    24     STEP,
       
    25     TRANSITION,
       
    26     ACTION,
       
    27     SINT,
       
    28     USINT,
       
    29     BYTE,
       
    30     STRING,
       
    31     INT,
       
    32     UINT,
       
    33     WORD,
       
    34     DINT,
       
    35     UDINT,
       
    36     DWORD,
       
    37     LINT,
       
    38     ULINT,
       
    39     LWORD,
       
    40     REAL,
       
    41     LREAL,
       
    42     TIME,
       
    43     TOD,
       
    44     DATE,
       
    45     DT,
    20 }
    46 }
    21 
    47 
    22 struct PLCstatus {
    48 struct PLCstatus {
    23     PLCstatus_enum PLCstatus;
    49     PLCstatus_enum PLCstatus;
    24     uint32[4] logcounts;
    50     uint32[4] logcounts;
    39     binary blobID;
    65     binary blobID;
    40 };
    66 };
    41 
    67 
    42 struct trace_order {
    68 struct trace_order {
    43     uint32 idx;
    69     uint32 idx;
    44     uint8 iectype;
    70     IECtype_enum iectype;
    45     binary force;
    71     binary force;
    46 };
    72 };
    47 
    73 
    48 struct log_message {
    74 struct log_message {
    49     string msg;
    75     string msg;
    64     PurgeBlobs() -> uint32
    90     PurgeBlobs() -> uint32
    65     /* NOT TO DO : RemoteExec(in ) -> uint32 */
    91     /* NOT TO DO : RemoteExec(in ) -> uint32 */
    66     RepairPLC() -> uint32
    92     RepairPLC() -> uint32
    67     ResetLogCount() -> uint32
    93     ResetLogCount() -> uint32
    68     SeedBlob(in binary seed, out binary blobID) -> uint32
    94     SeedBlob(in binary seed, out binary blobID) -> uint32
    69     SetTraceVariablesList(in list<trace_order> orders) -> uint32
    95     SetTraceVariablesList(in list<trace_order> orders, out uint32 debugtoken) -> uint32
    70     StartPLC() -> uint32
    96     StartPLC() -> uint32
    71     StopPLC() -> uint32
    97     StopPLC(out bool success) -> uint32
    72 }
    98 }