Owain
MrPLC Member-
Content count
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by Owain
-
Hi, I was wondering if it was possible to have 2 HMI's on the same network, independently accessible via Remote Access Viewer? There is a static IP set up on site, let's say 80.80.80.80, with two Beijers E1101 HMIs, one on say 192.168.1.160 and the other on 192.168.1.161. I can view each independently via web browser by using 80.80.80.80:5900 or 80.80.80.80:5901 and setting up port forwarding within the router. When it comes to remote access viewer I don't have the option to specify a port, and therefore can't set up port forwarding, it seems to be fixed to port 5800. Does anyone know of a workaround so I can use Remote Access Viewer to view each HMI independently and remotely. Unfortunately setting up another router and paying for a static IP isn't an option.
-
Now, I know this is simple... kW * H = kWh... My problem is different... I have a power monitoring device (Diris A40) with a 4-20mA module giving me instantaneous power in kW, and from that I need to generate the previous 7 days kWh. Can it be done? I have a function block that takes a pulse to generate totals, and if I can generate this pulse from another bit of code I would sleep a lot better at night. I'm thinking of taking a rolling average over an hour and generating a pulse every ( 1 / AveragekW ) hours, or ( 60 / AveragekW ) minutes. Would this work? My brain is fried right now which I why I'm asking for help. I'm not asking for anyone to write my code, just outline how I might go about this or tell me I'm stupid and you simply can't do it. Before anyone says, this is for use over hundreds of aging sites, so it's cheaper and easier to develop a function block than buy the pulse module for the Diris. Thanks in advance
-
Nailed it, thanks guys. I basically modded an old flow totaliser block (like Mr Automation suggested), works a dream. Thanks all round
-
Instead of moving "0" try moving "0.0" I hope this helps.
-
Hi all, Apologies in advance for how vague this question may be. I have a Siemens LOGO! unit, in which I need to program a relatively simple sequence. I have fleshed out the code in GX IEC Developer (where I am most at home) and I'm translating it into the LOGO! I'm brand new to the LOGO! units, so be nice. I have fallen at the first hurdle. I am using a "step count" whereby if the variable "StepCount" equals 1 then enable Output n, on completion of timer T00n move 2 into StepCount. What I can seem to find is a simple variable to hold an integer. There is a lot of skipping between say step 6 to step 2 for example, so I would rather use this method rather than classic logic. In short, is there a way to use (local) variables and comparators in the LOGO! software? Or even a workaround? (Apologies for my terminology, I'm mostly self taught) Kind Regards, Owain
-
Please find attached an example of the ladder I would like to translate.... Even just a description of how I might do network #1 would help. Or, what I'm expecting... Someone to tell me it can't be done... Ladder.pdf
-
Hi, I'm creating a function block for a bespoke job. It's a moving average using a FIFO stack. The problem is the FIFR and FIFW functions only support INTs, whereas I need the high resolution a REAL provides. Any ideas on how I might go about writing to a FIFO stack ARRAY OF REALs? Many thanks, Owain
-
Thank you Inntele, I didn't look hard enough :P
-
I still can't find anything about using REALs in a FIFO stack. I have my own FB for doing it with INTs, but still no joy on REALs.
-
Apologies. Thank you VERY much for the help though! I'll look into it now. Many Thanks
-
Hi all, First time posting here. I'm having a spot of bother with a GT1455-QSBD GOT unit. Originally, I had a unit in that, whenever the ethernet cable was plugged in, turned off. I replaced it and tested it elsewhere and it was fine (???). My problem however lies in the replacement unit, which was swapped out, connected up exactly the same, and had the same code downloaded. The problem is a high pitched tone coming from the GOT unit itself. Under the Debug menu I found a "107 Operation Error" alarm which may be the cause. The problem being, I can't find mention of it in any manuals. After some searching I have eliminated the following issues: Dividing by zero D8067 or M8067 being written to Wiring Issues including correct voltage and earthing It is connected to a FX3UC-32MT-DSS, and communicates over Ethernet to a Q03 PLC. I can provide any other info needed, and thank you in advance for any help.
-
Update: I have found info on Operation Errors in the FX Programming Manual. I will have a look at D8067 and M8067 and other diagnostic devices. Although if anyone has any experience of this high pitched tone, please feel free to chime in (no pun intended) Kind Regards, Owain