
viman
MrPLC Member-
Content count
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by viman
-
Which of these encoder cards you plan to get? http://www.ia.omron.com/products/family/3190/ As an ethercat slave, they have a parameter called 'Max count setting' which lets you rise it up to 4294967295 (32bits).
-
Well, after rebooting the system and removing the OMRON folder from C:\ they are all there. Solved
-
Can anyone tell me if they can see ID5442 or OD5256 in the device list to add to a PLC? My list doesn't go any higher than 3k for I/O cards. Thing is, I have ran the Omron updater for Sysmac Studio and there's no updates for it. Mine is showing 1.30.0.17
-
I'm thinking of creating a variable to hold the encoder pulses and feed it directly the encoder value. That way it can go as far as big your variable is. However, in the days of CP1 you had to use instant update functions (I can't recall the exact name), cause otherwise the PLC cycle isn't fast enough for an encoder. I have no idea about this in the new Omron PLCs though.
-
Omron NX102/NX1P2 cannot trigger MOXA ioLogik E1212 Outputs through Ethernet/IP connection
viman replied to jack-s's topic in NJ Series / Sysmac Studio
Go back to Ethernet/IP device list, right click the PLC and monitor the status. Navigate through the tabs, everything should be blue. Check the output tags, if something's wrong with the outputs it should be shown there. -
TCPSocket Connection with NJ501-1300
viman replied to Mariangela Camarda's topic in NJ Series / Sysmac Studio
I guess you mean you are using SktTCPRcv. In that case, the error you are receiving means that nothing is received on the PLC side in the timeout value you specify. Try with a longer value. -
By any chance, have you downloaded the CONFIGURATION to the PLC and powered it off?
-
Setting up Omron C40H with external RS232C panel in CX-programmer
viman replied to Trimjohan's topic in CX-Programmer
That's an old controller and I haven't used it, but you are probably missing some parameters regarding the RS232 port. Baud rate, parity - those are not inside the program and, if your backup didn't contain the whole project, you need to set them again. -
Overcoming 'STRING type or an Input Output variable is not supported'
viman replied to viman's topic in CX-Programmer
I figured it out. Following the previous example... I added an input that acts like a proxy to this property that I could not change. This input turns the output to FALSE when I'm done with it. -
Overcoming 'STRING type or an Input Output variable is not supported'
viman posted a topic in CX-Programmer
I get the input of an encoder and do operations based on that, for at least twenty object 'slots' at once. Program is on ladder since client needs to be able to modify it at will, but I'm using structured text functions to handle all the messy operations, since every object has properties and data, and up to twenty can be running in real time. This is a CP1L. Instead of instancing those function blocks twenty times each, I keep a single instance of them one running all the time, and output TRUE when one of those objects raises a valid comparison. In essence those FBs compare each objects' relative position to the encoder against defined points. The picture is an example of the functionality I'm needing. When one object completes the FB task, one of its flags turns ON so that it can't be used anymore. The issue is that without an input/output ST variable, this flag stays ON no matter what, and I need to reset it from outside so the cycle can begin again. The inner FB bit linked to this output stays ON since nothing inside of it makes it change. That's why I need an input/output variable. In the picture the timer would reset the bit - until the FB turns it on again - but I can't do this in this controller. Is there an elegant way to make this work? I know I could use the rising edge of the output to turn some other bit ON but that's the kind of thing I want to avoid. -
If the software says there's nothing to update - guessing you are using the compare tool - then maybe there's nothing to update. Anyway, I have experienced weird behavior too - specially working online with the first Sysmac release - and I ultimately had to DOWNLOAD everything but the unit configuration to the PLC and cycle power. You can connect directly to the PLC in the splash screen and make a new project grabbing all the data from it. After connecting it will ask you to read the data and it will tell you the current project will be closed and a new one will be created. This gets everything from the PLC. Sysmac also keeps a register of your project whenever you save. You can see the project history in the open project window, sorted by date.
-
You can store those bits in retain area H (Hbit) so that the data stays there and doesn't get erased after powering off the machine. You can have H10.00, H10.01 and H10.02 for the first object, then start at H11.00 for the second and H12.00 for the third and so on. Just SET or RSET those H bits based on your parameters and you can later use them as conditions in your program.