I’d be questioning this out of the gate. Does it? Why? What specifically works with W7 that demonstrably (rather than claimed) doesn’t work with W10? I’ve seen this argument a hundred times and 97 of them turned out to be horseshit.
My bet is it is running codesys / beckhoff twincat 2 or similar / one of its derivatives. This involves some kernal level drivers. It only runs on 32bit and some of the older versions on windows 7. Upgrading would require HW upgrade and possibly software upgrades. It’s likely to be on IPC or PLC. The world of industrial machinery is very different to normal software as long life cycle support is expected. Plenty of stuff out there 30 odd years old. Infact even older.
Usual solution I have dealt with and has been approved by multinational IT companies is a private network with one route though to one computer for file transfers or whatever is needed. No general internet access. This can then be highly monitored. Yes attack is still a possibility but things can be highly restricted to minimise risk.