Device Simulator class for the Standard Piezo Device.
More...
Device Simulator class for the Standard Piezo Device.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.__init__ |
( |
|
self | ) |
|
Initialise the Piezo Device simulator class; set the members.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.check_range_user |
( |
|
self, |
|
|
|
index, |
|
|
|
value |
|
) |
| |
Check weather user value is within the AD converter range.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.data_change_handler |
( |
|
self, |
|
|
|
node, |
|
|
|
value, |
|
|
|
data |
|
) |
| |
Invoked when subscribed "ctrl." and "stat." nodes change value.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.get_bits |
( |
|
self, |
|
|
|
index, |
|
|
|
user_value |
|
) |
| |
Get the bits for a given user value.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.get_pos |
( |
|
self, |
|
|
|
index, |
|
|
|
bit_value |
|
) |
| |
Get the pos in user units for a given user value in bits.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.initialise |
( |
|
self | ) |
|
Initialise various parameters of the simulated device.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.reset_piezo_values |
( |
|
self | ) |
|
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.RPC_Auto |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Execute SM Auto operation.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.RPC_Disable |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Execute SM Disable operation.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.RPC_Enable |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Execute SM Enable operation.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.RPC_Home |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Execute SM Auto operation.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.RPC_Init |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Initiate the initialisation procedure.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.RPC_MoveBit |
( |
|
self, |
|
|
|
parent, |
|
|
|
in_nPos1, |
|
|
|
in_nPos2, |
|
|
|
in_nPos3 |
|
) |
| |
Execute MoveBits operation.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.RPC_MoveUser |
( |
|
self, |
|
|
|
parent, |
|
|
|
in_lrPos1, |
|
|
|
in_lrPos2, |
|
|
|
in_lrPos3 |
|
) |
| |
Execute MoveUser operation.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.RPC_Pos |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Execute SM Pos operation.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.RPC_Reset |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Reset the Piezo Device (bring it to NotOp/NotReady).
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.RPC_Stop |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Execute SM Disable operation.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.set_error_attribs |
( |
|
self, |
|
|
|
error_code |
|
) |
| |
Set the "stat.nErrorCode"/"stat.sErrorText" node values.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.set_rpc_error_attribs |
( |
|
self, |
|
|
|
rpc_error_code |
|
) |
| |
Set the "stat.nRpcErrorCode"/"stat.sRpcErrorText" node values.
def fcfDevsim_piezo.devsim_piezo.DevsimPiezo.sim_thr_user |
( |
|
self | ) |
|
Simulation Thread managing the piezo status.
string fcfDevsim_piezo.devsim_piezo.DevsimPiezo.CFG_TODO = "TODO" |
|
static |
OPC UA Namespace Node IDs:
Configuration Node IDs:
string fcfDevsim_piezo.devsim_piezo.DevsimPiezo.CTRL_TODO = "TODO" |
|
static |
fcfDevsim_piezo.devsim_piezo.DevsimPiezo.initialised |
fcfDevsim_piezo.devsim_piezo.DevsimPiezo.sim_init_time |
string fcfDevsim_piezo.devsim_piezo.DevsimPiezo.STAT_COUNTER = "stat.nCycleCounter" |
|
static |
The documentation for this class was generated from the following file: