Hi everyone, I am trying to comunicate with a Laser via ethernet or RS232 but I realy don't find enough information in internet to make my sketch. For TCP/IP, I am using a ENC28J60.
CLK ---> D8
SO ---> D12
SCK --->D13
SI --->D11
CS --->D10
VCC --->3,3v
GND --->GND
You will find attached the manual for TCP/IP comunications that the laser company gave me.
Finaly for RS232, I tried to use the TTL-RS232 module (MAX3232) to comunicate but I was not able to make it works.(attached the manual for RS232 comunications that the laser company gave me.)
Yes it a laser marking machine, it is very modern, so no resurection in here. hahaha
It has a native PC software but I would like to control it with the arduino because I am using it as a "PLC" and I need to send some marking signal, to see if there is any alarm signal, select diferent mesages etc...
Use a Terminal program such as Teraterm to verify that you are able to communicate with your laser marking machine.
Then, and only, then do you automate it with the Arduino.
Personally I don't understand why you are even using an Arduino as a "PLC" unless you are using the Arduino's digital or analog pins. For robust industrial usage, I would not be using an Arduino.
Hi, well I already used Hercules to verify that I am able to communicate with the laser marking machine.
In reality I am doing it with the arduino because I just bought an Arduino PLC (Industrial Shields) and before it arrives I would like to be able to communicate with the laser to just have to copy my code into the PLC.
I am not sure what an Arduino PLC is.
Besides, I don't have your hardware so it is difficult to debug any code I would write.
That's about all the help I can provide.
Even if I had your hardware, I don't provide free help to a work project.
That is what your company is paying you for!
Calm down, I am not asking for the code in itself, just any advice or a code that you could have seen before that could help me to comunicate with the laser.
And in reality i am just a student of 19 years old. No company pay me for that.
I think you are confusing us and yourself. The code you would write to get an Arduino Uno to communicate with the laser device is not the kind of code you will use with a PLC, even if it has an Arduino type microprocessor.
Hi Paul, in reality the PLC made by Industrial Shields, are literaly made with a proper Arduino, and you can upload the same sketch than the one that I am trying to do.
Sorry for the confusion, I know that it is not the normal kind of question.
jonathanprieto:
Calm down, I am not asking for the code in itself, just any advice or a code that you could have seen before that could help me to comunicate with the laser.
And in reality i am just a student of 19 years old. No company pay me for that.
Thank you
I have already given you advice, and you shot me down that you have already used Hercules whatever that is.
I have written code to command instruments with RS232 ports but not with the equipment you have. Arduinos are not commonly used in the companies I have worked.
I have no clue still what Arduino PLC (Industrial Shields) is.