jydepower
MrPLC Member-
Content count
54 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by jydepower
-
Hmm pretty sure i did exactly like that. But it still logged when Tag1 turned back to 0. I dont need to put expressions on the Data tags i log right?
-
Oh. So i dont need to put in a tag under the settings menu?
-
Under settings in Data logger i can choose between loggin within a time interval or on a tag event. So i choose tag event and put in the EnableLog tag. The manual says it will log when the tag goes either from 0 to 1 or from 1 to 0. If i could say each time it goes 1 it would be easy. But i dont see that option.
-
I have tried with PLS and no succes. Heres what happens: Data1 goes > 0 Then EnableLog goes 1 When EnableLog goes 1 the panel logs Data1 After a timer runs out (to make sure all data is collected) Data1 is reset to 0 When Data1 goes 0 EnableLog also goes 0, then panel logs again. So i get 2 logs for each log. One with Data1 > 0 and one with Data1 = 0 Hope this makes sense :)
-
Thanks. Maybe that was my problem from the beginning. When comming to MOV times and resetting timers.
-
Hi. I want to count how many time a sensor gets activated per minute. I know how i would do it mathwise, and with a stopwatch. But im strugling to do it in the ladder. I ideas? Im using mitsubishi q03 plc and GX iec developer. Thanks Martin
-
Ok it works now. The problem was that i simulated on my labtop, and it was too slow. When loadet into plc, everything worked perfect. It did make me convert the numbers into real, for a more detailed result. I endet up with counting how much time between each sersor pulse, and devide it into 1 minute. Thats works great. Thanks all.
-
I understand how to calculate this. But i have problems programming it. I think my problem is reseting timers at the right time, because the result is incorrect. As you can see the LastTime result logged at each pulse as 510 (5,1sec). The result is incorrect as 60sec / 5sec should give 12 pulses. So i get 0,1 sec extra each log. Maybe its the time between the accumulated time and the acualt time i log it. If so how do i avoid this? The true result would be 60/5,1 = 11,76. Ofcourse i could round up this result and get 12. But i want to do this correct. Take a look at the image below. The first timer fivesecpuls simulates the sensor gets activates every 5 second.
-
Hallo. Is it correct i have to reset the plc after downloading, to get SFC's to init? After downloading i cant monitor nor start the SFC's.
-
Maybe I should add. Im using q03ude cpu, and gx developer.
-
Hallo. Ive made an array of bool for all my alarms. The idea was if any Bool wrent 1 i could do something. Now i have a problem finding a function that does that check. Is this possible or do have to use another aproach?
-
I understand your usage of code. But I still don't get the picture of the z indexing. For me it looks like another register. Just like d and w except it only goes from 0-7. And in your post you talk about hardware addresses, I don't see those in your examples.
-
Hmm must admit im completely lost now. How and where do you define that? (Z = 4 -> M100Z = M103) how do i say this in ladder? Know any guide or something where i can learn to understand this? Remember im still in ladder.
-
Because bit 3 equals 4?
-
What do you mean by indexing?
-
It's actually very nice with the converting function. It made me make groups right away. Like emergency alarms overload alarms etc.
-
I actually thought about converting to dint. But thought there might be a function to directly check the array. Ill use what you have made kaare. Thanks for the help both of you.
-
Im using ladder in IEC developer. I dont understand K8 :) The array im using i bigger than 100.
-
Hallo im trying to setup a small network for programming the plc. What i have: D-Link DAP-1350 Westermon 550 industial switch Q03ude cpu with buildin ethernet port PC with iec gx developer What i want: Q03ude --> westermo 550 (cable) D-Link DAP-1350 --> westermo 550 (cable, there is a lan/wan port on the back of the DAP-1350) PC --> D-Link DAP-1350 (wireless) Ive setup the DAP-1350 as router with dhpc and its own ip 192.168.0.50. Dhcp range is 192.168.0.100-150. Q03ude ip is 192.168.0.51 Q03ude gateway is 192.168.0.50 PC is dhcp All subnets are 255.255.255.0 This should work in my world, but it doesnt. I cant even ping the plc. The problem is in the DAP-1350 i think. Because when i puse the westermo 550 only everything works. I think the problem might be the lan/wan port on the back of the DAP-1350. Somehow it doesnt "let anything through". I cant find any setting for that port. But i think the manual states, that you could put in a xbox or something like that. So why not i plc? Any ideas?
-
Problems setting up network with router and q03ude
jydepower replied to jydepower's topic in Mitsubishi
Aha. So that's why I get I wierd ip 169. Something. I actually don't get an ip when I'm set dhcp on a ap. So the only way to avoid changing ip all the time. Is to keep the plc network ip in the same range, as the internet network gives me. -
Problems setting up network with router and q03ude
jydepower replied to jydepower's topic in Mitsubishi
Btw. The internet network is the costumers. And I can't have control over that. Just connect with dhcp. -
Problems setting up network with router and q03ude
jydepower replied to jydepower's topic in Mitsubishi
The dap 1350 is actually a router, ap and client three modes you can choose between. And I'm running it as ap now(wireless). The things that annoys me. Is that I have 2 wireless networks. One with internet and one for plc (the dap 1350). When connecting to the internet network, I can turn dhcp on the pc. But on the other network I have to make static ip, because the ap give me some wierd address. And it is a problem because I change several times a day. I was thinking using routing mode, so I could control the adresses. -
Problems with connecting a Q03UDEcpu with E1071
jydepower replied to jydepower's topic in Mitsubishi
I got it to work! Think the solution was to cycle the power to the plc. A new problem to what Gambit said: Importing the .asc file worked until i changed to mc protocol. Now the import oprtions are all grayed out. Also for MXchange. -
Hallo everyone. Im trying to connect a E1071 to a Q03UDEcpu through the build-in ethernet port. Is this even possible? Ive tried several protocols in e-designer, and nothing works. Do i need a QJ71E71 Ethernet module for this to work? Regards Martin.
-
Problems with connecting a Q03UDEcpu with E1071
jydepower replied to jydepower's topic in Mitsubishi
Ive been trying to setup using the MC protocol without succes. I think my problem is port settings. I have no idea what the ports should be, and what format it shold be in. Heres some images. Any ideas?