Tim Knowlden Posted March 17, 2023 Report Posted March 17, 2023 Hi, its coming around to the time that I manually adjust forward the time of one of my PLCs. I have for the last 5 years adjusted the time forward for BST in March, and backwards in October. I inherited this PLC at work and it produces a print out with date and time on for delivery receipts. I have never looked into if this can be automated without the need to adjust it twice a year, plugging it into a computer running gx developer, as that was what the previous maintenance engineer did? Is there an easy way to add something to the ladder? Quote
NewVeganic Posted March 18, 2023 Report Posted March 18, 2023 This might work.I haven't tried it. Quote
Tim Knowlden Posted March 18, 2023 Author Report Posted March 18, 2023 3 hours ago, NewVeganic said: This might work.I haven't tried it. Amazing, ill try it before the clock change. If d8000 is run I guess I'd need to switch the plc to stop and back to run on the date though or will it check this daily? Quote
NewVeganic Posted March 18, 2023 Report Posted March 18, 2023 (edited) M8000? M8000 is always on when running so you should be ok. I remembered this was in the download section here, it's not my work and I haven't tried it. Edited March 18, 2023 by NewVeganic Quote
Tim Knowlden Posted March 19, 2023 Author Report Posted March 19, 2023 16 hours ago, NewVeganic said: M8000? M8000 is always on when running so you should be ok. I remembered this was in the download section here, it's not my work and I haven't tried it. Sorry, yes m8000. Will this constantly be triggering check of date then to allow adjustment of time. Or is this a one off check when plc is switched onto run? I'm trying to get my head around how the logic works Quote
Ron_S Posted March 21, 2023 Report Posted March 21, 2023 Unless you have a HMI connected - I wouldn't bother. The Mitsubishi internal clock is next to useless. It can gain nearly an hour over 1 year Probably why the past engineer did it manually. 1 Quote
JDennis Posted March 21, 2023 Report Posted March 21, 2023 On 3/19/2023 at 6:57 AM, Tim Knowlden said: Sorry, yes m8000. Will this constantly be triggering check of date then to allow adjustment of time. Or is this a one off check when plc is switched onto run? I'm trying to get my head around how the logic works Yes. M8000 is always on when PLC is in RUN mode. If that is the trigger for the read/adjust it will do so every time the program scans. Quote
Tim Knowlden Posted March 27, 2023 Author Report Posted March 27, 2023 M8000 is not present on the A1ShCPU PLC. I also am not seemingly able to get a usb to rs232 connector to communicate via the rs232 to db25 connector Quote
Goghie Posted March 28, 2023 Report Posted March 28, 2023 With ACPU you should use M9036. You need SC-09 cable for programming, and it has RS232-RS422 interface in it, as programming port on CPU is RS422. Quote
NewVeganic Posted April 1, 2023 Report Posted April 1, 2023 Hi Tim, don't suppose you want to buy some old ACPUs/cards? Quote
Tim Knowlden Posted April 4, 2023 Author Report Posted April 4, 2023 On 01/04/2023 at 10:17 AM, NewVeganic said: Hi Tim, don't suppose you want to buy some old ACPUs/cards? Hi, We have some spares at work already, but thank you Quote
Tim Knowlden Posted April 4, 2023 Author Report Posted April 4, 2023 On 28/03/2023 at 11:40 AM, Goran Vuckovic said: With ACPU you should use M9036. You need SC-09 cable for programming, and it has RS232-RS422 interface in it, as programming port on CPU is RS422. I have purchased this, https://www.amazon.co.uk/dp/B0859YX2J1/ref=pe_27063361_487055811_TE_dp_1 Now though reading your comments I am unsure if this will work? I old laptop with rs232 port that I use, but it is terrible, so now have one with only a usb to use. Quote
Goghie Posted April 4, 2023 Report Posted April 4, 2023 This is original cable you need: https://www.radwell.co.uk/en-GB/Buy/BEIJER%20ELECTRONICS/BEIJER%20ELECTRONICS/SC-09?redirect=true Quote
Tim Knowlden Posted April 4, 2023 Author Report Posted April 4, 2023 1 hour ago, Goran Vuckovic said: This is original cable you need: https://www.radwell.co.uk/en-GB/Buy/BEIJER%20ELECTRONICS/BEIJER%20ELECTRONICS/SC-09?redirect=true The issue with this is that my new laptop does not have an rs232 port Quote
glavanov Posted April 4, 2023 Report Posted April 4, 2023 (edited) https://www.waveshare.com/usb-to-rs232-485-ttl.htm Never tested with ACPU but saved my day many times with Mitsubishi, Omron, Siemens, Rexroth, Lenze devices and some bus conveting modules like AnyBus... I setback just once with one Nordson glue pattern controller, but there was a note in the controllesr's manual that the RS-232 comms do not work with converters. Edited April 4, 2023 by glavanov Quote
Goghie Posted April 4, 2023 Report Posted April 4, 2023 if USB-RS232 converter has original FTDI chip it will work, and it is not expensive. 1 Quote
Tim Knowlden Posted June 5, 2023 Author Report Posted June 5, 2023 On 04/04/2023 at 4:02 PM, Goran Vuckovic said: if USB-RS232 converter has original FTDI chip it will work, and it is not expensive. A long time since purchasing, but tested this today. FTDI drivers install okay, but cannot communicate with the ACPU PLC Quote
Tim Knowlden Posted June 7, 2023 Author Report Posted June 7, 2023 This is using the same rs232 to db25 that works on an old laptop with port. But its plugged into a rs232 to usb adaptor which has drivers installed and is recognised by Windows. Quote
glavanov Posted June 7, 2023 Report Posted June 7, 2023 (edited) And you are sure that COM1 is the port for the USB to RS-232 adapter? Does it appear immediately with the corresponding COM number in Device manager after you plug the adapter into the PC USB port ? If not, It's a driver issue. Edited June 7, 2023 by glavanov Quote
Crossbow Posted June 7, 2023 Report Posted June 7, 2023 I had success with Keyspan USA-19HS USB serial adpter, but it almost NEVER picks COM1, better get into Device Manager and see what COM port it chose. Quote
Ron_S Posted June 8, 2023 Report Posted June 8, 2023 Yes, it has to be part of the routine of connecting to a plc - check which com port is being used by the adapter Quote
Tim Knowlden Posted June 8, 2023 Author Report Posted June 8, 2023 Yes, it started as COM8, but ive tried changing in device manager various different COM ports. Quote
Tim Knowlden Posted June 8, 2023 Author Report Posted June 8, 2023 https://www.amazon.co.uk/gp/product/B01LVYR1AB/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 This is the latest adaptor, Also tried this one prior to thathttps://www.amazon.co.uk/gp/product/B0859YX2J1/ref=ppx_yo_dt_b_asin_title_o06_s01?ie=UTF8&psc=1 Quote
Tim Knowlden Posted June 8, 2023 Author Report Posted June 8, 2023 Drivers sourced here https://ftdichip.com/drivers/vcp-drivers/ But, as I say, it appears in Device Manager and Ive changed COM port to COM1, tried different speeds etc. Quote
Tim Knowlden Posted June 8, 2023 Author Report Posted June 8, 2023 This is using the same rs232 to db25 that works on an old laptop with port. But its plugged into a rs232 to usb adaptor which has drivers installed and is recognised by Windows. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.