Jump to content

Recommended Posts

Posted (edited)
Hello! I need to count the number of pulses SM410. Use instructions Counter_M has no effect. How to count the number of pulses(100 mc)? My soft:GX Works2. My plc is L-series(L02SCPU). In FX series It works well. Edited by Bigha
Posted
SM410 should always pulsate if the PLC is running. However you are only counting when the counter instruction is processed. If your normal scan is larger than 100mS you should count in aan interrupt program. Don't forget to program en EI instruction in the normal scan program. (EI enable interrupt)
Posted
Sorry, I don't quite understand Your sentence. I understand that these settings are there? >>>If your normal scan is larger than 100mS you should count in aan interrupt program.
Posted
>>>>>>>>>>>>What is your PLC scan time ? Current, max, min -200 ms Initial - 0ms >>>>>>>>>>>>>>Are you running the program as a fixed interval or normal scan? All settings are default, I don't know where to see it. Its a screenshot from the PLC in monitor mode.SM410 work. But the pulses are not counted. Or rather, was registered 1 pulse.How to make these pulses was considered I don't understand. Why in FX it works immediately....
Posted
I decided to use the most simple solution, in order not to complicate. This design will work in all programming environments and controllers Mitsubishi, and no puzzling decisions about care at the time of scan, etc.. All just. Use timers.

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...