-
Content count
347 -
Joined
-
Last visited
Posts posted by gclshortt
-
-
Hi Anne,
Omron has an MQTT application library. This will connect you to a broker.
Links currently do not work in this forum. Please do an internet search.
If your controller is not capable of MQTT but has Modbus, you can use a Stride MQTT Gateway device. This will convert MQTT / Mobus RTU and Modbus TCP back and forth to the broker.
Regards,
Garry -
Hi Abdul,
Please look at the SPED instruction in the operation manual.
This will allow you to stop and then continue.Regards,
Garry -
Thank you for following through and posting the answer. This benefits everyone.
Regards,
Garry -
Can you post a picture of what you are trying to do?
Regards,
Garry -
Hi saruans,
Bits of words (example: %MWx:X where X is the offset of the bit)
Try %MX100:0Regards,
Garry -
+1 OkiePC
Divide by 10 and then multiply by 10. This will ensure that the fourth decimal place is always 0.
Regards,
Garry -
https://accautomation.ca/omron-cp1h-advancedhmi-communication/
The above post may help you out. AdvancedHMI can communicate to many devices. The Omron PLCs can communicate Host Link (C Mode Commands) Serial – RS232, RS485, RS422. It can also communicate Ethernet FINS.
AdvancedHMI is written in VB.net and runs on visual studio. Here is a link to show you how to then communicate to an excel spreadsheet.
https://www.tutorialspoint.com/vb.net/vb.net_excel_sheet.htmRegards,
Garry -
Hi Jorge,
The built-in peripheral USB port is for connecting support software only. The protocol is not published.
Regards,
Garry -
Hi Steve,
In the Omron controller, the data types are dependant on the address in the model. I would refer to the manual of the PLC model you are programming.
Here is a quick start guide that I find helpful for CX-Programmer.
https://assets.omron.eu/downloads/manual/en/v2/r132_cx-programmer_fb_library_getting_started_guide_en.pdf
I hope this may help.Regards,
Garry -
Hi Chris,
How are you connecting to the PLC to the PT unit?
• Connect to the CPU Unit’s built-in RS-232C port.
• Connect to the peripheral port through a CS1W-CN118 Connecting Cable.
• Connect to the RS-232C port (port 1) on a Serial Communications Board.It sounds like the PLC Settings are not set in the PLC. See the following manual on Page 45. " PC Setup Settings "
http://www.farnell.com/datasheets/1697015.pdf
Have you tried lowing the baud rate in order to see if communication errors still exist?
What are your communication settings?Regards,
Garry -
Hi lizard,
Yes, your 0V would go to the common on the PLC input. This would be NPN.
http://www.plctalk.net/qanda/showthread.php?t=27796
" The S/S terminal is used to configure the unit inputs for sinking or sourcing signals (all at once).
The inputs themselves are polarity-insensitive and S/S is their common.
When the S/S is connected to the logic ground, the inputs react on sourcing signals (PNP sensors).
When it is connected to the logic power (typically +24VDC) the inputs react on sinking signals (NPN sensors). "Here is the hardware manual:
https://dl.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy992d66301/jy992d66301s.pdfI hope this helps you out.
Regards,
Garry -
Hi Akhan,
I would give automation direct a call and see if you can get a board for your unit.
https://www.directautomation.com.au/media/catalog-pdf/DR-Drives.pdf
Regards,
Garry
-
Thanks Simon,
This makes sense once I looked at the app on my phone.
The simulator is looking good.Can you include a save option sooner? This would greatly increase the usability of the simulator especially if you want to promote working samples.
The save can be to a unique web address so the program can be viewed and modified. This would allow individuals time to work out the program and show the work.Keep up the good work!
Garry -
Hi Simon,
I like what you have developed so far. The timers and counter work well.
When I am monitoring variables when running the program, it would be nice to be able to arrange them in the order for the logic I'm testing. It would also be nice to have the choice where the variable section is on the screen. (I would prefer the variables on the left or right side of the screen.)Looking good!
Thanks, SimonGarry
-
+1 Joe E.
Parts are unknown (default bad) until inspected to be good.
Regards,
Garry1 person likes this -
Wow that sounds great.
What time frame are you expecting for all of these stages?How are you making your money if you are offering this for free?
Would you mind me promoting this free programming tool once you have it further developed?
Thanks,
Garry2 people like this -
Hi Mag,
Your plc simulator looks good so far.
What are your plans for additional instructions?
How about your plans for rung comments?
Will you be able to save your logic?
I have been using PLC Fiddle. https://www.plcfiddle.com/https://accautomation.ca/plc-fiddle-online-editor-and-simulator-in-your-browser/
https://accautomation.ca/series/plc-fiddle-online-plc-editor-and-simulator-in-your-browser/Good work so far.
Thank you,
Garry1 person likes this -
You would have to read the time and date from the connected PLC.
Using the Numeric Display Indicator on the screen you would point to the Hours, Minutes, Seconds, Day, Month or Year variables in the PLC.https://accautomation.ca/c-more-micro-hmi-object-buttons-and-indicators/
Here is a series on the EA3 HMI
https://accautomation.ca/series/c-more-micro-hmi/Regards,
Garry -
Here is another HMI headless unit that would be able to send out Emails.
https://www.automationdirect.com/c-more/headless-hmi
Here is how the email will be programmed in the C-More unit.
https://accautomation.ca/c-more-ea9-hmi-series-panel-sending-email/
I hope this helps you out.
Regards,
Garry -
https://dl.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy997d16701/jy997d16701r.pdf
http://www.plctalk.net/qanda/showthread.php?t=47307
In the above manual look at "4. Analog Input" this will give you a description and sample program.
You will find the unit number for addressing is based on position.
I hope this helps you out.
Regards,
Garry1 person likes this -
You will need to be a little more specific on what you want to achieve.
I would start by looking at the communication protocols that your PLC is capable of handling.
I believe that it can communicate Modbus RTU (Serial) via RS232 or RS485.
https://dl.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy997d16601/jy997d16601q.pdf
Take a look at AdvancedHMI. This is a software package that is written in VB.net and runs on Visual Studio. It has the drivers already programmed for both Modbus RTU and TCP.
Once you collect the data into the computer then you can save it to a database.
Sharing the data online can be done in several different ways. We really need to know what you need to accomplish.I hope this helps you out.
Regards,
Garry -
NT20M/NT2000M/NT600M Support Tool Version 4.0
Connecting cable: CV500-CN228, 2 m cableOperation Manual for the Support Tool
https://www.myomron.com/downloads/1.Manuals/HMI/Nt/V004-E1-2%20NT20M-NT600M%20Operation%20Manual.pdfI hope this helps you out.
Regards,
Garry -
" Note also that Modbus only works with 16-bit registers, so transferring a REAL value (32-bit IEEE format) will require you to send 2 contiguous Modbus registers and reassemble them as REAL values in your partner "
In the PLC are you putting together the two 16 bit registers and then interpreting them as a float?
I would look at inputting the integer number and decimal number separately on the HMI. Then use the PLC to interpret the data.Just a thought.
Regards,
Garry -
Thanks for the bit of levity.
CJ2m Time as millis()
in CX-Programmer
Posted
w473_cj2_cpu_units_software_users_manual_en.pdf
Section "10-2-3 Monitoring the Cycle Time" of the above manual will show you the maximum, current scan time in 0.1 ms, current scan time in 0.01 ms.
These settings are in the "Auxiliary Area Flags and Words" area.
Regards,
Garry