Test library for testing Timer controller.
More...
|
def | __init__ (self, server, ns, name, program="MAIN") |
| server OPC UA Server url, e.g. More...
|
|
def | ctrl_init (self) |
|
def | ctrl_enable (self) |
|
def | ctrl_disable (self) |
|
def | ctrl_stop (self) |
|
def | ctrl_reset (self) |
|
def | get_mode (self) |
|
def | set_mode_async (self, mode) |
|
def | set_mode (self, mode) |
|
def | get_utc (self) |
|
def | set_time (self, new_time) |
|
def | debug (self, msg) |
|
def | call_rpc_async (self, rpc, *args) |
| Function used to connect, execute RPC call and then disconnect. More...
|
|
def | call_rpc (self, rpc, *args) |
|
Test library for testing Timer controller.
◆ __init__()
def Timer.Timer.__init__ |
( |
|
self, |
|
|
|
server, |
|
|
|
ns, |
|
|
|
name, |
|
|
|
program = "MAIN" |
|
) |
| |
server OPC UA Server url, e.g.
'opc.tcp://134.171.12.217:4840' ns OPC UA Name Space of the device, for Beckhoff it is currently 4 name Device Name, e.g. 'Lamp1' Example of Node Id: ns=4;s=Objects.PLC1.MAIN.Lamp1
Reimplemented from Device.Device.
◆ ctrl_disable()
def Timer.Timer.ctrl_disable |
( |
|
self | ) |
|
◆ ctrl_enable()
def Timer.Timer.ctrl_enable |
( |
|
self | ) |
|
◆ ctrl_init()
def Timer.Timer.ctrl_init |
( |
|
self | ) |
|
◆ ctrl_reset()
def Timer.Timer.ctrl_reset |
( |
|
self | ) |
|
◆ ctrl_stop()
def Timer.Timer.ctrl_stop |
( |
|
self | ) |
|
◆ get_mode()
def Timer.Timer.get_mode |
( |
|
self | ) |
|
◆ get_utc()
def Timer.Timer.get_utc |
( |
|
self | ) |
|
◆ set_mode()
def Timer.Timer.set_mode |
( |
|
self, |
|
|
|
mode |
|
) |
| |
◆ set_mode_async()
def Timer.Timer.set_mode_async |
( |
|
self, |
|
|
|
mode |
|
) |
| |
◆ set_time()
def Timer.Timer.set_time |
( |
|
self, |
|
|
|
new_time |
|
) |
| |
The documentation for this class was generated from the following file: