1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/etc/examples/nodes/can.conf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

66 lines
1 KiB
Text
Raw Permalink Normal View History

# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
2020-07-08 16:07:42 +02:00
nodes = {
can_node1 = {
type = "can"
interface_name = "vcan0"
sample_rate = 500000
in = {
signals = (
{
name = "sigin1",
unit = "Volts",
2020-07-08 16:08:05 +02:00
type = "float",
enabled = true,
can_id = 66,
2020-07-08 16:08:05 +02:00
can_size = 4,
can_offset = 0
},
{
name = "sigin2",
unit = "Volts",
type = "float",
enabled = true,
2020-07-08 16:08:05 +02:00
can_id = 66,
can_size = 4,
2020-07-08 16:08:05 +02:00
can_offset = 4
},
{
name = "sigin3",
unit = "Volts",
2020-07-08 16:08:05 +02:00
type = "float",
enabled = true,
2020-07-08 16:08:05 +02:00
can_id = 67,
can_size = 8,
can_offset = 0
}
)
}
out = {
signals = (
{
type = "float",
2020-07-08 16:08:05 +02:00
can_id = 66,
can_size = 4,
can_offset = 0
},
{
type = "float",
2020-07-08 16:08:05 +02:00
can_id = 66,
can_size = 4,
can_offset = 4
},
{
type = "float",
2020-07-08 16:08:05 +02:00
can_id = 67,
can_size = 8,
can_offset = 0
}
)
}
}
2020-07-08 16:07:42 +02:00
}