MVP 2017

10

1,810

MVP 2017

9

1,166

MVP 2017

6

1,661

Moderators

4

334

## Popular Content

Showing content with the highest reputation since 05/26/2019 in all areas

1. 2 points

## V700 + RTD Setup

There are a couple of I/O module that can you can directly connect a 100 ohm RTD to - the V200-18-E3XB snaps onto the back of the V700 and the IO-PT400 expansion module is similar to the IO-ATC8. Both of these modules return the temperature directly in 0.1 degree units, which probably what's confusing you. But this is not what you have in the Prosense (translation: Evil Empire) transmitter. You need to understand what you'll be feeding the IO-ATC8 electrically from the transmitter. It's not ohms. Let's lay it out: 0 F = 4 mA 300 F = 20 mA The IO-ATC8 is an A/D (analog to digital) converter that produces a number to the PLC based on it's input. You said you understand it's 14 bit, but do you know what that means? Let's lay that out, too: 0 mA = 0 counts to PLC 20 mA = all 14 bits on = 2^14 = 16384 counts to the PLC So your transmitter starts at 4 mA. This means at 0 F the IO module will return (4/20*16384) = 3276.8 counts, which it will round to 3277. At 300 F it will return 16384 counts. Read the Help on the LINEAR block, which includes some fun diagrams under the subtopic "Linearizing Analog I/O Values" So you set your linear block up like this: X1 = 3277 (point 1 input) Y1 = 0 (point 1 output) X2 = 16384 (point 2 input) Y2 = 300 (point 2 output) Map X to the register assigned to the channel on your IO module and Y to whatever MI you want to use for the output. If you still need help post your program. Joe T.
2. 1 point

## Is there a way to make the Unilogic software interface closer to the Visilogic one?

I've recently been teaching myself Unilogic after using Visilogic for about a year and the thing that sticks out to me the most is that while Unilogic definitely looks more "modern" the UI is absolutely horrible and wastes so much space. To the point where I'm having issues using the program on a single screen compared to Visilogic's much more condensed and less cluttered style. Is there a theme or setting that I'm missing that could lower the entire UI scale or something along those lines?
3. 1 point

## Speed issues with a DC gearmotor on Unilogic

Further to Flex's comments, something for you to consider. I often preach on the forum that in many instances a "timer" issue like yours is far easier to set up, and simpler to understand, if you use a counter based system instead. You set up a self-resetting count that increments at a suitable rate, based on a system time like 100ms (or bigger or smaller...depends on your need). You then do compares to trigger actions....."if the count is b/n A & B do THIS output; if it is between A & C do ANOTHER action; between F & H do THAT; right up to the main reset where it starts the count again blah blah. Your case of 5 seconds means one of those compares would be perhaps based on 0 - 50 if you are using 100ms as the count increment. Interacting Timers can often lead to Terrible Interaction Knots happening! Counters are simple, very easily manipulated and show what is going in a snap. They seem to have gone by the wayside over the years, but are extremely powerful and diverse in the right hands. I guess because people only associate the word "time" with "Timers". Thinking outside the box is a powerful concept when working with plcs. cheers, Aus
4. 1 point

## Speed issues with a DC gearmotor on Unilogic

#1 - Do NOT place multiple logic threads in a single ladder rung. #2 - It appears that you are not using the Timer correctly. Here is the Help entry for the On Delay Timer you are using. You must use the Out bit. If you are still not understanding, ask a specific question and we will help you.
5. 1 point

## Unistream project (simple)

For what you want I wouldn't be going to too much trouble. The unit uses about 12W max so I'd find yourself a little enclosure like my pic I found. Plastic lids are very easy to work with, and if you don't have precise machinery to machine the hole, you can easily do it carefully with a jigsaw. Put some duct tape on where you're cutting to protect the surface that will remain. For power I'd simply use an external plug pack, and run the lead through a nylon gland on the side of the box. Same goes for your ethernet connection, use a gland big enough to let you run a standard ready made patch lead through of the right length. Your location will dictate where you get this stuff, all of it can normally be found at any decent electricians' supplies store, or a hobby electronics type place. cheers, Aus
6. 1 point

## TD preset on HMI

Use a TE Timer and activate it with a positive transition.
7. 1 point

## TD preset on HMI

Did you look at the Help file? The example is for an older PLC, but the basics are the same. When you place the Timer HMI element on the screen, link to the timer operand you want, check the Preset box, and the Keypad Entry box. Also, set up the Format and other niceties for your HMI element. That's all there is.
8. 1 point

## Ethernet/IP communication

Ahoj Bence, posielam tagy pre EIP komunikáciu. Rýchlo napísané, podrobnosti iba pre port-0. Hi Bence, I send tags for EIP communication. Quickly typed, details only for port-0. Link for Inspiration.: Balluff_GlobalTags.xls BalluffStructs.xls
9. 1 point

You need something with a DC output compatible with what the PLC is looking for. These are the ones I use (full disclosure: and sell as a distributor)- http://www.dwyer-inst.com/Product/ProcessControl/CurrentTransformers-Switches/SeriesCCT60-70 Joe T.
10. 1 point

## Ethernet/IP communication

I’ve interface and Ethernet IP reader I. To a unistream before. Any chance your using one from RFideas? If so I can send you the struct required.
11. 1 point

Please post the make and model of the CT. A link to a data sheet would be even better. Joe T.
12. 1 point

Agree with Gabriel. Also, it is possible that you have damaged something by not looking into all the parameters in the first place before connecting AC to something that is DC. This may account for the fluctuations you experience with the tester. You should be using the final CT product in your testing, not something that is different.....it's not much of a durability test if it isn't the product you're going to be using. Finally, ensure that you have all the wiring as recommended in the install literature. cheers, Aus
13. 1 point

I suspect you´re using a CT with AC volts output. Analog input is only DC, 0 ... 10 Vdc range, then you need a converter from AC Volt to DC Volt.
14. 1 point

## V570 to PC

If used V570 include Mini-USB port - you can use USB to Mini-USB standard cable. *You have to install USB driver before you use USB connection. Do it from Connection->Communication & OS->right-most tab. Click "Install USB Driver" than "Open Device Manager" to find COM Port number to use in VisiLogic. Then connect mini-USB cable to PLC and to PC. Or you can use USB-to-Serial converter P/N MJ10-22-CS35, and RS232-CB1 set, supplied by Unitronics and distributors. *USB-to-Serial converter P/N MJ10-22-CS35 include all required RS232 lines. It use Prolific chip. RS232-CB1 set include MJ10-22-CS25 DB9 to phone 6p6c socket adapter and cross-crimped 4 wires phone cable. Then you can communicate to PPLC. Hope this information helps. B.R.
15. 1 point

16. 1 point

## Sintax for Timers from Intouch to VisiLogic

Look in the Help for the Slave Address definition table. Timer presets start at C000 hex, and timer currents start at D000 hex and are 32 bit words. For T35 preset, try address hex C023 (decimal 49187). Joe T.
17. 1 point

## Read Single-precision arrays with Modbus TCP/IP

Those would be the Visilogic function blocks. As you've already done, read the data from the device into a UINT32 tag. For testing I made one called "Read Data" that I could simulate, and a tag called "Conv Value" to hold the swapped bytes. The data will land in a REAL called "Converted". In UniStreamSpeak- 1. Copy the data you read from the device to the working tag and Swap the bytes using "Logic->Swap Single Tag Bytes" with Swap Type.ABCD_CDAB. 2. Copy the swapped data to a 4 byte BUFFER array type so you can manipulate the memory directly. Mine is "Conv Buffer[4]". 3. Use "Buffer Tools->Copy Tag to Buffer" to get the "Conv Value" data into the buffer tag and "Copy Buffer to Tag" to get it from the buffer to the REAL "Converted". There you go. Sorry it doesn't have all the digits you're looking for. If you need to convert several values write a UDFB to move the data into this logic with a pointer. Joe T.
18. 1 point

## Fault Connection

Hi chand345, Please provide TC connection diagram and snapshot of module configuration. This will help to better understand your setup. B.R.
19. 1 point

## Fault Connection

Moved to the correct forum.
20. 1 point

## Read Single-precision arrays with Modbus TCP/IP

Hi, I used next link: https://www.h-schmidt.net/FloatConverter/IEEE754.html Result is 0x3e18a71e, as you have. Now you have to swap 0x3e18a71e to 0xa71e3e18 and use "Vector->Use Offset->Copy Memory" to copy ML/DW to MF. Than MF should show right number. Update us if it is working for you.
21. 1 point

## Using visilogic to read parameters from another device via modbus rs485

In revisiting this after some zzzzz, also don't forget that Modbus addressing starts at 1, whereas Vision starts at 0. Sometimes you have to allow for this "difference of 1" when specifying the addresses. It depends on how the slave is set up....some also use the Vision style. Easy enough to find out for sure once you actually get a successful connection. Also, you have fallen into the trap of counts starting with 0...... MI4000-MI4027 is actually 28 MIs. cheers, Aus
22. 1 point

## Using visilogic to read parameters from another device via modbus rs485

I'm only looking quickly and might miss something, but SB2 in your third rung is only calling the actual read on power up. You need this to be an actual call from other parts of your program, whenever you want it to happen. Would be nice to see the actual settings in Com Init 2. And don't use PLC Net ID, especially 0. If you look at the dropdowns that then happen, you will find preset determinations of what they do. Instead, do a direct store into SI8 of whatever unit ID number you want the plc to be. For Modbus I generally make the master "2". This allows for some later additions to a network that might default to 0 or 1. Your other understandings seem good enough, but no doubt I have missed something somewhere. Try my suggestions and see how you go. cheers, Aus
23. 1 point

## Read Single-precision arrays with Modbus TCP/IP

Hi Charalambos, Please publish here content of 2 sequential MIs you read from meter in HEX and tell us what number it should show. *Read it from meter display, if possible. Having this information it is simple to negotiate if pairs of Bytes should be swapped or Bytes should be arranged in some order. AABB CCDD -> CCDD AABB B.R.
24. 1 point

25. 1 point

## Read Single-precision arrays with Modbus TCP/IP

Actually, it's not. According to the Unitronics Help under Contents->Tags->Data Types So that leaves me to believe you may have a byte order problem, which is not unusual in reading 32 bit data from a Modbus device. I'm looking into if it's possible to read the data into a UINT32, swap bytes, and then convert to Real. Otherwise someone at Support may be able to help. Joe T.
26. 1 point

## Read Single-precision arrays with Modbus TCP/IP

Send your request to support@unitronics.com and let us know what they answer. Joe T.
27. 1 point

## Read Single-precision arrays with Modbus TCP/IP

I don't know definitively on the UniStream, but the Modbus command to read float registers is the same as the one to read holding registers (3). Have you tried reading the value from the meter to a Real type tag? Joe T.
28. 1 point

## V700 + RTD Setup

And the final follow-on to all of this number talk. At first glance the calculator is a useful thing just to get your head around how Linearisation works. But it does have a "higher purpose" and that's why I did it. In the theoretical world, all 4-20 sensors work perfectly on those numbers mentioned. But in the real world, sensors, the plc's input or both can be slightly off. If it is a simple linear difference over the entire span, then a + or - amount to the result is all that is needed to get complete accuracy. However, if the span itself has some innate error, the calculator lets you play with numbers very easily to get the best match to adjust things. In all the sensors I use, many of my linearisations are NOT set at the numbers above, they have small variations to correct for this error. My "need no adjustment at all" percentage is probably 25% of the sensors in use. How critical your reading needs to be is an important factor in whether to play with this or not. In my case I have to have all temperature sensors perfectly matched to a master device, otherwise I can get control conflicts. In other situations this is not strictly necessary. cheers, Aus
29. 1 point

## V700 + RTD Setup

Ah, sorry, I misunderstood.
30. 1 point

## V700 + RTD Setup

I always tell my guys that get confused, "to a computer, zero is a much a number as one is, only people think zero means nothing"
31. 1 point

## V700 + RTD Setup

It's 16383. There are 2^14 counts, but it starts at zero, so the highest number is 2^14-1 (all 14 bits on would be 2^14-1, or 16383). This is what goes into your linearization block, though you would likely never notice it in the real world if your linearization was off by 1 part in 16384.
32. 1 point

## V700 + RTD Setup

As I was writing my answer, Joe's has popped up and says it all. One thing I might add is to go this topic and get the calculator, which might help you understand some of the principles a little easier. cheers, Aus
33. 1 point

## ONGOING LIST.. 2 TOPICS "ALMOST" WORTH PINNING

Hi all, This Topic will list items that are worth an easy find, but are not quite "pinnable" on their own. If we pin everything that is useful, it will all become one big mess on page 1 (or bigger!). I suggest that if you want something added to the list, contact myself or another mod to have them edit it into this existing list that I see as having carefully considered updating. To save space, only links will be shown, not full previews, with the Header listed before the link. HSC resets DW counter after power-cut http://forum.unitronics.com/topic/6118-hsc-resets-dw-counter-to-after-power-cut/ Multi Monitor (things disappearing) Issue http://forum.unitronics.com/topic/5827-multi-monitor-issue/ cheers, Aus
34. 1 point

## How Do I Load a Project with the SD Card?

A step by step guide to installing a project via SD Card on enhanced series controllers. SD Card App Install Procedure.pdf

• 54
entries
• 27
• 59478
views

• 2
entries
• 3
• 11382
views

• 4
entries
• 3
• 11912
views

• 1
entry
• 2
• 4290
views

• 1
entry
• 1
comment
• 5007
views

1. 1
2. 2
3. 3
4. 4
5. 5

×