[PROYECTO] CPU=CP121 ROM=275 ID=1 TipoArchivoProyecto=1 Descripcion= BudCom2=9600 BudCom3=9600 BudCom4=9600 DEMCOM1=5 DEMCOM2=5 DEMCOM3=5 DEMCOM4=5 ParCOM2=n ParCOM3=n ParCOM4=n StpCOM2=1 StpCOM3=1 StpCOM4=1 SUBs=0 MstEspCOM1=0 MstEspCOM2=0 MstEspCOM3=0 MstEspCOM4=0 PassProg=0 PassProgCod= AltInp0=0 AltInp1=0 AltInp2=0 AltInp3=0 AltInp4=0 AltInp5=0 AltInp6=0 AltInp7=0 AltInp8=0 AltInp9=0 AltInp10=0 AltInp11=0 AltInp12=0 AltInp13=0 AltInp14=0 AltInp15=0 AltOut0=0 AltOut1=0 AltOut2=0 AltOut3=0 AltOut4=0 AltOut5=0 AltOut6=0 AltOut7=0 AltOut8=0 AltOut9=0 AltOut10=0 AltOut11=0 AltOut12=0 AltOut13=0 AltOut14=0 AltOut15=0 IntI0=0 IntIN0= IntI1=0 IntIN1= IntI2=0 IntIN2= IntI3=0 IntIN3= IntI4=0 IntIN4= IntI5=0 IntIN5= IntI6=0 IntIN6= IntI7=0 IntIN7= IntEC0=0 IntEN0= IntEV0= IntEC1=0 IntEN1= IntEV1= IntEC2=0 IntEN2= IntEV2= IntEC3=0 IntEN3= IntEV3= IntEN4= [EQU] EN = v0.0¨bool¨Inicio&del&despacho&de&pulsos¨0¨-1¨-16777216¨0¨0¨0¨0¨ PulF = v1¨int¨Frecuencia&de&los&pulsos¨0¨-1¨-16777216¨0¨0¨0¨0¨ PulN = v2¨lng¨Cantidad&de&pulsos¨0¨-1¨-16777216¨0¨0¨0¨0¨ Pn = v4¨lng¨¨0¨-1¨-16777216¨0¨0¨0¨0¨ Pos = v6¨lng¨¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Input_0.0 = i0.0¨int¨Corresponds&to&the&terminal&of&the&digital&inputs&marked&E0¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Input_0.1 = i0.1¨int¨Corresponds&to&the&terminal&of&the&digital&inputs&marked&E1¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Input_0.2 = i0.2¨int¨Corresponds&to&the&terminal&of&the&digital&inputs&marked&E2¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Input_0.3 = i0.3¨int¨Corresponds&to&the&terminal&of&the&digital&inputs&marked&E3¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Input_0.4 = i0.4¨int¨Corresponds&to&the&terminal&of&the&digital&inputs&marked&E4¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Input_0.5 = i0.5¨int¨Corresponds&to&the&terminal&of&the&digital&inputs&marked&E5¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Input_0.6 = i0.6¨int¨Corresponds&to&the&terminal&of&the&digital&inputs&marked&E6¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Input_0.7 = i0.7¨int¨Corresponds&to&the&terminal&of&the&digital&inputs&marked&E7¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Output_0.0 = q0.0¨int¨Corresponds&to&the&terminal&of&the&digital&outputs&marked&S0¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Output_0.1 = q0.1¨int¨Corresponds&to&the&terminal&of&the&digital&outputs&marked&S1¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Output_0.2 = q0.2¨int¨Corresponds&to&the&terminal&of&the&digital&outputs&marked&S2¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Output_0.3 = q0.3¨int¨Corresponds&to&the&terminal&of&the&digital&outputs&marked&S3¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Output_0.4 = q0.4¨int¨Corresponds&to&the&terminal&of&the&digital&outputs&marked&S4¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Output_0.5 = q0.5¨int¨Corresponds&to&the&terminal&of&the&digital&outputs&marked&S5¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Output_0.6 = q0.6¨int¨Corresponds&to&the&terminal&of&the&digital&outputs&marked&S6¨0¨-1¨-16777216¨0¨0¨0¨0¨ Digital_Output_0.7 = q0.7¨int¨Corresponds&to&the&terminal&of&the&digital&outputs&marked&S7¨0¨-1¨-16777216¨0¨0¨0¨0¨ LoadCell_15 = ai0¨int¨Cell&input&in&15&bits¨0¨-1¨-16777216¨0¨0¨0¨0¨ AI_1 = ai1¨int¨General&purpose&analog&input¨0¨-1¨-16777216¨0¨0¨0¨0¨ AI_2 = ai2¨int¨General&purpose&analog&input¨0¨-1¨-16777216¨0¨0¨0¨0¨ AI_3 = ai3¨int¨General&purpose&analog&input¨0¨-1¨-16777216¨0¨0¨0¨0¨ AI_VCel = ai4¨int¨Proportional&to&the&cell&supply&voltage¨0¨-1¨-16777216¨0¨0¨0¨0¨ AI_ITmp = ai5¨int¨Proportional&to&internal&temperature¨0¨-1¨-16777216¨0¨0¨0¨0¨ [MENU] [BMK] [Principal] {#NET:0} {NAME:Net_1} {DESC:Uso instrucción PLSY. En el ejemplo, el tren de pulsos es inciado mediante la variable EN, y se mantiene "enganchado", mediante Freq_Out_En, hasta que se hallan despachado todos los pulsos. Mientras esté activa (o enganchada), se puede modificar la frecue} {WITH:11} {HEIG:2} 1006{0;0;}1000115{1;0;PulF;PulN;0;Pn;Pos;???;???;:5::: : : } 1000{2;0;}1001{3;0;:0::: : : } 1000{4;0;}1001{5;0;:0::: : : } 1000{6;0;}1000013{7;0;0;EN;:2::: : : } 1003{8;0;}1000032{9;0;EN;:0:Inicio:: : : } 1004{10;0;:0::: : : } 0{0;1;:0::: : : } 0{1;1;:0::: : : } 0{2;1;:0::: : : } 0{3;1;:0::: : : } 0{4;1;:0::: : : } 0{5;1;:0::: : : } 0{6;1;:0::: : : } 0{7;1;:0::: : : } 1008{8;1;:0::: : : } 1000032{9;1;Freq_Out_En;:0:Enganche:: : : } 1004{10;1;:0::: : : } [EXPS] [EXP_P] [EXP_S] [SUBS]