Hello, I am working on S120 drive from Seimens with B&R soft PLC and trying to establish acyclic communication using profibus. Can anyone help me with procedure?
Hello Ajay,
welcome to our community!
what is an S120?
what hardware does your B&R Soft PLC run on?
Gruß
Stephan
Hello Ajay,
With the library AsNxDpM you can set up acyclic communication. See function block nxdpmxxxxWrite.
Hello Stephan,
I have checked the plc code, As per the code, I am already using this library for the both for the class c1 and c2 (functions are declared but not used). I would like to understand if I can use both kind of the communication/ blocks together.
Could you also please help me, How the normal flow of the program works in B&R?
Hello Ajay,
In order to read or write the data, the master (X20IF1061-1) must be operating a cyclic data connection to the S120 and the slave must support the DP V1 extension of the PROFIBUS standard. Please note that the X20IF1061-1 does not support DP-V2. Why do you want to use Class 1 and Class 2 acyclic communication at the same time?
Gruß
Stephan