Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


PeterFukt last won the day on August 19 2016

PeterFukt had the most liked content!

Recent Profile Visitors

1,068 profile views

PeterFukt's Achievements

Advanced Member

Advanced Member (3/4)



  1. This still seem to be an issue. I am having problems with UniDownloader 5.0.29. I am using Windows 10. I had an older version of Unidownloader on Windows 7 that worked but after an upgrade it did not work. Tried to run it in every compatibility mode without success. I wanted to communicate with the PLC with TCP/IP. When I clicked to choose a favorite I got a Run-time error. I When I pressed OK I got error 440. When I tried to enter com settings again I got this error and then I had to close the software to be able to open com settings again. After I saw this thread I followed the steps Ofir posted and after that the program worked fine. Some days later I once again had to rename the file because I got the same errors after I changed the PLC Name in com settings.
  2. Thank you for the reply. What I meant was how they can read the inputs and outputs. The customer nor I wish to make a change in the program so we are hoping they can somehow get the coil status from the 16 bit work somehow.
  3. Hello, a customer is trying to read inputs and outputs on a Samba PLC using Modbus RS485. They are using a Siemens Simantic S7 ET200 PLC to do so. But it can only read coils in range 0-9999. The Samba digital outputs start from 16384 (4000h) and the digital inputs from 24576 (6000h). The only thing they can read in the range above 9999 is 16 bit words with Modbus function 04. The question is, how can they get the coil status information they need from the 16 bit word? Does anyone have a clue how to solve this? Comment from the customer below. "That means we have to split the word with 16 bits into its individual bits and speculate if these individual bits contain the desired information that we need. Where is the start address? Let's start with the address as you specified at 24576 and read in a data length of 10, With the normal approach, this would be the addresses 24576-24585 as bit operands, i.e. 10 individual bits. Let's read it in as input words and start at 24576 with a length of 10, this would also be the addresses 24576-24585 as words with 10x16 single bits. The problem for us now is where exactly is the information we need? Can we assume that the first 10 bits of the first word from address 24576 onwards also correspond to the bits you specify or every first bit of each word is the bit that contains the information?" Any help would be appreciated. Best regards Peter
  4. 4 years has passed and the help file still isn't fixed, not even the online version. https://www.unitronicsplc.com/Download/SoftwareHelp/VisiLogic_Knowledgebase/Ladder/Functions/Vector_Functions/Vector__Get_Max.htm Just a reminder for you @Cara Bereck Levy I'm using Get Max in a project but got a bit confused about the vector length when reading the help file. A length of 10 should be from MI50 to MI59 as Flex pointed out 4 years ago.
  5. It's the same phenomenon with a SM35-J-TA22 straight out of the box when I enter Info mode. Firmware: 4.4 (28) Oct 16 2017 Boot: 2.2 (24) Oct 29 2014 Bin library 0-2.10 (04) After updating the PLC the issue was resolved. Firmware: 4.4 (31) Oct 19 2017 Boot: 2.2 (48) Sep 25 2016 Bin library 0-2.10 (04)
  6. Hello, with the latest batch of Samba SM35-J-T20 PLC's I've programmed, I have noticed that the buttons in the virtual keyboard stay pressed when you touch them once. I must touch them again to make the button appear unpressed. Is this a change in the firmware? It seems to work anyway. Just curious what is causing this. Buttons stay pressed with this PLC Firmware: 4.4 (28) Oct 16 2017 Bin library 0-2.10 (04) Buttons works normally with this PLC Firmware: 4.4 (09) Apr 5 2017 Bin library: 0-2.10 (03) Cheers, Peter
  7. According to tech support, there was a bug in Visilogic 9.8.31 with the Com FB that they fixed in 9.8.64. I got the explanation that it was not possible to choose RS485 in the older version but that it now is fixed. It seems as if the bug was present in 9.8.64. I tried the same thing with 9.8.65, and now it is again possible to choose RS485. Also programs made in version 64 that showed a grayed out RS232 com init setting, do show RS485 again in version 65. /Peter
  8. It is good to know that the same happened to you. So it must be a change or error in the newer version that Unitronics haven't told us.
  9. Hello Ausman, something has definitely changed. When I start a new project in Visilogic 9.8.31 I can choose between RS232 and RS485. In 9.8.64, it is RS232 only. When I saved the test program in 9.8.31 (RS485 in com init) and opened it in 9.8.64, com init said RS232 and it was grayed out. I'm stuck with 9.8.64 because all my recent programs are made in that version and can't be opened in an earlier version. It seems though as if the PLC recognise the com card as RS485 when I run the program in a PLC with an installed Modbus card. Can someone from the development team answer if there has been a change in the program that affect the com init block for Samba PLCs? Best regards Peter
  10. I see, break it up in like one separate Com init + modbus configuration per net? The Samba need a communication card for RS485 or for TCP/IP. But I want to prepare the program so it supports both. I just found it wierd that I can't choose RS485. If I choose Vision in HW configuration, I can choose between RS232 or RS485.
  11. Also, the code looks like this. I'm just wondering if it is okay to place the contacts like that. When I did an Online test, if I activate MB81 in the HMI, all com init FB's turns red. If I activate one below, all com init except the first one get red. Is that normal or is the ladder code not optimal?
  12. Hello, I have made programs for SAMBA PLC SM35-J-T20 and TA22 with Modbus configuration. In Com init help, it tell me to select RS232 or RS485. But the field is grayed out on RS232 and I can't select RS485. If I remember right, I could select RS485 when I did the program for the first time, but when I chech the Com Init settings, they all say RS232 and not RS485. Doesn't it matter if it say RS232? I had to change it to RS485 in Info mode to get communication to work, but if I loose power, it returns to RS232.
  13. Hello VisiLogic creators! I see that this function is still not implemented in the program. I have made a program that use several linearization blocks and for each one, I must use two compares and two store direct to prevent the output from getting false values when the input goes outside the X1-X2 range. It would be great if you could implement an option so that the Y value only stay within the Y1-Y2 range, even if the X input is larger or smaller than the X1-X2 range. Any plans of doing so in a future update? Best regards Peter
  • Create New...