I would be using Beckhoff EL1002 Digital input module for my EMO switch. Attached is the connection details of the same. I presume that the 24V DC is available internally from EL1002. Can anyone let me know if the connection mentioned below is correct or do i have to connect 24V from an external power supply.