Jump to content

Recommended Posts

Posted

I am trying to do a TON timer in GX Works2 on a FX2N PLC. If I simulate the code I have done in GX Works it works the way I need it to, but as soon as I upload it to the PLC it goes into error state. When I look up the PLC diagnostic there are two entries in the list. 
NO 6502 Error Step 35 Syntax error
No 0000 Error Step 35 Unregistration error
If I remove the timer from the program, all other things works fine. 

This is the code that makes it give the syntax error. 
Forward( IN:=%IX004, PT:=eTime);
%QX004:=Forward.Q;

Also tried this
Forward( IN:=%IX004, PT:=T#5S);
%QX004:=Forward.Q;
I have also set up the same in ladder, but get the exact same syntax error from the PLC once it's uploaded. 
Does anyone have an idea of what the problem can be? 

 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...