57.1 Why a cross-brand reference: same function, three notations
| Scenario | What copying does | Correct approach |
|---|---|---|
| Porting FANUC ladder logic to S7 | Mnemonics differ, and F/G addresses have no meaning in S7 | Map function by function, rewrite addresses |
| Reading an imported machine's electrical drawing | Address symbols belong to another brand's system | Identify the brand first, then look up its address types |
| Retrofit / migration | Timer time bases and edge syntax differ, so timing goes wrong | Cross-check the function table, then verify item by item |
Remember one line: logic functions can be ported across brands; mnemonics and addresses cannot be copied across brands.

57.2 Basic logic instructions
| Function | FANUC PMC | Siemens S7 (STL) | Mitsubishi FX |
|---|---|---|---|
| NO contact (load/read) | RD | A (and; first contact also A) | LD |
| NC contact | RD.NOT | AN | LDI |
| Contact in series (and) | AND | A | AND |
| NC in series | AND.NOT | AN | ANI |
| Contact in parallel (or) | OR | O | OR |
| NC in parallel | OR.NOT | ON | ORI |
| Coil output | WRT | = (assign) | OUT |
| Set / reset | SET / RST | S / R | SET / RST |
Table 57-1 Basic logic instructions across brands (mnemonics per model manual)
⚠️ Do not be fooled by “looking the same”: FANUC’s AND/OR share names with Mitsubishi’s, but FANUC reads a coil with WRT, Mitsubishi with OUT, Siemens with = — the output instruction differs in all three. S7’s A/AN/O/ON are Boolean instructions working on accumulators, not a literal one-to-one match with ladder symbols.
57.3 Function instructions
| Function | FANUC PMC | Siemens S7 | Mitsubishi FX |
|---|---|---|---|
| Timer | TMR (function instruction) | SD (on-delay) / SS (retentive) | TMR (OUT T + constant K) |
| Counter | CTR | CD (down count) etc. | OUT C + K |
| Compare | CMP family | compare instructions / L + compare | CMP family |
| Data move | MOV family | L (load) / T (transfer) | MOV |
| Rising / falling edge | DIFU / DIFD | EU / ED | LDP / LDF |
| Block logic merge | — | OLD (OR block) / AN (AND block context) | ORB / ANB |
Table 57-2 Function instructions across brands
🔴 Timer time base is the most hidden trap: Mitsubishi FX’s TMR constant is a 100 ms step (K10 = 1 s), while Siemens S7-1200 TON PT is in ms (PT=1000 is 1 s). The same digits 100 mean 10 seconds in one and 0.1 second in the other — always check the time base against each manual during migration; this is a frequent cause of wrong action timing. Specific timer numbers and time bases follow your model manual.
57.4 Address types
| Purpose | FANUC PMC | Siemens S7 | Mitsubishi FX |
|---|---|---|---|
| Machine-to-controller input | X (MT→PMC) | I (input) | X |
| Controller-to-machine output | Y (PMC→MT) | Q (output) | Y |
| Internal relay | R | M (bit memory) | M |
| Retentive relay | K | M retentive area / DB | M retentive area |
| Timer / counter | T / C | T / C | T / C |
| Data table / data block | D (data table) | DB (data block) | D (data register) |
| Message request | A | — | — |
Table 57-3 Address types across brands (type-level mapping only, not address-number conversion)
⚠️ This is a type-level mapping, not an address-number conversion: FANUC’s X12.5 has no automatic equivalence to Siemens’ I12.5; change the I/O Link or hardware configuration and the bit address changes. Addresses must be reassigned and verified point by point during migration.
57.5 F / G signal direction: the one Chinese sources most often reverse

FANUC PMC and CNC exchange data through dedicated registers, with a fixed direction defined by FANUC that the PMC programmer can only use, not change:
G= PMC → CNC: commands PMC writes to CNC (cycle start, feed hold, auxiliary-function complete). Used as a coil and also as a contact.F= CNC → PMC: status CNC writes to PMC (current mode, alarm state, M-code decode result, servo-on status). Used only as a contact, never as a coil — think of “F” as From CNC.
Memory aid: X/Y are physical signals between machine side and PMC (X in, Y out, assigned by I/O Link); F/G are logical signals between PMC and CNC (bound by CNC software version). X/Y bit numbers follow hardware; G/F meanings follow the system — confusing the two sends troubleshooting in the wrong direction.
🔴 Chinese-language material often reverses G and F. Check against the official PMC programming manual address table (e.g. the B-61863E series): X=MT→PMC, Y=PMC→MT, F=NC→PMC, G=PMC→NC. Your machine manual governs.
57.6 Same function side by side: start-stop self-hold in three notations
Take “press start, then self-hold” as an example (illustrative; addresses per actual assignment):
- FANUC PMC:
RD X1.0(start) →OR R100.0(self-hold) →AND.NOT X1.1(stop NC) →WRT R100.0(hold bit). - Siemens S7 (STL):
A I0.0→O M0.0→AN I0.1→= M0.0. - Mitsubishi FX:
LD X0→OR M0→ANI X1→OUT M0.
Table 57-4 Start-stop self-hold in three notations (same function, different syntax)
All three are functionally identical, but the output instruction, address prefix and NC-contact form all differ. Copying any one into another brand will fail to compile or reverse the action.
57.7 Scan cycle and execution model differences
- FANUC PMC: deterministic cyclic scan, typical scan time about 5–20 ms (visible on the PMC diagnostic screen), varying by PMC model (SA1/SA3/SB7 etc.) — check your model and diagnostic screen.
- Siemens S7: configurable scan cycle, commonly 1–100 ms depending on CPU and configuration.
- Mitsubishi FX: cyclic scan determined by program steps (
ENDaffects scan length).
Key point: the scan cycle directly affects whether a short signal is missed. A momentary button press or pulse shorter than one scan may not be captured — when troubleshooting “the signal occasionally does not actuate”, check scan time and signal width before suspecting the wiring.
57.8 Five migration pitfalls

- G/F direction reversed — G is PMC→CNC, F is CNC→PMC; F cannot be a coil.
- Type mapping treated as address conversion —
X12.5is notI12.5; addresses must be reassigned. - Timer constants copied verbatim — FX 100 ms steps vs S7 ms, a hundredfold difference.
- Edge instruction syntax differs — FANUC
DIFU/DIFD, S7EU/ED, MitsubishiLDP/LDF, not interchangeable. - Copying the electrical drawing — symbols belong to one brand’s system; a different system needs rewritten logic and item-by-item verification.
Compliance boundary: this article covers mnemonic and address-type cross-referencing and syntax differences only. It provides no cracks, password bypasses, pirated manuals or download mirrors; specific instructions and address ranges follow each brand’s model programming manual.
57.9 Site cross-references and how to use this
- FANUC PMC ladder beginner tutorial: Ladder Diagram Beginner Tutorial; Functional Instruction (SUB) Quick Reference; What Is a PMC.
- Ladder symbol quick reference and retentive addresses (R/DR/E/EP) are covered in the Chinese-language companion articles.
Recommended workflow: find the three-brand notation by function here, go back to /1295 and /1079 for FANUC symbol detail, then confirm instructions and address ranges in the official programming manual for the target brand. All three steps matter.

Frequently Asked Questions
For FANUC, which is the signal PMC sends to CNC: G or F?
G is PMC→CNC (a command, usable as both coil and contact); F is CNC→PMC (CNC status, usable only as a contact, never as a coil). Chinese-language sources often reverse them; check the official PMC programming manual address table.
Can I directly change a FANUC ladder’s X12.5 into a Siemens I12.5?
No. The mapping here is type-level (input to input, output to output), not address-number conversion. FANUC’s X bit numbers come from I/O Link assignment, Siemens’ I addresses from hardware configuration — there is no automatic conversion. Migration requires reassigning addresses and verifying point by point.
Why does the same timer constant produce very different times in Mitsubishi and Siemens?
Because the time bases differ. Mitsubishi FX’s TMR constant is a 100 ms step (K10 = 1 s), while Siemens S7-1200 TON’s PT is in ms (PT=1000 is 1 s). The same digits 100 differ a hundredfold. When porting timers, always check the time base and timer number against each manual.
Last updated: 2026-11-26
Where to go next
- FANUC Troubleshooting — the full guide library: alarms, diagnosis numbers, servo, spindle, PMC and electrical faults, organised by symptom.
- CNC Repair Tools — which instrument measures what: multimeters, clamp meters, insulation testers and oscilloscopes, with the specification that actually matters.
- Remote Technical Support — have the readings reviewed with you: alarm reverse lookup, PMC ladder analysis and servo tuning advice by call. Repair companies and integrators welcome.
- Buying & Ownership Decisions — refurbished vs new, used-machine checks, software licensing and manuals: spend with the field facts in hand.
Read the guide, get the right instrument, or walk the diagnosis through with someone — pick whichever you need.
The original Chinese version — same procedure, with the full field notes.












































暂无评论内容