Veganic
MrPLC Member-
Content count
471 -
Joined
-
Last visited
Posts posted by Veganic
-
-
I use SFC. Are you imply it's not the done thing? -
Can you post some code? -
I think the inputs autorefresh - can you see the state change? The outputs don't- you need to set Y0 or whatever the appropriate address is (Y0, Y10, Y20 etc) -
I've not used the ASI unit with GXworks2 yet. I'd just do a -----BMOV U0\G0 K4M200 K10 or whatever your parameters are. I assume that's all the "Intelligent function module" does. -
Which software are you using? Are you using a configurator (eg GX Works 2?)? The BFM are not copied anywhere unless you have programmed the plc to copy them. This goes for M0 and M200 etc. If you can see the BFM changing you have have done the hard part. -
I'd look at using structured text. The following example is similar to your request but not identical. I'm just using an array of signed word rather than DUT. Make moved equal to the moved "pack" and then all packs below that one will be moved up one and pack[0] will be zero'd. This was done in GX Works2. ----------------------------------------------------------------- (*fill array with some data on first scan*) IF M8002 THEN pack[0] := 10; pack[1] := 20; pack[2] := 30; pack[3] := 40; pack[4] := 50; pack[5] := 60; pack[6] := 70; pack[7] := 80; pack[8] := 90; pack[9] := 100; moved := -1; (* -1 means do nothing*) END_IF; FOR index := moved TO 1 BY -1 DO; lower := index -1; upper := index; pack[upper] := pack[lower]; END_FOR; IF moved > -1 THEN pack[0] := 0; moved := -1; END_IF; -
Log into myMitsubishi and look under downloads -> screensaver / wallpaper. There is one screensaver and lots of wallpaper. Let me know if you can't find them and I'll try to zip them all in one and send them to you. -
Hi Mike, I'm new to GT designer 3 and didn't even know there was a preview! I've repeated you steps and I get the following results: Preview doesn't link the lamp and switch together, I can toggle display states but this doesn't "force" the underlying bits. The simulator works as expected, I just had to start a GX simulator 2 with a dummy project. -
Phew, that took some finding. I can get it to work with overlap windows but not superimpose. No a problem as I just make the superimpose window full size and place my objects accordingly. The end results are so much better than the E1000 series it just seems to take a while to get there on the GOTs! Thanks. -
Is there any way to control the position of a windowed screen with GT designer 3? Also, is there a way to set a default window to be shown on the base screen? Ie, a superimposed window which is visible when moving the the screen. This window can then be changed by pressing a "switch." I've checked the documentation and searched here... (I haven't checked the sample projects - so maybe I should!) -
Depending on how "realistic" you need the demo to be I can think of 2 options: 1. Ensure that the setpoint calculations are in increments of six. Setpoint = INT(Setpoint /6) * 6 ----in spreadsheet language. 2. Post-process the result.... If (flow-rate <= setpoint + 3) or (flow-rate >= setpoint -3) then flow-rate = setpoint. -
found it thanks... -
Can the got ip address be changed via the screen? I can view via a utility special function button but cannot edit the address. This is the address for Ethernet coms to a pc, not a channel to a plc. -
That's the one I was thinking of.. MOV D1000 K4M100. I've not come across ENCO /DECO before - interesting. (Maybe someone should do a "Instruction of the day" thread.) -
Yes under certain circumstances. Search this forum for "Transparent Mode" and you should find what you need. Or ask any other specific questions.... -
Do you mean: PC Sets D1000 to 1 : I Want M100 on PC Sets D1000 to 2 : I Want M101 on PC Set D1000 to 3 : I Want M100 and M101 on ? If so someone will be along with an answer very soon. If you mean: PC Sets D1000 to 1 : I Want M100 on PC Sets D1000 to 2 : I Want M101 on PC Set D1000 to 3 : I Want M101 and M102 on etc. You may be stuck with compares. -
Is this what you are looking for?1 person likes this -
The syntax will be the same as calling the function blocke from a Program POU. I've just tested this: Create a FB in ladder. Crate a FB is FBD. Call the first FB from the second. Call the seconde FB from a Program POU. Outputs are used by right-click and "assign"... Compiles ok. Seems pretty straight forward so I'm guessing I've misunderstood the question? -
Make the time value a really big number and see what happens. I'd say its either the program or the simulator. -
I'm guessing that I compiled the program for FX3U and downloaded to a FX3G! FX3G cannot index bits (M100Z0), FX3U can. -
I tried just using the sample program alone. I'll have to go back to the start and record all stages. Thanks for you help so far. The general question still remains, why will the software compile and download cdoe that leads straight to a ladder error. -
1. GX Works 2 1.87R 2. FX3G 1.41 -
This is what I get.... If I upload load with GX developer I get lots of yellow errors. If I delete two networks from the original program I can get it to "work". -
Do you mean no problem compiling or no problem compiling and downloading to a plc? The problems start when it is downloaded. Thanks.
Got Recipe Advice
in Mitsubishi
Posted · Edited by Veganic