j.brophy@corkillsystems

MrPLC Member
  • Content count

    39
  • Joined

  • Last visited

Everything posted by j.brophy@corkillsystems

  1. dupilicated outputs/inputs with universal program

    yes that is correct i have ripped out the part of the program to aviod confusion but it is basically what i have here on my computer
  2. dupilicated outputs/inputs with universal program

    i have got the serial port setup working and it will retain the keep function on power up and power down using the non volitile datamemory as a backup when the unit is powered off and recover it on the first scan flag to aviod having to reset the node number on the power being reset. on the single program in all nodes when i try to turn on in the slave plc outputs from the master it chatters also same with the master any transmission from the slave to the master causes a chattering input on the master.
  3. dupilicated outputs/inputs with universal program

    i have just attached a sample working program for the two nodes there are two programs slave and master modes that i have managed to get working via pclink and have 2 way communication working between the two obviously i dont have the serial port select function (stup) in there and the settings are pre set when programmed in. i can quite happly talk with this and not get relay chatter R_QCPSW_CP1L_HERDFLOW.cxp R_QCPSW_CP1L_HERDFLOW_JUNCTION_BOX.cxp
  4. dupilicated outputs/inputs with universal program

    logic race that what i was thinking. The address area is fixed per node so i am unable to use my own addresses they are fixed as 3100.00 for the first output address for the master plc 3110.00 as the first adress for slave node 1. i am using the built in pclink feature of the plc's. in the apendix it shows you the specific node and the adress you are allowed to use as an output to communicate between plc's as the above adresses so each node has its own specific address space so you can tell which node it is by the address. any plc can read that adress without any underlying network stuff as if it were a locally operated coil and the problem is that i have an output for this coil in the program for all nodes that use that address and the local coil overides the network one and switches it of on on scan of the plc. i have to have this coil to provide the functions to transmit from the specific node so the others can read it. so basically i have a networked operated coil that is being sent from a specific plc and sent to a common readable address space at 3100.00 on every other plc, and in the program in every plc is an output 3100.00 in the program being un used (except in the sending node) in every plc as the program is universal. i have atached a smaple program that i mocked up. R_QCPSW_CP1L_R2009_UPGRADE.cxp
  5. CP!L PLC UM protection not set from memory cart download

    Hi there I have a problem that i can't protect a the plc program from uploading when downloading from a memory cart. to be able to upload the program in the plc you have to turn off the protection which is fine but when you download the program in the memory cart to a new plc the protection is turned off. there is no sys49 function in the cp1l plc like that of cpm1a how do i protect my program upon downloading from memory cart. i guess that i can write a value to the system area to set the password some how possibly a move function on first cycle or something but to be honest have no idea of how to acomplish this and i guess it is not a reccomended thing to do. cheers jonathan c/- corkill systems ltd 5 tasman street opunake taranaki newzealand
  6. CP!L PLC UM protection not set from memory cart download

    correct i can do that but there is someone in a different country we sell plc's to and i send him a downloader (memory cart) so that he can upgrade the program after upgrading the program the protection of the plc is unset. the problem is we would like to avoid any one messing with the program and possibly causing a major safety consern and giving our selves a bad name from someone else tinkering with our machine. also to stop copying it as someone could suck out the program and buy there own plc's and copy our machine. so i basically need the memory cart to be able to set the protection after a download as sparky above said possibly ysing a software command included in the program. i dont know if i set the plc protection and then download it if it maintains the protection but still wont help as if someone downloads the cart into a unprotected plc they can then copy or modify it.
  7. cp1l serial port setup in logic

    hi there i have a problem where i cant manage to get the stup function to change my serial port setup. i have asked this question before but are really not sure how to assemble the correct words to get what i want. I have written a program that moves the values into data memory associated with the serial port on my cp1l plc and then run the stup function but cant seem to get it to work. i am really not sure i am putting the correct words into the data memory which i think is the problem. if i wish to get the serial port setup up as 38400, master, pc link, what do i put into the data memory area as words with the move functions? if i wish to get the serial port setup up as 38400, slave, pc link, unit 1, what do i put into the data memory area as words with the move functions?
  8. cp1l serial port setup in logic

    hi there i can not open up the document attached above as it is a cxf and is not a supported file type in my cx programmer 8.01 for got to mention.
  9. cp1l serial port setup in logic

    hi there, I have set up the program on first scan flag and input combinations to move values to dm0 to dm0+9 depending on the node i wish to select in the pc link chain as it saves me having to have several different programs for automation of a cow shed. basically upon power up hold inputs to select the the node and the part of the program specific to the node selected. It will save me sending out an incorectly programed plc as they can switch it on site to suit as we will send these all over the country. I have noticed that there are errors in the manual in reguards to the connection to the pc link wiring for a 485 com board option between plc's and have figured that out by trial and error. I think there may be errors in what i have to write in to dm0 to 9 and that may be what my problem is or i have put in something wrong. I can get it to work by using the above and setting the serial setup in the settings menu but thats not what i am trying to do. In the manual w462-e1-02+cp1l+oper manual in appendix g pages 614, 615 and 619 it has all the settings i need to setup node transmission rates etc... so bits 0 to 7 set the serial transmission speed 0 to 0A hex depending on speed so bits 0 to 3 set the node number 0 to 7 hex depending on node so bits 4 to 7 set the link words 0 to A hex depending on amont of words so bits 8 to 11 set the mode of communication 0 to 8 hex depending on the communication mode so bit 15 sets up the mode 0 or 1 depending on mode so the above is only one word correct 15 bits? so i only need one move function. as far as i can see in the table the values over lap and i dont have a clue what is going on.
  10. cp1l memory cassette

    hi there, I have a question where i can not manage to get my memory cassette (cp1w-me05m) to store the contents of my hold relays apon writing the contents to my plc. my program uses the hold relays to set options storing them even if the power is turned off. the problem is that when i upload it to a memory cassette andd then download it into another plc the program transfers but the hold relay contents does not. is there something i am doing wrong? I have a cp1l plc. is there plans to make a uploader/downloader like the emu01 as i cant send the memory cartdrige to someone to upload there program into the memory cassette and send it to me with out the use of a laptop on site?
  11. cp1l memory cassette

    you mean have the hr area duplicated in data memory and copy them into the hold relay on the first scan flag. cheers ill try that
  12. cp1l pc link unit id setup in logic

    Hi there Im wondering if any one can help me im doing a remote i/o using a pc link between several plc's and i want to be able to set the plc as master slave and node number by activating an input or turning the internal pot etc. we use hundreds of plc's a year in backing gates for cow sheds and i wish to put the same program in every plc rather than having 8 different programs to write depending on the node it is in the link obiously saving the hassle of sending it out with the wrong program in it. I can orginise to have an input change to a different part of the program for the node that it would be installed as but i dont know how to set up the serial port other than using the cx software. how do i set the serial port up manually using the logic of the plc?, i guess i have to write values to a certain address space in memory to do this but i dont know how but i guess using the STUP function but the help file is rather limited. i am using the cp1l20a plc using the cif11 module for communications setup up as pc link. if any one could help me that would be great thanks.
  13. cp1l pc link unit id setup in logic

    ok i think i have that sorted now. i have used an input to stup function and move hex values to dm0 to dm0+9 with the corosponding values and have now constructed a program. because there are dupilicated outputs and symbols for the different plc's do outputs that are on have priority over ones that are off? ie: 100.01 has 3 symbols within the program say alarm on slave plc node1, forward on slave plc node 2, and actuator on master plc there will never be 2 outputs on ever as the input selects which part of the program to operate. are the ones that are off/ not used going to cause any problems as there are multiple coils with in the program even tho not used but present in the program?
  14. cp1l plc pc link and danfoss drive

    hi there am i able to talk to a danfoss drive on the same network as a pc link setup with one or more plc's? or would i then have to scrap the pc link and do non protocol communications between the plc's also has any one wrote a program to talk to a danfoss drive with the built in fc protocol or a sample of how i would do this?.