Communication between SNAP PAC S1 and AB PLC

All of the Opto Mem Map (OptoMMP) can be accessed via Modbus/TCP (see this post for details), including the scratch pad.

Not sure about the CompactLogix part.