-
Posts
3,275 -
Joined
-
Last visited
-
Days Won
239
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Flex727
-
-
I've done this many times. All you need to do is Close the Socket, re-execute the MODBUS IP Configuration with the new attributes, then re-connect the Socket with the new attributes. I've never had any problem as long as I allow the few seconds if takes perform all the tasks. There is no need to restart the PLC.
Edit: I see you're actually redefining the Protocol also. I've never tried that, but I suspect re-initializing the Socket and re-executing the Configuration block should work. The guys at support@unitronics.com should be able to give you a definitive answer on this.
-
Use a positive transition contact attached to a Set coil. You will then need logic to Reset the coil at the appropriate time.
-
There is a linearization function in the U90 Ladder, but it can be a bit confusing. Be sure to read the Help file carefully and you should be able to do it. If not, we'll try to help.
-
Jamie123, in your situation you do not need to do export/import - just change the HW Configuration directly.
-
While this will work when going from a Samba to a V350, it won't always work (for instance, when going from a color to a monochrome HMI). In that case one would need to export each subroutine and import each one into a new project with the correct PLC model selected.
-
I've never seen the first one - perhaps a Watchdog Timer error? The second one is usually from a bad or disconnected cable that connects the PLC to the I/O modules.
-
Sure, just change the PLC in the HW Configuration from Samba to V350 and select the appropriate I/O module. It will throw up a warning about deleting I/O, but ignore that.
- 1
-
12 minutes ago, Joe Tauser said:
I have a standard policy that my code never works right the first time!
Okay, I'm stealing this.
- 2
-
I rarely use the comms dropdown box, but I just checked and I see the same problem as Ausman. I am also still seeing the Modem box pop up randomly when I try to connect to the PLC over serial connection. When that happens the connection is dropped and cannot be restarted.
FYI, this is using VisiLogic 9.8.31 and Windows 7 - 64-bit.
- 1
-
Am I missing something, or is everything backwards in the linearization function block? Shouldn't it be:
X1 - 3277
Y1 - 0
X2 - 16383
Y2 - 100
Maybe it doesn't matter, but seems very counterintuitive.
-
20 hours ago, Atcan said:
Sorry but I am afraid to say that this is my first PLC ladder program.
Do not be sorry. That's what we're here for.
-
Just create logic to do the same thing.
-
21 hours ago, Joe Tauser said:
If it would make you feel better assign a bit to be on while the display is active and then call Sub2 from the Main routine with a contact tied to that bit.
Be sure to set the Powerup value to RESET for that bit. I've been burned by that and have learned my lesson.
-
Which of the 3 types of timers are you using? Just working from memory, a new timer preset will not take effect until a timer coil is called in the ladder, or if a timer reset coil is activated. Are you certain the timer coil is actually being activated (i.e. is the subroutine being called, etc)?
-
-
You may be able to buy an off-the-shelf programmable thermostat that will meet your needs, but if you want a PLC to do this job, you will not find an easier or more straightforward programming environment than Unitronics VisiLogic. Best of luck to you.
-
andrew39, have you uploaded files on this forum previously? If so, the upload limit is cumulative. Go and delete the files you previously uploaded and your upload limit will increase.
- 2
-
This is very simple.
You need to use the function on the menu under Utils/Clock/Direct Clock Functions/Day of the Week in series with the function Time (found in the same place) to store 20 in an MI for the thermostat setting for Monday 10:00 to 12:00. Do the same for each separate setting you desire.
You can use indirect values anywhere you want to have an operator input, whether for the time settings or the thermostat settings.
-
I'm working from memory also, but as I recall this pop-up box is making a RECOMMENDATION. It does not actually do anything other than download your program update (and perhaps reset, not initialize, the PLC). It is up to you to preform the initialize (or not) which would erase your registers.
-
7 hours ago, Parag said:
We tried to ping from ethernet setting, but it failed.
I've never known an Ethernet connection to fail if the following are true:
1) Confirm the ethernet IP address is correct (check in INFO Mode)2) Confirm the PLC Name is correct (check in INFO Mode)
3) Make sure your PC is on the same subnet as the PLC (first 3 octets are the same)
I'm told modern ethernet adapters will auto-adjust, but I always use a crossover cable or hub just to make sure.
-
Make certain you are selecting the correct COM port in the VisiLogic software.
Also, if the PLC is new enough to have a USB port, use that instead of the RS232 cable.
-
Here is how I ended up solving it. This application changes the display brightness by touching and sliding the Bar Graph left or right. The ladder logic would need to be adjusted for the actual coordinates of the slider bar. Note that I check to make sure the correct screen is being displayed and that the PLC is not in INFO Mode.
- 2
-
There are two example programs included with your VisiLogic installation that shows how to use the Struct function. Look under "Vectors" - one is in the "Projects" folder and one is in the "Functions" folder.
-
On the left side, right in the middle of the Numeric Variable setup is a drop-down called "Leading:". There you'll find 3 selections: Leading zeroes. leading spaces, no leading. Try changing to "No Leading" and "Text Alignment" (far right, near the bottom) to "Center Left".
Reuse Socket
in We're Listening...
Posted
When you say set it manually, do you mean that you stored the value of zero in SI 143?
I'll say this, I'm impressed with your perseverance and troubleshooting skills. Thanks for returning to the forum with a solution.