Jump to content

Isakovic

Privileged Member
  • Content Count

    139
  • Joined

  • Last visited

  • Days Won

    8

Isakovic last won the day on December 4 2019

Isakovic had the most liked content!

Community Reputation

24 Excellent

1 Follower

About Isakovic

  • Rank
    UniGuru

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1,621 profile views
  1. In rung 9 try calling connect function over a transition contact. Also looks like you are connecting to 2 slaves simultaneously over the same socket, I think this won't work, you need to connect to first slave, run Modbus commands, disconnect, connect to second one, run Modbus for second one. Or use two sockets. Tell us how it goes.
  2. Do it elegantly as Flex said or: 1000 0000 0000 0000 0000 0000 0000 in decimal is 134217728. If you store this number in DW150 4th bit (or 28th depends how you count) will be zero. I remember working with older ladder software that didn't have bits manipulation. If you needed to make a certain combination of 1s and 0s in register, first you reset register (store 0), than if bit 1 is 1 add 1, if bit 2 is 1 add 2, if bit 3 is 1 add 4, if bit 4 is 1 add 8.... Good times.
  3. That is the best way to do it. Function that packs bits into registers is called "Struct", you can find it in "Vector" tab.
  4. Maybe try updating with NTP server. There was this topic some time ago.
  5. If you have a program that is on the plc you can read DT values and export to Excel via UniLogic.
  6. If you mean firmware update, look Help -> Firmware, as Alex said. If you mean transfering new project to PLC this is also possible with USB stick, look Help -> Downloading/Uploading a Project
  7. I think if you make an array out of a tag you write into, it will read consecutive registers to fill the length of an array. I also had to look up the topic Alex linked this morning because I got stuck on the same problem as you did. In VisiLogic you didn't have to swap bytes, just combine two MIs into an MF with Struct.
  8. Compared to working configuration I once did, all settings are the same except nothing was checked in the client area and "Inactivity timer" was set to 20. Also value 310 was stored in SI145 on startup. You have address 10.20.40.202 in Ethernet settings, maybe it's a typo.
  9. I think it's time PLC waits to resend message after unsuccessful communication attempt. SI 101 is system register for TCP/IP time out. You should be able to set it from ladder.
  10. When I needed Z pulse for positioning, I had to give a whole HS channel to it (one input was wasted, had to stay unused).
  11. This question was asked several times and there is no solution as far as I know. It looks like what ever you do in settings, processor usage progressively goes to 100%. I had to switch to Modbus, which is a shame because UniOPC is a great tool.
  12. I guess that too would be unstable. Why do you need unsymmetrical Proportional band? Is overshoot too big if you want it to be more aggressive when temperature gets too high? Maybe try parameters that give softer approach to setpoint. I don't know what kind of process you control, but with temperature it helps to turn off integral part when output reaches 100%, there's a function block for that.
  13. Maybe if you set up logic to change P parameter when temperature rises over setpoint. Although that would probably be unstable.
  14. You should provide more information. Can you post program or screenshots of your routine and serial init function blocks? Which PLC are you using? Are com parameters the same on both PLC and meter side? Did you set DIP switches for RS485? There should be examples under Hep menu in VisiLogic.
×
×
  • Create New...