Recent Posts

Pages: [1] 2 3 ... 10
1
General controls / Re: Modbus converter
« Last post by ZanInno on September 30, 2023, 11:46:39 PM »
I have programmed a Danfoss HMI with an RS232 port to be a gateway between CAN and Modbus. It took some effort but it worked in sharing about 1000 values.
2
General controls / Modbus converter
« Last post by sverreo on September 29, 2023, 03:29:59 PM »
Has anyone any good ideas for a Modbus to CAN converter that is easy to use and setup?

I need a sensor not available on CAN, so i need to use Modbus and convert to CAN.
3
Hi,

If you want a function that only writes the default values the first time the software runs on the controller you can use the "RunOnce" function block.
This function sets a transistion only the first time the software is downloaded.

Use the output on your "DEF ENABLE" input on the NV block.
4
Hello,

I guess you need a positive transition to write the value.
I have attached some examples below.
The examples are also available in the component manual. Mark the component, press F1. In the tree structure on the left, under the component, there are three examples on how to use the component.

Good Luck
5
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. 
6
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.
7
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
8
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.
9
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?
10
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 ;)
Pages: [1] 2 3 ... 10