Hello folks,
first communication between 750-653 and Weatherstation work so far with an plc 750-841.
I have to change the system to CoDeSys 3.5 and want to reach the Weatherstation over EtherCat Module 750-354 with a 750-653 module.
I got the FbModule_75x_653 from WagoSysFieldbusModule, unfortunately, the documentation says nothing about the connection from module to functionblock, maybe i miss something.
Step 2
Bind the module to an Fieldbus Process ImageVAR_GLOBAL abReadData : ARRAY[0..126] OF BYTE; abWriteData : ARRAY[0..126] OF BYTE; END_VAR IF xUpdatFieldbusData THEN (* set the new inputs for our module and get the new outputs from our module to write to the fieldbus synchronized to the fieldbus cycle *) myModule653.SetNewPaInputs (ADR(abReadData[0]) , myModule653.PA_SIZE_INPUT); myModule653.GetNewPaOutputs(ADR(abWriteData[0]), myModule653.PA_SIZE_OUTPUT); END_IF
How to connect the abReadData/abWriteData to the module?
I found some similar cases but only confusing me more.
Some without the xUpdateFieldbusData
and some which put the arrays without a field in the fb.
thanks for help.
Max