BR-Automation X20CP1301 Manual page 44

Table of Contents

Advertisement

X20(c)CP1301, X20CP1381 and X20CP1382
16.4.2.3 Edge detection unit - Selection of slave edge
Name:
X2CfO_EdgeDetectUnit01Slave
X2CfO_EdgeDetectUnit02Slave
These registers are used to select the source of the slave edge for the respective unit. Either the rising or falling
edge of one of the 4 high-speed digital input channels can be selected. Only one edge can be selected for each unit.
Data type
USINT
16.4.2.4 Edge detection unit - Master edge counter
Name:
EdgeDetect01Mastercount
EdgeDetect02Mastercount
These registers hold the counter values of the detected master edges. The counter value is used to detect new
measurements.
Data type
INT
16.4.2.5 Edge detection unit - Master edge timestamp
Name:
EdgeDetect01Mastertime
EdgeDetect02Mastertime
The exact CPU system time of the respective unit is saved to these registers when a master edge occurs. If multiple
master edges occur within a single cycle (task class), then the time of the last edge is shown.
Data type
DINT
16.4.2.6 Edge detection unit - Time difference
Name:
EdgeDetect01Difference
EdgeDetect02Difference
The difference between the master edge and the slave edge of the respective unit is saved to these registers. If
multiple measurement periods are completed within a single cycle (task class), then the time difference from the
last period is shown.
Data type
DINT
44
Value
Information
0
Digital input channel 11: Rising edge
2
Digital input channel 12: Rising edge
4
Digital input channel 13: Rising edge
6
Digital input channel 14: Rising edge
1
Digital input channel 11: Falling edge
3
Digital input channel 12: Falling edge
5
Digital input channel 13: Falling edge
7
Digital input channel 14: Falling edge
Value
Information
-32768 to 32767
Running counter: Number of detected master edges
Value
-2,147,483,648 to 2,147,483,647
Value
-2,147,483,648 to 2,147,483,647
Information
CPU system time of master edge [µs]
Information
Time difference between master edge and slave edge [µs]
Data sheet V1.21

Advertisement

Table of Contents
loading

Related Products for BR-Automation X20CP1301

This manual is also suitable for:

X20ccp1301X20cp1381X20cp1382

Table of Contents