MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About Bobodopalus

  • Rank

Profile Information

  • Country United Kingdom
  1. String shift register

    Ok i got this working nicely now, thanks all. for any1 using NB designer the text box needs to have high and low bytes swapped ticked to display correctly
  2. String shift register

    Yes that should be fine for MOV$ i just need to reserve a word to be 00 or null, how do i force a null in?
  3. String shift register

    unfortunately i wont be able to test it for a while, i only have CP1L's on hand at the moment so its gonna be a while getting a cj2m now. i think the block will do what i need it to for the writing to memory card, i am only moving 16 characters so 8 or 9 words is all i need. i think i will need to use MOV$ for displaying the latest input into the file on the HMI, its all sounding a bit easy though lol. bit annoying that i cant test but oh well.
  4. String shift register

    in terms of the memory card i have just been shown this function block which by my understanding just adds the data if overwrite is set to 0 so a shift register should not be required
  5. one plc connected to 2 different NB programs

    sorry for a very late reply, i have been away on site :S they were communicating over a LAN network. i dont think i explained this very well originally, i did attempt to get it to work but couldn't figure it out at the time. so to reexplain a bit better. i had a CJ2M working with a NB7W HMI and a CP1l with a NB5W HMI, they are all on the same network. both of these PLC's were operating independently with their respective HMI. I wanted to also use the NB7W to connect to the CP1L as well to read some of its CIO bits. when i tried it i ended up with a network error and it was towards the end of production so i didnt have much time to play with it, thinking back it could have been due to me addressing the nodes and such inccorectly but maybe also it just wasnt possible to do like that.
  6. String shift register

    Hello all thanks to bits n bytes's date and time to string converter here i have made a nice string output function block for the PLC date and time that i will attach. I'm now wandering how to shift this into a memory card as well as display it on a NB screen. for the NB screen i think i can just used a text box to display the code using 8 words, i sadly dont have a CJ2M plc with me at the moment so i cannot test. for the memory card i have not used these at all yet, is there a special shift register for strings? i cant seem to find it. i will be using this simply for a checklist on the HMI where an operator goes through the list of tasks to perform and ticks them off on the HMI which then logs the time and date they were completed at. do i need to create a shift register using MOV$ with a @destination and increase the count of the destination witch each input? Thanks in advance Date_and_time_string_convert.cxf
  7. making preset settings in cx programmer

    i got some help from for this and this is the solution that looks the best. on the NB designer number inputs there is a tickbox for use index, this index is directed at d2999, a value will be moved into this which will be 0,200,400..etc the first number input is directed to d3001, so when the index value is changed from 0-200 the first number input will instead look at d3201. a drop down menu will be used on the NB HMI to change the value of word d2998 0-9, this value will be used to change the index amount with a multiplier, 0x200=0, 1x200=200, 2x200=400...etc then using XFER if d2998=0 XFER d3001-d3201 to the actual data location d100
  8. Hi all I was being really clever and suggested i add a list of preset settings to a line which every1 seemed thrilled with. however the amount of tedium has just dawned on me. im hoping theres a better way to go about this. the main idea is that we have a line controlled from a cj2m which has around 150 changeable settings including things like conveyor speeds, pump filling times.. waiting times etc.. i have done this in smaller scale before where we had changeable pumps, when pump 1 was connected i used the MOV function to load pump 1's data into the correct words. and in NB designer i had layered multiple number input boxes each displaying only when its own pump was connected. any ideas would be great
  9. HI all i was wondering if it might be possible to edit the name of a word switches state. I'm creating blank presets for a machine lets say 1-10, i would like to use the drop down word switch which would display preset 1-10. is it then possible to edit preset 1's name to something like "8mm diameter" by using the notepad function on nb designer and directing that to some location on the plc? any idea or different methods would be great, or even if its not possible. thanks
  10. Manual writing software

    yes thats my biggest gripe with word, it is very awkward to add images to
  11. Flip flop in structured text

    i found a work around for timers here posted by roze on this forum, still cant link sadly but that will only work for timers completing i think
  12. Flip flop in structured text

    anyway for this to work on a cp1l? i am very happy with the program though, thank you very much. i work with CJ2M around 80% of the time and CP1L the rest of the time, im fine with doing the CP1L version differently if needed
  13. Flip flop in structured text

    realised my mistake, the error was caused by me putting the FB onto a test plc i have which is cp1l and not cj2m, cp1l does not use timer type in FB. so now its working but it seems to be quite inaccurate, but it does seems to be scaled so this can probable be fixed with maths. im using a TIM block to trigger this now with #40 on the input, the block is activating correctly but for #40 im getting a result of 6 seconds, and for #10 i was getting a result of 1.5 so it seems to be 50% out, im not sure why this is the case.   yes after some testing it does seems to be 50% out, i changed the dividing value to 1500 from 1000 and now its accurate, whats causing this difference though?
  14. Pressure transmitter drift

    im fairly sure the analog input is configured correctly as there is another transmitter working on it correctly. the transmitter should be linear yes,those 2 readings are just a couple i wrote down, we did go up and down the range and raw data would get further and further away as the pressure was increased, using a scaling function block that is proved to work, it would be correct scaling around 9 or so bar and then vary more and more as it raised. when i go back on site i will be testing with an amp meter, unfortunatley i dont have a amp generator or analog output unit i could use to prove the analog unit. i have tested the same transmitter with the same function block just now and the readings were perfect 1 to 1, 1 bar = 100 raw data sadly i didnt install this and couldnt say about the wiring, i believe its only 2 wire so i would doubt thats been done wrong, and the analog unit settings look fine to me
  15. Pressure transmitter drift

    Hello all this isnt strictly omron/programmer but has anyone used much in the way of pressure transmitters? we have a wika s-11 pressure transmitter on one of our machines installed roughly 7 months ago where the scaling does not seem to be linear, i only started working here around that time so i dont know how it was installed etc. but its a 0-40 bar 4-20mA transmitter connected to an ad081 4000 resolution connected to a cj2m. so the conversion should be nice and easy 100 raw data = 1 bar however it seems to be scaling logarithmicly to me as we checked with a 2 different guages and when they were at 2 bar the transmitter was showing 137 raw data and at 8 bar it was showing 737 raw data and this seems to keep scaling in this fashion as we get to higher bar. is this a common fault on transmitters? is there anything else that could be causing this? how often would you normally expect a transmitter to last? i checked my scaling FB on another transmitter connected to a compressor and it worked correctly so its not the maths used   thanks in advance