Jump to content

AlexUT

Moderators
  • Posts

    838
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by AlexUT

  1. Hi, I can add to what DanT say. Use the same VisiLogic you used to download project to PLC last time. This is important to have all system files compatible with used VisiLogic version. Only OS may be updated from SD card.
  2. AjaS, There may be number of conditions leading to problems with SD/Disk on key mount and read at PC and UniStream PLC. *This example processed with 8 GB SD card and SD to USB adapter *If you have important files at SD/Disk on key - make backup. 1. If use Virtual Machine. Please check that selected USB port is linked to this VM 2. Open DOS prompt (Administrative) at VM. 3. Run "diskpart" 4. Enter "list disk". This command will list disks at your Windows VM. DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 465 GB 0 B Disk 1 Online 931 GB 0 B For example, you have 2 disks, as listed. 5. Insert your SD/Disk on key to linked to this VM USB or SD slot. 6. Enter "list disk". This command will list disks at your Windows VM. DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 465 GB 0 B Disk 1 Online 931 GB 0 B * Disk 2 Online 7580 MB 0 B New disk should be listed. If new disk is not listed, than there is a problem you should solve by IT. 7. Suppose that a new disk listed. Enter "select disk 2". 8. Enter "list partition" DISKPART> list partition Partition ### Type Size Offset ------------- ---------------- ------- ------- * Partition 1 Primary 7580 MB 0 B Offset should not be 0 B 9. Enter "clean" DISKPART> clean This will clean partition information from selected disk. TAKE CARE TO SELECT new listed disk. EVERYTHING will be deleted from selected disk. This will take some time to prosess. Be patient. 10. When finished, message will be displayed: DISKPART> clean DiskPart succeeded in cleaning the disk. 11. Enter "list disk". DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 465 GB 0 B Disk 1 Online 931 GB 0 B * Disk 2 Online 7580 MB 0 B New disk should be listed and marked by *. 12. Suppose that a new disk listed. Enter "select disk 2". 13. Enter "list partition" DISKPART> list partition There are no partitions on this disk to show. 14. Enter "create partition primary" DISKPART> create partition primary DiskPart succeeded in creating the specified partition. 15. Enter "list partition" DISKPART> list partition Partition ### Type Size Offset ------------- ---------------- ------- ------- * Partition 1 Primary 7579 MB 1024 KB Offset should not be 0 B 16. Enter "detail partition" DISKPART> detail partition Partition 1 Type : 06 Hidden: No Active: No Offset in Bytes: 1048576 Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- * Volume 4 E RAW Removable 7579 MB Healthy File system is RAW (not formatted) 17. Format new disk from VM Windows File Explorer with cluster size 4096. 18. Enter "detail partition" DISKPART> detail partition Partition 1 Type : 0B Hidden: No Active: No Offset in Bytes: 1048576 Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- * Volume 4 E FAT32 Removable 7579 MB Healthy File system is FAT32 19. Enter "exit"to close diskpart. DISKPART> exit Leaving DiskPart... C:\> 20. You can close DOS prompt. 21. Eject SD/Disk on key from OS and detach it from PC USB port. 22. Insert SD/Disk on key to SAD slot or to USB connector at PLC. 23. Go to UniApps at PLC. 24. Select Memory->File Browser. 25. For SD card you can see list of default directories. 26. For Dosk on key DOK you can see list of files or directories, if presented. Hope this helps to make SD/Disk on key working. B.R.
  3. Hi AjaS, There is a lot of time pass since last post. Can you explain your problem with more details? - SD/Disk on key size. - Number of partitions. - Partitions format. - UniLogic version you use. - Windows version you use. - Does IT department limit PC access to only for sertified by IP SD/Disk on key? - Sequence of operations you doing. - At what step and what error appear?
  4. See following Forum topic:
  5. If used V570 include Mini-USB port - you can use USB to Mini-USB standard cable. *You have to install USB driver before you use USB connection. Do it from Connection->Communication & OS->right-most tab. Click "Install USB Driver" than "Open Device Manager" to find COM Port number to use in VisiLogic. Then connect mini-USB cable to PLC and to PC. Or you can use USB-to-Serial converter P/N MJ10-22-CS35, and RS232-CB1 set, supplied by Unitronics and distributors. *USB-to-Serial converter P/N MJ10-22-CS35 include all required RS232 lines. It use Prolific chip. RS232-CB1 set include MJ10-22-CS25 DB9 to phone 6p6c socket adapter and cross-crimped 4 wires phone cable. Then you can communicate to PPLC. Hope this information helps. B.R.
  6. Hi chand345, Please provide TC connection diagram and snapshot of module configuration. This will help to better understand your setup. B.R.
  7. Hi Ken, List of Text use MI as a string index. You can store respective values in sequential MIs and use indirect store MI to copy corresponding to string index MI to other MI, which you can show on display. Hope this is what you requested. About image quality: Display resolution is 320x240 dots. *PLC is not smartphone. Image allocate part of display. So it's size is smallest. You do not need to use highest resolution images. It is useless. B.R.
  8. Hi, Please send your request to support@unitronics.com B.R.
  9. Hi, I used next link: https://www.h-schmidt.net/FloatConverter/IEEE754.html Result is 0x3e18a71e, as you have. Now you have to swap 0x3e18a71e to 0xa71e3e18 and use "Vector->Use Offset->Copy Memory" to copy ML/DW to MF. Than MF should show right number. Update us if it is working for you.
  10. Thank you for update. Well done! B.R.
  11. Hi, What exactly you did? What do you store to MF? With more detailed explanation help may be more detailed. B.R.
  12. Send your request to support@unitronics.com
  13. Hi Charalambos, Please publish here content of 2 sequential MIs you read from meter in HEX and tell us what number it should show. *Read it from meter display, if possible. Having this information it is simple to negotiate if pairs of Bytes should be swapped or Bytes should be arranged in some order. AABB CCDD -> CCDD AABB B.R.
  14. Hi, Unitronics prepared solution in Customers Help Center of HelpDesk - "Off-screen window or pop-up": https://support.unitronics.com/index.php?/selfhelp/view-article/off-screen-window-or-pop-up This will happen evev if one monitor is used, but pop-up window eventually dragged and dropped outside of display area. *Use Unitronics HelpDesk to manage your tickets from any mobile device: https://support.unitronics.com/ You can find solutions for your problems in HelpDesk Help Center. B.R.
  15. C examples include explanation in Ladder comments. B.R.
  16. Hi, It is recommended to use not so long timeout and set Retry counter to 0. If device is disconnected, time delay to set "No Communication"status is TIMEOUT*4 (one transmit and 3 retries by default). In case you set timeout to 10 sec, delay to communicate to next device is 10*4=40. PLC will be pooled one time and Master PLC will communicate to next PLC. Best Regards.
  17. There is an internal sensor, located near input connector. It measure connector temperature (cold junction) and make proper correction. This works for thermocouples only. B.R.
  18. Hi V0vang, Please visit https://unitronicsplc.com/software-visilogic-for-programmable-controllers/ and scroll down to "Programming tools for developers". Extend topic. Look for .Net examples. Is this what you need? B.R.
  19. Hi Aleksey, Download examples and open "UniStream_070_alarms_by_configuration.ulpr" in "Alarms" directory. Hope this example will help you. B.R.
  20. Hi Sylvain, If you modify units and pulses per units, you have to make changes for profile settings to be in the same scale. From now all profile settings and move commands will operate in accordance to your settings, in sm, mm, inch, etc. If not - you receive error. Help explain how it works. Hope you understand this. B.R.
  21. Hi, Download UniLogic examples from Unitronics site: https://unitronicsplc.com/software-unilogic-for-programmable-controllers/ https://unitronicsplc.com/Download/Support/UniLogic/UniLogic_Example_Projects.zip Unzip directory structure and open examples in "#C code" directory. Here you can find all explanation what is supported. Hope this helps.
  22. Hi, It seems that EMI leads to this problem. What model of PLC do you use? Does this happens always or sometimes
  23. Thank a lot for example. But it is better to use Socket 2, which use MODBUS port 502 by default. Where do you run Python? At PC side? B.R.
  24. What is your camera model and specification? Having this information may simplify answer. Everything require integration tests. B.R.
×
×
  • Create New...