Hi all,
I have some problems with an FM350 counter module
(6ES7 350-1AH03-0AE0). I have configured the card in the HW config, copied the CNT_CTL1 function and created a data block with the UDT from the FMx50LIB.
Now when i put a '1' the EN from the CNT_CTL1 block i can read the actual counter value (ACT_CNTV of the data block) and when i rotate the axis of the encoder the value changes so that seems right.
My question is how do i reset this value. When i put a '0'on the EN of the function block and write '0' to the ACT_CNTV it changes to zero but when i re-enable the function block it jumps back to its old value (probabably because its read-only). I don't see any parameter in the DB to reset this value
Can anyone help me with this?
I have some problems with an FM350 counter module
(6ES7 350-1AH03-0AE0). I have configured the card in the HW config, copied the CNT_CTL1 function and created a data block with the UDT from the FMx50LIB.
Now when i put a '1' the EN from the CNT_CTL1 block i can read the actual counter value (ACT_CNTV of the data block) and when i rotate the axis of the encoder the value changes so that seems right.
My question is how do i reset this value. When i put a '0'on the EN of the function block and write '0' to the ACT_CNTV it changes to zero but when i re-enable the function block it jumps back to its old value (probabably because its read-only). I don't see any parameter in the DB to reset this value
Can anyone help me with this?