Fog computing pushes intelligence down to the local area network level of network architecture, processing data in a fog node or IoT gateway.Edge computing pushes the intelligence, processing power and communication capabilities of an edge gateway or appliance directly into end devices like programmable automation controllers (PACs).
--http://www.automationworld.com/fog-computing-vs-edge-computing-whats-difference