REC.TRIGTYPE
Description
REC.TRIGTYPE sets the type of trigger.
Input values are as follows:
Value |
Description |
---|---|
0 |
Recording starts immediately |
1 |
Next command: Recording starts on the next command executed through the TCP/IP. The trigger location in the buffer is set according to REC.TRIGPOS . |
2 |
Source signal: Recording starts per the values of REC.TRIGPARAM, REC.TRIGVAL , REC.TRIGSLOPE , and REC.TRIGPOS . |
3 |
Boolean: Recording starts when the value of REC.TRIGPARAM is 0 for REC.TRIGSLOPE = 0 or 1 for REC.TRIGSLOPE = 1 |
4 | Exact: Recording starts when the value of REC.TRIGPARAM is exactly the value specified REC.TRIGVAL and change happened with REG.TRIGSLOPE slope. |
5 | Bitmask: Recording starts when the value of REC.TRIGPARAM masked by REC.TRIGMASK matches REC.TRIGVAL with slope REC.TRIGSLOPE. |
Example
Code
If REC.TRIGPARAM is DIN.STATES and REC.TRIGMASK = 0x3, then the triggering happens only when both DIN1 and DIN2 are high.
-->REC.TRIGTYPE 5
Context
For more information see Scope.
Versions
Action | Version | Notes |
---|---|---|
Implemented | 02-00-00-000 |
General Information
Type |
Read/Write |
Units |
N/A |
Range |
0 to 5 |
Default Value |
0 |
Data Type |
Integer |
See Also |
REC.TRIG , REC.TRIGPARAM, REC.TRIGVAL, REC.TRIGSLOPE REC.TRIGPOS |
Stored in Non-Volatile Memory |
No |
Variants Supported
All variants are supported.
Fieldbus Information
ID |
Instance |
Attribute |
Name |
Data Type |
Access |
User Mappable |
---|---|---|---|---|---|---|
2310 |
1 |
2310 (0x906) |
REC.TRIGTYPE |
Unsigned8 |
Read/Write |
Yes |
Parameter |
PNU |
Data Type |
Access |
Units |
---|---|---|---|---|
REC.TRIGTYPE |
2310 |
Unsigned8 |
Read/Write |
- |