Validity: Rule, Task
This variable identifies the speed reference saturation alarm enable mask (code 12) for single axes.
Syntax |
I32 sr_ovf_m |
---|---|
Attributes |
Bit-accessible |
If enabled, RTE run-time checks that the speed reference is in the working field of the device configured in the RTE.CFG file.
At switch on, no overflow alarm is enabled (sr_ovf_m = 0).
To enable the sr_ovf_m alarm of the first axis, the first bit of the sr_ovf_m register will need to be written (sr_ovf_m.0 = 1), and so on.
Example
; we enable the speed reference saturation alarm of the first axis sr_ovf_m.0 = 1 ; we add axes 13 to 18 sr_ovf_m = sr_ovf_m r_or 0x3F000 ; if bit 16 of the variable sr_ovf_m is equal to 1 ; then in sr(1) will be stored the string ; "axis 17 speed reference overflow alarm enabled" _if(sr_ovf_m.16) sr(1) = "axis 17 speed reference overflow alarm enabled" |