Hey, I would create an integer variable with the correct Modbus address and do the mapping in a ST program (see attachment). If you were using a M580 you do this all in one go with Alias'. You would map the IO card drop, slot and channel to the variable in the 'Alias of' column and but the desired Modbus address in the 'Address' column. But you can't do this with the M340 I am pretty sure (could be wrong, I mostly work with the M580).
... View more