Jump to content

AlexUT

Moderators
  • Posts

    845
  • Joined

  • Last visited

  • Days Won

    40

Posts posted by AlexUT

  1. Hi Otto,

    Please always provide PLC type and other information to have better answer.

    Be careful with System wariables. You should understand what the wariable doing. Othervice PLC will enter endless loop or stop works.

    In your case it is useless to use SB 24.

    When you power-up PLC, it make reset but not initialize Memory Registers.

    This make possible to save all variables status as it being before power-cicling.

    To have a Company logo displayed for specific time, you need to prepare "! Start-Up Display" with your Company information and run timer at start-up(power-on). This timer, when ends, will call "Status HMI Screen". You will do this from Menu "Utils->HMI->Load HMI Display".

    SB 16 - "Touchscreen is Active (has been touched] (Touch models only)", indicate "touch". You will analyze it and call "Status HMI Screen" before timer ends.

    Believe, this will help.

    BR.

  2. Hi all,

    Please take care to use null-terminated strings for file names.

    With this precaution everything will work.

    Some remarks about this (and others) topics:

    -When you ask for help, please provide as much as possible information, preferred to attach simple project.

    -Answers without looking into project code will be useless and just spend a time. Unless you know exactly what happen.

    To whom it is interesting - fixed project attached. It is for VisiLogic 9.4.0.

    SD_Card_Trend_Read_Write_Append_fixed.vlp

  3. Hi,

    Last time a lot of peoples comply at different forums about CD cards of wrong capacity from e-bay and other internet stores.

    As a first step, I recommend you to check your SD card for real capacity.

    Simple check will be done by program, which you can download from following link:

    http://fightflashfraud.wordpress.com/2009/06/18/fake-capacity-32gb-sd-card/

    * This link is for information purpose only. I have no responcibility about any side effects. You will use this software at your own rick.

    If this software indicate wrong capacity - you CD card cannot be used with OPLC, and should be replaced.

    B.R.

  4. Hi,

    Please update Operation System files from Menu "Hepl->Check For Updates->Operatin System".

    * O/S 3.3(20) is a little bit outdated.

    Finish, update System Files.

    Download an empty project to OPLC.

    At Visilogic open Menu "Connection->Communication & OS", then select 4th from left side folder and click on "Check".

    * Use Com Port 1 for OPLC System Files update. Process update as required.

    Init and reset OPLC.

    Download your application to OPLC and test again. Does this corrected error?

    New VisiLogic Ver. 9.4.0 is available for download.

    I tested under this version (O/S 3.6(03)), and found that after timeout SI 83 = 3, SB 83 = 1 for both conditions you explained.

    * I used Com 2 for tests.

    B.R.

  5. Hi.

    You did not mention OPLC model. Next explanation is for Unitronics Enhanced Vision Series.

    VisiLogic have no such embedded function.

    Easiest way is to show remaining time between current RTC (Real Time Clock) HH:MM and indirect off-time HH:MM, when current time is inside on-off interval.

    But representation of both is different:

    Indirect time function use HexaDecimal(BCD) format. 12:45 is 0h1245.

    SI 31 contains RTC current time HH:MM in a Decimal format. 12:45 is 1245.

    Timer preset contains a number of 10 mSec intervals (ticks).

    UTC counts in ceconds from pre-defined date. *See UTC help.

    You need to fill start and stop time in format of RTC, like SI 30 - SI 33 use.

    Use RTC-to-UTC conversion of start, stop and RTC, you will find remaining time between RTC and off-time in seconds.

    Then display this remaining time is trivial.

    B.R.

  6. Hello,

    For VisiLogic and U90Ladder Ladder's Element Descriptions will have 1 line up to 99 characters.

    For U90Ladder Ladder's Element Description inside element is centered and show middle of description string.

    When pointing to Element by Mouse, full Element Description pop-ups.

    For VisiLogic Ladder's Element Description inside element show ~20-24 first characters of description string.

    When pointing to Element by Mouse, full Element Description pop-ups.

    Multi-string Element Description is not available.

    If you have significant difference in result, make short demo application, add description in what version of VisiLogic/U90Ladder you see this, what is your OS (XP, Vista, W7), 32/64 bit, used language etc. and send to support@unitronics.com.

    Then we will do test to find problem.

    B.R.

    post-5711-008314500 1335255456_thumb.jpg

    post-5711-035290100 1335255472_thumb.jpg

  7. Hi All.

    I tested attached application "Pressed Test.vlp" under VisiLogic 9.3.1 (which is acceddible to download for a monthes).

    V570

    O/S: 3.4(40)

    BOOT: 2.2(08)

    BinLib: 1-1.10(01)

    * Update files at VisiLogic ftom Help Menu->Check For Updates->Operating System

    * Create an empty project and download it to V570.

    * Check and update System Files at connected OPLC.

    * Init and Reset OPLC.

    Attached modified application "Pressed Test_2.vlp"

    I see no problems with HMI objects.

    I did tests with V1210 as well, but found no problems.

    Does anybody have this problem with a last VL 9.3.1?

    Pressed Test_2.vlp

  8. Hi,

    By use Menu option <Burn "Upload Project"> you can download and save your project into PLC flash memory.

    Then you will upload this project from PLC flash memory to VisiLogic.

    This message say, that you project size exceed maximum size available for "Upload" option.

    You should always have backup copy of your project.

    If you want to use "Upload" option - you ned to lower number of HMI Displays.

    But you will add more HMI Displays without possibility to use "Upload" option.

  9. Hi Fernando,

    MI is not a Database, it is a Memoty Integer.

    There is a backup batery to back up memory content, which include many other data types.

    As a regular MIs are accessible after power cicle, but some modes of startup/reset will make init for internal memory.

    So there is no yes or no. Answer is - it may have previous value and may not.

    You need to know exactly what you need to implement, and there are other methods to save memory registers status.

    I recommend you to start from some basic things and then go forward.

    There is a forum topic which partially answers how to learn PLC.

    http://www.unitronic...sp?TOPIC_ID=527

    But I recommend you download VisiLogic from Unitronics web site. It includes free examples and help.

    And it is free.

    I will recommend you to download next 2 files from Unitronics site and start to read.

    http://www.unitronics.com/Data/Uploads/VisiLogic_Software_New/VisiLogic%20-%20Getting_Started.pdf

    http://www.unitronics.com/Data/Uploads/VisiLogic_Software_New/VisiLogic%20-%20Ladder%20Programming.pdf

    There is an e-learning link:

    http://www.unitronics.com/Content.aspx?page=e-Learning

    I wish you success.

    post-5711-016229100 1328105919_thumb.jpg

×
×
  • Create New...