2020-01-25 17:36:46 +01:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2023-08-31 11:25:01 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-01-25 17:36:46 +01:00
|
|
|
ethercat = {
|
2024-02-29 21:36:38 +01:00
|
|
|
coupler = {
|
|
|
|
position = 0
|
2024-04-09 14:17:35 +02:00
|
|
|
vendor_id = 0x00000002 # Beckhoff
|
2024-02-29 21:36:38 +01:00
|
|
|
product_code = 0x044c2c52 # EK1100
|
|
|
|
}
|
|
|
|
|
|
|
|
alias = 0
|
|
|
|
master = 0
|
2020-01-25 17:36:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
nodes = {
|
2024-02-29 21:36:38 +01:00
|
|
|
ethercat_node = {
|
|
|
|
type = "ethercat"
|
2020-01-25 17:36:46 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
rate = 1000.0 # Rate of master cyclic task
|
2020-01-25 17:36:46 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
# Analog Input Slave
|
|
|
|
in = {
|
|
|
|
num_channels = 8
|
|
|
|
range = 10.0 # -10.0 V to +10.0 V
|
2020-01-25 17:36:46 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
position = 2
|
|
|
|
vendor_id = 0x00000002 # Beckhoff
|
|
|
|
product_code = 0x0bc03052 # EL3008
|
2020-01-25 17:36:46 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
# PDOs are currently hardcoded!
|
|
|
|
}
|
2020-01-25 17:36:46 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
# Analog Output Slave
|
|
|
|
out = {
|
|
|
|
num_channels = 8
|
|
|
|
range = 10.0 # -10.0 V to +10.0 V
|
2020-01-25 17:36:46 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
position = 1
|
|
|
|
vendor_id = 0x00000002 # Beckhoff
|
|
|
|
product_code = 0x0fc63052 # EL4038
|
2020-01-25 17:36:46 +01:00
|
|
|
|
2024-02-29 21:36:38 +01:00
|
|
|
# PDOs are currently hardcoded!
|
|
|
|
}
|
|
|
|
}
|
2020-01-25 17:36:46 +01:00
|
|
|
}
|