professor_jonny

MrPLC Member
  • Content count

    43
  • Joined

  • Last visited

Community Reputation

0 Neutral

About professor_jonny

  • Rank
    Sparky

Profile Information

  • Country New Zealand
  1. cp1l modbus coms to danfos fc280 midi drive sample program

    you need to write to register AF9 and you need to read register B5D those are the read and write starting control and status words. To get the drive ready to run you need to operate coils: 2,3,4,5 and 10 to disable the brakes and stop commands and test coil hex 043c  you then operate coil 6 and the drive will run (hex 047c) , but you have not given it a reference using the second write control word AFA or select a preset reference via coils 0 or 1 and have a preset reference programmed in to the drive menu. You really need to look at the section FC_port_ctw_1 and FC_port_ref_1 in my program it is very simple.   I'm not 100% sure the 51 and 280 are the same you may need to look into that but I know the 2800 fc280 and fc302 are the same.                  
  2. cp1l modbus coms to danfos fc280 midi drive sample program

    you could upgrade the drive to the fc280 or fc302 and use EithernetIP option card it makes more sence than using Modbus in your case. my plc does not have EithernetIP or that is what I would use.
  3. cp1l modbus coms to danfos fc280 midi drive sample program

    Init_setup contains the setup for the read and write register the target note and the amount of words you want to send/ receive. The FC_port sections contain the control, status, main actual value and reference as set by default with the Modbus control word and is the default 2 read and write control words as defined in the danfoss drive Modbus manual. I have broken the control word into output coils so it is real easy to run the drive just by setting bits all the magic is done in the function blocks and I'm guessing you will be able to use the base code for your cj2 plc and scrap the functionblocks. Modbus_RTU section contains the read and write parameters you could translate to what ever serial port you wish to use currently they are setup using the Modbus easy master function blocks. This program is aimed as the cheap brick plc's using the plug in cif11 option port the serial port settings are setup in the plc setup.          
  4. cp1l modbus coms to danfos fc280 midi drive sample program

    I'm prity sure you will need to modify to suit but I'm not sure really, this is more designed for the cp1 series easy Modbus master function blocks all the hard part with the addresses and Modbus conversion has been done you just need to redirect the data to the scu42.    
  5. Hallo Prof _Jonny .

    I am trying to control a FC051 drive through Modbus .

    I am using an CJ2M_CPU31 and an SCU42 from OMRON

    The SCU is connected with  Port 1 and (set up as num 15) to  the drives as 2 wire Modbus to the connections 68 and 69.

    I am using an modificated  CP1LCP1HCJ1CJ2CS1ModbusSolutionV212.prog.

    I can read the parametrs set from 843.0.

    but I am still not able to start or stop the Inverter .

    the project i am making is to have the FC51 drive an motor for an number of triggers and hold , then return to the home position on command .

    can your prog do what |I want for an FC51

    hope you have the solution .

    regards

     

    NS5Z39.IPP

  6. Timer datatype in cx programmer

    I have allways just used the bool datatype as i could not get the timer one to work.
  7. Hi I have adapted a sample cp1l function block Modbus program to talk to the new Danfoss fc280 midi drive. It will read and write the standard FC control profile it would be easy to extend the pcd feature to multiple words all the base is there. I have not implemented parameter writing and reading but it would be easy enough to extend it but for my application I don't see the need. It may come in useful to someone as there does not seem to be much out in the wild and the Danfoss Modbus document is somewhat confusing and actually has incorrect data. It was tested and setup with L series cpu           Modbus_Danfoss_fc280.cxp
  8. Timer datatype in cx programmer

    what is the timer datatype used for in cx programmer as it just causes compile error when you try to use it on a timer or timer output bit.   I have just allways wondered but never have figured it out.
  9. micrologics 1000 eeprom program extract

    Hi I have a micrologics 1761 plc and it is faulty it has an embedded eeprom that contains the user program is there some way to extract the user program from this dead plc?   Am I able to read out the program with an eeprom reader or is it in some way encrypted on the eeprom or converted in to machine code or something like that?   the plc was on a machine that was imported and we have no access to the original program we would like to transfer it to a new plc or at least figure out how it works so we can write a new program if possible.      
  10. Dam-01

    I did try the same thing but I did not know if there was a bit to enable their function or something, it looks like it is a no you cant access the buttons from the plc memory area.    
  11. Dam-01 fault message control sample program

    I spent some time messing with a Dam-01 unit implementing a flipping fault display in my spare time so I thought I would post it here for others to play with. DAM01 FAULT MESSAGE.cxp
  12. Dam-01

    Is there a way to access the physical buttons on the dam-01 as a physical address in the cpu ? id like to implement a menu system.  
  13. CP1L daylight savings?

    I'm using it so that at 4am it will do a cold cip wash if the temperature fails to reach 80 in the water boiler from once the cip was started with a max waiting period of 10 hours.   I'm really using it as a fail safe, I expect it to at least be accurate to at least 5 min so it is not critical, but I nee to cater for dayling savings that is fixed  date in new Zealand, and it need to be accurate to the day and hour over a year period.  
  14. CP1L daylight savings?

    I'm assuming the CP!L plc time clock does not include daylight savings capability and I would have to build this into my program manually with a date compare or am I missing something?
  15. dns resolution, vpn tunneling or ipsec?

    I was think that was the case but I could not see any where to set this info up, but a vpn server client setup would be awesome for linking sites.