derama2
Industrial
- Feb 10, 2010
- 1
Hi,
I have a program that has data that needs to be mapped to be read as if a PLC-5 was reading from a controllogix controller. I'm trying to create the arrays for mapping, but I'm having an issue moving boolean data types into the arrays. I'm getting this error "Invalid data type. Argument must match parameter data type." I cannot see which instruction to use to move boolean data types. Almost all of the addresses are DIs. I tried using a User-defined data type as well but I was still getting the same error. Is there something I need to do to change the data types of these inputs before I move them into an array? Any suggestions?
I have a program that has data that needs to be mapped to be read as if a PLC-5 was reading from a controllogix controller. I'm trying to create the arrays for mapping, but I'm having an issue moving boolean data types into the arrays. I'm getting this error "Invalid data type. Argument must match parameter data type." I cannot see which instruction to use to move boolean data types. Almost all of the addresses are DIs. I tried using a User-defined data type as well but I was still getting the same error. Is there something I need to do to change the data types of these inputs before I move them into an array? Any suggestions?