The Types for subroutine parameters have very strict type checking on IO units.
I would like to use a single subroutine for any type of IO unit (Generic OptoMMP Device, EB1, E1, R1, R2, etc.).
I want to access the memory map of whatever IO unit I am sending to the subroutine. I was hoping that by selecting Generic OptoMMP Device as the parameter type, I would be able to pass an R1 to it (Like passing an analog point in a float parameter), but if I do that I will get “Invalid type for argument #”.
To be honest, it seems strange to have a bunch of different types for different IO units available- are there any commands that are IO unit type specific?