/
iocontrol.1
97 lines (74 loc) · 2.76 KB
/
iocontrol.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.TH IOCONTROL "1" "2007-08-25" "LinuxCNC Documentation" "HAL Component"
.de TQ
.br
.ns
.TP \\$1
..
.SH NAME
iocontrol \- accepts NML I/O commands, interacts with HAL in userspace
.SH SYNOPSIS
\fBloadusr io [\-ini \fIinifile\fB]
.SH DESCRIPTION
These pins are created by the userspace IO controller, usually found in $LINUXCNC_HOME/bin/io and loaded by ini file setting: [EMCIO]EMCIO=io.
.P
The signals are turned on and off in userspace - if you have strict timing requirements or simply need more i/o, consider using the realtime synchronized i/o provided by \fBmotion\fR(9) instead.
.P
The inifile is searched for in the directory from which halcmd was run, unless an absolute path is specified.
.SH PINS
.TP
\fBiocontrol.0.coolant\-flood
(Bit, Out) TRUE when flood coolant is requested
.TP
\fBiocontrol.0.coolant\-mist
(Bit, Out) TRUE when mist coolant is requested
.TP
\fBiocontrol.0.emc\-enable\-in
(Bit, In) Should be driven FALSE when an external estop condition exists.
.TP
\fBiocontrol.0.lube
(Bit, Out) TRUE when lube is requested. This pin gets driven True when
the controller comes out of E-stop, and when the "Lube On" command gets
sent to the controller. It gets driven False when the controller goes
into E-stop, and when the "Lube Off" command gets sent to the controller.
.TP
\fBiocontrol.0.lube_level
(Bit, In) Should be driven FALSE when lubrication tank is empty.
.TP
\fBiocontrol.0.tool\-change
(Bit, Out) TRUE when a tool change is requested
.TP
\fBiocontrol.0.tool\-changed
(Bit, In) Should be driven TRUE when a tool change is completed.
.TP
\fBiocontrol.0.tool\-number
(s32, Out) Current tool number
.TP
\fBiocontrol.0.tool\-prep\-number
(s32, Out) The number of the next tool, from the RS274NGC T-word
.TP
\fBiocontrol.0.tool\-prep\-pocket
(s32, Out) This is the pocket number (location in the tool storage
mechanism) of the tool requested by the most recent T-word.
.TP
\fBiocontrol.0.tool\-prepare
(Bit, Out) TRUE when a T\fIn\fR tool prepare is requested
.TP
\fBiocontrol.0.tool\-prepared
(Bit, In) Should be driven TRUE when a tool prepare is completed.
.TP
\fBiocontrol.0.user\-enable\-out
(Bit, Out) FALSE when an internal estop condition exists
.TP
\fBiocontrol.0.user\-request\-enable
(Bit, Out) TRUE when the user has requested that estop be cleared
.TP
\fBiocontrol.0.tool\-prep\-index
(Bit, Out) IO's internal array index of the prepped tool requested
by the most recent T-word. 0 if no tool is prepped. On Random
toolchanger machines this is tool's pocket number (ie, the same as the
tool\-prep\-pocket pin), on Non-random toolchanger machines this is
a small integer corresponding to the tool's location in the internal
representation of the tool table. This parameter returns to 0 after a
successful tool change (M6).
.SH SEE ALSO
\fBmotion\fR(9)