7.3 Operation
7.3.5 How to Determine Input Error
7-21
7
Slave CPU Synchronous Function
[ b ] Slave Side
Note: For an error to be reported to an I/O Error Status, at least one normal input must be executed. For exam-
ple, when the power is turned ON while unconnected to a master, the local bit of the I/O error status
remains OFF.
An example of an application which checks input error is shown on the next page.
[Conditions] Local station (MP2300S) is assigned to st#1.
INPUT: IW0800, SIZE: 15W
OUTPUT: OW0810, SIZE: 15W
Check S register “I/O Error Status.”
Check whether the bit of a local station is turned ON in the I/O error status of an MP2300S with
built-in SVB. The bit ON indicates that an input error has occurred.
When an input error occurs, the entered data is cleared to zero. (Note)
↓
Check “Slave Status.”
Check that the second word “Slave Status” of an input register assigned to the MP2300S is in the
following state:
bit1 WARNG = OFF
bit2 CMDRDY = ON
bit7 SYNC = ON (only when slave synchronous mode is enabled)
Otherwise, a command error issued by a master or a slave operation error may be considered.
↓
Check the scan counter.
Check that the first word “Scan Counter” of an input register assigned to the MP2300S is updated
based on the rules decided by an application.
If not updated normally, an operation error of the master may be considered.
Register
Meaning
Remarks
DW00001
Copy of a slave status
DW00002
Inspection result of conditions
DW00003
Copy of current value of a scan counter
DW00004
Previous value of a scan counter
DW00005
Data for checking a scan counter
DW00007
Input error counter value
Increased by one when an input error is
detected.
DW00008
Error counter value of slave status
Increased by one when an error of the slave
status is detected.
DW00009
Error counter value of scan counter
Increased by one when an error of the scan
counter is detected.
DW000010
Copy of input data (data 1)
•
•
•
•
•
•
DW000022
Copy of input data (data 13)
Summary of Contents for JEPMC-MP2300S-E
Page 14: ...MEMO ...
Page 24: ...MEMO ...
Page 114: ...MEMO ...
Page 132: ...MEMO ...
Page 154: ...5 2 User Programs 5 2 2 Motion Programs 5 22 2 Example using a ladder program ...
Page 156: ...5 2 User Programs 5 2 2 Motion Programs 5 24 2 Example using a ladder program ...
Page 190: ...MEMO ...
Page 280: ...MEMO ...
Page 300: ...7 3 Operation 7 3 5 How to Determine Input Error 7 20 Continued from the previous page ...
Page 310: ...MEMO ...