Skip to main content

Master Simulation

Master Simulation allows operations such as transmitting headers to slave nodes.
Select Master Sim. in LIN Simulation Mode of Simulation Window to use this function.

Basic Operation of Master Simulation

The following describes the setup flow when using schedule transmission in Master Simulation.

  1. Select Master Sim. in Simulation Window
    Open Simulation Window from menu/toolbar and select Master Sim. in Simulation Mode.
    Master Simulation is now available.
Master Sim.
  1. Open schedule settings
    Click Schedule tab.
Master Sim.
  1. Enable schedule
    In the schedule list on the left, select a schedule and turn ON the leftmost checkbox on that row.
    The selected schedule becomes active, and frames registered in that schedule are shown in the frame list on the right.
Master Sim.
  1. Open LIN Frame Setting dialog
    Click Add New Frame in Simulation Window.
    LIN Frame Setting dialog appears.
Master Sim.
  1. Configure frame information
    Set frame information in Frame Setting of LIN Frame Setting dialog.
Frame Setting

Minimum required items and examples:

ItemDescriptionExample
DelayEnter transmission interval from previous frame.250
Dir.Select frame type.Tx
IDIf Dir. is Tx or Rx, enter LIN ID.38
DataIf Dir. is Tx, enter response data.F7 E6 D5 C4 B3 A2 91 80
  1. Register frame information
    Click OK in LIN Frame Setting dialog.
    Configured frame is registered and shown in frame list of Simulation Window.
Response Setting Slave Sim.

If the leftmost checkbox of a frame row in frame list is OFF, that frame is treated as disabled and will not be transmitted.
Checkbox states can be changed even during monitoring.

  1. Start monitoring
    Click Start on toolbar (or select Command - Start from menu bar, or press F5).
    Monitoring starts and registered frames are transmitted.
Monitor Window

Master Simulation Screen Description

Master Sim.

Schedule Tab

Schedule tab
ItemDescriptionNotes
Schedule setting area
(Area 1)
Schedule List
(Area 2)
Displays configured schedule information.See Schedule List.
Edit Schedule buttonOpens LIN Schedule Setting dialog and edits schedule selected in Schedule List.Double-clicking a schedule row in Schedule List (excluding checkbox cell) opens the same dialog.
Copy Schedule Table buttonOpens Copy Schedule Table dialog and copies frame information registered in selected schedule to another schedule (schedule information itself is not copied).All frame information in destination schedule is deleted.
Delete Schedule Table buttonShows delete dialog and deletes selected schedule information in Schedule List (all frame information is also deleted).
Menu buttonShows the following menu when clicked.
Menu List
Selecting Load All Pattern loads in bulk the pattern files configured for frame information whose Ptn. check box is ON in Frame List across all schedules.
Selecting Import From LDF imports in bulk the frame information of the schedule selected in Schedule List from the loaded LIN Description File (LDF). At that time, all frame information registered before the import is deleted.
Frame setting area
(Area 3)
Frame List
(Area 4)
Displays frame information registered in schedule selected in Schedule List.See Frame List.
Order Down buttonMoves selected frame in Frame List down by one position.You can also move frame position by dragging and dropping selected frame row in Frame List (excluding checkbox cell).
Order Up buttonMoves selected frame in Frame List up by one position.
Add New Frame buttonOpens Frame Setting dialog and registers a new frame.
Edit Frame buttonOpens Frame Setting dialog and edits selected frame in Frame List.Double-clicking a frame row in Frame List (excluding checkbox cell) opens the same dialog.
Copy Frame buttonOpens Frame Setting dialog and registers a new frame based on selected frame in Frame List.
Delete Frame buttonShows confirmation dialog below. Click Yes to delete selected frame in Frame List.
Delete confirmation

Schedule List

Displays configured schedule information. You can also set schedule enable/disable and whether schedule transmission repeats.

Double-clicking a schedule row (excluding checkbox cell) opens LIN Schedule Setting dialog, same as clicking Edit Schedule.

Schedule List
ItemDescription
Valid
(Area 1)
Sets schedule enable/disable. ON = enabled, OFF = disabled.
NameDisplays schedule name.
RepeatSets 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.
EventDisplays trigger condition for schedule switch event.
ToDisplays transition destination when schedule switch event occurs.

LIN Schedule Setting Dialog

Schedule List
ItemDescription
NameSets schedule name. Up to 14 characters.
Event SettingSets 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 TriggerSets trigger condition for schedule switch event. See Event Trigger.
Event Trigger

Sets trigger condition for schedule switch event.

ItemDescription
NoneNo schedule switch event occurs.
TimeEvent 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-86400
min: 1-1440
hour: 1-24
Ext TriggerEvent occurs by external port input.
This function is under development and unavailable.
Log TriggerEvent occurs when configured log is detected.
Key TriggerEvent occurs on configured key input.
Configurable keys:
Main key: A-Z, 0-9, F1-F12, SPACE
Sub key: Alt, Ctrl, Shift

Copy Schedule Table Dialog

Copies frame information registered in selected schedule to another schedule in bulk (schedule name and event settings are not copied).

Copy Schedule Table
ItemDescription
Copy FromSelect source schedule.
Copy ToSelect destination schedule.
OKExecutes copy with current settings.
CancelCloses dialog (copy is not executed).

Frame List

Displays the frame information registered in the schedule selected in Schedule List. You can also configure whether frame transmission is enabled, whether pattern data is repeated, and related settings.

Frame List
ItemDescription
Valid
(Area 1)
Sets whether frame is transmitted. If OFF, that frame is not transmitted.
OnceSets whether frame is transmitted repeatedly.
If ON, that frame is transmitted only once during monitoring (not retransmitted until monitoring is stopped).
DelayDisplays transmission interval from previous frame.
Dir.Displays frame type.
IDDisplays frame LIN ID in hexadecimal.
D1-D8If frame type is Tx, displays per-byte frame data in hexadecimal.
ErrorDisplays frame error type.
Ptn.Sets whether to use a pattern file for the per-byte data of the frame. The meanings of the ON/OFF check box state are as follows.
ON: Uses Pattern Setting in the Frame Setting dialog.
OFF: Uses Frame Setting in the Frame Setting dialog.
Rep.Sets whether to apply the pattern data list repeatedly.
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.
TriggerDisplays the occurrence condition of the pattern change event.
Pattern Log FileDisplays the file name of the pattern file to load.

Frame Setting Dialog

LIN Frame Setting
ItemDescriptionNotes
Frame SettingDelaySets transmission interval from previous frame in milliseconds. Range: 1-3600000.
DirSets frame type. Pull-down options:
Tx: transmit both header and response.
Rx: transmit header only.
Wakeup: transmit wakeup signal.
Sleep: transmit sleep command.
IDSets frame LIN ID in hexadecimal. Range: 00H-3FH.If out-of-range value (40H or higher) is set, value is automatically corrected to value right-shifted by 8 bits. Example: 57H is corrected to 05H.
If Dir. is Wakeup or Sleep, this field is hidden.
DataSets response data per byte in hexadecimal.Hidden when Dir. is not Tx.
ErrorSets error enable/type for frame. Options depend on Dir:
Tx: None, SyncBrk. Long, SyncBrk. Short, SyncField Err., Parity Err., Checksum, ShortMsg. (1Byte)...ShortMsg. (8Byte), Framing(Data1)...Framing(Data8), Framing(CS)
Rx: None, SyncBrk. Long, SyncBrk. Short, SyncField Err., Parity Err.
Hidden when Dir. is Wakeup or Sleep.
Pattern SettingSource FileDisplays full path of pattern file selected via file dialog from ... button.You can also set pattern file by direct full-path input.
... buttonOpens file dialog and selects pattern file to load.Selected file is not loaded until Load button is clicked.
ID FilterSets whether to filter pattern data contained in loaded pattern file. If ON, pattern data that matches none of the following is treated as invalid and not displayed in pattern data list:
- ID equals value in ID Filter (value set in dialog ID)
- Type is Wakeup
- Type is Sleep
Default DataSets default data (hex) used when data length in loaded pattern data does not match ID definition in ID Definition tab of Device Setting.
Missmatch DLSets 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 buttonLoads pattern file shown in Source File and displays its pattern data in pattern data list.
Clear buttonClears all pattern data shown in pattern data list.
Save buttonOpens file dialog and saves pattern data shown in pattern data list as a pattern file with any file name.
Pattern data list
(Area 1)
Displays pattern data contained in loaded pattern file.
Pattern Change TriggerSets trigger condition for pattern change events.See Pattern Change Trigger.
OK buttonSaves configured frame information and closes dialog.
Cancel buttonDiscards configured frame information and closes dialog.

Dialog title bar changes depending on operation used to open it.

OperationTitle
Click Add New FrameLIN Frame Setting : New
Click Edit FrameLIN Frame Setting : Edit
Click Copy FrameLIN Frame Setting : Copy
Pattern Change Trigger

Sets trigger condition for pattern change events.

Pattern Change Trigger
ItemDescription
TimerEvent occurs each time configured interval elapses.
Ext TriggerEvent occurs by external port input.
Currently under development and unavailable.
Log TriggerEvent occurs when configured log is detected.
Key TriggerEvent occurs on configured key input.
Timer
Timer
UI ItemDescriptionNotes
Time value
(Area 1)
Together with unit, sets cycle for pattern change event.
Ranges by unit:
ms: 50-3600000 (multiples of 50 only)
sec: 1-3600
min: 1-60
With spin button, only when unit is ms, value changes in 50 ms steps.
Time unit
(Area 2)
Together with time value, sets cycle for pattern change event. Options:
ms, sec, min
Log Trigger
Log Trigger
UI ItemDescription
Event condition
(Area 1)
Displays log information configured as event trigger condition.
Double-clicking this area opens Trigger Setting dialog to configure condition log information.
Edit buttonOpens Trigger Setting dialog to configure condition log information.

For details of the Trigger Setting dialog, see Trigger Setting dialog description.

Key Trigger
Key Trigger
UI ItemDescriptionNotes
Main key
(Area 1)
Sets key used as event condition. Options:
None, A-Z, 0-9, F1-F12, SPACE
If None is set, key-input event does not occur.
Sub key
(Area 2)
Sets sub key combined with main key. Options:
None, Alt, Ctrl, Shift
Set None when no sub key is used.
Sub-key-only event detection is not supported.

Interrupt Tab

Interrupt tab
UI ItemDescription
Schedule InfoCurrent ScheduleDisplays 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 InterruptWakeup buttonTransmits wakeup signal when clicked.
If system is in sleep mode, wakeup signal cannot be transmitted by this button.
Sleep buttonTransmits 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 ListInterrupt Frame List
(Area 1)
Displays configured interrupt-frame information.
See Interrupt List.
Send Interrupt buttonTransmits interrupt frame selected in Interrupt List.
Add New Interrupt buttonOpens Interrupt Setting dialog and registers new interrupt frame.
Edit Interrupt buttonOpens Interrupt Setting dialog and edits selected interrupt frame in Interrupt List.
Double-clicking an interrupt-frame row in Interrupt List (excluding checkbox cell) opens same dialog.
Copy Interrupt buttonOpens Interrupt Setting dialog and registers a new interrupt frame based on selected one in Interrupt List.
Delete Interrupt buttonShows confirmation dialog below.
Delete confirmation
Click Yes to delete selected frame in Interrupt List.

Interrupt List

Displays registered interrupt-frame information. You can also set frame transmission enable/disable.

Interrupt List
ItemDescription
Valid
(Area 1)
Sets whether interrupt frame can be transmitted. If checkbox is OFF, frame is not transmitted.
TriggerDisplays trigger condition of interrupt-frame transmission event.
Dir.Displays interrupt-frame type.
IDDisplays interrupt-frame LIN ID in hexadecimal.
D1-D8If interrupt-frame type is Tx, displays per-byte frame data in hexadecimal.
ErrorDisplays frame error type.

Interrupt Setting Dialog

LIN Interrupt Setting
ItemDescriptionNotes
DirSets frame type. Options:
Tx: transmit header and response.
Rx: transmit header only.
Wakeup: transmit wakeup signal.
Sleep: transmit sleep command.
IDSets frame LIN ID in hexadecimal. Range: 00H-3FH.If out-of-range value is set, OK button becomes disabled.
If Dir. is Wakeup or Sleep, this field is hidden.
DataSets response data per byte in hexadecimal.Hidden when Dir. is not Tx.
ErrorSets frame error enable/type. Options depend on Dir:
Tx: None, SyncBrk. Long, SyncBrk. Short, SyncField Err., Parity Err., Checksum, ShortMsg. (1Byte)...ShortMsg. (8Byte), Framing(Data1)...Framing(Data8), Framing(CS)
Rx: None, SyncBrk. Long, SyncBrk. Short, SyncField Err., Parity Err.
Hidden when Dir. is Wakeup or Sleep.
Event TriggerSets trigger condition for interrupt-frame transmission event.See Event Trigger.
OK buttonSaves configured interrupt-frame information and closes dialog.
Cancel buttonDiscards configured interrupt-frame information and closes dialog.

Dialog title bar changes depending on operation used to open it.

OperationTitle
Click Add New Interrupt buttonLIN Interrupt Setting : New
Click Edit Interrupt buttonLIN Interrupt Setting : Edit
Click Copy Interrupt buttonLIN Interrupt Setting : Copy
Event Trigger

Sets trigger condition for interrupt-frame transmission event.

Event Trigger
ItemDescription
NoneNo event occurs.
Ext TriggerEvent occurs by external port input.
Currently under development and unavailable.
Log TriggerEvent occurs when configured log is detected.
Key TriggerEvent occurs on configured key input.
tip

Regardless of Event Trigger settings, interrupt frame can be transmitted by clicking Send Interrupt button.

Log Trigger
Log Trigger
UI ItemDescription
Event condition
(Area 1)
Displays log information configured as interrupt-frame event trigger condition.
Double-clicking this area opens Trigger Setting dialog to configure condition log information.
Edit buttonOpens Trigger Setting dialog to configure condition log information.

For details of the Trigger Setting dialog, see Trigger Setting dialog description.

Key Trigger
Key Trigger
UI ItemDescriptionNotes
Main key
(Area 1)
Sets key used as event condition. Options:
None, A-Z, 0-9, F1-F12, SPACE
If None is set, key-input event does not occur.
Sub key
(Area 2)
Sets sub key combined with main key as event condition. Options:
None, Alt, Ctrl, Shift
If sub key is not used, set None.
Sub-key-only event detection is not supported.

Bus Status Tab

Bus Status tab
UI ItemDescription
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 InterruptWakeup buttonReturns from sleep mode when clicked. Wakeup signal is not transmitted.
Sleep buttonTransitions to sleep mode when clicked. Sleep command is not transmitted.