sgull
Members-
Posts
242 -
Joined
-
Last visited
-
Days Won
15
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Everything posted by sgull
-
Hi In your original post you said you tried to use the digital inputs and found that sometimes the count jumped by 5 or 10. This will happen if you dont use a positive transition contact to increment the pulse counter. if you use a nornal contact the counter will increment with each scan as for the duration of the pulse.
-
m91-2-ua2 Temperature in ladder diagram
sgull replied to NewToUnitronics's topic in Jazz, M91 PLCs and U90Ladder
Hi With a thermocouple type input do you need to linearize as shown above? The attached files above show an input between 0 and 1023 and an output between 0 and 100. I dont think you can do this with a thermocouple type J. -
Hi Meetto If the port is COM17 in device manager then you must select COM17 in the unitronics program communication settings. However I think that the program only accepts COM ports up to 16. Try changing the COM port in device manager to an unused port below 16 and match the settings in the Unitronics program
-
Convert MI to MF
sgull replied to luis.lmtz's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi You could use the formula function to do the calculation. Feed in the MI into the formula and divide by 100 and save as an MF, then multiply as normal. -
Hi All I purchased this device on ebay. The model number is "VAP11G Bridge Cable Convert RJ45" (probably many alternatives available) Cost around €15.00 Works a treat on unistream. Plug in the ethernet and power via the USB port. PLC can now be programmed with the panel door closed over wifi. Should also work with Vision but you would need a power bank or 5v power supply.
-
Hi Acisre The PLC will evaluate all the code with each scan. I think the way the code is written it would be impossible to know what MI-1 will be. If you use a positive transition contact for the increment the value would be 2. With a direct contact of the compare the value will increment continuously for the scan time.
-
Problem on 4-20 mA output
sgull replied to PHOP1's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi You need to have a 24v supply on 0 and V2. The program you attached has 0 to 4095 for the 4-20ma out. You may need to change this to 819-4095 Check the actual output with a meter and be careful to common all the 0v. Regards Denis -
Had a quick look at this again today. I got communicating using the settings above but with INT32 instead of INT16 (thanks Joe) The results I am getting are really big numbers, much higher than what I would expect. I will now need to find out which parts of the result need to be swapped to give me the correct result. The documentation of the meter is quite poor on this topic. Thanks for all the help.
-
Thanks Joe I already tried subtracting the 40000 but didnt try the offset of 1. I will try this and post back any results. Regards Denis
-
Thanks Aus Im using port 502 for the Modbus TCP. I cant find anything in the manual or online to suggest a different port. I will try playing around with different values to see if I can get a response. Regards Denis
-
Hi I am trying to read from energy meter (Socomec DIRIS A40) to a unistream via MODBUS TCP. I have set up the device as per the images. I can access the meters built in webserver while connected to the same hub as the PLC so the addressing and cabling appears ok. The result returned for each parameter is 0. I think it may be an addressing issue but I am not sure what to try next. Regards Denis 536181B_GB_Ethernet-1.pdf
-
Thanks Joe I will need to do this now anyway. I tried to write a formula that was working in visilogic in unilogic. I tried for a few hours to get it to work but kept getting different values in the two PLC's. After submitting the project to support, they confirmed that there was an bug and would need to research this. I would advise checking the results of formulas in Unilogic for correct operation. See attached. The VLP is the formula working correctly in Visilogic The Test formula.ulpr is the one that does not work. The Test formula_ak.ulpr is the work around supplied by support. Regards Denis formula test.vlp Test Formula.ulpr Test Formula_AK.ulpr
-
Hi Joe I think this only protects the ladder and where the formula is called. The formula editor is lower down the tree and does not appear to have the protect option. Regards Denis
-
Would it be possible to have the option to password protect formulas in the next version of UniLogic. Regards, Denis
-
Hi Alex There is a topic here where this is discussed. There is a RAR file attached to one of the posts. If you follow the instructions with this you should solve your problem. Regards Denis
-
Analog inputs - Ohms
sgull replied to Milosh's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi I think if you choose PT100 it automatically converts the input to actual temperature values and you don't need to linearise. If you use the OHM setting you can use the raw value in the ladder and scale it to whatever you like. I assume the range of 0 to 320 ohm is the same for both. Would be worth setting up to test though. -
Hi I have used this many times with an MF as the input. Try changing C to Float. You should also be triggering an MB after the conversion is done (just attach it to the right hand side of the function block) You will need this MB when displaying on the screen. The values I have used with success are as follows. A=MF, B= Constant 6, C= float, D= constant 0, E= Constant 2, F=MI Regards Denis
-
There is a Profibus card available for the V130,350,430 and for the V700 You can also use a modbus to profibus converter on other models
-
V200-18-E3XB
sgull replied to sgull's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi Joe Looking at the board there are no electronics or circuits in the 4 corners. It would fit if the corners were cut. This was obviously something done intentionally to prevent older snap in from being used on newer PLC's. Would it be possible to find out what the incompatibility issue was? Regards Denis -
I recently needed to add some extra I/O to a Vision 1040. I had an old V200-18-E3XB (maybe 6 years old) Tried everything except a big hammer to get it to snap into the 1040 but it was not going to happen. Ordered a new model and this snaps in perfectly. On looking at both the circuit board in the older unit covers the 4 corners where the 1040 has some plastic protrusions. The new board is open at the corners allowing the unit to connect. Does this mean that the old E3XB is not compatible with the new controller. If so it would be worth noting for anyone planning to upgrade to a newer PLC. Photo below shows older unit on the TOP. Regards Denis
-
Hi Wawa When you buy a new unitronics PLC it does not contain any program. The program is written by a programmer to do specifically what you need to do in your factory. When you say your workers made many changes can you explain how they did this? Did they download the program to a PC or did they do it using the info mode on the PLC? There is no way to restore the PLC to factory settings unless you have the original program. It may be possible to reset and initialize the PLC but be careful as you may not have access to all required parameters from the PLC screens. First step is to try and get a copy of the original program. Regards Denis