Jump to content

AjaS

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by AjaS

  1. Hi all,
    I use USC-P-B10 with USP-070-B08 (modular HMI/PLC) as a master via Modbus Ethernet. Could anyone recommend me how to catch an exception in UniLogic 1.26.90 if slave is not responsive (powered down, loose cable...).

    Thanks

  2. 4 minutes ago, AlexUT said:

    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.

    16 GB, 8 GB, 4 GB all blank, formatted before use

    - Number of partitions.

    1024,4096

    - Partitions format.

    all FAT32

    - UniLogic version you use.

    1.25 rev 48 in one PLC that works. Now, I wanted to download this project to never used PLC (the same type) version 1.23 rev 40. It asked for update.

    - Windows version you use.

    VM of Win 7 Enterprise, service pack 1

    - Does IT department limit PC access to only for sertified by IP SD/Disk on key?

    no limitation

    - Sequence of operations you doing.

    1. Click Firmware Manager to locate all firmware files on your PC.

    2.Chosen firmware Copy to DOK (already blank and formatted). It offers "Save Firmware Files to USB device"

    3. It takes a while and it is saved to DOK: "The firmware files were successfully copied to USB stick. Plug the stick to UniStream USB port, open UniApps->Upgrades and select upgrade PLC". Then I insert the USB to USB host.

    - At what step and what error appear?

    Then HMI/PLC screen -> Upgrades-> System-> Upgrade PLC (forced and also unforced), error: "The PLC upgrades do not match or could not be found. Please verify that required files are available and try again"

     

  3. There is button on HMI having two states:0 enable, 1 disable depending on current state of the device. (If text window says 'Device enabled', the button says 'Disable' that's why 'Disable' correspond to 1 as current state of the device). This button regardless of its status trigger high UserInput if pressed to power the rung. The second action of this HMI button when it is pressed, is to set x high if button says enable, then store 1 or reset x if push button says disable and store 0. Then compare current state of the device with  user input. If they are different, write to table (the condition not equal is probably unnecessary).

    image.png

  4. Hi all,

     I have button on the screen. When touched, one out of many actions is to set certain bit high in logic to enable rung (if button is not touched, the rung does not perform anything).  The rung works nice and perform everything as expected, except for the enable bit stays 'set'. The function 'reset bit' is only for integers. I do not want to use entire integer to enable/disable rung. If used integer to enable rung, the action from HMI can be increment/decrement only, therefore I would have to put  there two conditions :equal-less 0  then store 0 and equal-greater 1 as conditions then store 1, to actually stay  in 0-1 range.

    Or is it possible to access integers that are used for data types 'bit', then I could use the premade function reset bit (in integer) like mask byte in assembler.

    Does anyone have any better idea how to do it, please?

    Thanks

  5. 16 hours ago, AlexUT said:

    Hi,

    What exactly you did?

    What do you store to MF?

    With more detailed explanation help may be more detailed.

    B.R.

     

    Thanks. I solved it within few minutes after my question. I detected the rung via 'disable rung' and 'go online'. Then found that the calculated limit in global variable  that supposed to be same for all devices, multiple for all devices in their functions (global variable A x variable B = global variable A, send A), so it was overflow, therefore I could either take the multiplication out from 'all devices functions' and perform it in the main calculation of the limit, or use additional  variable in 'all devices functions' (global variable A x local variable B = local variable C, send C)

  6. Hi all,

    If I get the infinity in real data type, what could be the reason, please? (I have checked if I div by zero.) I also have tried to store the same exact value through the program into that variable. Still "infinity" in the last rung/DTI table when I am online.

    Thanks for any help.

×
×
  • Create New...