Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 603 of 909
OF(...)
Output Fault
APPLICATION: I/O control
DESCRIPTION: Get output faults (24 volt I/O)
EXECUTION: Immediate
CONDITIONAL TO: M-style, or D-style with AD1 option
LIMITATIONS:
N/A
READ/REPORT: ROF(...)
WRITE: Read only
LANGUAGE ACCESS: Formulas and conditional testing
UNITS: N/A
RANGE OF VALUES: Depends on command format and motor model (see details)
TYPICAL VALUES: N/A
DEFAULT VALUE: N/A
FIRMWARE VERSION: 5.x series only
COMBITRONIC: N/A
DETAILED DESCRIPTION:
The OF command reads the specified output or a block of outputs. It can be used in the
following ways:
l
=OF(IO)
Returns the current fault state for that I/O number, where the returned value: 0 = no
fault , 1 = overcurrent, 2 = possible shorted
o
D-style: IO is 16–25
o
M-style: IO is 0–10
l
=OF(S,word)
Returns the bit mask of current faulted I/O points, where word is the 16-bit word
number, 0 is Controller I/O Status Word 16.
If any of these bits are set due to a fault, then the I/O fault status flag (Motor Status
Word 3, bit 7) is also set.
o
D-style: word is 1; result is 0–1023
o
M-style: word is 0; result is 0–2047
l
=OF(L,word)
Returns the bit mask of Latched Faulted I/O points, where word is the 16-bit word
number. Reading a 16-bit word will attempt to clear the I/O word latch.
o
D-style: word is 1; result is 0–1023
o
M-style: word is 0; result is 0–2047
Part 2: Commands: OF(...)