Omron S8AS User Manual page 119

Smart power supply
Table of Contents

Advertisement

Variable Area Operations
Number of Elements/Data
Mismatch
If the Write Start Address is outside of the variable area, the write operation
will not be performed, but the processing will end in "normal completion." The
same thing will happen if the Write End Address is outside of the variable
area. (See the following examples.)
• In this case, the number of elements (2) is within the specified range, but
the Write Start Address setting is incorrect.
Write Start Address →
Write End Address →
• In this case, the Write Start Address setting is correct, but the number of
elements (3) exceeds the specified range.
Write Start Address →
Write End Address →
Note The system checks whether the number of elements is within the
specified range when it performs the number of elements/data mis-
match check. (See the following examples.)
A number of elements/data mismatch error will occur in the following situa-
tions.
The data will not be written when this error occurs.
• In this case, the Write Start Address setting is correct and the amount of
write data (2) is within the specified range, but the number of elements (4)
exceeds the specified range.
Write Start Address →
Write End Address →
• In this case, the number of elements (2) and the amount of write data (1)
are both within the specified range, but the two values do not match.
Write Start Address →
Write End Address →
When the number of elements is 2 and the amount of write data is 2, but sec-
ond value (amount of write data) is outside of the setting range, the data will
be written from the Start Write Address and a parameter error will occur when
the system attempts to write the parameter that is outside of the setting range.
Address
Variable area
* * * *
* * * *
* * * *
* * * *
Address
Variable area
* * * *
* * * *
* * * *
* * * *
Address
Variable area
* * * *
* * * *
* * * *
* * * *
* * * *
* * * *
* * * *
* * * *
* * * *
* * * *
Address
Variable area
* * * *
* * * *
* * * *
* * * *
* * * *
* * * *
* * * *
* * * *
Section 6-3
← Last address
← Last address
← Write data
← Write data
← Last address
← Write data
← Last address
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents