
Ed. Date Design Description
Date Jan.07.’04 Design. Apprv.
page
-
15/64
FANUC Series 30i-MODEL A
Real time custom macro
A-79350EN
Title
Draw
No.
Specify an address by using m and n.
Example:
#IOF[1, 3] F1.3 bit type
#IOG[1, 5] G1.5 bit type
#IOFB[32] F32 byte type
#IOGB[12] G12 byte type
Read/write operations are performed in the same as for an ordinary macro statement.
Example:
#RV[0]=#IOFB[32] Assigns F32 to #RV[0].
#IOG[99.3] = 1 Sets G99.3 to 1.
If a signal at a nonexistent address is specified, a P/S alarm is issued.
NOTE
1. The system variables described above are not supported for a
multi-path PMC.
CAUTION
1. Controls handling other signals, such as a ladder or macro executor,
must not write to a signal address being written to by an RTM statement.
Ensure that a single control writes to the same byte signal address.
For example, when the G000.0 signal is written to by an RTM statement,
do not write to the G000.7 signal from a ladder.
2. Ensure that the same F signal is not read from by an RTM statement and
written to by the NC simultaneously.
3. Ensure that the same G signal is not written to by an RTM statement and
read from by the NC simultaneously.