Pro codes · Fanuc
#1000–#1035 / #1100–#1135 — Interface signals (PMC I/O) (Fanuc)
Interface signals (PMC I/O). Macro variables connected to PMC signals: #1000–#1015 read single input bits, #1032 reads 32 bits at once, #1100–#1115 set output bits, #1132 writes 32 bits. The…
| Property | Value |
|---|---|
| Code | #1000–#1035 / #1100–#1135 |
| Control | Fanuc |
| Topic | Macro and system variables |
| Syntax | #1000–#1015 inputs · #1100–#1115 outputs |
What it does
Macro variables connected to PMC signals: #1000–#1015 read single input bits, #1032 reads 32 bits at once, #1100–#1115 set output bits, #1132 writes 32 bits. The machine builder decides which real signals (sensors, clamps, lights) are wired to them. Used for pallet checks, part-present sensors or a light at the end of the batch.
Example
IF [#1002 EQ 0] THEN #3000 = 20 (PART NOT CLAMPED)Tips
- Ask the builder for the PMC address list before you use them.
Careful: Writing an output that controls a machine function can be dangerous. Never test unknown outputs.
Options, numbers and parameters depend on the control model, the software version and the options the machine builder installed. Check the operator and parameter manual of your machine before you use a code for the first time, and run it in single block with low overrides.
Try it without a machine
The Macro B simulator runs variables, G65 calls, #3000 alarms, G10 and system variables block by block.
Open the Macro B simulatorMore: macro and system variables
- #5001–#5066 — Position variables (Fanuc)
- #5201–#5326 — Work offset variables (Fanuc)
- #2001–#2400 / #10001… — Tool offset variables (Fanuc)
- #4001–#4130 — Modal information (Fanuc)
- #3000 / #3006 — User alarm and stop with message (Fanuc)
- #3003 / #3004 — Suppress single block and feed hold (Fanuc)
- #3901 / #3902 — Parts counter (Fanuc)
- #3011 / #3012 — Date and time (Fanuc)
- POPEN / DPRNT / PCLOS — Write data out of a macro (Fanuc)
- G66 / G67 — Modal macro call (Fanuc)
- FN 14 / FN 16 — Error messages and output in Q-parameter programs (Heidenhain)