
brooksg44 (Customer) asked a question.
The Click has an example of making the Click an adapter and connecting to AB CompactLogix. (Click Help topic CL235).
What would be the best way to make the P2-622 be an ethernet/ip adapter and mimic this example using just one data block?
Unfortunately that is tricky because Float byte order is very dependent upon the device and its architecture. Attached is an example that can move bytes from an array to float array tags and in the opposite direction. It allows for easy re-arrangement of the bytes to accommodate the different float byte orders of devices in our industry. There may be more 'elegant' solutions but this is one put together pretty quickly.
Bytes_to_Floats_Example_05Dec2025