![Mect MPNE1001 Series User Manual Download Page 36](http://html1.mh-extra.com/html/mect/mpne1001-series/mpne1001-series_user-manual_1759153036.webp)
Inputs/outputs modules: MPNE
Mect Srl
35
ME7087_13 04/21
5.1.2 Variables
For each special line there is a group of variables that sets its operation
Variable Name
Type
Description
MPNE_ControlWord_
A
UINT
Variable for control of special functions.
LINE: A
bit
0 PTO managed
1 Fast In managed
2 Fast OUT managed
3 Encoder managed
4 PTO Run on Fast Input
5 Fast OUT on Fast Input
6 Fast OUT on match register
7 Fast OUT on PTO DONE
8 Enable unidirectional Counter
9 Enable reset encoder on Fast Input
10 Reset Counter
11 Update Encoder conf
12 Update Fast Input
13 PTO Run
14 Update Fast OUT
15
1 = Bit Set
0 = Bit Reset
To set bit 0 (PTO managed) write:
MPNE_ControlWord_A :=
16#8001;
To reset bit 2 (Fast OUT managed)
write:
MPNE_ControlWord_A :=
16#0004;
MPNE_ControlWord_
B
MPNE_ControlWord_
C
MPNE_ControlWord_
D
UINT
Variable for control of special functions.
LINE: B
,
C
,
D
bit
1 Fast In managed
2 Fast OUT managed
5 Fast OUT on Fast Input