Implementation of distributed semaphores in IEC 61499 with consensus protocols | IEEE Conference Publication | IEEE Xplore