7.3 Operation
7.3.2 How to Determine Slave CPU Synchronous State
7-15
Slave CPU Synchronous Function
7.3.2 How to Determine Slave CPU Synchronous State
The way to determine the slave CPU synchronous state from an application program is as follows:
( 1 ) How to Check with a Master Side Application
Use bit 7 “SYNC” of the second word “Slave Status” (IW + 1) of an input register assigned to MP2300S.
If SYNC = ON, it is in a slave CPU synchronous state.
( 2 ) How to Check with a Slave Side Application
Use bit7 “SYNC” of the second word “Slave Status” (IW + 1) of an input register assigned to a local station.
If SYNC = ON, it is in a slave CPU synchronous state.
bit7 Bit6 bit5 bit4 bit3 bit2 bit1 bit0
SYNC SYNCRDY SBUSY 0 CMDRDY WARNG 0
Data 1
High
Low
IW+0
IW+1
IW+2
7 6 5 4 3 2 1 0
MP2000 (master)
[Input register]
Scan counter
used by system
Slave status
used by system
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
SYNC SYNCRDY SBUSY 0 CMDRDY WARNG 0
ᧂ↪
IW+0
IW+1
IW+2
7 6 5 4 3 2 1 0
MP2300S (slave)
[Input register]
Scan counter
unused
Slave status
unused
Data 1
High
Low