
B-62924EN/04 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C
- 45 -
1.3.2 Updating DI/DO Data for the Slave Function
When creating a ladder program, fully consider the data simultaneity
described below.
Data simultaneity
With the FANUC master function and slave function, when DI/DO
signals are handled with a ladder program, data simultaneity is
guaranteed in each of long data (4-byte data) units and word data (2-
byte data) units under the following constraints.
NOTE
If the following constraints are not satisfied,
simultaneity of each data length cannot be
guaranteed.
Data simultaneity for long data (4-byte data)
<1> Use the following commands in the PMC ladder program in 4-
byte units:
DECB, CODEB, DCNVB, COMPB, DSCHB, XMOVB, ADDB,
SUBB, MULB, DIVB, NUMEB, MOVN, EOR, AND, OR, and
NOT
<2> When assigning DI/DO data to R addresses in the PMC area,
follow the rules below depending on the PMC type:
- For the PMC-SB6
Each R address area must start at a 4-byte boundary.
(Example:R0000, R0004, R0008, R0012, . . .)
- For the PMC-SB5, PMC-SA1, or PMC-SA5
Each R address area must start at 2 bytes ahead of a 4-byte
boundary.
(Example: R0002, R0006, R0010, R0014, . . .)
CAUTION
To guarantee long data simultaneity, Edition 08 or
later of series 6557 of CONTROL SOFTWARE must
be used.
Data simultaneity for word data (2-byte data)
<1> Use the following commands in the PMC ladder program in 2-
byte units:
DECB, CODEB, DCNVB, COMPB, DSCHB, XMOVB, ADDB,
SUBB, MULB, DIVB, NUMEB, MOVW, MOVN, EOR, AND,
OR, and NOT
<2> When assigning DI/DO data to R addresses in the PMC area,
each R address area must start at a 2-byte boundary.
Data simultaneity for byte data (1-byte data)
There is no constraint.
Simultaneity is always guaranteed within 1-byte data.