Levent1970
MrPLC Member-
Content count
38 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by Levent1970
-
I Have a Blackout, U1\G5928 is an INT, how can i set my Digital Input x27 to this INT?
-
In the Selection for the DOG Signal is "Servo Amplifier" or "Buffer Memory" I have No connection on the Servo Amplifier to Connect a DOG Signal (my Limit Switch). Where can i set my Limit Switch as my DOG Signal or Use the Buffer Memory to say in example Input X27 is my Limit Switch and i want to set it as my DOG Signal.
-
Yes it Works with M_FX5SSC_StartPositioning_01A (M_FX5SSC_StartHoming_Ax2) I set the Parameters for Homeposition but i cant Set the DOG Signal.
-
Yes, the Home function is Right. I Have the FX5U with MR JE 20B and HG-KN23BK. my Programpart: IF Referenzfahrt_TP_Ein_Aus THEN M_Ax2_Jog_RVS:=TRUE; IF NOT Endschalter_P_Achse_minus THEN M_Ax2_Jog_RVS:=FALSE; U1\G2500:=0; END_IF; END_IF;
-
Hi, I am searching for a Possibility to Set bits in Set or Reset State. How can i do that? in Example the Code in LD: and in ST EQ_E( Merker79 AND Referenzfahrt_TP_Ein_Aus = TRUE , bDummy , P_Achse_Istpos_pulse , 0 ); PLS( bDummy , Drehrichtung_P_Achse AND M8140 AND Loeschen_Positionszaehler_Achsen AND Startpos_anfahren_nach_Referenzi AND P_Achse_Referenziert = TRUE );
- 5 replies
-
- gx works3
- structured text
-
(and 2 more)
Tagged with:
-
How can I Set or Reset Bit's in GX Works3 Structured Text?
Levent1970 replied to Levent1970's topic in Mitsubishi
OK Looks Good, I found out how it Works: Like this: SET(TRUE,Y0) Or RST(TRUE,Y0) -
How can I Set or Reset Bit's in GX Works3 Structured Text?
Levent1970 replied to Levent1970's topic in Mitsubishi
Dankeschön !!! But I didnt find anything about Set Bits to Set or Reset condition. -
Some Conversion Problems from Codesys to GX Works in Structured Text
Levent1970 posted a topic in Mitsubishi
Hi, I Have some Problems with this Function Block written in Codesys ST: Variables: FUNCTION_BLOCK FB_Powder_Test VAR_INPUT bEnable: BOOL; bPowder_On_Button: BOOL; bPowder_Test_OnOff: BOOL; iTime_Powdertest: INT; END_VAR VAR_OUTPUT bReset: BOOL; iActual_time_powdertest: INT; END_VAR VAR PowderTest_Ton: TON; END_VAR Function Block: IF NOT bEnable THEN bReset := TRUE; PowderTest_Ton.IN := FALSE; iActual_time_powdertest := 0; ELSE IF bPowder_On_Button THEN PowderTest_Ton(IN := bPowder_Test_OnOff, PT := (INT_TO_TIME(iTime_Powdertest) * 1000)); iActual_time_powdertest := REAL_TO_INT((TIME_TO_REAL(PowderTest_Ton.PT) - TIME_TO_REAL( PowderTest_Ton.ET)) / 1000); bReset := PowderTest_Ton.Q; END_IF END_IF and GX Works3 Variables: bEnable Bit VAR_INPUT bPowder_On_Button Bit VAR_INPUT bPowder_Test_OnOff Bit VAR_INPUT iTime_Powdertest Word [Signed] VAR_INPUT bReset Bit VAR_OUTPUT iActual_time_powdertest Word [Signed] VAR_OUTPUT PowderTest_Ton TON VAR Function Block: IF NOT bEnable THEN bReset := TRUE; PowderTest_Ton.IN := FALSE; iActual_time_powdertest := 0; ELSE IF bPowder_On_Button THEN PowderTest_Ton(IN := bPowder_Test_OnOff, PT := (INT_TO_REAL(iTime_Powdertest) * 1000)); iActual_time_powdertest := ((TIME_TO_INT(PowderTest_Ton.PT) - TIME_TO_INT( PowderTest_Ton.ET)) / 1000); bReset := PowderTest_Ton.Q; END_IF; END_IF; I have this Error: No. Result Data Name Category Content Error Code 1 Warning FB_Powder_Test Syntax Check Convert data type from INT type to REAL type automatically. 0x11042FD4 2 Error FB_Powder_Test Syntax Check Data type of argument does not match. 0x11041F61 -
Need Help for Converting FB from Codesys to GX Works 3 in ST
Levent1970 posted a topic in Mitsubishi
Hi, Many Programms we have are written in Codesys and in ST Language and now we have a FX5U and I'm trying to Convert some of them. But the both Systems are different, I miss the Librarys like util.lib and FB like RAMP_REAL, BLINK, LIMITERROR which are in Util.lib. Are there Librarys like util.lib for GX Works 3 ? Is it possible to convert Ladder to ST? (I dont have any Idea from Ladder and I'm new in Programming) Have someone Sample Programms for me for Training?- 10 replies
-
- fx5u
- structured text
-
(and 2 more)
Tagged with:
-
Need Help for Converting FB from Codesys to GX Works 3 in ST
Levent1970 replied to Levent1970's topic in Mitsubishi
-
Need Help for Converting FB from Codesys to GX Works 3 in ST
Levent1970 replied to Levent1970's topic in Mitsubishi
and the Same Problem with RAMP_REAL, i need it in ST and i have no Idea how i can do it. -
Need Help for Converting FB from Codesys to GX Works 3 in ST
Levent1970 replied to Levent1970's topic in Mitsubishi
i send you A Picture with the Variables. I tried this in ST as a FB: IF IN < HIGH OR IN > LOW THEN IL:= TRUE; U:= FALSE; O:= FALSE; ELSIF IN > HIGH THEN O:= TRUE; U:= FALSE; IL:=FALSE; ELSIF IN < LOW THEN U:= TRUE; O:= FALSE; IL:=FALSE; END_IF; -
Need Help for Converting FB from Codesys to GX Works 3 in ST
Levent1970 replied to Levent1970's topic in Mitsubishi
I Need Specially RAMP_REAL, BLINK and LIMITALARM Functions, Thanks.