Validity: Rule, Task
By this keyword, the validation of data in transmission (tx) in profibus and devicenet communications is enabled.
Syntax |
I32 sem_sts |
---|---|
Attributes |
Non-retentive. Bit-accessible |
The meaning of the bits is as follows:
Bit |
Hexadecimal value |
Description |
---|---|---|
BIT 0 |
0x1 |
Enables user-controlled validation of transmitted data (default value 0) |
Example
; In the autoexec.stp file: ; I disable validation by RTE sem_user.0 = 1 ; in the task: ; after 120 seconds I enable validation by transmitted data _if(tfb > 120) sem_sts.0 = 1 |