I am in the process of trying to create a Modbus buffer in a Schneider M340 PLC. My intent was to have all of the tags with Modbus addresses in one place, and then assign in one section with the := operator. I realized after completion it may not be that simple, as I can (and do) already read and write to a Modbus address in the PLC. I am essentially trying to do the following:
PLC_Program_Tag := Tag_With_Modbus_Address
Tag_With_Modbus_Address := PLC_Program_Tag
Which I know will not work.
I'd like to be able to read from, and write to the Tag_With_Modbus_Address. Any ideas?
PLC_Program_Tag := Tag_With_Modbus_Address
Tag_With_Modbus_Address := PLC_Program_Tag
Which I know will not work.
I'd like to be able to read from, and write to the Tag_With_Modbus_Address. Any ideas?