Hello One question I have is how the 'IOpconAsyncCall' is working between peripheral and object? I do not have a good grasp of the object creation, espcially from the overall structure. for example: 1.create a interface ISample EXTENDS IOpconAsyncCall and create a method SampleMethod under the ISample 2.create a peripheral FB samplePFB IMPLEMENTS ISample and set an ethercat bus output Var1 to TRUE in the SampleMethod 3.create a object FB sampleOFB and install the ISample library 4.excute a command in the sampleOFB _retVal := _parCfg.iSample.SampleMethod(); in this way, the Var1 will be set to TRUE? I do not understand how the object and peripheral are linked via interface? I am not sure if I am right, does the interface like a type structure, just only like a structure with variables? when I create an object, should I transfer the ethercat bus io from peripheral to object for IO handling(control word, status signal and HMI display)? thank you
... View more