Jump to content

Writing counter values to .CSV delimited lines

Recommended Posts



I'm wondering if Counter values can be written to .CSV delimited lines like Memory Integers.


Currently I am using memory integers as a counter in my program and wish to change them into counters to simplify/cleanup my code. However, the option of adding counters to my .CSV delimited lines don't seem to exist. Is there a better way to do this?




Link to comment
Share on other sites

Hi Luk,

A counter counts rising-edge pulses.

When the accumulated number of pulses equals the counter's preset value, power flows through the function and the counter bit turns ON. Once the preset value is reached, the counter bit stays ON until it is reset via a Reset Coil. This also initializes the counter value.

It does not hold retentive values as a MI or ML would. This is why they are not listed to be used. 


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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