Validity: Rule, Task
Through this keyword, various diagnostic handling by RTE is enabled. The user will be able to view this additional information via the mreport command typed from the shell.
Syntax |
I32 sys_flag |
---|---|
Attributes |
Bit-accessible |
Notes |
In case of memory loss is imposed to zero (alarm: 2 Parameter Registers loss). Variable inserted by RTE 34.09.03. Prior to that version some bits were present in SYS_FLAG |
The meaning of the bits is as follows:
Bit |
Hexadecimal value |
Description |
---|---|---|
0 |
0x00000001 |
Enable public/external reports |
1 |
0x00000002 |
Enable report for a rung status scan of ladder tasks |
2 |
0x00000004 |
Enable report valid messages (crc corrected) bcc received |
3 |
0x00000008 |
Enable report bcc messages transmitted |
4 |
0X00000010 |
Enable on alarm 9900 illegal args instead of argument number A: output of the internal RTE routine code that generated the alarm |
5 |
0X00000020 |
Free |
6 |
0X00000040 |
Enable report DF1 messages received |
7 |
0X00000080 |
Enable report DF1 messages sent |
8 |
0X00000100 |
Enable report profibus messages sent, self-erasing |
9 |
0X00000200 |
Enable report profibus messages received, self-erasing |
10 |
0x00000400 |
Enables internal diagnostic message report on instruction MV_TO_CJV |
11 |
0x00000800 |
Enables dump of data detected from definition file related to PCT tables |
12 |
0x00001000 |
Enables warning in report of each message sent through serial channels |
13 |
0x00002000 |
Enables execution of benchmarks at the next switch on during which this bit is reset. The execution of the tests takes several minutes. During these tests, communications are disabled, a message appears on the display that the benchmarks are being executed, and code 13 appears on the message code with l7 and l8 turned off. The results are returned in the report |
14 |
0x00004000 |
Enables message entry at each phase change during execution of the MVA_ZC instruction in the report |
15 |
0x00008000 |
Enables entry into report of a message when alarm 990 system locked is generated |
16 |
0x00010000 |
Enable entry into report of information regarding monitor and oscilloscope creation data |
17 |
0x00020000 |
Enables input into report of information regarding data transmitted on various monitors. Use SYS_COUNT: if SYS_COUNT contains a value greater than zero, it is decremented and information is entered into report |
18 |
0x00040000 |
Enable diagnostic report on asynchronous reading of internal Axioline objects |
19 |
0x00080000 |
Enable entry into the report of information regarding the MVA_TO_N_V function |
20 |
0x00100000 |
Enable entry into the report of information regarding devicenet or EthernIP communication |
21 |
0x00200000 |
Enable entry into the report of information regarding modbus communication |
22 |
0x00400000 |
Enables input into the report of incoming messages in modbus communication. Dumping occurs only for the number of messages specified in SYS_COUNT |
23 |
0x00800000 |
Enable entry into the report of outgoing messages in modbus communication. Dumping occurs only for the number of messages specified in SYS_COUNT |
24 |
0x01000000 |
|
25 |
0x02000000 |
Enable EthIP message report output from Robox. Dumping occurs only for the number of messages specified in SYS_COUNT |
26 |
0x04000000 |
Enabling EthIP message report incoming to Robox. Dumping occurs only for the number of messages specified in SYS_COUNT |
27 |
0x08000000 |
Free |
28 |
0x10000000 |
Free |
29 |
0x20000000 |
Enables dump of task change messages in timesharing. Uses SYS_COUNT to define the number of entries to be displayed |
30 |
0x40000000 |
Enables information in report about the point where RESOURCE BUSY occurred |
31 |
0x80000000 |
Disables EthIP messages data dump (enabled by SYS_FLAG.25 and/or SYS_FLAG.26) leaving only received/sent messages reports |
Example
; I enable the first four reports: ; public/external reports ; report for a rung status scan of ladder tasks ; report valid messages (crc corrected) bcc received ; report bcc messages transmitted sys_flag = 0XF |
Example
sys_flag.25 = 1 sys_flag.26 = 1 |