Exemplo n.º 1
0
        public OtherPart()
        {
            IpAddress       = "10.139.1.2";
            Port            = 502;
            ScanMotor       = new Electromotor();
            SampleRackCoils = new PLCParameter <bool> [Constants.SampleRackCount];
            for (byte i = 0; i < Constants.SampleRackCount; i++)
            {
                SampleRackCoils[i] = new PLCParameter <bool>();
            }

            DoorCoil                = new PLCParameter <bool>();
            this.CameraLightCoil    = new PLCParameter <bool>();
            this.CameraFLightCoil   = new PLCParameter <bool>();
            this.HandStopCoil       = new PLCParameter <bool>();
            this.EmergencyStopCoil  = new PLCParameter <bool>();
            this.ErrorCode          = new PLCParameter <short>();
            this.LightAlarmCoil     = new PLCParameter <bool>();
            this.LightCoil          = new PLCParameter <bool>();
            this.PauseCoil          = new PLCParameter <bool>();
            this.PLCLightAlarmCoil  = new PLCParameter <bool>();
            this.PLCVoiceAlarmCoil  = new PLCParameter <bool>();
            this.StartSwitchCoil    = new PLCParameter <bool>();
            this.StopCode           = new PLCParameter <short>();
            this.TestSelfSwitchCoil = new PLCParameter <bool>();
            this.VoiceAlarmCoil     = new PLCParameter <bool>();
            this.AvoidanceTotal     = new PLCParameter <int>();
            this.AvoidanceSpace     = new PLCParameter <int>();
        }
Exemplo n.º 2
0
 public CentrifugeM()
 {
     HightSpeed     = new PLCParameter <Int32>();
     LowSpeed       = new PLCParameter <Int32>();
     HightSpeedTime = new PLCParameter <float>();
     LowSpeedTime   = new PLCParameter <float>();
     AddLSpeedTime  = new PLCParameter <float>();
     AddHSpeedTime  = new PLCParameter <float>();
     StopSpeedTime  = new PLCParameter <float>();
     Code           = new PLCParameter <string>();
 }
Exemplo n.º 3
0
 public MachineHand(bool Init)
 {
     if (!Init)
     {
         return;
     }
     this.XMotor    = new Electromotor();
     this.YMotor    = new Electromotor();
     this.ZMotor    = new DoubleSpeedMotor();
     this.HandCoil  = new PLCParameter <bool>();
     ExistCoil      = new PLCParameter <bool>();
     HandDonedCoil  = new PLCParameter <bool>();
     HandInitCoil   = new PLCParameter <bool>();
     HandStartCoil  = new PLCParameter <bool>();
     HandStartAfter = new PLCParameter <Int32>();
     InitTime       = new PLCParameter <float>();
     DistanceTime   = new PLCParameter <float>();
 }