車走到X2是光電開關(guān)感應(yīng)開門,X3是開門到位信號(hào),當(dāng)車走進(jìn)倉庫X4光電開關(guān),感應(yīng)后關(guān)門-----x5是關(guān)門到位。
當(dāng)車從倉庫出來時(shí)X4光電開關(guān)感應(yīng)后開門,開門到位X3,車走去X2感應(yīng)關(guān)門--——關(guān)門到位X5.
x4既是關(guān)門信號(hào),又是開門信號(hào),X3即是開門信號(hào),又是關(guān)門信號(hào),如何編程?