Dariusch Posted October 22, 2005 Report Posted October 22, 2005 Hi all, I am trying to the GX IEC Developer and are trying the ST programming mode. But how do you make a Pulse --|P|-- ?? Does any of you have any experience in the ST programming (good or bad)? Thank you Dariusch Quote
Rodney Posted October 23, 2005 Report Posted October 23, 2005 Dariusch The pulse contact in instruction list is LDP. Rodney Quote
Dariusch Posted October 23, 2005 Author Report Posted October 23, 2005 Hi Rodney, The LDP instruction is for the IL or MELSEC IL, but I am using the ST programming mode. "IF THEN ELSE". What I really want to do is to increment a register for everey sec. like IF X0 AND M8013 THEN; D0 = D0+1; END_IF; But the above will increment for a hole sec. I need a pulse to onyl increment 1 for every sec. Dariusch Quote
Dariusch Posted October 23, 2005 Author Report Posted October 23, 2005 Hi all Now Iam so fare: Test_TRIG(_CLK:=Start); IF X3 AND ??? THEN; D12:= D12+1; END_IF But where is the output from the oneshot??? The Test_TRIG is the FB "R_TRIG" (IEC) and the variable for execute the FB is "Start" (_CLK) , but where is the (Q) output?? Dariusch Quote
Guest Guest Posted October 23, 2005 Report Posted October 23, 2005 Ok I got the info for the FB The answer is Test_TRIG.Q where the "Q" is the output (oneshot) Dariusch Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.