Jump to content

ORSO2001

Privileged Member
  • Posts

    305
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by ORSO2001

  1. Dear Moran, Please forgive me if I write my opinion in your post; the tags that are shown in the 2.gif (Tpp_on and Tpp_Index) will be "managed" only if button (circular button) will be pressed or clicked (direct action)...if I well understood you want/need that these tags are managed when you press or click the orange square button that already manage the "Start_simul"... this tag will switch the binary image but not the tags linked inside (not direct action). Then you have to remove the tags (Tpp_on and Tpp_Index) from the grid of circular button and insert the same tags in the grid of orange square button. I hope that I have not said stupid things...in case, please, forgive me because I am a newbe.
  2. Dear Saragani, ok. many thanks for your explaination...and let me say: thanks to all of you for your work well done
  3. Dear All, yesterday I have upgraded the Unilogic from 1_15 to 1_16 without problems. I took a fast look of it and I saw that some "function block" was added at DT and for sure others...I have to try. What happens...When I open my project, created with version 1_15, the new Unilogic highlighted that it was created with an "old" version and asked for upgrade...I choose "YES"...and in the "new" project I see that some, not all, ladder function and HMI function appears as modified...see attached pic...I checked but I don't found variations...what I have to check? In the previous upgrade I don't remember that it happened. Thanks
  4. Hi Saragani, thanks for your answer. Yes I have created it for exaple. To be honest I had tried to insert a fix value instead of a tag...but I wrote #hello instead of #"hello" and it doesn't work (sorry I am still be a newbie); this is the reason why I tried with a local tag. When the new release will be available I will download immediately.
  5. Hi Saragani, Attached an example that shows what I had done at the beginning (pic tag editor hello); when I tried to store the string tag into a DT tag, the value, that the DT grid has shown, was a simbol like a "square"...the string tag was not called in other action. Other question...I found out that if I select "local" on the Tag editor I have two rows where I can insert the "power-up value" (see pics tag editor local and tag editor global)...this happens only for string tag and not for the others...which difference between the two position?
  6. Hi S.pratt, thanks for the answer. Yes, I am saving local memory into the DT in the same subroutine. Then, if I have well understood, I have to consider the "start up value" like a "retain" option that it is not available for the local tag...it has sense I had checked into help menu what is availabe or not for local tag and I found: Note that Local tags cannot: - retain value - be used in HMI applications - be seen in On-Line mode So I thought that, maybe, it could have a start up value because it is not highlighted as "cannot"...and when I have inserted the "start up value" I don't have had a warning message.
  7. Dear All, I created a struct for DT with 2 tags; first tag is an INT16 The second is a STRING (ASCII); in the STRING tag of DT I can store one of others two STRING tag that have a "fix" value...first like "IN" and second like "OUT"...if for these 2 string I assigned, as scope, LOCAL in the DT I have a strange symbol like a rectangle...if I change these two strings as GLOBAL it works....why? all string tags have the same lenght. thanks in advance
  8. Dears Pratt and Saragani, I sent an email at support@unitronics.com with attached the program that I am creating. Thanks for your help
  9. Dears Pratt and Saragni, Yesterdy I was stesting some modification (I have created a new DTI) of my program, the PC and PLC was connected together by a USB cable,..the SD card is the new one (32 GB , mSDHC)...now I have that the PLC update the tag's value immediatelly when it try to read an existing row...the update of the DTI grid on the PC needed a very long time and for 2 times the PC interrupted the connection with the PLC with an alarm windows and the PLC crash and reboot itself...? after the second crash the situation is back "normal" (no crash). today I will send you my program to check it and the old SD data. thanks in advance
  10. Dear Pratt, sorry for delay answer...yes the PC was directly connected with the PLC by usb cable...yes both transitions (read from and write to DTI) needed 10 sec...but I want update the situation...I have replaced the SD card that I used with a new one (I bought it yesterday...for this reason I write only now) and now all works properly...the function is the same I don't modified nothing...I tried it because after that I have checked how the transfer of DTI to SD works I have found that the SD was not recognized!...is possible that a fault SD can be the cause of it! I don't came back in the original situation to test maybe I will try it next days.
  11. Dear All, I tried to use the Data Table Index; I created a Struct with 2 columns...a number INT16 and a name STRING with lenght 10...I put online the PC with the PLC to check the data table refresh and I see that to transfer the values into the data table is needed 10 or more seconds...same thing to write a row already inserted. Some suggestions?
  12. Dear All, I put online the PLC with the PC to check step by step my program and I found that 3 exclusive BIT (coil) are flickering and not enable the contact; to be more clear the function part has to do 3 individual string check and this check is always enabled; I saw that the BIT status switch very fast between 0 and 1; the operands after (store, inverted contact, coil, reset) are ok. I use this BIT only in this case; they are not called in other position...when coils are active it has to load a specific screen...I have set this function by Action menu...and It doesn't work!
  13. ORSO2001

    flickering Bit

    From the album: Files for UniLogic Forum

    Dear All, I put online the PLC with the PC to check step by step my program and I found that 3 exclusive BIT (coil) are flickering and not enable the contact; to be more clear the function part has to do 3 individual string check and this check is always enabled; I saw that the BIT status switch very fast between 0 and 1; the operands after (store, inverted contact, coil, reset) are ok. I use this BIT only in this case; they are not called in other position...when coils are active it has to load a specific screen...I have set this function by Action menu...and It doesn't work!
  14. I fixed the problem...I changed the BIT in position D of the COM Rx, that I have created by myself, with the BIT of "parsed successfully" and it works...sorry other mistake from a beginner.
  15. Dear All, I have connected the UNITRONICS by RS485 port (CPU protocol) at 1 slave;I read only 1 register (but is the same if I try with 20 or more) and the buffer that come back has the byte of the address located for last! in the attached pic you can see that the B8 is the "request" and the B45 is the "answer"...B45= first byte from the left is "3" for function, second is "2" for the lenght, third and fourth are "3,231" are the value 999 that is correct, fourth and fifth are "248,254" for the CRC ...and last byte "0"!? how I have to do for have back the correct sequence? thanks in advance.
  16. Dear All, yesterday I have downloaded the last sample programs from the site and I understand that I really wrong everything...please accept my apologise if I have wasted your time with my uncorrect question...I am less then a beginner and I have learn more...now I know that I have to insert a tag with indicate the array lenght in the slave session and what I have tried before is for the TCP. I hope next time my question will be done in a properly way. Thanks
  17. Dear All, searched in the forum but I don't found what I need...and I can't insert a pic of the "question"..I can upload only 29.9 Kb! I tried to use the element "modbus read builder" to read a lot of registers together... in the point "A" I insert an "modbus request" with: protocol=0; function n°=3; slave ID=1; start address=0; number of operands=39; ethernet trns.= nothing. in the point "B" I insert a BUFFER (that I created in GLOBAL tag) with 8 "array". In the point "D" I insert a "modbus request descriptor" with: expected response=43 (I have read it after the first test...and is what I expected...if I have understood the modbus RTU protocol); protocol=0;function=3; start address=20; number of operands=19; ethernet=nothing. For the point "C" (request size) I tried different "tag" (buffer, int,uint..) but nothing seems work! When I tested the "program" I have had the following response from the buffer in the point "B": 1,3,0,0,0,39,5,208. in the tags that I tried to use for the answer (it is an answer?) I have always "0" in each point... What I have to do? thanks in advance
  18. Dear Saragani, many thanks for your clarification...It is clear...I will try to make it real.
  19. Dear Sarangani thanks for your quick answer. For sure I misunderstand the meaning of "ladder function n°"...after reading your message I checked in the "help" of Unilogic about "ladder function"...If I understand each ladder function can has many regions and each region can has many row...it is correct? In the help I found that exist a instruction called "jump to region"...maybe I have to create a new region instead of a new "ladder function" and, at the end of the first region, insert the jump to region instruction...it is correct? however I don't found or better I don't understand how I have to do for enable or jump from a "ladder function" to others...can you help me in this way? Thank in advance
  20. Dear All, I am approching at PLC world then excuse me if the following question will be "stupid": I create a screen with two numeric boxes (dec); one is for the value one is for the "item" (called 1 and 2) that will have the value; each item has a differente modbus register. I thought that if I use an "equal" function to compare the number of the item and enable an "store" fuction to write the register but it doesn't work...if I simulated it the red line stop in the middle of the two fuctions (equal and store)...what I have wrong or I forgot?...attached some pics about what I have. Thanks
×
×
  • Create New...