Make West 4100 driveable and add permlinks

This commit is contained in:
Douglas Clowes
2014-10-27 14:40:40 +11:00
parent fa2eb775ac
commit 09cedac66d

View File

@ -3,8 +3,8 @@ driver west_6100 = {
protocol = modbus_ap
class = environment
simulation_group = environment_simulation
add_args = 'dev_id'
make_args = 'dev_id'
add_args = 'id'
make_args = 'id'
Group = {
priv = user; data = true; control = true; mutable = true;
type = float;
@ -12,8 +12,12 @@ driver west_6100 = {
fetch_function = getDecimal;
read_function = rdDecimal;
write_function = wrDecimal;
var sensor = { read_command = "1"; }
var setpoint = { read_command = "2"; write_command = "2"; writeable = 1; }
var sensor = { read_command = "1"; permlink = "T.S01"; }
var setpoint = {
read_command = "2"; permlink = "T.SP01";
write_command = "2"; writeable = 1;
driveable = sensor; lowerlimit = 0; upperlimit = 1600;
tolerance = 1; property settle_time = 30; }
var w_sp = { read_command = "21"; write_command = "21"; writeable = 1; }
var ramprate = { read_command = "24"; write_command = "24"; writeable = 1; }
var alarm1 = { read_command = "13"; write_command = "13"; writeable = 1; }