Home > Software engineering >  Using VB and omron PLC communication can only read can't write?
Using VB and omron PLC communication can only read can't write?

Time:10-17

Using VB and omron cp1E - N40 communication, read only memory access to data, but can't write in counter? What is wrong with this, and guidance!

CodePudding user response:

Want to see the document and see if calculators are not allowed to write

CodePudding user response:

There are many ways to achieve your request, I do not recommend directly through communication changes the value of the counter you can consider to write the data through the communication to a HR area, and then by MOV statement the values can be passed on to the counter of the HR area, at the time of delivery can also set a bit for transfer conditions, so that the PLC program will be more precise,

CodePudding user response:

Some registers are read-only, some to write, you have to in PLC programming above, write a trigger, by writing can write a calculator, the PC and the PLC program to change the internal value

CodePudding user response:

I want to ask is, with the computer's serial port with a RS485 converter (middle) even the PLC 485 directly, through the RS485 communication protocol communication, this way, certainly can achieve, which is clearly but detailed steps?

, for example, is the first to use PLC for the first line (I don't know the specific call what, also don't check) to connect the computer and PLC, and then by the PLC dedicated to write operation, PLC programming software before you can like I said above can be RS485 communication;
As I put it in the first paragraph above direct connection, again to write some code of PLC, can communication?

Tall people?

CodePudding user response:

Master, how nothing happened? May not need to open a new post?
  • Related