Recent Posts

Pages: [1] 2 3 ... 10
1
I kind of thought after the replies here that we'd see a response from a Danfoss personnel.
2
PLUS+1 CS Hardware / Update CS10 Hdw file
« Last post by dlewis on Today at 08:26:42 PM »
How long should it take to download a new program into a CS10 when going from Hwd version 257 to version 303?  So far it's taking what feels like an eternity.
3
PLUS+1 GUIDE / Feature Request - Custom Enumeration Constants
« Last post by BrianF on Today at 06:49:48 PM »
It would be very nice to have a way to create Custom Enumeration Constants.   Right now the software has an enumeration for the "Time Base."  The custom enumeration could behave similar to that feature.  Just make it a different color boarder to indicate that it is a custom enumeration constant. The base data type could be selected (U8, S16 etc.) so the data could pass through other built in components.

Thank you,
Brian F.
4
Communication / Re: Use PEAK-to-USB for Plus+1 service tool
« Last post by Morten Rosengreen on August 03, 2022, 09:28:33 AM »
Thanks for reply
Did you manage to find the correct file?

I have tried, but could see the log for the RP1210:
Parse results for: C:\WINDOWS\RP121032.INI:

--PEAKRP32
   Parsing: PEAKRP32
   Parse results for: C:\WINDOWS\PEAKRP32.ini:
      Name:        PEAK-System PCAN Adapter
      Address1:    Otto-Roehm str. 69
      Address2:    (Not specified)
      City:        Darmstadt
      Country:     Germany
      State:       Hessen
      Postal:      64293
      Telephone:   0049-6151-817320
      Fax:         0049-6151-817329
      VendorURL:   http://www.peak-system.com
      Version:     3.0
      RP1210 Version:    C
      *** WARNING *** [C:\WINDOWS\PEAKRP32.ini]   Gateway uses C. PLUS+1 Service Tool is tested with RP1210A and RP1210B.

      CANFormatsSupported:    3,4,5
      Protocols:       10,20,30
      Devices:       

      C:\WINDOWS\system32\PEAKRP32.dll exported functions:
         ClearRegisteredDevices
         GetLicenseInfo
         GetLicenseStatus
         RP1210_ClientConnect
         RP1210_ClientDisconnect
         RP1210_GetErrorMsg
         RP1210_GetHardwareStatus
         RP1210_GetLastErrorMsg
         RP1210_Ioctl
         RP1210_ReadDetailedVersion
         RP1210_ReadMessage
         RP1210_ReadVersion
         RP1210_SendCommand
         RP1210_SendMessage
         RegisterAttachedDevices
         RegisterPEAKRP1210
         RegisterRPDevice
         UnregisterPEAKRP1210
         UnregisterRPDevice
      --
      Attempting to add protocol: 10
      Protocol: 10
         ProtocolDescription:    CAN Network Protocol
         ProtocolString:    CAN
         ProtocolSpeed:       125,250,500,1000,Auto
         ProtocolParams:    
         Devices:       
      *** SKIPPED *** This protocol has no useable devices!

      Failed to add protocol: 10
      --
      Attempting to add protocol: 20
      Protocol: 20
         ProtocolDescription:    SAE J1939 Protocol
         ProtocolString:    J1939
         *** SKIPPED *** "ProtocolString" must be CAN

      Failed to add protocol: 20
      --
      Attempting to add protocol: 30
      Protocol: 30
         ProtocolDescription:    ISO15765 Vehicle Protocol
         ProtocolString:    ISO15765
         *** SKIPPED *** "ProtocolString" must be CAN

      Failed to add protocol: 30
      *** WARNING *** [C:\WINDOWS\PEAKRP32.ini]   Generic CAN protocol is not supported.

      --
      Attempting to add protocol: 10
      Protocol: 10
         ProtocolDescription:    CAN Network Protocol
         ProtocolString:    CAN
         *** SKIPPED *** "ProtocolString" must be J1939

      Failed to add protocol: 10
      --
      Attempting to add protocol: 20
      Protocol: 20
         ProtocolDescription:    SAE J1939 Protocol
         ProtocolString:    J1939
         ProtocolSpeed:       125,250,500,1000,Auto
         ProtocolParams:    
         Devices:       
      *** SKIPPED *** This protocol has no useable devices!

      Failed to add protocol: 20
      --
      Attempting to add protocol: 30
      Protocol: 30
         ProtocolDescription:    ISO15765 Vehicle Protocol
         ProtocolString:    ISO15765
         *** SKIPPED *** "ProtocolString" must be J1939

      Failed to add protocol: 30
         *** ERROR *** [C:\WINDOWS\PEAKRP32.ini]   No valid protocols (The Generic CAN or J1939 protocol is needed by PLUS+1 Service Tool)

   Failed to parse: C:\WINDOWS\PEAKRP32.ini
*** WARNING *** No RP1210 vendor files parsed successfully
5
Controllers / Re: POU Variable RETAIN
« Last post by acmall on August 02, 2022, 04:37:53 PM »
Can you post your code as it is now?
6
Controllers / Re: POU Variable RETAIN
« Last post by macbahi on August 02, 2022, 03:44:58 PM »
Hi acmall,

I do it but still the same problem. NbIncrument and CounteurIncrement are also initialized to 0 every call.

Thanks
Best regards
7
Controllers / Re: POU Variable RETAIN
« Last post by macbahi on August 02, 2022, 02:07:50 PM »
Hi!

Thank you Sir.

With best regards
8
Controllers / Re: POU Variable RETAIN
« Last post by acmall on August 02, 2022, 09:21:38 AM »
If you want to keep the valve of NbIncrument and CounteurIncrement between calls use a Function Block instead of a Function.

A Function does not store the valve of it's variables between calls so each time the function is called NbIncrument and CounteurIncrement will always be initialised to 0.  A Function Block will store the value variables.




9
Controllers / Re: POU Variable RETAIN
« Last post by macbahi on August 01, 2022, 05:56:19 PM »
HI Tom,

Sorry Tom It's ok but now I have another problem. Please see image.

My function is working without VAR RETAIN but the result is not good.
As example When NbIncrement_Scan =1 the output is equal to input. It's Ok.

But when My NbIncrement_Scan est >1 then the output is equal to zero.

That's why I tried to use VAR RETAIN.

I hope you understand my problem.

Thanks in advance for your help

Best regards
10
Controllers / Re: POU Variable RETAIN
« Last post by macbahi on August 01, 2022, 05:26:51 PM »
Hi Tom,

Tank you very much to replay me.
But I didn't understand.  Please could you give more detail. Or Correct example.
I am not familiarized with POU ST

Thanks in advance.

With best regards
Pages: [1] 2 3 ... 10