Jump to content

ofer.yishai

Members
  • Posts

    47
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by ofer.yishai

  1. Hi Offir!

    I agree that the import ability of any Modbus tables would save a lot of working time and will help  preventing mistakes. this is impotent on new project that have same addressing lists many times already present in a previews project.  Or if you just want to re-arrange the current table you find it  problematic as  it is not possible to insert a row. in any case to edit a table would be more efficient and time saving using Excel.   

     

    Other functions that would be helpful if has export/import are Email and SMS.  some time i would like to copy a  complex message from one application to another. and it is not possible.

    Any chance to find it in a future updated?

  2. Hi,

    After successful  installation of Visilogic V9.8.65 the program crash when I try to open any previous application . The crash just when navigating to a folder containing *VLP  files even before selection or even view of any file.

    In addition the installation influence windows explorer too. when trying to open any folder with *vlp files windows explorer crash, and restart automatically.

    Same issue with V9.8.31

    Only after roiling back to by previous V9.8.22 AND using Version Swapper to register that version, i can open Visilogic, any application, and use Windows explorer normally.

     I use Windows 10 Pro with administrator rights.

    anybody experience that too?

    Any suggestions or cure?

    Thanks everyone!

    Ofer 

     

  3. Hi Ofir and all

     

    My problem is the the PID AT Parmas struct is not retaining  although it is marked as retain.

    I am trying to find a workaround for that, and in addition to  be able to save/load PID parameters from SD card.

    I define a user struct with exactly the same members like the system struct . this i wanted to use for indexed data-table that i can write one row into and save it as a UDTF file on the SD.

    my problem with that solution is that Copy struct function is not working with the system struct . The only thing is to to is to use  few Store functions each for one PID value.

    My questions:

    Why the system struct PID AT Parmas struct is not retained as its set to be?

    Any way to copy a system struck valued to a user struct as a whole?

    Thanks

    Ofer

     

  4. Hi all!

    I would like to place a local timer in a UDFB, but this option is not available (The timer save key is disable when it is set to local) I guess there is a reason why local timer is not possible...

    The option I know is to define the timer as a Function-In , but then i have to connect a different global timer on each of the UDFB instances, and in case there are many of them we miss the concept of UDFB somehow.

    So I was trying another option to count seconds on a Local Counter (Inc function to Local INT16 Tag) . The counter pulse come from a Function-In Bit (One scan every 1 second).

    The problem with is the counter is not increasing if the tag is local, and it dose very well if the tag is global. This I can see with the latest Unilogic version  that support monitoring UDFB online, very helpful!

    Any help regarding timing and counting within UDFB  local tags is welcome.

    :) Ofer

     

  5. Hi all,

    I read this interesting topic and would like to bring my experience.

    I find that periodic MODBUS is true verry simple and friendly.  Yet I would like to point on two other issues with that:

    1. Many times WRITE command must be sent only once to the slave (like setpoints)  and periodic modbus function keep sending the data as long as the active bit is true.  in addition It is not possible to mix periodic and aperiodic configuration for read/write functions and not even for different slaves on the same port. My solution is to build  UDFB that compares data from READ and WRITE commands of the same address and reset the write active bit once the data is successfully sent, and with timeout for unsuccessful writes. I will be happy to share if anybody will find this helpful.

    2. It is very important to have IMPORT/EXPORT option for the configuration lists, because they  might be quite long. This feature can save a lot of time and errors by sharing between projects and with the ability to use excel for editing.

    Ofer

    • Upvote 1
  6. I don't know HTML but I will get some help and try.

    This is an example I received from the provider support for a sting structure to send using POST protocol:

    key=yourapikey&user=050123456789&pass=88665599&sender=0501234567&recipient=0501234563;0501234563;0501234562&msg=Hello world

    The string should be sent to a URL address. Is it possible to send it to a URL or I must obtain the IP address?

    Ofer

  7. Just see that post..

    Try this: 

    1. Export global tags to excel.

    2. Reorder struct members in excel including  all it's instances on  #Global sheet. save the workbook.

    3. Import global tags from excel.

    3. run compile/build all

    It worked for me it certain cases that it was required to reorder data table columns order, although it is not approved  by Unitronics.

    Hope it helps.

    Ofer

     

    • Upvote 1
  8. Dear all,

    I am using different data tables in a project, including saving and loading TDI from SD card. Some of the tables are "system" oriented like settings, and some tables are "user" oriented like programs and recipes. User should select a file by using HMI element: File selector browser .  For now ALL DTI files are kept in the DT folder and selection is problematic. 

     I need to separate each kind in a different subfolder, so the selection will be user friendly.

    The "Store DTI to a file" and "Store DTI to a file" ladder blocks is not giving the option for different sub  directories , that would helped if exist.  File selector browser is not supporting sub folders as well.  :(

    Can I use differents folder path as part of the file name string? or any other way to manage subfolders? 

     

    In addition, "Copy/Move file" and  ladder elements, don't have the option to copy or move within SD card folders, but only to/from DOK. It would have helpful if possible to arrange the files by type of functions by ladder. any ideas?

     

    Any help?

    :rolleyes:

    • Upvote 2
  9. Hello guys from Unitronics! 

    SMS message can be assembled from Fix/Binary/List texts  and Number variable, but where is the String-type element?

     

    examples how work can be more efficient with:

    1. sending various texts from Data-Table (that can be modify import/export efficiently by Excel)

    2. using the same strings messages on the HMI screens / Alarms / Email.  

    3. sending SMS message directly from screen. 

     

    Using Message composer for SMS messages can also be great, if will be available. Any reason why String element is not there?
    Any hope for change?

  10. Thanks Ofir this is good news.

     

    For the SD Card Explorer alternative that I looked for I think I found an elegant solution. No need to install any software like FTP client what so ever. I found that Windows File Explorer can use as BI two-way FTP Client.

     

    First Unistream should be defined as FTP server with username, password and read-only option should remain unchecked.

     

    Then Using Windows File Explorer (not internet explorer) type the address:e.g:  ftp://192.168.1.88/. Type in username and password in the pop-up window and the SD Cars content  will show with the ability to drag and drop files in both direction.

     

     

    The difference between any Internet browser and windows File Explorer is that the later support two way file transfer.

     

    For quick access into the SD card files and folders and being able to make shortcut on the desktop or anywhere else follow this link 

    http://windows.microsoft.com/en-us/windows/work-with-files-ftp-site#1TC=windows-7

     

    Hope anybody will find it useful and I will be happy for any comments

     

    Ofer

    • Upvote 2
  11. Saragani,

     

    If the Data Sampler is marked as retain, a compiling warning excepted:

     

    "System Struct Tags Retained "Data Sampler1". You have marked Tags within System/Automatically Created structs as Retain. This is not recommended, since it may cause unexpected results"

     

    please advise.

     

    Ofer

  12.  

    Hi,

     

    SD Browser HMI element should enable renaming of files (if Checked), except from two folders. quote from the help file:

    • Rename files (note that Data Sampler and Alarm Log files cannot be renamed)

    the issue is that also files in "User Logs" folder cannot rename. Why?

     

    I found that the option of renaming files can be use for copy/paste file names, for instant to send files by email.

     

     

     

    It would be great to be able to copy any file name from all folders for that and other uses.

     

     

    Ofer 

     

     

    Anybody please can answer ?

  13. I agree that the ability to change trend time scales is relay required with other option that I already raised here. I hope this will be implemented soon! meanwhile this is my walk-around;

     

    I don't think you need several different Data Samplers for that. You can just copy the trend object once defined on several screens, and then just change the X-Axis Time Frame for each screen.i guess this is also memory consuming, but for sure less that several Data Samples + several trend objects.

    If you wand to change the sampling interval dynamically, change the Data Sampler BI interval to 00:00:00 and use the "Data Sampler.Force Sample" bit in your ladder.

     

    Hope it helps.

     

    Other issue that need to be fix is that Data-Sampler is "forgetting"  the defined file name after boot or reset, and then continue with a new default file name based on Time/Date stamp. This question to Unitronics: Is that issue already on the wish list?

    Thanks

    Ofer

  14. Hello,

     

    when starting SD Card Explorer I get an error "Corrupted Favorites XML File. Favorites will not be loaded"

     

    Lately I upgrade my PC from WIN7 to WIN10 64 bits. I am not sure but I think the program starts normally after the upgrading. nevertheless uninstall and then re-install PC Suite latest version 2.0.59 after deleting the installation folder completely did not help.

     

    where is the Favorites XML File location?

    what is the solution?

     

    Thanks in advance for the replies

    .

    Ofer

     

     

     

     

     

  15. Hi,

     

    SD Browser HMI element should enable renaming of files (if Checked), except from two folders. quote from the help file:

    • Rename files (note that Data Sampler and Alarm Log files cannot be renamed)

    the issue is that also files in "User Logs" folder cannot rename. Why?

     

    I found that the option of renaming files can be use for copy/paste file names, for instant to send files by email.

     

     

     

    It would be great to be able to copy any file name from all folders for that and other uses.

     

     

    Ofer 

     

     

     

  16. Thanks Ofir for your advice. I find it very helpful.

     

    There are other reading tasks for the Modbus Master configuration, from this and other slaves. For this tasks the advantage of periodic setting is worth a fortune.  If changing from Periodic to Aperiodic then I guess that i will have to manage ALL slaves reading and writings by ladder..or is there another way?

    Do you think Modbus advanced function can be use for writing only, and readings with periodic function? if yes, can you provide some instructions or sample application?

     

    I would suggest to put the Periodic/Aperiodic setting for each slave configuration, this way the system will be more flexible. any sens?

     

    Ofer

×
×
  • Create New...