Jump to content

4,484 topics in this forum

  1. NB7W hmi password

    • 5 replies
    • 14.3k views
    • 0 replies
    • 164 views
    • 0 replies
    • 218 views
    • 6 replies
    • 1k views
    • 0 replies
    • 213 views
    • 4 replies
    • 764 views
    • 0 replies
    • 633 views
  2. NP Designer Software

    • 7 replies
    • 13.6k views
    • 2 replies
    • 712 views
    • 8 replies
    • 799 views
    • 2 replies
    • 564 views
    • 4 replies
    • 6.8k views
    • 2 replies
    • 561 views
    • 0 replies
    • 298 views
    • 13 replies
    • 36.5k views
    • 1 reply
    • 621 views
    • 1 reply
    • 534 views
  3. omron plc

    • 1 reply
    • 498 views
    • 8 replies
    • 701 views
    • 0 replies
    • 356 views
    • 1 reply
    • 461 views
    • 12 replies
    • 5k views
    • 0 replies
    • 614 views
    • 21 replies
    • 8.5k views
    • 7 replies
    • 2k views
  • Posts

    • I got it slightly wrong you can use the DABIN function but it does require the minus or space char at the front of the ascii string i.e. " 12345" or "+12345"  or "-12345" It takes the lower byte as the sign either -/+ or space as the plus for some reason. In many systems a positive number is without a plus or space sign however, it appears that Mitsubishi functions require either a plus or minus or space in the first digit so if your ascii value does not contain a plus then you will have to insert it. Well... I just wrote some code where I inserted either a space or a minus sign using STRINS function then the DVAL to convert also the DABIN function using GXWorks2 in FBD mode & it worked, tried the same in GXDeveloper & the PLC goes to stop seems in GXDeveloper it works if you put either the minus sign in the string directly but if you try to use the string insert function it does not insert it correctly but does in GXWorks2 in FBD there must be some problem in GXDeveloper.
    • Need more information for example is it definitely a clone with the built in 485 port ?. i.e. just a board with a simple see through case or does it look exactly like the real unit. If it is the clone then probably does not support the ADPRW instruction there are many youtube vids on many of the different clone versions, although these are so called FX3U are probably slightly modified FX2N or FX3U old versions of firmware, most do not support altering the PLC Parameters or expansion cards & seem to be set at 19200 or 38400 baud for GXDeveloper, the real FX's can be forced to any baud rate by GXDeveloper on the fly but to answer your question if this has the built in 485 then probably does not support it.    
    • Hi Crossbow, thanks for the answer. In the end it turned out to be my (silly) mistake, of course... And it affected a bunch of other variables. On my first project, I imported variables from PLC and then assigned names to them under Variable Mapping. That configured their refresh rate automatically... However, here we had an existing PLC and I first created the global variables for the HMI in my office, which did not assign refresh rates to them even after mapping. Since I hadn't had to do it manually the first time, it didn't cross my mind.  
    • so its cannot use ADPRW instruction?
    • So i use gas flow sensor from siargo MF5712. in that sensor i can setting the address of the slave.  
    • I also tried it on the simulator & it always gives an error, I tried using the ASC_TO_DINT same thing in GXWorks2 But If you use the VAL  or DVAL function it works but again you have to put a space or - sign (H20 or H2D) in the lower byte of the first word. Note the space in the ' 12345' of the string so your string must be preceeded with either a space or ninus sign to work. Here is it in Ladder.
    • It's a clone so probably does not support the MB adapter those chinese clones generally have a built in 485 port & the PLC Parameters cannot be changed & downloaded. Here is a video of how to do it if it is an clone. How to Configure FX3U PLC as a Modbus Slave and how to read write the data from PLC through Modbus - YouTube https://www.youtube.com/watch?v=cPuX4ga1Ods    
    • Did you use FX3U-485ADP-MB ? Maybe you can share your sensor here, and what you want to read You can try this. It may work. Parameter. you can change transmission speed according to device (slave)
    • Excuse me guys, i use PLC FX3U-14MT  from china. So, i have 2 flow sensor and i want to read flow sensor using RS485 modbus communication. But i dont know how to ladder it. i've tried using IVRD and ADPRW but still cannot read my sensor. Please help me, here my ladder before.
    • Follow this post for the solution.:  https://advancedhmi.com/forum/index.php?topic=3496.0
    • Hello everyone With a Q Series PLC I want to convert a chain of carracters into Decimal. I got an error using the "dabin" function. Can you help me I made some code to solve the problem but I would have liked to understand. See the Programme Thank you very much Renaud dabin.gxw
    • I'm confused about your question. Is this a previous backup of the program? Or, is this the result from a PT > Transfer > Transfer [From PT]...? In either case, you need to connect to the new HMI and perform a PT > Transfer > Transfer [To PT]...  USB is the easiest method of connection. The serial cable is not a standard pin out.
    • There is no refresh setting for bits.  No reason I can think of why they would not be updating.
×
×
  • Create New...