I'm programming an M340 PLC. I've made the main section in an LD file and the communications in another file (tried with LD and ST), both under MAST.
Now I've got two questions:
- A basic one, the addressing of ADDM, READ_VAR, etc. i.e. if I want to send %M3, what is the data I need to pass to the blocks?
- And the second one is that I don't know how to execute the communications file. It compiles with no errors, but when running, how do I call READ_VAR for example? Or do I have to configure it somewhere?
Thanks a lot.
Now I've got two questions:
- A basic one, the addressing of ADDM, READ_VAR, etc. i.e. if I want to send %M3, what is the data I need to pass to the blocks?
- And the second one is that I don't know how to execute the communications file. It compiles with no errors, but when running, how do I call READ_VAR for example? Or do I have to configure it somewhere?
Thanks a lot.