__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
simul_posuv_1(_IO_EM_DI_01,_IO_EM_DI_02,_IO_EM_DI_03,_IO_EM_DI_04,_IO_EM_DI_25,default,tol_pos);
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_17 := simul_posuv_1.POLOHA_0;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_13 := simul_posuv_1.POLOHA_1;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_14 := simul_posuv_1.POLOHA_2;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_15 := simul_posuv_1.POLOHA_3;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_16 := simul_posuv_1.POLOHA_4;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_18 := simul_posuv_1.STENA_VPREDU;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_19 := simul_posuv_1.STENA_VZADU;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
akt_pol_stroj := simul_posuv_1.POLOHA_AKT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X1_AO_01 := akt_pol_stroj;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
akt_pol_stena := simul_posuv_1.POLOHA_STENA_AKT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
simul_hydraulika_1(_IO_EM_DI_05,_IO_EM_DI_06,_IO_EM_DI_07,_IO_EM_DI_08,default,tol_hyd);
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X3_DO_02 := simul_hydraulika_1.POZ_A_HORE;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X3_DO_03 := simul_hydraulika_1.POZ_A_DOLE;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X3_DO_04 := simul_hydraulika_1.POZ_B_VPREDU;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X3_DO_05 := simul_hydraulika_1.POZ_B_VZADU;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
akt_pol_ram_A := simul_hydraulika_1.AKT_POL_RAM_A;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
akt_pol_ram_B := simul_hydraulika_1.AKT_POL_RAM_B;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
ovladanie_1(tl_home,tl_manual,tl_poloautomat,tl_automat,_IO_EM_DI_18,_IO_EM_DI_11,_IO_EM_DI_10,_IO_EM_DI_16,zapvyp,kom1_int,kom2_int,pocet_cyklov,_IO_EM_DI_15,vyber_vtoku,_IO_P2_AI_00,_IO_EM_DI_09,_IO_X2_AI_00,_IO_X2_AI_01,_IO_X2_AI_02,maximalna_teplota,tl_start_cerpadlo,tl_stop_cerpadlo,minimalna_teplota);
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
home := ovladanie_1.HOME_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_02 := ovladanie_1.MANUAL_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_03 := ovladanie_1.POLOAUTOMAT_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_04 := ovladanie_1.AUTOMAT_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
sta_porucha := ovladanie_1.PORUCHA_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
majak := ovladanie_1.MAJAK_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
zvuk := ovladanie_1.ZVUK_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X3_DO_06 := ovladanie_1.KOM_OUT_1;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X3_DO_07 := ovladanie_1.KOM_OUT_2;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
sta_auto_prip := ovladanie_1.PRIP_AUT_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X3_DO_10 := ovladanie_1.DIALKOVE;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X1_AO_00 := ovladanie_1.POC_CYK_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
akt_vtok := ovladanie_1.AKT_VTOK;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
akt_teplota := ovladanie_1.AKT_TEPLOTA;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
ohrev := ovladanie_1.OHREV_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_01 := ovladanie_1.MAX_TEPLOTA;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
cas_koncyk := ovladanie_1.CAS_KONCYK_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
aut_cas_cis_s := ovladanie_1.AUT_CAS_CIS_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
aut_cas_cyk_s := ovladanie_1.AUT_CAS_CYK_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_EM_DO_00 := ovladanie_1.CERPADLO_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X1_AO_02 := ovladanie_1.MIN_TEPLOTA;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
simul_parametre_1(tl_nas_par,tl_def_par);
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
default := simul_parametre_1.DEFAULT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
minimalna_teplota := simul_parametre_1.DEF_MIN_TEPLOTA_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
_IO_X1_AO_03 := simul_parametre_1.DEF_KONTROLNY_CAS_OUT;
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
RTC_READ_1(TRUE);
__STEPPRAGMA
65535,65535
__ENDSTEPPRAGMA
real_time_data := RTC_READ_1.RTCDATA;
__GL __LG0000;
