navigatoru
-
Posts
42 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by navigatoru
-
-
Hi guys,
I tried to do a logic for some MBs such us:
If MB01=1 AND MB02=1 then
MB03=1
Else
MB03=0
End If
I've found the AND, OR and XOR gates in the Logic menu, but looks like these gates don't accepts as input the MBs (just MI, XI, ML, etc).
There is a reason for not accepting MBs as inputs?
There is any option to have these gates for MBs?
Cheers for help,
Marius
-
Hi guys,
I need a little help with the email configuration.
What I have done:
- Initialised a TCP/IP socket 3 when the PLC starts:
SB2-Power-up bit>PLCName:V1210>TCP/IPCardInit (with a local IP address)>TCP/IP Socket Init (Socket 3, Protocol: TCP, Local Port D#-20256)
- Used a MB100 (Connect to server) to try to connect to the remote server. The net looks like: MB100 ON>SB142 (Ethernet Card Initialised) ON > SB151 (Ethernet Status Link) ON > SB146 (Ethernet Socket Initialised) ON > SB150 (Ethernet Socket 3 Connected) OFF
The TCP/IP: TCP Connect function block is configured as follows:
- Socket : Socket 3
- Remote IP: 203.12.160.34 (my email server IP)
- Remote Port: 25
If I am connecting through telnet to 203.12.160.34 (telnet 203.12.160.34 25 in cmd) I get the following message:
220 mail.tpg.com.au ESMTP (mail15) Sendmail ready.
Not sure why in Visilogic the SB150 is OFF, telling me that there is no connection to the remote server (203.12.160.34:25), but I can go to this address via telnet.
Any idea would be much appreciated
Cheers,
Marius
-
Hi cantcliff,
Thank you very much, works perfectly.
Appreciate your help.
Marius
-
Hi Eyal,
Thanks for reply.
It is working perfectly.
Cheers,
Marius
-
Hi cantcliff,
Thanks for reply. I am not too familiar with ladder. Could you please put a small example?
Cheers,
Marius
-
Hi Eyal,
Thanks for reply. The SB3 is doing exactly what I need.
But still I have an issue.
I need something like:
If O1=1 Then
MB1 = SB3
End If
and in the HMI I can assign the image (that I want to blink) to the MB1 (which will blink when O1=1)
Not sure how to transfer this from structured text to ladder ...
Thanks for help,
Marius
-
Hi,
There is any option to have a timer showed on the HMI? Basically I need to see for example TD1 (which is 3 minutes) on the HMI decreasing to 0.
Cheers,
Marius
-
Hi,
There is any option in Visilogic to have a image blinking when an MB is 1? Basically I need to have a led that blinks when an operation is running.
Cheers,
Marius
-
Hi Arnie,
Do you have any drawings on how to do the housing ? I would like to build one for myself as I looked after a housing on market and I did not find any decent one. Please could you post them here, or send my email to marcus.bratu@gmail.com?
Thanks, and appreciate your help,
Marius
-
I am trying to make a comparison between an analogue input value (MI) and a constant (10) using the "Greater than" function block.
So, normally if the MI > than 10 then a MB become true.Looks like the comparison function block works (became red) in the Online test, but is not passing the value to the MB (the MB value stays black).
I am using the function block as it is described in the Visilogic - Ladder Programming manual (attached the section from the manual).
What I am doing wrong?
Cheers
-
All right. The issue is solved.
Issue:
How to "pulse" an Output Oxx by pressing/releasing a Button on the HMI.
Solution:
The steps are as follow:
- create a Button on the HMI
- assign a MBxx to the Button
- create the logic in the ladder: a direct contact assigned to MBxx linked to a Coil assigned to the Output Oxx (the output that you want to "pulse").
That's it. Works.
Thanks guys for your help !
-
Hi mate,
I tried your program, unfortunately without my expected results (to pulse the physical output from IO-D16A3-T016 module).
Attached is a sample of the program in which I have used your advice and has inside some comments.
This is exactly what I need:
Quote:
"the pulse to be generated when the button is pressed and released"
I tried this (from your program) without success.
Any help is greatly appreciated.
-
Hi guys,
I need a button on the HMI display which will "pulse" an output (from an IO-D16A3-TO16 module) when is pressed/released. I know that it is possible by assigning a MB to that button, continue with a set coil, and after that a reset coil assigned to the output, but I could not find how to proper program the ladder.
There is any example showed somewhere? I looked after a solution on forum, but I could not find something that could suit my need. If it is explained somewhere, I would kindly ask to post the link here.
Any help would be greatly appreciated (and if is explained for dummies would be wonderful).
Thanks
-
As you described you can use a coil triggered by pressing the button, and this can power a timer with a preset value of 100ms. You can then reference this timer as a positive transition contact within the logic connected to a coil for an output.
Using this logic the output will only be turned on for one scan if you want to pulse an output. If you wish for the output to remain on for more than one scan or a period of time you can set a coil for the output and use a second timer to turn off the output after a desired time.
Thanks for your answer. Is exactly what I was thinking, but my issue is that I am not able to put this expression in a ladder. I tried to put a button on HMI, I assigned a (mouse click) MB30, I continued in the net with a timer (Store>Load TimerCounter Preset), and finished with a coil (for Output), but nothing.
There is a tool somewhere to debug the code line by line? Basically to see the output for the ladder ...
As I said in my previous post, with the Toggle option, I can assert the Output, but I have to press again the button to deassert the output, which is not exactly what I need.
Any help is much appreciated.
Cheers,
Marius
-
Hi guys,
I understood how can I latch an output. It is very easy with the Toggle option in VIsilogic. Now, my issue is on how to "pulse" an output. Using the toggle option I can not reset the latch ...
Basically I need a button on the HMI display which will "pulse" an output when is pressed for 100ms. I know that it is possible by using a set coil after that a timer(100ms) and after that a reset coil for the output, but I could not find how to proper program the ladder.
Any help would be greatly appreciated.
Thanks
-
Hi guys,
I am trying to show the system time (V1210) on the HMI screen. I tried the example from the VisiLogic (V120_RTC_real_time_clock_ASCII.vlp) but does not work.
There is any sample that I can use to show the PLC time (such as: System Time: 09:10:00, System Date: 31 July 2014) on the screen?
Cheers,
Marius
Logic gates for MB
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
Hi EduMarg,
Thanks for reply.
I tried to find in the manual how to convert the vectors of the MB to MI.
It is something as
MB1=1 -> MI1=00000001
or
MB2=0 -> MI2=00000000
?
Could be a silly question, but I am not sure about Visilogic philosophy ...
Cheers,
Marius