A
Hi dear sir,
I want to write a program with Omron PLC model "CQM1H-CPU21". In this program I need to send a message like "010347F4000411F4" on RS232C port of the PLC. If I use PLC in "Host-Link" mode the message that plc sends is like this: "@00EX010347F4000411F458*" .
I want a message without any start code and end code, so I tried to use the PLC in "no-protocol" mode. As I know I need to adjust some parameters in order to use my PLC in "no-protocol" mode, so I adjusted the following parameters:
DM6645=1000
DM6648=0000
DM6649=0000
Pin 5 of the Dip-Switch = off
After adjusting these parameters I could not connect my PLC anymore. In other words, when I set the DM6645=1000 while I am connected to the PLC with a computer and then try to turn off the pin 5 of the dip switch, my connection will fail and after that I could never connect to the PLC, else I turn pin 5 on again. I also have tried different communication settings in order to connect to the PLC when pin 5 is off, but I could not connect it.
Firstly would you please say what is the problem with my adjustment that I cannot connect to the PLC in no-protocol mode.
Secondly, would you say how I can send a message without any start and end code with Omron PLCs? Because I want to receive data from/send data to a device when its communication protocol is "MODBUS" and I need to send some data without any start and end code (actually send datas with time intervals).
Thanks in advance,
Regards,
Ali Niknezhadi
I want to write a program with Omron PLC model "CQM1H-CPU21". In this program I need to send a message like "010347F4000411F4" on RS232C port of the PLC. If I use PLC in "Host-Link" mode the message that plc sends is like this: "@00EX010347F4000411F458*" .
I want a message without any start code and end code, so I tried to use the PLC in "no-protocol" mode. As I know I need to adjust some parameters in order to use my PLC in "no-protocol" mode, so I adjusted the following parameters:
DM6645=1000
DM6648=0000
DM6649=0000
Pin 5 of the Dip-Switch = off
After adjusting these parameters I could not connect my PLC anymore. In other words, when I set the DM6645=1000 while I am connected to the PLC with a computer and then try to turn off the pin 5 of the dip switch, my connection will fail and after that I could never connect to the PLC, else I turn pin 5 on again. I also have tried different communication settings in order to connect to the PLC when pin 5 is off, but I could not connect it.
Firstly would you please say what is the problem with my adjustment that I cannot connect to the PLC in no-protocol mode.
Secondly, would you say how I can send a message without any start and end code with Omron PLCs? Because I want to receive data from/send data to a device when its communication protocol is "MODBUS" and I need to send some data without any start and end code (actually send datas with time intervals).
Thanks in advance,
Regards,
Ali Niknezhadi