Jump to content

Recommended Posts

Posted
Hi all, i'm after a bit of advice please. I'm using A1SD62E counter card to read how many litres of water we are using. Ive set up the memory addressing but i need to move the information somewhere else. In the [DFRO H1A K4 D1 K1] line I have the result in D1 but would like to view this on an E900 using D102. Ive tried all sorts of variations of the MOV command but with no joy. Can one of you gurus please put me out of my misery. Can you give the code a qick scan as well please to make sure thats correct. Many thanks A1SD62E.zip
Posted
You will need to use DMOV to move 32 bit data. Also d102 and d103 will need to not be used anywhere else. Also I believe your HMI will need to be looking for 32 bit data as well. Hope this helps, -Dave
Posted
Thanks Dave, The DMOV done the trick and i had to assign 32bit on HMI. I still have an issue that i cant get my head around. The application is a water flow meter which is giving 1 pulse per litre. The output of this is going to channel 1 term A. When the water is running i am getting the led pulsing. As you can see from the screen shot the unit has been counting because there is a number 0f 174196 in D1. This is where it has stopped and is counting no longer. The manual for the A1SD62E is a bit confusing. There are many examples of a 2 phase counter application but i am just using a single phase counter. Can anyone guide me in the right direction. There must be a command to refresh the reading of the count. A1SD62E.1.zip
Posted
I assume that the A1SD62E is a high speed counter card? You can just count pulses in on normal inputs without the need for one of those as long as the pulse width (the time that the input is on) is longer than the scan time of your PLC programme then you will have no problems. It's only when the pulse width is less than the scan time that you need the complexity of high speed counter cards. The reason for this golden rule is that the input image is refreshed at the start of each scan, and if a pulse comes and goes during the time period that the PLC is running the programme ( the scan time) then it just won't notice that pulse. It will notice some (maybe most) of the pulses, but not all.

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