Esempio n. 1
0
        public static void HangIn()
        {
            Console.Write(" \n HangIn =>  ");
            var v = Plc2.Hang_In();

            Console.Write("  -- Done -- result ( " + v + " )");
        }
Esempio n. 2
0
        public static void SendToSlot()
        {
            Tmr.WaitTime(2000);

            while (!Plc2.GetClotheInHook())
            {
                Console.Write(" - HangIn F");
                Plc2.Hang_In();
                Tmr.WaitTime(1000);
            }

            while (Plc2.GetClotheInHook())
            {
                Console.Write(" - HangIn T");
                Tmr.WaitTime(1000);
            }
            return;
        }