Hello Konstantin,
Thank you for the response, with the comments of your last reply you are right that there were several errors in the diagram.
Last week i have reviewed it and also simplified the diagram, but still experience the issue.
The problem seems that some times the controller is just to slow, and is missing a message.
Attached i have done a can recording of the issue.
page 1
On this page the system functions as designed. 5th bit of can ID 18FDD6ED (value EF) tells me that a button is pressed.
Corresponding to this button is the 5th bit of can ID 18FDD6EB (value 10).
Main goals should be that as soon as bit D1 of can ID 18FF120D is set to a value equal to or greater than 1, the 5th bit of 18FDD6EB should be set to 00.
page 2
On this page the error is shown. 5th bit of can ID 18FDD6ED (value EF) tells me that a button is pressed.
Corresponding to this button is the 5th bit of can ID 18FDD6EB (value 10).
Main goals should be that as soon as bit D1 of can ID 18FF120D is set to a value equal to or greater than 1, the 5th bit of 18FDD6EB should be set to 00. In this example after the value of the 1th bit in canID 18FF120D has set to 1, there is still a value of 10 with canID 18FDD6EB.
The diagram should operate as following:
With block 9 we are activating the gateway and a value for the replacement section is given. If can message with canid 18FF120D is detected and data in second bit (D1) is equal or greater than 01 and digital input 8 is low. Gateway mode is set to active (1), replace mask setting value will be changed. Also a value (1) for the replace value selection block is given.
With block 10 the replace mask is set for selector 0. If the gateway mode gets set to 1 the replace mask will be set for bite D5.
With block 11 the selector 0 replacement value is given. As soon as the replace value selection is 1 the value in bite D5 will be replaced to 00.
With block 12 the can gateway configuration is triggered. As soon as the message with can ID 18FDD6EB is available.
Can you tell me if there is an option to "repair" this issue or do I made a mistake ?