Message Section Items
- Last UpdatedAug 29, 2024
- 1 minute read
|
MGn:e[.f] [/b] |
n represents the file number (NOT optional) and must be 3 - 999 decimal. |
|
e specifies the element number within the SFC Status file. It must be 0 - 999 decimal. |
|
|
.f identifies one of the valid MSG fields. The valid fields for MSG files are listed in the table. |
|
|
b is optional and is normally not used. Specifying the .f fields can access all of the fields of a .MG. However, it is possible to use /b to single out a bit in the word fields. If specified, the bit number must be 0 - 15 decimal. |
Important: Access to MSG files may degrade the Communication Driver's performance, due to the extreme size of the MSG file element (56 words each). If accessing only a few MSG elements at one time, performance will not be affected greatly. However, if accessing a few fields of many MSG file elements at one time, it may be faster to move the needed fields to an intermediate file (Binary or Integer) and let the Communication Driver access the intermediate files.
Examples:
MG9:0.NR
MG255:1.DLEN