Смекни!
smekni.com

Трасса сборки печатных плат (стр. 2 из 3)

Р1 Р2 Р3 Р4 Р5 Р6 Р7 Р8 Р9 Р10 Р11 Р12 Р13 Р14 Р15 Р16 Р17
t1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
t2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
t3 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
t4 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
t5 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
t6 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
t7 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
t8 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
t9 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0
t10 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
t11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
t12 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0
t13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
t14 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
t15 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
t16 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0

4. Программа функционирования модели (Visual Basic 6.0)

Private Sub EXIT_Click()

End

End Sub

Private Sub ishodnoe_2_Click()

shiber.Left = 0

shiber.Visible = True

Timershiber_2.Enabled = False

Timershiber.Enabled = False

TimerSHIBER_3.Enabled = False

Timershiber_obr.Enabled = False

Timershiber_2_OBR.Enabled = False

TimerSHIBER_3_OBR.Enabled = False

TimerSHIBER_4.Enabled = False

TimerSHIBER_4_OBR.Enabled = False

pp.Left = 1320

pp.Visible = True

TimerPP_2.Enabled = False

TimerPP_3.Enabled = False

Timerpp.Enabled = False

TimerPP_obr.Enabled = False

TimerPP_4.Enabled = False

PPZ.Left = 2600

PPZ.Visible = False

TimerPPZ_2.Enabled = False

TimerPPZ_3.Enabled = False

TimerPPZ.Enabled = False

TimerPPz_OBR.Enabled = False

TimerPPZ_4.Enabled = False

R.Top = 2160

R.Left = 3840

TimerPOZR.Enabled = False

MR.Top = 1680

MR.Left = 3840

R.Visible = True

ZR.Left = 3480

ZR.Visible = False

TimerZR_2.Enabled = False

TimerZR.Enabled = False

TimerZR_OBR.Enabled = False

TimerZR_4.Enabled = False

imc.Left = 4800

imc.Top = 2040

TimerPOZIMC.Enabled = False

MIMC.Left = 4800

MIMC.Top = 1560

imc.Visible = True

ZRIMC.Left = 4500

ZRIMC.Visible = False

TimerZRIMC_2.Enabled = False

TimerZRIMC.Enabled = False

TimerZrimc_obr.Enabled = False

TimerZRIMC_4.Enabled = False

imc2.Left = 6360

imc2.Top = 2160

TimerPOZIMC2.Enabled = False

imc2.Visible = True

MIMC2.Left = 6360

MIMC2.Top = 1800

pimc2.Left = 5520

pimc2.Visible = False

Timerpimc2.Enabled = False

Timerpimc2_obr.Enabled = False

TimerPIMC2_4.Enabled = False

VYGR.Left = 7755

VYGR.Visible = False

TimerVYGR.Enabled = False

Timervygr_obr.Enabled = False

gotov.Visible = False

POZPP.Visible = False

POZPP_MAN.Visible = False

ZY_3.Visible = False

MAN.Visible = False

Line46.Visible = True

Line47.Visible = True

NR.Left = 3720

NR.Top = 1320

NIMC.Left = 4800

NIMC.Top = 1080

NIMC2.Left = 6240

NIMC2.Top = 1320

End Sub

Private Sub ISHODNOE_3_Click()

shiber.Left = 0

shiber.Visible = True

Timershiber.Enabled = False

Timershiber_obr.Enabled = False

Timershiber_2.Enabled = False

TimerSHIBER_3.Enabled = False

Timershiber_2_OBR.Enabled = False

TimerSHIBER_3_OBR.Enabled = False

TimerSHIBER_4.Enabled = False

TimerSHIBER_4_OBR.Enabled = False

pp.Left = 1320

pp.Visible = True

Timerpp.Enabled = False

TimerPP_obr.Enabled = False

TimerPP_2.Enabled = False

TimerPP_3.Enabled = False

TimerPP_4.Enabled = False

PPZ.Left = 2640

PPZ.Top = 3000

PPZ.Visible = False

TimerPPZ.Enabled = False

TimerPPz_OBR.Enabled = False

TimerPPZ_2.Enabled = False

TimerPPZ_3.Enabled = False

TimerPPZ_4.Enabled = False

R.Top = 1440

R.Left = 6000

TimerPOZR.Enabled = False

R.Visible = True

MR.Left = 6000

MR.Top = 1080

ZR.Left = 3480

ZR.Top = 2520

ZR.Visible = False

TimerZR.Enabled = False

TimerZR_OBR.Enabled = False

TimerZR_2.Enabled = False

TimerZR_4.Enabled = False

imc.Top = 2160

imc.Left = 5760

TimerPOZIMC.Enabled = False

imc.Visible = True

MIMC.Left = 5760

MIMC.Top = 1680

ZRIMC.Left = 4500

ZRIMC.Top = 2700

ZRIMC.Visible = False

TimerZRIMC.Enabled = False

TimerZrimc_obr.Enabled = False

TimerZRIMC_2.Enabled = False

TimerZRIMC_4.Enabled = False

imc2.Top = 2160

imc2.Left = 6520

TimerPOZIMC2.Enabled = False

imc2.Visible = True

MIMC2.Left = 6520

MIMC2.Top = 1800

pimc2.Left = 5520

pimc2.Top = 3000

pimc2.Visible = False

Timerpimc2.Enabled = False

Timerpimc2_obr.Enabled = False

TimerPIMC2_4.Enabled = False

VYGR.Left = 7755

VYGR.Visible = False

TimerVYGR.Enabled = False

Timervygr_obr.Enabled = False

gotov.Visible = False

POZPP.Visible = False

POZPP_MAN.Visible = False

ZY_3.Visible = False

MAN.Visible = False

Line46.Visible = False

Line47.Visible = False

NR.Left = 6000

NR.Top = 800

NIMC.Left = 5600

NIMC.Top = 1300

NIMC2.Left = 6540

NIMC2.Top = 1320

End Sub

печатный плата трасса циклограмма

Private Sub ishodnoe_4_Click()

shiber.Left = 0

shiber.Visible = True

Timershiber.Enabled = False

Timershiber_obr.Enabled = False

Timershiber_2.Enabled = False

Timershiber_2_OBR.Enabled = False

TimerSHIBER_3.Enabled = False

TimerSHIBER_3_OBR.Enabled = False

TimerSHIBER_4.Enabled = False

TimerSHIBER_4_OBR.Enabled = False

pp.Left = 1320

pp.Visible = True

Timerpp.Enabled = False

TimerPP_obr.Enabled = False

TimerPP_2.Enabled = False

TimerPP_3.Enabled = False

TimerPP_4.Enabled = False

PPZ.Left = 2640

PPZ.Top = 3000

PPZ.Visible = False

TimerPPZ.Enabled = False

TimerPPz_OBR.Enabled = False

TimerPPZ_2.Enabled = False

TimerPPZ_3.Enabled = False

TimerPPZ_3.Enabled = False

R.Top = 2160

R.Left = 3840

TimerPOZR.Enabled = False

R.Visible = True

MR.Left = 3840

MR.Top = 1680

ZR.Left = 3480

ZR.Top = 2520

ZR.Visible = False

TimerZR.Enabled = False

TimerZR_OBR.Enabled = False

TimerZR_2.Enabled = False

TimerZR_4.Enabled = False

imc.Top = 2040

imc.Left = 4800

TimerPOZIMC.Enabled = False

imc.Visible = True

MIMC.Left = 4800

MIMC.Top = 1560

ZRIMC.Left = 4500

ZRIMC.Top = 2700

ZRIMC.Visible = False

TimerZRIMC.Enabled = False

TimerZrimc_obr.Enabled = False

TimerZRIMC_2.Enabled = False

TimerZRIMC_4.Enabled = False

imc2.Top = 2160

imc2.Left = 5880

TimerPOZIMC2.Enabled = False

imc2.Visible = True

MIMC2.Left = 5880

MIMC2.Top = 1800

pimc2.Left = 5520

pimc2.Top = 3000

pimc2.Visible = False

Timerpimc2.Enabled = False

Timerpimc2_obr.Enabled = False

TimerPIMC2_4.Enabled = False

VYGR.Left = 7755

VYGR.Visible = False

TimerVYGR.Enabled = False

Timervygr_obr.Enabled = False

gotov.Visible = False

POZPP.Visible = False

POZPP_MAN.Visible = False

ZY_3.Visible = False

MAN.Visible = False

Line46.Visible = True

Line47.Visible = True

NR.Left = 3720

NR.Top = 1320

NIMC.Left = 4800

NIMC.Top = 1080

NIMC2.Left = 5800

NIMC2.Top = 1320

End Sub

Private Sub start_2_Click()

Timershiber_2.Enabled = True

TimerPP_2.Enabled = True

POZPP_MAN.Visible = True

End Sub

Private Sub START_4_Click()

TimerSHIBER_4.Enabled = True

TimerPP_4.Enabled = True

MAN.Visible = True

End Sub

Private Sub START3_Click()

TimerSHIBER_3.Enabled = True

TimerPP_3.Enabled = True

ZY_3.Visible = True

End Sub

Private Sub ishodnoe_1_Click()

shiber.Left = 0

shiber.Visible = True

Timershiber.Enabled = False

Timershiber_obr.Enabled = False

Timershiber_2.Enabled = False

Timershiber_2_OBR.Enabled = False

TimerSHIBER_3.Enabled = False

TimerSHIBER_3_OBR.Enabled = False

TimerSHIBER_4.Enabled = False

TimerSHIBER_4_OBR.Enabled = False

pp.Left = 1320

pp.Visible = True

Timerpp.Enabled = False

TimerPP_obr.Enabled = False

TimerPP_2.Enabled = False

TimerPP_3.Enabled = False

TimerPP_4.Enabled = False

PPZ.Left = 2640

PPZ.Top = 3000

PPZ.Visible = False

TimerPPZ.Enabled = False

TimerPPz_OBR.Enabled = False

TimerPPZ_2.Enabled = False

TimerPPZ_3.Enabled = False

TimerPPZ_3.Enabled = False

R.Top = 2160

R.Left = 3840

TimerPOZR.Enabled = False

R.Visible = True

MR.Left = 3840

MR.Top = 1680

ZR.Left = 3480

ZR.Top = 2520

ZR.Visible = False

TimerZR.Enabled = False

TimerZR_OBR.Enabled = False

TimerZR_2.Enabled = False

TimerZR_4.Enabled = False

imc.Top = 2040

imc.Left = 4800

TimerPOZIMC.Enabled = False

imc.Visible = True

MIMC.Left = 4800

MIMC.Top = 1560

ZRIMC.Left = 4500

ZRIMC.Top = 2700

ZRIMC.Visible = False

TimerZRIMC.Enabled = False

TimerZrimc_obr.Enabled = False

TimerZRIMC_2.Enabled = False

TimerZRIMC_4.Enabled = False

imc2.Top = 2160

imc2.Left = 6360

TimerPOZIMC2.Enabled = False

imc2.Visible = True

MIMC2.Left = 6360

MIMC2.Top = 1800

pimc2.Left = 5520

pimc2.Top = 3000

pimc2.Visible = False

Timerpimc2.Enabled = False

Timerpimc2_obr.Enabled = False

TimerPIMC2_4.Enabled = False

VYGR.Left = 7755

VYGR.Visible = False

TimerVYGR.Enabled = False

Timervygr_obr.Enabled = False

gotov.Visible = False

POZPP.Visible = False

POZPP_MAN.Visible = False

ZY_3.Visible = False

MAN.Visible = False

Line46.Visible = True

Line47.Visible = True

NR.Left = 3720

NR.Top = 1320

NIMC.Left = 4800

NIMC.Top = 1080

NIMC2.Left = 6240

NIMC2.Top = 1320

End Sub

Private Sub start_1_Click()

Timershiber.Enabled = True

Timerpp.Enabled = True

POZPP.Visible = True

End Sub

Private Sub TimerPIMC2_4_Timer()

pimc2.Top = pimc2.Top + 100

pimc2.Left = pimc2.Left + 100

pimc2.Visible = True

If pimc2.Top >= 4000 Then

pimc2.Top = 4000

If pimc2.Left >= 8000 Then

TimerPIMC2_4.Enabled = False

TimerVYGR.Enabled = True

imc2.Visible = True