YASKAWA MP210 Series User Manual page 337

Machine controller
Table of Contents

Advertisement

(b) For Slave Devices
1. Check the S register "I/O error status."
In the I/O error status of the Built-in SVB Module of the MP2100M, check whether the bit for the local
station number is ON. The ON status indicates that an input error has occurred.
When an input error has occurred, the input data is cleared to 0.
2. Check the "Slave status".
Check that the second word, "Slave status," from the first address of the input registers allocated to the
MP2100M has assumed the status indicated below.
bit 1 WARNG = OFF
bit 2 CMDRDY = ON
bit 7 SYNC = ON (only when the slave CPU synchronization mode is enabled)
If the status is other than that indicated above, the cause could be a command issued from the master
device or an operation error at the slave device.
3. Check the scan counter.
Check that the first word, "Scan counter" of the input registers allocated to the MP2100M is refreshed
correctly by the application in accordance with the fixed rules.
If the data has not been refreshed correctly, it is judged that there is a problem with operation at the mas-
ter device.
* In order for an error to be output to "I/O error status," at least one normal input has to have taken place. For exam-
ple, if the power is turned ON while not connected to the master device, the local station bit of the I/O error status
will remain in the OFF status.
An example of an application for checking for input errors is shown on the next page.
[Conditions] The local station (MP2100M) is allocated to station #1.
INPUT: IW0010
OUTPUT: OW0020 SIZE : 15 words
Register
DW00001
DW00002
DW00003
DW00004
DW00005
DW00007
DW00008
DW00009
DW000010
to
DW000022
*
SIZE : 15 words
Meaning
Copy of slave status
Condition check result
Copy of current scan counter value
Previous scan counter value
Data for scan counter check
Input error counter value
Slave status error counter value
Scan counter error counter value
Copy of input data (data 1)
to
Copy of input data (data 13)
F.3 Operation
Remarks
The value is incremented by 1 upon detec-
tion of an input error.
The value is incremented by 1 upon detec-
tion of a slave status error.
The value is incremented by 1 upon detec-
tion of a scan counter error.
F
F-23

Advertisement

Table of Contents
loading

Table of Contents