Scope:
This commit is for the Festo CTEU-PN bus node with 16 VAEM-L1-S-16-PT sub-modules.
Limitations of this configuration file:
The Festo bus node CTEU-PN controls the Festo VAEM-L1-S-16-PT sub-modules, which are individual valves. A typical setup uses 16 valves. The bus node by design will report two input/output channels per sub-module, regardless of the type of sub-module. In the case of the VAEM-L1-S-16-PT sub-module, there is only 1 channel. This leads to every second channel not being used, which makes direct indexing of the 16-valves a bit tricky when using an EPICS MBBO record. The PDO mapping of the channels is limited to 16-bits, and hence done in two sets: BO01 controls channels 0-15, BO02 controls channels 16-31.
On the EPICS IOC level, a PLC can be used to re-map the 16 relevant channels of the 32 channel register into a single EPICS AO record and a readback into a single AI record. By this method, a single decimal value written to the PV controls all valves directly, and the EPICS PV can then be easily displayed with for example the CaQtDM caByteControl object.
This ECMC PLC code performs an ECMC to EPICS PV conversion:
Scope: This commit is for the Festo CTEU-PN bus node with 16 VAEM-L1-S-16-PT sub-modules.
Limitations of this configuration file: The Festo bus node CTEU-PN controls the Festo VAEM-L1-S-16-PT sub-modules, which are individual valves. A typical setup uses 16 valves. The bus node by design will report two input/output channels per sub-module, regardless of the type of sub-module. In the case of the VAEM-L1-S-16-PT sub-module, there is only 1 channel. This leads to every second channel not being used, which makes direct indexing of the 16-valves a bit tricky when using an EPICS MBBO record. The PDO mapping of the channels is limited to 16-bits, and hence done in two sets: BO01 controls channels 0-15, BO02 controls channels 16-31.
On the EPICS IOC level, a PLC can be used to re-map the 16 relevant channels of the 32 channel register into a single EPICS AO record and a readback into a single AI record. By this method, a single decimal value written to the PV controls all valves directly, and the EPICS PV can then be easily displayed with for example the CaQtDM caByteControl object.
This ECMC PLC code performs an ECMC to EPICS PV conversion:
And this ECMC PLC code performs an EPICS PV to ECMC conversion:
And the following EPICS records in support: