ifw-fcf
2.0.0
|
Device Simulator class for the Standard NumAxPos Device. More...
Public Member Functions | |
def | __init__ |
Initialise the NumAxPos Device simulator class; set the members. More... | |
def | initialise |
Initialise various parameters of the simulated device. More... | |
def | set_error_attribs |
Set the "stat.nErrorCode"/"stat.sErrorText" node values. More... | |
def | set_rpc_error_attribs |
Set the "stat.nRpcErrorCode"/"stat.sRpcErrorText" node values. More... | |
def | sim_thr_user |
Simulation Thread managing the numAxPos status. More... | |
def | data_change_handler |
Invoked when subscribed "ctrl." and "stat." nodes change value. More... | |
def | RPC_Init |
Initiate the initialisation procedure. More... | |
def | RPC_Reset |
Reset the NumAxPos Device (bring it to NotOp/NotReady). More... | |
def | RPC_On |
Switch on numAxPos. More... | |
def | RPC_Off |
Switch off numAxPos. More... | |
def | RPC_Enable |
Execute SM Enable operation. More... | |
def | RPC_Disable |
Execute SM Disable operation. More... | |
Public Attributes | |
initialised | |
sim_init_time | |
Static Public Attributes | |
string | CFG_TODO = "TODO" |
OPC UA Namespace Node IDs: More... | |
string | CTRL_TODO = "TODO" |
string | STAT_COUNTER = "stat.nCycleCounter" |
Device Simulator class for the Standard NumAxPos Device.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.__init__ | ( | self | ) |
Initialise the NumAxPos Device simulator class; set the members.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.data_change_handler | ( | self, | |
node, | |||
value, | |||
data | |||
) |
Invoked when subscribed "ctrl." and "stat." nodes change value.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.initialise | ( | self | ) |
Initialise various parameters of the simulated device.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.RPC_Disable | ( | self, | |
parent | |||
) |
Execute SM Disable operation.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.RPC_Enable | ( | self, | |
parent | |||
) |
Execute SM Enable operation.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.RPC_Init | ( | self, | |
parent | |||
) |
Initiate the initialisation procedure.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.RPC_Off | ( | self, | |
parent | |||
) |
Switch off numAxPos.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.RPC_On | ( | self, | |
parent, | |||
intensity, | |||
time_on_limit | |||
) |
Switch on numAxPos.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.RPC_Reset | ( | self, | |
parent | |||
) |
Reset the NumAxPos Device (bring it to NotOp/NotReady).
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.set_error_attribs | ( | self, | |
error_code | |||
) |
Set the "stat.nErrorCode"/"stat.sErrorText" node values.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.set_rpc_error_attribs | ( | self, | |
rpc_error_code | |||
) |
Set the "stat.nRpcErrorCode"/"stat.sRpcErrorText" node values.
def fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.sim_thr_user | ( | self | ) |
Simulation Thread managing the numAxPos status.
|
static |
OPC UA Namespace Node IDs:
|
static |
fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.initialised |
fcfDevsimNumAxPos.numAxPos.DevsimNumAxPos.sim_init_time |
|
static |