Cor87 Posted April 28, 2014 Report Posted April 28, 2014 Hi There, Im Cornelis From the Netherlands and new here on this forum. I looked arround, but could not find where im looking for because I dont know where to look and how to do. Im bussy with a project with some variable timers. -The problem is I dont know how I can read the 0-10v signal of the FX0N-3a (8bit card). -Second, to convert the range (0-255) to let say 1,5s + 0,5s into a timer (timer output has to be 0,5s to 1,5s variable). -Third, how the global-vars look like (adresses). I tried to make the signal into a INT and from there INT to TIME. but im newbie/ noob with analog signals (mitsubishi) so maybe i do it completly wrong. who can please help me with some exemples (screenshot or something like that). Im using: -gx developer 7.04. -ladder logic mode. Thanks, Greetings, Cornelis
Edwin Posted April 28, 2014 Report Posted April 28, 2014 https://dl.dropboxusercontent.com/u/59958371/MF0701005%28FX0N-3A%29.pdf refer the example in pdf file.
Cor87 Posted April 30, 2014 Author Report Posted April 30, 2014 (edited) Hi, I saw that example. I use developer 7.04 so it looks different I think. Who can make a example with that version from the first channel of that card. Im not sure but I think I need also a example of the global-vars. Thanks. Cornelis Edited April 30, 2014 by Cor87
Inntele Posted April 30, 2014 Report Posted April 30, 2014 (edited) There are special instructions RD3A and WR3A that allow to read and write the value from/to FX0N-3A. Edited April 30, 2014 by Inntele
Cor87 Posted April 30, 2014 Author Report Posted April 30, 2014 (edited) Well, I dont think so. I made a screen shot of the functions start with R and W. Below that I tested that out, I played with the variables (tried the same as the example pdf file of Mitsubishi). D0 stays 255 when i follow the example. In the screenshot D0 is 0. Im sure the potmeter is 0-10v and reach my card ofcourse. I think I do something wrong in the global-vars list.. Cornelis Edited April 30, 2014 by Cor87
Cor87 Posted April 30, 2014 Author Report Posted April 30, 2014 I did, the results where the same as in the printscreen.
Cor87 Posted April 30, 2014 Author Report Posted April 30, 2014 (edited) Hi, Im using the FX0N-24mr-ES The functionblocks WR3A doenst work with the FXON CPU see the note and operands of the screenshot from Inntele. Thanks btw Inntele ;) Cornelis edit: created a new project and select a FX1N cpu (i found the block but this will not work for my cpu :( ) Edited April 30, 2014 by Cor87
Inntele Posted April 30, 2014 Report Posted April 30, 2014 The FX0N is a fossil model of PLC. So fossil that its place in a wastebasket. To write a new program for it is nonsence. The best advice from me would be to replace the base module to any modern.
kaare_t Posted April 30, 2014 Report Posted April 30, 2014 As Inntele says, it's not even ancient, you must upgrade the PLC to be able to use your specific card...
Cor87 Posted April 30, 2014 Author Report Posted April 30, 2014 ai :( There is no option to let this work together? of I read the spec's the fx0n will communicate with the fx0n-3a... It is a very simpel hobby project from there my question. Cornelis
Inntele Posted April 30, 2014 Report Posted April 30, 2014 Sorry, to help you with this project (with your questions) is equal to make the project for you completely, even more than...
kaare_t Posted April 30, 2014 Report Posted April 30, 2014 Use TO/FROM instructions in the buffer memories if you need to stick with the CPU. Look at the picture, try it, and post if you get stuck.
Sergei Troizky Posted April 30, 2014 Report Posted April 30, 2014 (edited) This used to come with the unit: JY992D49001E FXon-3A User Guide.pdf Edited April 30, 2014 by Sergei Troizky
Cor87 Posted April 30, 2014 Author Report Posted April 30, 2014 (edited) Thank you very much! In post 5 (my own post) screenshot work! Stupid me! i was forget to turn the plc in RUN mode! oops! That old PLC is now running with the fx0n-3a card. My inputt is 0-10v the range of the card is now 0-5v im not sure but do I have to change the gain pot? For today the last question haha. Gr. Cornelis edit: already ok, have it now 0-10v. Edited April 30, 2014 by Cor87
kaare_t Posted April 30, 2014 Report Posted April 30, 2014 Great! Let us know if you run into anything else!
Cor87 Posted May 1, 2014 Author Report Posted May 1, 2014 (edited) Yep, I let you know haha. This is an other problem than the analog above here. This problem is, I want to Return when the stepnumber isnt 10 in the second screenshot. In this screenshot it will give an error! (why). I know that it will work in the omrom and AB plc programs. I tried this by that third screenshot, but everthing after return the program will not seen, even when M0 is low! also tried to set the Return below the page, but all inputs were read by the plc (dont want that ofcourse because i want to return directly). Gr. Cornelis. Edited May 1, 2014 by Cor87
kaare_t Posted May 4, 2014 Report Posted May 4, 2014 Not sure if I understand you, but if you're looking to "jump" over any kind of code check out the property "Jump" (CTRL+J). That will allow you to specify the start position of a jump. Then, double click on the left side of a ladder rung (where the rung number is), to insert the return value. When specifying the jump instruction, you need to set a name. E.g. "Jump1". Then in the rung you specify the same name (Jump1:) - remember the colon at the end. You use the "Label:" field, NOT the title field. You can use as many Jump instructions as you wish with the same name, so if you for example need to execute some code, more code, less code with the same return location just use multiple jump instructions with the same name (e.g. "Jump1"), and use the exact same return name at the bottom. Was this what you needed?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now