|
ifw-fcf
5.0.0-pre2
|
Class to handle an Integer Input Channel. More...
Public Member Functions | |
| def | __init__ (self, ch_nb, signal_nb, name, value, function="") |
| def | set_value (self, value) |
| Set value of the channel. More... | |
| def | ii_sine_wave (self, period, scale, offset) |
| Simulate an Integer Input sine wave behaviour of the signal. More... | |
Public Member Functions inherited from iodev.iodev.Channel | |
| def | set_value_ (self, value) |
| Set value of the channel (internal method). More... | |
| def | get_value (self) |
| Return the current value assigned to the channel. More... | |
| def | update_opcua_value (self, value) |
| Update OPC UA value in the server. More... | |
| def | get_last_update (self) |
| Return the time for the last update of the channel. More... | |
| def | update (self) |
| Update the OPC UA value in the instance and in the associated OPC UA server. More... | |
| def | set_opcua_node_id (self, node_id) |
| Set OPC UA node id. More... | |
| def | get_opcua_node_id (self) |
| Return the associated OPC UA node id. More... | |
| def | invoke_function (self) |
| Invoke a function of the channel. More... | |
Class to handle an Integer Input Channel.
| def iodev.iodev.IiChannel.__init__ | ( | self, | |
| ch_nb, | |||
| signal_nb, | |||
| name, | |||
| value, | |||
function = "" |
|||
| ) |
Reimplemented from iodev.iodev.Channel.
| def iodev.iodev.IiChannel.ii_sine_wave | ( | self, | |
| period, | |||
| scale, | |||
| offset | |||
| ) |
Simulate an Integer Input sine wave behaviour of the signal.
| def iodev.iodev.IiChannel.set_value | ( | self, | |
| value | |||
| ) |
Set value of the channel.
Reimplemented from iodev.iodev.Channel.