Output Description

DONE   BOOL \   (done)

Output DONE indicates the state of job processing. After completing or aborting the processing (due to an error), DONE is set to TRUE for one cycle. For that reason, the output always has to be considered together with output ERR. If ERR is TRUE, an error occurred. In this case, the error number can be read at output ERNO.

ERR   BOOL \   (error)

Output ERR indicates whether an error occurred during Program processing. This output always has to be considered together with output DONE. If DONE is TRUE and ERR is TRUE, an error occurred. In this case, the error number can be read at output ERNO.

ERNO

Data_Type Default_Value Range Unit
WORD - 0 … 65535 -

At output ERNO the identifier of an occurred error is provided. It is only valid when DONE and ERR is TRUE. (see, error messages): Error Messages of the Function Block Libraries

CPU_TYPE   BYTE \   (CPUtype)

CPU_TYPE outputs the type of the CPU.

The following values are possible:

Value CPU type


20   PM571
21   PM581
22   PM591
23   PM582
25   CM574
26   PM590
27   not used
28   not used
29   PM583-ETH
30   not used
31   PM554
32   PM564
33   PM554-ETH
34   PM564-ETH
35   SM560
36   PM572
37   PM573-ETH
38   PM592-ETH
39   not used
40   PM590-ETH
41   PM591-ETH
42   PM556-ETH
44   PM590-ARC
45   PM591-2ETH
46   PM595-4ETH-F (internal Communication Module via Communication Module bus)
47   PM595-4ETH-M (internal Communication Module via Communication Module bus)
48   PM595-4ETH-F (internal Communication Module via PCIe)
49   PM595-4ETH-M (internal Communication Module via PCIe)
50   PM585-ETH
51   PM590-ARC-ETH