×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 25908646, Entry date: 08/01/2007
(0)
Rate

Simulation: Cycle950 alarm 61705

  • Entry
  • Associated product(s)
QUESTION:
Cycle950 in the following version is used in a program:
CYCLE950("reika1",,,"kone_1",321323,10,0.2,0.5,0.4,0.4,0.3,0.4,1,0,1,"aihio_1",,,,,90,,90,1)

with the sub-programs
REIKA1.SPF
KONE1.MPF
AIHIO_1.SPF

In the automatic mode, the program runs without any problems and errors.
However, in the simulation mode, an error occurs:

61705 "internal cycle error for read file"

How can this error be resolved?

ANSWER:
Error 61705 is generated by the line _FEHL5:STOPRE in Cycle950.

The alarm occurs, because in the line
IF NOT((_II==0) OR (_II==21) OR (_II==23)) GOTOF _FEHL5
parameter _II does not fulfill the required conditions.

Parameter _II is the error variable for the command READ - in the specific case _II is, in the automatic mode equal to '0' (no error) and the cycle runs without any error; in the simulation mode _II=3 (file not found) and then alarm 61705 is output.

The READ command in Cycle950 is necessary to find program _NP5 (in the specific case, sub-program AIHIO_1.SPF). This is the reason that Cycle950 performs an interrogation:

...

IF ISFILE( <<"_N_"<<_NP5<<"_SPF")
READ(_II,_PFAD<<"_N_"<<_NP5<<"_SPF",1,2,_FROMFILE)
ELSE
READ(_II,_PFAD<<"_N_"<<_NP5<<"_MPF",1,2,_FROMFILE)
ENDIF
...

In the automatic mode, this is realized without any problems - however, the MMC software simulation does not know the variable ISFILE! This is the reason that the first part of the interrogation is not executed here (search for *.SPF) and Cycle950 exclusively searches for a file AIHIO_1.MPF! However, a file with this extension does not exist, which means that the error variable of the READ command displays the value '3'.

Summary:
The simulation routine of the MMC software versions does not know the variable ISFILE. This is the reason that only the second part of the interrogation described above is realized. This means that the sub-program for Cycle950 must have the extension *.MPF.
If, in a specific case, program AIHIO_1.SPF is re-named to be AIHIO_1.MPF, then both the automatic as well as the simulation routine of the starting program run without any problems.#Ende
#

© Siemens AG, 1998, 2000

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.