Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
PLUS+1 Compliant Hardware / Re: PVED-CC S5 ISOBUS
« Last post by dainbramage on October 09, 2023, 08:11:50 PM »
Not sure if you already soved this problem or not, but ran into it with the s5 and s6 valves. Just installing the diagnostic files should solve that error for you. Another reason I have seen that error pop up is if you have multiple valves with the same address located on the bus. I attached the ones for the S5 Isobus, just let me know if you need a different one.

The diagnostic files in the folder are the ".plg" files. You can go ahead and install both of them and it should be good to go. I had a 9 section stack with one coil giving me that error with only the R395 installed. Installing the R388 file made the one in question functional, guessing an old coil wound up in the stack somehow.
72
PLUS+1 GUIDE / Re: EMD Speed Sensor Function Block compiling error
« Last post by Tor on October 09, 2023, 07:55:16 AM »
Hello,

What does the compile error say?
Are all the input signals the correct type?
If you use constants, make sure you use typed constants, not auto-typed. A very common issue.
73
PLUS+1 GUIDE / EMD Speed Sensor Function Block compiling error
« Last post by Lukey on October 06, 2023, 09:53:30 AM »
Hello,

I am having issues compiling a program with EMD Speed Digital Direction Function Block.
Library EMD Speed Sensor ver: 11115595v102 is the version I have, I have tried blocks EMD_SPD_DIR and EMD_SPD_DIR_D_A_ with no success, I receive the same compile error, viewing logical net tells me it's related to code inside the block as I receive message unable to view disabled page, directing the error to a page I cannot see therefor I think maybe these function blocks are broken?

Anyone else experience this?
74
The "Read" input should only be true if you want to read from the NV memory and set this to the output VAL.
I dont see any reason for this to always be TRUE?

If you set "In-enable" and don't "WRITE" this to NV memory, you can reset the output to the last written value using a positive transition on "Read"
75
After some tinkering, I was able to get the desired result.  Connecting the RunOnce output to DEF_ENABLE did not work because DEF_ENABLE only copies the default value to the output, but does not write it to memory.  I also found that if the read input is True, it overrides the IN-ENABLE and DEF_ENABLE inputs and pulls the value from memory instead of the input or default. 

I ended up using the Non-volatile Memory Dynamic block without default because the default option seems to provide a second input that I don't need.  To make it work, I had to connect the IN-ENABLE and WRITE_ pins to the EE_Run_Once output, then connect the READ_ pin to a NOT block connected to the same EE_Run_Once output.  When EE_Run_Once is true, it copies the input value to the output and writes the output value to NVM.  When EE_Run_Once is false, the READ_ pin gets a true signal, enabling the block to read from the value stored in memory.  I've attached a screenshot for anybody that would like to see. 

Hopefully this helps somebody else in the future. 
76
Tor,

Thank you for the information, but that does not solve my problem.  The diagrams in the user manual cover many advanced cases, but do not show how to set up a simple default value that will be saved to NVM when the software is flashed to the module and then only be editable from the service tool.  If I create a positive transition to either the DEF ENABLE or WRITE_ pins in my code, the default value would overwrite any changes made from the service tool.  It looks like Sverreo's code below should solve the problem. 

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 transition only the first time the software is downloaded.

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

Sverreo,

Thank you!  That looks like exactly what I need.  I'll get to work on implementing it. 

-Robbie
77
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.
78
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.
79
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.
80
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
Pages: 1 ... 6 7 [8] 9 10