Master Simulation
To create settings from LDF communication definitions, see Importing Schedules from Catalog. For editing individual frames, see Editing Initial Values by Signal.
Master Simulation supports operations such as transmitting headers to slave nodes. Select Master Sim. under LIN Simulation Mode in Simulation Window to use Master Simulation.
Basic Operation of Master Simulation
The following describes periodically transmitting headers and receiving slave responses with Master Simulation. This example was verified with the board connected to Ch1-1, using ID 0x32 (decimal 50), a data length of 8 bytes, Classic checksum, and a bitrate of 19,841 bps. The ID field is hexadecimal, so enter 32.
Before starting, configure communication conditions for the connected system in Device Window, and identify the master on the bus.
- Select Master Sim. in Simulation Window Open Simulation Window from the menu or toolbar, then select Master Sim. under Simulation Mode. Master Simulation is now available.
Figure 1: Master settings for receiving the board's response.
-
Display schedule settings Click the Schedule tab. The schedule settings appear.
-
Enable the schedule Select a schedule in the schedule list on the left of the schedule settings, and turn ON the leftmost checkbox in its row. The selected schedule is enabled, and its registered frames appear in the frame list on the right of the schedule settings.
In this example, name the schedule Fan_Response and turn Repeat ON for repeated transmission.
-
Open the LIN Frame Setting dialog Click the
button in Simulation Window.
The LIN Frame Setting dialog appears. -
Configure frame information Configure frame information under Frame settings in the LIN Frame Setting dialog.
Figure 2: Transmitting the header for ID 0x32 at 50 ms intervals.
The minimum required settings and example values are shown below.
| Item | Description | Example |
|---|---|---|
| Delay (ms) | Enter the transmission interval from the previous frame. | 50 |
| Direction | Select Rx to transmit only the header and receive the board's response. Tx transmits the header and response; Wakeup transmits a wakeup signal; Sleep transmits a sleep command. | Rx |
| ID (HEX) | Enter the LIN ID in hexadecimal when Direction is Tx or Rx. | 32 |
| Error | Select None when no error is to be added. | None |
In this example, Signals is Raw frame, and no transmission signal definition is selected. Pattern is Disabled / No file / 0 samples. When Direction is Rx, do not configure transmission data D1–D8.
- Register frame information Click OK in the LIN Frame Setting dialog. The configured frame information is registered and appears in the frame list in Simulation Window.
In the Frame List in Figure 1, turn the first checkbox ON and Once OFF, then check Delay 50, Dir. Rx, and ID 32. With Once OFF, the header is transmitted each time the schedule with Repeat ON repeats.
Turning OFF the leftmost checkbox in the Simulation Window frame list disables the registered frame, so it is not transmitted. Checkbox states can be changed even during monitoring.
- Start monitoring
Click the
button on the toolbar (or select Command → Start from the menu bar, or press F5).
Monitoring starts and the registered header is transmitted periodically. Check received contents in Monitor Window.
Master Simulation Screen Description
Select Master Sim. under LIN Simulation Mode in Figure 1, then configure the Schedule, Interrupt, and Bus Status tabs.
Schedule Tab
In Figure 1, Schedule List is on the left and Frame List on the right. Buttons near each list support editing, copying, adding, deleting, and other operations.
| Item | Description | Additional information | |
|---|---|---|---|
| Schedule settings area | Schedule List | Displays configured schedule information. | See Schedule List. |
button | Opens LIN Schedule Setting dialog and edits schedule selected in Schedule List. | Double-clicking a schedule information row in Schedule List (excluding the checkbox cell) also opens the LIN Schedule Setting dialog. | |
button | Opens the Copy Schedule Table dialog to copy frame information registered in the schedule selected in Schedule List to another schedule (schedule information itself is not copied). | All frame information in destination schedule is deleted. | |
button | Opens the Copy Schedule Table dialog to delete the schedule information selected in Schedule List (all frame information is also deleted). | ||
button | Selecting Load All Pattern loads the pattern files configured for frames with Ptn. ON in Frame List, across all schedules. Import LIN Schedules from Catalog... selects schedules from LDFs imported into Catalog and adds them to empty slots. For the procedure and effects on Device settings, see Linking Signal Definitions and Transmission Settings. | ||
| Frame settings area | Frame List | Displays frame information registered in schedule selected in Schedule List. | See Frame List. |
button | Moves selected frame in Frame List down by one position. | You can also move a frame by selecting its row in Frame List (excluding the checkbox cell) and dragging and dropping it. | |
button | Moves selected frame in Frame List up by one position. | ||
button | Opens Frame Setting dialog and registers a new frame. | ||
button | Opens Frame Setting dialog and edits selected frame in Frame List. | Double-clicking a registered frame information row in Frame List (excluding the checkbox cell) also opens the Frame Setting dialog. | |
button | Opens Frame Setting dialog and registers a new frame based on selected frame in Frame List. | ||
button | Shows confirmation dialog below. Click Yes to delete selected frame in Frame List.![]() | ||
Schedule List
Displays configured schedule information. You can also enable / disable schedules and set whether transmission repeats.
Double-click a schedule information row (excluding its checkbox cell) to open LIN Schedule Setting and edit the schedule, just as with the
button.
| Item | Description |
|---|---|
| Valid (area ①) | Sets schedule enable/disable. ON = enabled, OFF = disabled. |
| Name | Displays schedule name. |
| Repeat | Sets whether schedule transmission repeats. ON: after transmitting the last frame in frame list, transmission returns to first frame and continues sequentially. OFF: transmission stops after transmitting the last frame. |
| Event | Displays trigger condition for schedule switch event. |
| To | Displays transition destination when schedule switch event occurs. |
LIN Schedule Setting Dialog
| Item | Description |
|---|---|
| Name | Sets schedule name. Up to 14 characters. |
| Event Setting | Sets behavior when schedule switch event occurs. Options are:Change to this schedule: when schedule switch event occurs, transitions to this schedule.Change to ...: if this schedule is currently running and schedule switch event occurs, transitions to schedule specified in pull-down menu. |
| Event Trigger | Sets trigger condition for schedule switch event. See Event Trigger. |
Event Trigger
Sets the conditions for a schedule switching event.
| Item | Description |
|---|---|
| None | No schedule switching event occurs. |
| Time | Event occurs after configured time has elapsed since monitoring start or last schedule transition. Available ranges by unit: ms: 50-86400000 (multiples of 50 only)sec: 1-86400min: 1-1440hour: 1-24 |
| Ext Trigger | Port input causes a schedule switching event. This feature is under development and cannot be used. |
| Log Trigger | Event occurs when configured log is detected. |
| Key Trigger | The configured key input causes a schedule switching event. Available keys are: 【Main key】 A, B, ..., Z, 0, 1, ..., 9, F1, F2, ..., F12, SPACE 【Modifier key】 Alt, Ctrl, Shift |
Copy Schedule Table Dialog
Copies all frame information registered in the selected schedule to another schedule (schedule names and event settings are not copied).
| Item | Description |
|---|---|
| Copy From | Select source schedule. |
| Copy To | Select destination schedule. |
| OK | Executes copy with current settings. |
| Cancel | Closes dialog (copy is not executed). |
Frame List
Displays frame information registered in the schedule selected in Schedule List. You can also enable / disable frame transmission, configure repetition, and set other options.
| Item | Description | Additional information |
|---|---|---|
| Valid (area ①) | Sets whether a frame can be transmitted. If the checkbox is OFF, the frame is not transmitted. | |
| Once | Sets whether frame transmission repeats. If the checkbox is ON, the frame is transmitted only once during monitoring (it is not transmitted again until monitoring is stopped). | |
| Delay | Displays the transmission interval from the previous frame. | |
| Dir. | Displays the frame type. | |
| ID | Displays the frame's LIN ID in hexadecimal. | |
| D1~D8 | Displays each data byte in hexadecimal when the frame type is Tx. | |
| Error | Displays frame error type. | |
| Ptn. | Sets whether to use a pattern file for the frame's data bytes. Checkbox states mean: 【ON】 Uses data configured in Pattern File in the Frame Setting dialog. 【OFF】 Uses data configured in Frame settings in the Frame Setting dialog. | If the pattern file to load is not configured, the check box is disabled. |
| Rep. | Sets whether to apply the pattern data list repeatedly. The meanings of the ON/OFF check box state are as follows.ON: When a pattern change event occurs after reaching the bottom of the pattern data list, processing returns to the top.OFF: Once the bottom of the pattern data list is reached, pattern change events remain disabled until monitoring stops. | If the pattern file to load is not configured, the check box is disabled. |
| Trigger | Displays the occurrence condition of the pattern change event. | |
| Pattern Log File | Displays the file name of the pattern file to load. |
LIN Frame Setting Dialog
LIN Frame Setting in Figure 2 displays Frame settings, Signals, and a Pattern summary. Configure pattern details in LIN Pattern File, opened with the Pattern File button.
Use Add New Frame to register a new frame, Edit Frame to modify the selected frame, or Copy Frame to register a new frame based on the selected frame. All use LIN Frame Setting for editing.
| Item | Description | Additional information | |
|---|---|---|---|
| Frame settings | Delay (ms) | Sets transmission interval from previous frame in milliseconds. Range: 1-3600000. | |
| Direction | Sets frame type. Options:Tx: transmit header and response.Rx: transmit header only.Wakeup: transmit wakeup signal.Sleep: transmit sleep command. | ||
| ID (HEX) | Sets the frame's LIN ID in hexadecimal. Available range: 00H–3FH. | Configured when Direction is Tx or Rx. | |
| D1 (HEX)〜D8 (HEX) | Sets each byte of the frame's response data in hexadecimal. | Configured when Direction is Tx. | |
| Error | Sets whether to add an error and the error type. Available options depend on Direction: 【Tx】None, SyncBrk. Long, SyncBrk. Short, SyncField Err., Parity Err., Checksum, ShortMsg. (1Byte), ShortMsg. (2Byte), ..., ShortMsg. (8Byte), Framing(Data1), Framing(Data2), ..., Framing(Data8), Framing(CS) 【Rx】None, SyncBrk. Long, SyncBrk. Short, SyncField Err., Parity Err. | Configured when Direction is Tx or Rx. | |
| Signals | From Catalog | Selects a LIN frame definition from Signal Catalog when Direction is Tx or Rx. Unavailable for Wakeup / Sleep. | Direction is set to Tx or Rx according to the adopted definition. |
| Signal/Initial value/Format/Unit | Displays signals and units in the definition. Select an available Format (Physical / Logical / Raw signed / Raw unsigned), then edit Initial value to update the corresponding HEX data. | Tx signal values can be edited. Rx values reference the definition's initial values. See Editing Initial Values by Signal for details. | |
| Pattern File | Opens the LIN Pattern File dialog. The parent screen displays a summary of the pattern enabled state, file name, and data count. | OK in the child screen applies changes to the parent screen; OK in the parent finalizes them. Figure 2 shows Disabled / No file / 0 samples. | |
| OK / Cancel | OK finalizes frame information. Cancel discards changes being edited and closes the dialog. | ||
LIN Pattern File Dialog
Open this dialog from Pattern File in LIN Frame Setting. Figure 3 shows the screen before loading a file. When using a pattern file, check the loaded data and change trigger.
Figure 3: Child dialog for configuring a pattern file.
| Item | Description | Additional information |
|---|---|---|
| Source File | Displays the full path of the pattern file selected for loading using the file dialog opened with the ... button. | You can also set pattern file by direct full-path input. |
| ... button | Opens file dialog and selects pattern file to load. | The selected pattern file is not loaded until Load is clicked. |
| ID Filter | When ON, extracts data matching the specified ID. For PTN files, Wakeup / Sleep are loaded regardless of the ID condition. For CSV files, the ID condition is applied to the corresponding records. | |
| Default Data | Sets hexadecimal default data used when the data length in the ID definition on the Device Setting ID Definition tab differs from the pattern data length in the loaded pattern file. | |
| Missmatch DL | Sets behavior when data length in loaded pattern data does not match ID definition in ID Definition tab of Device Setting. Options:Use Default: if ID-definition length is larger than pattern data length, default data fills missing bytes.Ignore: that pattern data is treated as invalid and not shown in pattern data list. | Example for Use Default:ID definition length: 4 bytes Pattern data: 08,4C (2 bytes) Default data: 11,22,33,44,55,66,77,88 In this case, bytes 3 and 4 use default data, so pattern data becomes 08,4C,33,44. |
| Load button | Loads pattern file shown in Source File and displays its pattern data in pattern data list. | |
| Clear button | Clears all pattern data shown in pattern data list. | |
| Save button | Opens file dialog and saves pattern data shown in pattern data list as a pattern file with any file name. | |
| Pattern data list | Displays pattern data contained in loaded pattern file. | |
| Pattern Change Trigger | Sets trigger condition for pattern change events. | See Pattern Change Trigger. |
| OK | Applies pattern settings to the LIN Frame Setting draft and closes the child dialog. | |
| Cancel | Discards changes in the child dialog and closes it. |
Pattern Change Trigger
Sets the conditions for a pattern change event.
| Item | Description |
|---|---|
| Timer | Event occurs each time configured interval elapses. |
| Ext Trigger | An event occurs by external port input. This function is currently under development and cannot be used. |
| Log Trigger | Event occurs when configured log is detected. |
| Key Trigger | Event occurs on configured key input. |
Timer
| Screen item | Description | Notes |
|---|---|---|
| Time value (area ①) | Together with the time unit, sets the interval for pattern change events. Available ranges depend on the time unit: 【ms (milliseconds)】 50–3600000 (multiples of 50 only) 【sec (seconds)】 1–3600 【min (minutes)】 1–60 | Spin buttons increment or decrement by 50 milliseconds only when the time unit is ms. |
| Time unit (area ②) | Together with the time value, sets the interval for pattern change events. Options: ms, sec, min |
Log Trigger
| Screen item | Description |
|---|---|
| Event condition (area ①) | Displays log information configured as the condition for a pattern change event. Double-click this area to open Trigger Setting and configure the log information for the event condition. |
button | Opens Trigger Setting to configure log information for the event condition. |
For details on Trigger Setting, see Trigger Setting Dialog Screen Description.
Key Trigger
| Screen item | Description | Notes |
|---|---|---|
| Main key (area ①) | Sets the key used as the event condition. Options: None, A, B, ..., Z, 0, 1, ..., 9, F1, F2, ..., F12, SPACE | If Main key is None, key input does not cause an event. |
| Modifier key (area ②) | Sets the modifier to combine with the main key for the event condition. Options: None, Alt, Ctrl, Shift Select None if no modifier is used. | A modifier alone cannot trigger an event. |
Interrupt Tab
| UI Item | Description | |
|---|---|---|
| Schedule Info | Current Schedule | Displays currently running schedule. If a schedule is selected from pull-down options, after one full cycle of frames in current schedule is transmitted, transition occurs to selected schedule. |
| Status Command Interrupt | button | Transmits wakeup signal when clicked. If system is in sleep mode, wakeup signal cannot be transmitted by this button. |
button | Transmits sleep command and enters sleep mode when clicked. If Not Sleep by Sleep Command(3C) checkbox in Bus Status tab is ON, sleep mode transition does not occur even when sleep command is transmitted. | |
| Interrupt List | Interrupt Frame List (area ①) | Displays configured interrupt-frame information. See Interrupt List. |
button | Transmits interrupt frame selected in Interrupt List. | |
button | Opens Interrupt Setting dialog and registers new interrupt frame. | |
button | Opens the Interrupt Setting dialog to edit the interrupt frame selected in Interrupt List. Double-clicking a registered interrupt frame row in Interrupt List (excluding the checkbox cell) also opens the Interrupt Setting dialog. | |
button | Opens Interrupt Setting dialog and registers a new interrupt frame based on selected one in Interrupt List. | |
button | Shows confirmation dialog below.![]() Click Yes to delete selected frame in Interrupt List. | |
Interrupt List
Displays registered interrupt frame information. You can also enable / disable frame transmission.
| Item | Description |
|---|---|
| Valid (area ①) | Sets whether interrupt frame can be transmitted. If checkbox is OFF, frame is not transmitted. |
| Trigger | Displays trigger condition of interrupt-frame transmission event. |
| Dir. | Displays interrupt-frame type. |
| ID | Displays the interrupt frame's LIN ID in hexadecimal. |
| D1~D8 | Displays each data byte in hexadecimal when the interrupt frame type is Tx. |
| Error | Displays frame error type. |
Interrupt Setting Dialog
| Item | Description | Additional information |
|---|---|---|
| Dir | Sets frame type. Options:Tx: transmit header and response.Rx: transmit header only.Wakeup: transmit wakeup signal.Sleep: transmit sleep command. | |
| ID | Sets the frame's LIN ID in hexadecimal. Available range: 00H–3FH. | If out-of-range value is set, button becomes disabled.If Dir. is Wakeup or Sleep, this field is hidden. |
| Data | Sets each byte of the frame's response data in hexadecimal. | Hidden when Dir. is not Tx. |
| Error | Sets whether to add an error and the error type. Options depend on Dir: 【Tx】None, SyncBrk. Long, SyncBrk. Short, SyncField Err., Parity Err., Checksum, ShortMsg. (1Byte), ShortMsg. (2Byte), ..., ShortMsg. (8Byte), Framing(Data1), Framing(Data2), ..., Framing(Data8), Framing(CS) 【Rx】None, SyncBrk. Long, SyncBrk. Short, SyncField Err., Parity Err. | Hidden when Dir. is Wakeup or Sleep. |
| Event Trigger | Sets trigger condition for interrupt-frame transmission event. | See Event Trigger. |
button | Saves configured interrupt-frame information and closes dialog. | |
button | Discards configured interrupt-frame information and closes dialog. |
The dialog title bar changes according to the operation used to open it.
| Operation | Title |
|---|---|
Click the button | ![]() |
Click the button | ![]() |
Click the button | ![]() |
Event Trigger
Sets the conditions for an interrupt frame transmission event.
| Item | Description |
|---|---|
| None | No event occurs. |
| Ext Trigger | An event occurs by external port input. This function is currently under development and cannot be used. |
| Log Trigger | Event occurs when configured log is detected. |
| Key Trigger | Event occurs on configured key input. |
Regardless of Event Trigger settings, you can transmit an interrupt frame by clicking the
button.
Log Trigger
| Screen item | Description |
|---|---|
| Event condition (area ①) | Displays log information configured as the condition for an interrupt frame transmission event. Double-click this area to open Trigger Setting and configure log information for the event condition. |
button | Opens Trigger Setting to configure log information for the event condition. |
For details on Trigger Setting, see Trigger Setting Dialog Screen Description.
Key Trigger
| Screen item | Description | Notes |
|---|---|---|
| Main key (area ①) | Sets the key used as the event condition. Options: None, A, B, ..., Z, 0, 1, ..., 9, F1, F2, ..., F12, SPACE | If Main key is None, key input does not cause an event. |
| Modifier key (area ②) | Sets the modifier to combine with the main key for the event condition. Options: None, Alt, Ctrl, Shift Select None if no modifier is used. | A modifier alone cannot trigger an event. |
Bus Status Tab
| UI Item | Description | |
|---|---|---|
| Not Sleep by Sleep Command(3C) | Sets whether transition to sleep mode occurs when sleep command is transmitted/received.ON: does not transition to sleep mode even if sleep command is transmitted/received.OFF: transitions to sleep mode when sleep command is transmitted/received. | |
| Status Command Interrupt | button | Returns from sleep mode when clicked. Wakeup signal is not transmitted. |
button | Transitions to sleep mode when clicked. Sleep command is not transmitted. | |
button
button
button
button
button
button
button
button
button
button
button
button
button
button
button
button becomes disabled.
button


button
button
button