ifw-ll 1.0.0
 
Loading...
Searching...
No Matches
Adc.Adc Class Reference

Test library for testing Adc RPC interface. More...

Inheritance diagram for Adc.Adc:
Motor.Motor Device.Device

Public Member Functions

 __init__ (self, server, ns, name, program="MAIN")
 
 ctrl_move_abs_async (self, axis, pos, vel)
 
 ctrl_move_abs (self, axis, pos, vel)
 
 ctrl_move_rel_async (self, axis, pos, vel)
 
 ctrl_move_rel (self, axis, pos, vel)
 
 ctrl_start_track (self, angle)
 
 ctrl_stop_track (self)
 
 ctrl_move_angle (self, angle)
 
- Public Member Functions inherited from Motor.Motor
 __init__ (self, server, ns, name, program="MAIN")
 
 ctrl_move_vel (self, vel)
 
- Public Member Functions inherited from Device.Device
 __init__ (self, server, ns, name, program="MAIN")
 server OPC UA Server url, e.g.
 
 debug (self, msg)
 
 call_rpc_async (self, rpc, *args)
 Function used to connect, execute RPC call and then disconnect.
 
 call_rpc (self, rpc, *args)
 
 ctrl_reset (self)
 
 ctrl_reset (self)
 
 ctrl_init (self)
 
 ctrl_init (self)
 
 ctrl_enable (self)
 
 ctrl_disable (self)
 
 ctrl_stop (self)
 

Additional Inherited Members

- Public Attributes inherited from Device.Device
 server = server
 
- Protected Attributes inherited from Device.Device
bool _debug_log = False
 
str _debug_log_file = "lcs_test_logs.log"
 
 _ns = ns
 
str _ns_name = str(ns) + ":" + str(name)
 
str _program = str(ns) + ":" + str(program)
 
list _full_path = ["0:Objects", "4:PLC1", self._program, self._ns_name]
 

Detailed Description

Test library for testing Adc RPC interface.

Methods common to all device, e.g. reset, init, enable, etc are defined in the base class Device. Methods related to Motor device are defined in base class Motor. Here we define only the Adc specific methods.

Constructor & Destructor Documentation

◆ __init__()

Adc.Adc.__init__ ( self,
server,
ns,
name,
program = "MAIN" )

Member Function Documentation

◆ ctrl_move_abs()

Adc.Adc.ctrl_move_abs ( self,
axis,
pos,
vel )

Reimplemented from Motor.Motor.

◆ ctrl_move_abs_async()

Adc.Adc.ctrl_move_abs_async ( self,
axis,
pos,
vel )

◆ ctrl_move_angle()

Adc.Adc.ctrl_move_angle ( self,
angle )

◆ ctrl_move_rel()

Adc.Adc.ctrl_move_rel ( self,
axis,
pos,
vel )

Reimplemented from Motor.Motor.

◆ ctrl_move_rel_async()

Adc.Adc.ctrl_move_rel_async ( self,
axis,
pos,
vel )

◆ ctrl_start_track()

Adc.Adc.ctrl_start_track ( self,
angle )

◆ ctrl_stop_track()

Adc.Adc.ctrl_stop_track ( self)

The documentation for this class was generated from the following file: