Adding Messages to a Message Table
- Updated2025-10-31
- 2 minute(s) read
Add messages to a message table to display messages in PAcontroller and in SystemLink. You can add a message table to any module in your battery application.
- In the module that you want to add one or more messages, create or open a Message folder.
-
In the Message folder, create or open a
Messages group.
To create a Messages group, complete the following steps:
- Click New....
- Click .
- In the search box, enter Messages.
- Select Extended value tables (Messages).
- Name the first subtable in the Messages group.
-
Add messages to the Messages group.
- In the navigation area, double click the message table.
-
Assign a unique Messagenumber for each message
in the table.
Tip Although the message numbers can be in any order, the message system functions optimally when the message number is the same as the line number.
-
In the applicable Messagetext
[<language>] column, enter
the text of the message in English, German, or French.
Copy and paste the message text into the columns for the other two languages.
-
Enter the Messagetype.
Table 32. Message Type Options Message Type Description Message_Info Writes a warning message to the three-part message window and the vsp log file. Message_Info_2 Writes an information message to the vsp log file. Message_Warning Writes a warning message to the three-part message window and the vsp log file. Message_ErrorSoft Writes an error message to the three-part message window and the vsp log file. A soft stop occurs in SeqCtrl. Message_ErrorHard Writes an error message to the three-part message window and the vsp log file. A hard stop occurs in SeqCtrl. Message_ErrorEmergency Writes an error message to the three-part message window and the vsp log file. An emergency stop occurs in SeqCtrl. -
In the columns for parameters 1–4, enter a name. If you do not require
a name, enter NullPointer.
Names act as placeholders in the message. The character limit is 200 characters per parameter.
Table 33. Name Outputs Name Output Real <Name> = <Value Unit> Integer <Name> = <Value Unit> String <Value> - Optional:
If you want the ability to deactivate or reactivate messages in the
Message config tab of the userbox, enter
1 in column 10.
If you leave the column 10 cell blank, you cannot deactivate the message. The message always generates as if it is pending.
- Optional: If you want the ability to deactivate or reactivate messages in the standard configuration, enter -1 in the Deactivatable column.
-
Create or open a Variables group in the
Message folder.
To create a Variables group, refer to Configuring the Variables Group in the PAtools User Manual.
-
Add a message ID variable to the Variables group.
- In the Name column, enter the name in the following form: <name>.ID.
- In the Initialization of Value column, enter -1.
- In the Data type column, enter Integer.
- Leave the default values for the other columns.