Recent Posts

Pages: 1 ... 7 8 [9] 10
81
This is my first time using the "Non-volatile Memory Dynamic" feature, so please excuse my ignorance. 

My software controls several hydraulic pumps, and I would like to use non-volatile memory parameters to make the Max and Start current values for each pump EDC adjustable from the service application.  I'm trying to make the default multiplier parameter 100, and then set min as 50 and max as 200 to allow field techs to achieve 50%-200% output current. 

I'm trying to understand how I can use the "Non-volatile Memory Dynamic with Default" to achieve this.  I know that when the DEF ENABLE pin go true, it copies the default value to NVM.  My problem is that I only want to copy the default value to memory the very first time the module starts.  After that, it should stay the same unless someone edits it with the service tool.  It looks like the values in NVM default to the max value for the data type if they have never been written.  I could set the default values in the service application, but that would require someone to hook up the service tool and write initial values to NVM before the machine would function as intended.  It would be much better if my code could handle that initial setup instead of the service application. 

Thank you in advance.  I've attached a screenshot of my current setup, which never writes the default to memory. 
82
Displays / Re: DM430E Persistent (non-volatile) display log
« Last post by JHansonHere on September 28, 2023, 08:06:45 PM »
By PLC Unit, I meant a POU with Structured text to take in the variable for the Current Head of the log, and parse in all the values to put in an array of U8 values representing each of the fails or messages for the log.

Then a second POU with the new log array as the input. Use that array to build the log for the display of the String messages/status.
83
Displays / Re: DM430E Persistent (non-volatile) display log
« Last post by pinias on September 28, 2023, 02:40:12 AM »
it seems what you want is to store values at the DM430,  so a non volatile memory will work- U32.

on the other hand you said the PLC will use it as a lookup table to generate the log- I do not understand this part...if I would have values stored at the display certainly my controller will look for those and use them to perform some sort of logic.

what exactly you mean by saying  "a PLC unit that converts the values into an array in the correct order to use for the lookup table to generate the log?" :o

Regards
84
Displays / DM430E Persistent (non-volatile) display log
« Last post by JHansonHere on September 27, 2023, 04:18:09 PM »
I need to have a page with a scollable log of 100 String entries that will not erase after power cycle. Non-volatile memory only stores a single integer value at a time. I think a value of U8 would be fine for each of the 100 logs. I know I could combine to get 4 values per Non-volatile memory location using a U32, but that isn't ideal.

Would 25 non-volatile memory values (U32 [4 combined U8 values]) for the 100 entries and 1 non-volatile memory value for the current head of the log be the best way to make this work for the DM430E?

Then feed the 25 values into a PLC unit that converts the values into an array in the correct order to use for the lookup table to generate the log?

Any suggestions or other ideas would be greatly appreciated. This feels like a very clunky way to build a persistent log.
85
PLUS+1 Service Tool / Downloadable File not Updating After Saving Project File
« Last post by swilkins3 on September 27, 2023, 02:58:32 AM »
Hello,

Lately, I have been making changes to some code for an old DP600 Display. In the past, I have had no issues updating the code, uploading it, and debugging by viewing checkpoints on the service tool. Just recently, though, I have tried uploading updated code and I'm not seeing my changes reflected on the display or in service tool. While uploading the code, everything behaves as it always has in the past.

When I look at the files in my file explorer, I have noticed that the date modified for the SCS file seems correct (Sept. 26- consistent with my most recent code changes). However, my Plus+1 Downloadable File that is typically uploaded to the display through the service tool has a date modified of Aug 27th. Additionally, my Plus+1 Project File has a modified date of July 30th, even though I just made changes to it in Guide today (Sept. 26th). I'm rather unexperienced with Guide, but I suspect my problem is that the files I mentioned are not synced correctly. How can I get them to sync correctly? Or could something else be causing the upload to not work correctly?
86
Controllers / Re: Using MC024 to control s20 pump
« Last post by Mr.Jacobee on September 26, 2023, 08:30:08 AM »
Thank you guys very much ;)
87
PLUS+1 Compliant Hardware / Re: MPCAN Receiver for IK2 Transmitter
« Last post by Lukey on September 26, 2023, 06:05:24 AM »
Yes the CAN mapping documentation should have been supplied with the RCT system, alternatively you could use CAN king to determine each signal manually.

There is no straight mapping documentation as every system is unique.

Are you using the system with a Danfoss Controller? If so it's much easier to use the PLUS+1 compliance block, although this feature needs to be enabled by whoever supplied the RCT system.
88
Controllers / Re: Using MC024 to control s20 pump
« Last post by Lukey on September 26, 2023, 06:00:01 AM »
If using the S90 EDC block then yes you can change the max current to 100mA, changes are made in the Config_data page of the compliance block.
89
Controllers / Re: Read multiple Can messages same ID
« Last post by FluidPowerTom on September 25, 2023, 05:14:06 PM »
What I entered wasn't really intended as for copy paste.  There are at least one or two errors.  It was more intended as an example to understand and potentially pull from if desired.
90
Controllers / Re: Using MC024 to control s20 pump
« Last post by FluidPowerTom on September 25, 2023, 05:12:46 PM »
You can control current as high as you like up to 3,000 mA on most outputs.  I'm not sure if you'd do this by changing a setting in the S90 compliance block or by just making your own code, but either way I think it'll work fine.
Pages: 1 ... 7 8 [9] 10