Bobodopalus
MrPLC Member-
Content count
88 -
Joined
-
Last visited
Posts posted by Bobodopalus
-
-
Netbiter do not support fins sadly, i have confirmed with omron and netbiter what pturmel says which is they do not support the service codes the CJ series use.
now to fight with modbus a bit instead...
-
I tried using:
Class: C4
Instance:00
Attribute:64attempting to read the PLC run mode which reads 4 through the netbiter, when the PLC is in run and 1 when it is in program mode so could we assume this only uses service code 0E?
I also tried to publish the tag but it returns as an "unknown connection error"
This is a CJ2M-CPU32
-
This one page 252 and onwards
-
I am getting some kind of reading with the settings above as i am getting a "too much data" error and not a no connection or system offline
-
Manual
Easy connect starter guide
None of it covers in any great detail how to read from a PLC on ethernet/ip, i have just had a reply from my HMS support ticket saying they are not sure its possible from omrons side
" Im not sure that the Netbiter actually supports the Omron device, be aware that the Netbiter is an EtherNet/IP Scanner that only support UCMM. Scanners normally support both Class 1 and class 3 connections but not this one. Scanner = Master on Ethernet/IP language. This only possible to reach on the LAN-port of the Netbiter. I know that from the beginning this was developed to be able to reach some Allen-Bradley PLCs.. How the Omron PLC works, I do not know, better ask Omron regards to that. "
Sadly my usual omron contact has just gone on holiday so im waiting to hear from another
I have been getting my information for the CJ2M from the CS and CJ series Ethernet/ip manual section 9-2 page 260
it is possible the options available on the netbiter just dont sync up with the omron requirements
-
I see on the forum there are a couple of mentions of netbiter and they seem positive, ive just got one and do not understand how the messaging works.
I have tried creating a template just to read D0, i believe i have setup all my IP settings correctly but i am not certain, they are on the same address range for sure.
If anyone has used this before and could point me in the right direction that would be great
-
thats a shame, the NA screens are more powerful than we really need, we only need simple controls on our HMI such as timer changes and option toggles, i've been slowly adding some more features here and there to try and provide the customers with more data, but for now we are sticking with the budget option
-
so i did solve this by creating a program cycle that changes page, takes a screenshot, changes page, takes a screenshot, etc, etc.
i think i would still prefer that all screens were just dumped to USB via a button press but this will do if that's not possible
-
Hello all
I am trying to figure out if its possible to save a screenshot of every screen on a HMI to usb at the same time,
so i have currently created a button on a screen that saves the screenshot to external memory, is it possible to make it save a screenshot for every screen instead of just one?
maybe i would have to create a kind of function on the plc that cycles through the pages and then takes a screenshot of each?
any help would be appreciated
currently using a NB7W and a CJ2 cpu 31 although it would be nice for this to work with everything
-
I have had this when the node address doesn't match the IP addresses last digits, worth checking
-
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
-
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?
-
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.
-
in terms of the memory card i have just been shown this function block http://www.autopack.com/Service/PLC/Omron/Prog/CX-Programmer/FBL_English/omronlib/PLC/CARD/_CARD411_WriteCSV.pdf
which by my understanding just adds the data if overwrite is set to 0 so a shift register should not be required
-
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.
-
Hello all
thanks to bits n bytes's date and time to string converter here https://forums.mrplc.com/index.php?/topic/31786-write-plc-time-as-text-to-memory-card/#comment-149418 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
-
i got some help from plctalk.net 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
-
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
-
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
-
yes thats my biggest gripe with word, it is very awkward to add images to
1 person likes this -
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
-
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
-
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?
-
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
NA Dynamic button text?
in NJ Series / Sysmac Studio
Posted
Does anybody have a live link or the example they can share here?
the website linked in http://forums.mrplc.com/index.php?/topic/32077-njna-program-example-resource/ seems like the domain has been sniped