AlexUT
Moderators-
Posts
838 -
Joined
-
Last visited
-
Days Won
40
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Everything posted by AlexUT
-
Problems with V350-35-R2
AlexUT replied to _GS_'s topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi Grzegorz, In such a slow working system you really do not need to use Immediate Read/Write. Use direct Contacts and Coils to simplify program. Scan time of V350 is 3-7 mS, dependent of application size and other time consuming operations. B.R. -
Problems with V350-35-R2
AlexUT replied to _GS_'s topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi, About how Ladder and PLC program works: PLC contineously scan ladder code from up to down and from left to right. All Inputs are read before the start of the first net processing. All Outputs are updated after the last net processing. So at the time you wants to use some Input result - it is already known. Immediate Read operation allowed only for High Speed Inputs. In your case these inputs are 0 to 5. So there are right messages for inputs 6 and up. Now question - why you use Immediate Read? Do you really need this in your first project? -
Energy calculation
AlexUT replied to Brian's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Unitronics OPLCs are supporting complicated formula calculation. Knowing a formula and dependences of formula members from time will allove you to calculate charge/discharge as function of input energy, battery capacity,battery charge level, output load and time. OPLCs have different Time functions to choice from. You will find Formula Element in a VisiLogic Math->Formula menu. -
Easy Question on Interrupts
AlexUT replied to cmarcus's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
_Interrupt x.x mS Interrupt Routine start its code even at the middle of the Rung/Net code. And it should be wery short. It works strong at prescribed interval. -
Problem PT1000 temp sensor
AlexUT replied to Hanna's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi Hanna, IO-PT4 is a predecessor of IO-PT400 (newest one). Both designed to work with PT100. To work with PT1000, you should use IO-PT4K. This module designed to work with PT1000. -
Problem PT1000 temp sensor
AlexUT replied to Hanna's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi Hanna, PT-4x module name used in Hardware Configuration. What module do you use? IO-PT400 or IO-PT4K? PT1000 sensor should be used with IO-PT4K, and PT100 sensor should be used with IO-PT400. If you use PT1000 sensor with an IO-PT400 - it will be a reason of wrong reading. -
10mS Timer Counter problem
AlexUT replied to Andrey's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Andrey, It does not work because you changed DW 1, and logic say that if you want to compare MI 1 to Zero if DW 1 is Zero - it is not Zero already. Attached is other example which works in accordance to your logic rules. -
Problem PT1000 temp sensor
AlexUT replied to Hanna's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hanna, It will be better if you describe in more details connection between modules. When you use IO-PT4K, you should use either EX-A1 or EX-A2X Expansion Adapter with a proper cable between it and OPLC. Cables are different. Cable for EX-A1 has Gray connectors. Cable for EX-A2X has Yellow connectors. Connector with a Groung wire should be connected to OPLC. IO-PT4K module should be connected to Expansion Adapter with a cmall flat cable. EX-A1 or EX-A2X Expansion Adapter should pe powered from Power Suply. Please tell if everything i wrote is implemented. -
Problem PT1000 temp sensor
AlexUT replied to Hanna's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Without adding an IO-PT4x to a Hardware Configuration it will not works. After you selected a snap-in for your V350 - In your case this is a V350-35-R2, you need to click on I/O Expansions, click on IO-PT4x icon, drag and drop it to a rails. *See attached Clicking on it opens a configuration window. Save changes, check connection and test. -
Problem PT1000 temp sensor
AlexUT replied to Hanna's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi Hanna, There are two I/O Expansion modules,I/O Expansion module IO-PT400 for PT100, and I/O Expansion module IO-PT4K for PT1000. In VisiLogic Hardware Configuration there is a common I/O Expansion module IO-PT4X. VisiLogic know to detect which modul is in use. So when you use PT1000, you should use I/O Expansion module IO-PT4K . See attached picture, where I measure a temperature of hot water. -
Question for V1210
AlexUT replied to Fabios's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi Fabios, Answer for second question: Becouse you click "Yes" when asked "Do you want this to be the default Download settings?" when selected "Download All & Burn" or "Burn "Upload Project"". You need to change mode to other one and answer "Not" when asked abiut "default Download settings". Then change mode to "Download" and make it default. -
high speed counter
AlexUT replied to richie's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi richie, What OPLC type do you use? Do you use any Snap-in/Expansion Modules? You need to use shaft encoder and set up properly hardware configuration, then then direction of muvement/rotation will be detected automatically and counter will be incremented/decremented in accordance. There are examples you will open from Help Menu -> Examples. -
10mS Timer Counter problem
AlexUT replied to Andrey's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
-
relay outputs will not work
AlexUT replied to richie's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi richie, V200-18-EX3B is isolated from OPLC. You need connect power to "24VDC DIGITAL OUTPUTS". Contacts are located right-side under "ANALOG OUTPUTS". Relay starts to work (click). -
Hi Danny, I am sorry for missing your request for help. Was the problem solved or you need further help? * PLC can not answer to any HyperTerminal input as by default it use VisiLogic communication protocol. ** To check cable or adapter, you need to shortcut pins 2 and 3 at 9 pin RS-232 connector. Entering any symbols from HyperTerminal will echo back.
-
Hi Michael, I am sorry for missing your request for help. Was the problem solved or you need further help?
-
SMS Length
AlexUT replied to dan_lorentz's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi Dan, You need allocate memory for a maximum characters in string + 1 for <0> (null) terminator. SMS message will be shortest, but allocated space will warrant that any message will be processed. If you use your own algorithm to process SMS - I will recommend you to work with Data Table, where you will define fields, one or more if you need. There is a set of operations with a table rows, which will simplify you task. Standard SMS functions have 16 strings with a fixed SMS messages structure. -
Maximum Response Time
AlexUT replied to 2rlp's topic in ...I have a project...what hardware do I need?
Hi Ron, As stated in document , "Conversion time 100mSec minimum per input in Normal mode", "Conversion time 25mSec minimum per input in Fast mode". So for 8 Analog Inputs in a Fast mode conversion time will be 25mSec*8=200mSec. As IO-AI8, communication between it and OPLC, and OPLC itself works without synchronization, you need to add communication time ~20 mSec and OPLC scan time as Emil stated. The other forum topic discussing the same issue will be interesting for you: http://www.unitronics.com/forum/topic.asp?TOPIC_ID=1362 -
Recipes on SD card
AlexUT replied to bender's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi bender, I recommend you to start from Data Tables Webinar: http://www.unitronics.com/Content.aspx?page=datatables Please note, you can exchange data between SD card and Data Table at OPLC: -Use Data Table functions; -Use SD Data Table functions; -Note that the main DT folder and subfolders DT1, DT2, DT3, DT4 can each contain 64 files, for a total of 320 .udt files. This way you can handle up to 320 files on SD card. You can then read information from SD files to OPLC memory. You can use also SD function Block Read/Write , but it seems a little more complicated. Answer may be more specific if you provide more information about your project requirements. -
V130-33-TR20 Pump Control
AlexUT replied to julle's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi julle, I recommend you start from Examples of Visilogic. Shortest way to open Examples is to go to "Help->Examples...) menu option. Then go to "Version 900->Project examples" directory. "V280_ON_off_control_with_hysteresis_and_high_and_low_alarms.vlp" project was written for heating control with hysteresis. This project will be adopted to control Pump. "V120_Variable_enter_control.vlp" project is a simple example fo Variable entry control. I hope this answers your questions. -
PT100 on V350
AlexUT replied to CliveC's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Hi Clive, To get the most accurate measurement we highly recommend to use 3-4 wire RTD sensor. Using 2 wire sensor may lead to very unstable (sensitive to noises) and un-precise (affected by wire impedance) reading. If anyway you have two wire RTD sensor, you need to connect one of the wires to T+ and T- (both have PT label as well) and the second wire connect to CM. You need to define selected input as PT100 in hardware configuration in accordance to used PT100 type (alpha=0.0385 or, alpha=0.0392) assign MI and select C(celsius) or F. Then you will see in assigned MI raw number, which is 10xt. Example: you see raw number 247. Temperature is 24.7 C. When MI = 32767 Sensor is not connected to input, or value exceeds permissible range, or sensor is different than PT100 (for example, PT1000). When MI = -32767 Sensor is short-circuited -
Hi Manville, Do you have any fan driver or just fan with two wires? What is a fan current? To drive a fan voltage, you need additional driver, as an analog inputs and output of M90-TA2-CAN is 0-10V. Analog output have 1Kohm minimum load impedance. This means that the max current you can obtain theoretically at 10 V is 10 mA. Seems far below the one you need to drive any kind of fan motor. *Digital Output have current limit 0.5A, but you need realise PWM, as Joe say. Be more specific with your specifications, then answers will be fastest and more specific as well. Best regards, Alex.