Jump to content

ORSO2001

Members
  • Content Count

    225
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ORSO2001

  1. 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.
  2. 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?
  3. 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"
  4. 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
  5. Dears Pratt and Saragani, I sent an email at support@unitronics.com with attached the program that I am creating. Thanks for your help
  6. 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
  7. 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 t
  8. 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?
  9. 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!
  10. 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!
  11. 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.
  12. 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 advanc
  13. 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
  14. 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
  15. Dear Saragani, many thanks for your clarification...It is clear...I will try to make it real.
  16. 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 hav
  17. 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. Thank
×
×
  • Create New...