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/ethercat.conf
Steffen Vogel 0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00

45 lines
848 B
Text

# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
ethercat = {
coupler = {
position = 0
vendor_id = 0x00000002 # Backhoff
product_code = 0x044c2c52 # EK1100
}
alias = 0
master = 0
}
nodes = {
ethercat_node = {
type = "ethercat"
rate = 1000.0 # Rate of master cyclic task
# Analog Input Slave
in = {
num_channels = 8
range = 10.0 # -10.0 V to +10.0 V
position = 2
vendor_id = 0x00000002 # Beckhoff
product_code = 0x0bc03052 # EL3008
# PDOs are currently hardcoded!
}
# Analog Output Slave
out = {
num_channels = 8
range = 10.0 # -10.0 V to +10.0 V
position = 1
vendor_id = 0x00000002 # Beckhoff
product_code = 0x0fc63052 # EL4038
# PDOs are currently hardcoded!
}
}
}