Discussion:
Decompile error
(too old to reply)
paul
2007-11-15 16:03:44 UTC
Permalink
When attempting to decompile a particular ladder (PMC-SB7) I am receiving an
error message from the Fanuc Ladder III S/W that states, "J:E-3100: There is
an undefined instruction (SUB 0)" The decompile failed.

Obviously (?), there is no SUB 0 instruction in this model PMC (or any other
that I am aware of).

Unfortunately, I don't have access to the machine to view the ladder,
otherwise I could search it for some function. But I don't think it would be
possible to search for SUB 0, since it doesn't exist (theoretically, at
least).

Has anyone else experienced anything like this?

- -
Best Regards

Paul Sevin
Ovation Engineering, Inc.
http://www.ovationengineering.com
unknown
2007-11-15 23:33:42 UTC
Permalink
Post by paul
When attempting to decompile a particular ladder (PMC-SB7) I am receiving an
error message from the Fanuc Ladder III S/W that states, "J:E-3100: There is
an undefined instruction (SUB 0)" The decompile failed.
Obviously (?), there is no SUB 0 instruction in this model PMC (or any other
that I am aware of).
Unfortunately, I don't have access to the machine to view the ladder,
otherwise I could search it for some function. But I don't think it would be
possible to search for SUB 0, since it doesn't exist (theoretically, at
least).
Has anyone else experienced anything like this?
- -
Best Regards
Paul Sevin
Ovation Engineering, Inc.
http://www.ovationengineering.com
I am working on a SB7 as I type this, have never had a problem...the
file may be corrupt from the customer.

Good Luck
Daveb
John Scheldroup
2007-11-16 01:44:54 UTC
Permalink
Post by paul
When attempting to decompile a particular ladder (PMC-SB7) I am receiving an
error message from the Fanuc Ladder III S/W that states, "J:E-3100: There is
an undefined instruction (SUB 0)" The decompile failed.
Obviously (?), there is no SUB 0 instruction in this model PMC (or any other
that I am aware of).
Unfortunately, I don't have access to the machine to view the ladder,
otherwise I could search it for some function. But I don't think it would be
possible to search for SUB 0, since it doesn't exist (theoretically, at
least).
Has anyone else experienced anything like this?
http://www.jasontech.net/download/61863ev2.pdf

Page 1226

J:E-3100

E = 131000 - 1.e+3100

E -1.e+3100

Number n+I–1 data

n = 131000 + 0 - 1

n = 130099

"However, if an attempt is made to read (example (1) in
figure below) data from data number n = 131020 when the
number of actually stored data items is 131000 (data numbers
0 to 130999), data is not output, and the number of data items
I becomes 0."


[
NOTE

1 When the number of actually stored data items is
exceeded even though data number n is in the valid range,
data is not output and processing ends successfully by
number of data items I set to 0.

Example) When the number of target axes is 2, and the
sample data store function is enabled (parameter No.6350#2=1),
data numbers 0 to 13107 are valid. However, if an attempt is
made to read (example (1) in figure below) data from data
number n = 131020 when the number of actually stored data
items is 131000 (data numbers 0 to 130999), data is not output,
and the number of data items I becomes 0.

2 When data number n is within the number of actually stored
data items, and (n+I – 1) exceeds the number of actually
stored data items, data of the stored data items is output,
and processing ends successfully. In this case, number of
data items I is updated to the number of data items that was
output.

Example) If an attempt is made to read (example (2) in
figure below) number of data items I (120) from data number
130900 under the same conditions as in the example above,
the data of data numbers 130900 to 130999 is output, and
number of data items I becomes 100.

Also, if an attempt is made to read (example (3) in figure below)
number of data items I (120) from data number 130999 under
the same conditions as in the example above, the data of data
numbers 130990 to 130999 is output, and number of data items
becomes 10.
]
John Scheldroup
2007-11-16 03:25:56 UTC
Permalink
Post by John Scheldroup
Post by paul
When attempting to decompile a particular ladder (PMC-SB7) I am receiving an
error message from the Fanuc Ladder III S/W that states, "J:E-3100: There is
an undefined instruction (SUB 0)" The decompile failed.
Obviously (?), there is no SUB 0 instruction in this model PMC (or any other
that I am aware of).
Unfortunately, I don't have access to the machine to view the ladder,
otherwise I could search it for some function. But I don't think it would be
possible to search for SUB 0, since it doesn't exist (theoretically, at
least).
Has anyone else experienced anything like this?
http://www.jasontech.net/download/61863ev2.pdf
Page 1226
J:E-3100
E = 131000 - 1.e+3100
E -1.e+3100
Number n+I–1 data
n = 131000 + 0 - 1
n = 130099
"However, if an attempt is made to read (example (1) in
figure below) data from data number n = 131020 when the
number of actually stored data items is 131000 (data numbers
0 to 130999), data is not output, and the number of data items
I becomes 0."
n = 1.e+3100
E = actual_stored_data_items = n;
I = number_data_items = lines;

n = n-1;
loop {
counter ( I = 0; I < n; I++)
if ( I > n ) I = 0; E = -n; return error_code 08; /*out of range*/
else return true; /* range ok */
}

John

Continue reading on narkive:
Loading...