lostcontrol
MrPLC Member-
Content count
521 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by lostcontrol
-
convert 2 numbers into strings and CONCAT 2 strings
lostcontrol replied to FET_Destroyer's topic in CX-Programmer
Attached an example of converting Hex data to ASCII I do not think the CJ1M had pure string capabilities. What do you need the string for? Writing to a CF, HMI, Printer..? I have used this style for writing to serial printers, CF cards etc. Has required a bit more work than the attached, but this would be a starting point for you. -
I am not sure if the migration from V7 to V10.6 is that easy. You may need to do a couple of intermediate steps between versions to get there. Speak to your WW agent to be sure. I would be looking at getting a historian to save your data rather than the CSV files too
-
IPv6 Knowledge and Industrial Deployment
lostcontrol replied to BobLfoot's topic in Computer Help and Networking
Old post I know.., Is my opinion that the industrial world will not need IPv6 for some time. My understanding us that IPv6 is all about devices connected directly to the Internet. Whilst there are plenty of industrial devices already connected to the Internet, these are via a modem/router of some description, some cases even cell dara modems. It is these devices that need to be IPv6 on the Internet side, the LAN side can be IPv4 for ever.. Have you seen/heard of any PLC vendors supporting IPv6? I have not & suspect they do not see the need. -
But, if you only want the data to a central computer, there is no need for the DataLinks. Unless, you want to share data between PLC's for control or something...? What are you using on the PC to connect to the PLC's?
-
What features does Intouch have, we use it extensively but not aware of the mobile features for phones....?
-
My interpretation of what the OP asked is that he wants to read data from each PLC into a single PC. A simple way of doing this with what he has is to just read via serial. His approach was to read from each PLC into a 'concentrator', then have a single PLC provide the data to the PC. I guess it depends on the length or runs to each PLC from the PC? If he has Ethernet adjacent to the PLC's, he could just use a serial server instead. That would be a cheaper option than ETN's & changing the CPU's. Whilst I agree, Ethernet based CPU's would be better, but it sounds like this is an existing setup that the OP is working with.
-
Hello Experts, What happens in the Omron world when an Index register tries to address a location that does not exist? ie. If I have a offset of 10000 from D25000, then the theoretical location is D35000, which as far as I know, does not exist in any of the Omron PLC's. In the AB world, this sort of thing faults the processor from memory. I have tried this, and I do not get any errors whatsoever, and of course, proper technique and error checking should be installed to prevent this from ever happening as well!! Just wandering, that is all....
-
Welcome back PDL
-
Only if your default timer/counter mode is BCD. You can change it to BIN.
-
SoMachine
lostcontrol replied to lostcontrol's topic in Modicon / Telemecanique / Schneider Electric
VMWare Workstation, adaptor set to Bridged directly to NIC. VM IP set to DHCP, static etc, tried everything. The VM is the only thing we suspect could be the cause, but as everything is pingable & the Web Server is accessible, it should work. -
What PLC? If a CJ2 you could do it in a structured text routine. If a CJ or CP then you could do it in an FB with ST.
-
multi paralell word stack and fifo issue cj2m
lostcontrol replied to professor_jonny's topic in CX-One
Wow Michael, you have even used the original method of Indirect addressing! Personally, I almost always use Indirect addressing for this sort of thing, just makes it easier to maintain for me, & to fully customise what you need to do. -
The EIP version cannot send email by default, the CJ1W-ETN21 can though.
-
How are the parameters changed?
-
Do you have a SCADA that is connected to PLC that could send the email instead? I know it can be done in the PLC, just think you would have more options with a SCADA..
-
LOGIX 500 Loading VERRRRRYYYYYYY Slow
lostcontrol replied to wover98's topic in Allen Bradley / Rockwell Automation
Try the environment variables as mentioned above -
So have just had to get Modbus/TCP running as the Serial mode was susceptible to a lot of noise. Didn't take too long, which was a bonus, but using the FB's from MyOmron took a bit of tinkering... The examples didnt work straight away as expected Anyway, after some testing changing timers etc, managed to get it to work reliably (for now). Still need to put in error handling on socket closures etc, but will do some reading & come back to that.
-
Excellent. You do know this means I have to change from the EasyModbus function that you wrote....
-
Can the CP1L-E range to Modbus/TCP out the built in port....
-
Can you post your FM, or a screen shot? I would be suspect of the 'Zero_Integer' declaration, do you need this instead of just using #0? Could be that the Start_Word, End_Word have not had there allocation done correctly, you could make them AT variables... I would go with PMCR's solution as well, he a bit of a gun! But, I do tend to agree with Bob on the FB thing. Unless you are going to have multiple instances of the FB, such as pumps/valves/scaling etc, then pure ladder is best. Something like PLC-PLC comms would be best in standard ladder. What comms media are you using, can you not use the DataLinks?
-
Makes it hard when the OEM is not providing the support though. In this case, the OEM is not helping at all & is off-shore which is much more difficult. I had a startup company here buy some equipment from China, thought they were getting the engineers out to install & train, yet no-one showed up, so they stuck with some lemon machines that they had to nurse to get going.. Intellectual property is an interesting one, I dont believe in it myself. However, if another integrator blatantly copies something that I had done, & got the job because of it I would not be that impressed. Have heard a lot of people bang on about IP, unless you've developed some awesome process that has complex (or simple) control functions, then its just code. Sorry Bob
-
You should post your code, otherwise it is very difficult to see where you have gone wrong
-
Speakerman, Did you ever get the comms working between the AB & Omron PLC?
-
Setup a macro that detects when your counter resets, either by count == 0 or the reset function == 1. Then in the macro, copy the DateTime parameters to a $W location, then use this location as the display. The other way would be to configure an event, this then does it all for you, but then you have to display it using the alarm/event viewer not a string label.. I can setup an example if you want
-
Hi PP, The cable was in my list of things that cod be a problem, but since I have used this same wiring & environment with a Magelis testing the same thing, I put it to the bottom of list. I am going to try the NB as a slave to see if that makes any difference, but is wierd that multiway receives/replies as expected, yet the NB reports timeout