diff --git a/blockset/blocks/GOcontroll_Moduline_Target.mdl b/blockset/blocks/GOcontroll_Moduline_Target.mdl
index e091144..a13c3a8 100644
--- a/blockset/blocks/GOcontroll_Moduline_Target.mdl
+++ b/blockset/blocks/GOcontroll_Moduline_Target.mdl
@@ -44,7 +44,7 @@ __MWOPC_PART_BEGIN__ /metadata/coreProperties.xml
HANcodermaud
- 2024-10-24T10:51:26Z
+ 2024-11-12T08:59:37Z0.33R2023b
@@ -1053,142 +1053,142 @@ __MWOPC_PART_BEGIN__ /simulink/libraryBrowser/_rels/slLibraryBrowser.xml.rels
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/CAN.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/CAN/@20@CAN@20@Example.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/CAN/CAN@20@2@2E@0B.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/CAN/CAN@20@2@2E@0B/CAN@20@Receive.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/CAN/CAN@20@2@2E@0B/CAN@20@receive1.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/CAN/CAN@20@2@2E@0B/CAN@20@Send.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/CAN/CAN@20@2@2E@0B/CAN@20@send1.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Display@20@specific.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Display@20@specific/Set@20@display@20@brightness.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Enclosure@20@LED@27@s.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Enclosure@20@LED@27@s/Enclosure@20@LED.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/LIN.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/LIN/LIN@20@Master.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Memory@20@store.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Memory@20@store/Diagnostic@20@to@20@memory.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Memory@20@store/Diagnostic@20@to@20@memory/Delete@20@all@20@codes@20@for@20@one@20@group.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Memory@20@store/Diagnostic@20@to@20@memory/Delete@20@single@20@DTC@20@code.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Memory@20@store/Diagnostic@20@to@20@memory/Number@20@of@20@stored@20@diagnostic@20@codes.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Memory@20@store/Diagnostic@20@to@20@memory/Read@20@diagnostic@20@code.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Memory@20@store/Diagnostic@20@to@20@memory/Store@20@diagnostic@20@code.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Memory@20@store/Variable@20@to@20@memory.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Memory@20@store/Variable@20@to@20@memory/Memory@20@read.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Memory@20@store/Variable@20@to@20@memory/Memory@20@write.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Bridge@20@Module.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Bridge@20@Module/Bridge@20@Module.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Bridge@20@Module/Bridge@20@Module@20@Monitor.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Input@20@Module.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Input@20@Module/Input@20@Module@20@4@2D@20@20@mA@20@@28@10@20@channel@29@.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Input@20@Module/Input@20@Module@20@@28@10@20@channel@29@.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Input@20@Module/Input@20@Module@20@@28@6@20@channel@29@.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Input@20@Module/Reset@20@Puls@20@Counter@20@@28@6@20@channel@29@.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Output@20@Module.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Output@20@Module/Output@20@Module@20@@28@10@20@channel@29@.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Output@20@Module/Output@20@Module@20@@28@6@20@channel@29@.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Modules/Output@20@Module/Output@20@Module@20@Monitor@20@@28@6@20@channel@29@.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Network.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Network/TCP.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Network/TCP/TCP@20@Configure.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Network/TCP/TCP@20@Receive.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Network/TCP/TCP@20@Send.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Network/UDP.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Network/UDP/UDP@20@Configure.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Network/UDP/UDP@20@Example.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Network/UDP/UDP@20@Receive.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Network/UDP/UDP@20@Send.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/slLibraryBrowser.xml
CAN$bdroot/CAN$bdroot/CAN1-330 -536 -230 -494CAN.svgNA.NA:0SubSystemCAN 2.0B$bdroot/CAN/CAN 2.0B$bdroot/CAN/CAN 2.0B125 24 125 66CAN/CAN@20@2@2E@0B.svgNA.NA:0SubSystemCAN send1CAN send (Legacy)!! Legacy block, use the CAN send instead of CAN send1 in future projects !!
@@ -1334,7 +1334,7 @@ The Message input should be a uint8 vector, if you end up with a [1xn] or [nx1]
IP address should be a valid IP address as a string
-Port should be a within the range of a uint16$bdroot/Network/UDP/UDP Send$bdroot/Network/UDP/UDP Send01070 627 1225 703Network/UDP/UDP@20@Send.svgsignal.in_signal:1M-S-FunctionUDP ExampleSubSystemSimulink:blkprm_prompts:SubsysParameterDialogDescr$bdroot/Network/UDP/UDP Example$bdroot/Network/UDP/UDP Example01070 734 1225 816Network/UDP/UDP@20@Example.svgNA.NA:0SubSystemModules$bdroot/Modules$bdroot/Modules1-330 -336 -230 -294Modules.svgNA.NA:0SubSystemInput Module$bdroot/Modules/Input Module$bdroot/Modules/Input Module1290 -236 400 -194Modules/Input@20@Module.svgNA.NA:0SubSystemInput Module (6 channel)Input ModuleWhit this function block, you can configure each channel of the 6 channel input module (201001xx). The configuration of the module is executed once so the input module acts acording the setting. During runtime, the block outputs give the measured values from eacht measured channel which can directly be used inside the model.
+Port should be a within the range of a uint16$bdroot/Network/UDP/UDP Send$bdroot/Network/UDP/UDP Send01070 627 1225 703Network/UDP/UDP@20@Send.svgsignal.in_signal:1M-S-FunctionUDP ExampleSubSystemSimulink:blkprm_prompts:SubsysParameterDialogDescr$bdroot/Network/UDP/UDP Example$bdroot/Network/UDP/UDP Example01070 734 1225 816Network/UDP/UDP@20@Example.svgNA.NA:0SubSystemModules$bdroot/Modules$bdroot/Modules1-330 -336 -230 -294Modules.svgNA.NA:0SubSystemInput Module$bdroot/Modules/Input Module$bdroot/Modules/Input Module1290 -236 400 -194Modules/Input@20@Module.svgNA.NA:0SubSystemInput Module (6 channel)Input ModuleWith this function block, you can configure each channel of the 6 channel input module (201001xx). The configuration of the module is set once at initialization. During runtime, the block outputs the measured values from each channel.
Module location:
Sets the location of the module slot where the module is physically
@@ -1361,7 +1361,7 @@ Pull Up:
If required, a pull-up resistance can be added to the input signal.
Pull Down:
-If required, a pull-down resistance can be added to the input signal.$bdroot/Modules/Input Module/Input Module (6 channel)$bdroot/Modules/Input Module/Input Module (6 channel)0205 92 390 183Modules/Input@20@Module/Input@20@Module@20@@28@6@20@channel@29@.svgsignal.out_signal:6M-S-FunctionInput Module (10 channel)Input ModuleWhit this function block, you can configure each channel of the 6 channel input module (201001xx). The configuration of the module is executed once so the input module acts acording the setting. During runtime, the block outputs give the measured values from eacht measured channel which can directly be used inside the model.
+If required, a pull-down resistance can be added to the input signal.$bdroot/Modules/Input Module/Input Module (6 channel)$bdroot/Modules/Input Module/Input Module (6 channel)0205 92 390 183Modules/Input@20@Module/Input@20@Module@20@@28@6@20@channel@29@.svgsignal.out_signal:6M-S-FunctionInput Module (10 channel)Input ModuleWith this block, you can configure each channel of the 10 channel input module (201002xx). The configuration of the module is set once at initialization. During runtime, the block outputs the measured values from each channel.
Module location:
Sets the location of the module slot where the module is physically
@@ -1373,22 +1373,11 @@ Each channel has its own configuration tab.
Function select:
Select the desired input signal configuration.
-Voltage range:
-Select the expected input range of the signal.
-
-Analog filter samples:
-The number of samples that are passed into a moving average filter.
-(only active in case of an analog input)
-
-Pulses per rotation
-The number of pulses for one rotation. This parameter is needed in case the
-module needs to calculate the rotation speed from i.e. an axle.
-
Pull Up:
If required, a pull-up resistance can be added to the input signal.
Pull Down:
-If required, a pull-down resistance can be added to the input signal.$bdroot/Modules/Input Module/Input Module (10 channel)$bdroot/Modules/Input Module/Input Module (10 channel)0205 216 390 379Modules/Input@20@Module/Input@20@Module@20@@28@10@20@channel@29@.svgsignal.out_signal:10M-S-FunctionReset Puls Counter (6 channel)Reset puls counterThis function block resets the pulscounter from a specified input channel of the input module that is configured as a pulscounter. A trigger on input pin 1 wil set the pulscounter to the value applied on pin 2 $bdroot/Modules/Input Module/Reset Puls Counter (6 channel)$bdroot/Modules/Input Module/Reset Puls Counter (6 channel)0205 415 390 470Modules/Input@20@Module/Reset@20@Puls@20@Counter@20@@28@6@20@channel@29@.svgsignal.in_signal:2M-S-FunctionInput Module 4-20 mA (10 channel)4-20 mA Input ModuleController type:
+If required, a pull-down resistance can be added to the input signal.$bdroot/Modules/Input Module/Input Module (10 channel)$bdroot/Modules/Input Module/Input Module (10 channel)0205 216 390 379Modules/Input@20@Module/Input@20@Module@20@@28@10@20@channel@29@.svgsignal.out_signal:10M-S-FunctionReset Puls Counter (6 channel)Reset pulse counterThis block resets the pulsecounter from a specified input channel of the input module that is configured as a pulsecounter. A trigger on input pin 1 wil set the pulsecounter to the value applied on pin 2 $bdroot/Modules/Input Module/Reset Puls Counter (6 channel)$bdroot/Modules/Input Module/Reset Puls Counter (6 channel)0205 415 390 470Modules/Input@20@Module/Reset@20@Puls@20@Counter@20@@28@6@20@channel@29@.svgsignal.in_signal:2M-S-FunctionInput Module 4-20 mA (10 channel)4-20 mA Input ModuleController type:
Selects the controller that is to be programmed. Pinning on the mask will be adopted accordingly.
Module slot:
@@ -1401,12 +1390,12 @@ Module status:
The status output provides information of the actual state per 2 channels:
0x00 all channels are supplied no problems.
-0x01Channel 1 & 2 over current detected and supply disconnected.
-0x02Channel 3 & 4 over current detected and supply disconnected.
-0x04Channel 5 & 6 over current detected and supply disconnected.
-0x08Channel 7 & 8 over current detected and supply disconnected.
-0x10Channel 9 & 10 over current detected and supply disconnected.
-$bdroot/Modules/Input Module/Input Module 4-20 mA (10 channel)$bdroot/Modules/Input Module/Input Module 4-20 mA (10 channel)0205 509 390 671Modules/Input@20@Module/Input@20@Module@20@4@2D@20@20@mA@20@@28@10@20@channel@29@.svgsignal.out_signal:11M-S-FunctionOutput Module$bdroot/Modules/Output Module$bdroot/Modules/Output Module1290 -171 400 -129Modules/Output@20@Module.svgNA.NA:0SubSystemOutput Module (6 channel)6 Channel Output ModuleWith this function block, you can configure each output of the 6 channel output module (202002xx). During initialization of the controller, the corresponding outputs of the module are set according the settings. During runtime, the value pushed into the block will control the outputs.
+0x01 Channel 1 & 2 over current detected and supply disconnected.
+0x02 Channel 3 & 4 over current detected and supply disconnected.
+0x04 Channel 5 & 6 over current detected and supply disconnected.
+0x08 Channel 7 & 8 over current detected and supply disconnected.
+0x10 Channel 9 & 10 over current detected and supply disconnected.
+$bdroot/Modules/Input Module/Input Module 4-20 mA (10 channel)$bdroot/Modules/Input Module/Input Module 4-20 mA (10 channel)0205 509 390 671Modules/Input@20@Module/Input@20@Module@20@4@2D@20@20@mA@20@@28@10@20@channel@29@.svgsignal.out_signal:11M-S-FunctionOutput Module$bdroot/Modules/Output Module$bdroot/Modules/Output Module1290 -171 400 -129Modules/Output@20@Module.svgNA.NA:0SubSystemOutput Module (6 channel)6 Channel Output ModuleWith this block, you can configure each output of the 6 channel output module (202002xx). During initialization of the controller, the corresponding outputs of the module are set according the settings. During runtime, the value pushed into the block will control the outputs.
Sample time:
Execution frequency from function block. For proper functioning of the output module, us a sampletime of 100 ms or lower.
@@ -1415,11 +1404,11 @@ Module slot:
Sets the location of the module slot where the module is physically plugged into.
Frequency:
-In case a duty Cycle is used, select the frequency.
+In case a duty cycle is used, select the frequency.
Function select:
Select the desired output configuration for each channel
-$bdroot/Modules/Output Module/Output Module (6 channel)$bdroot/Modules/Output Module/Output Module (6 channel)0625 275 840 380Modules/Output@20@Module/Output@20@Module@20@@28@6@20@channel@29@.svgsignal.in_signal:6M-S-FunctionOutput Module (10 channel)10 Channel Output ModuleWith this function block, you can configure each output of the 6 channel output module (202002xx). During initialization of the controller, the corresponding outputs of the module are set according the settings. During runtime, the value pushed into the block will control the outputs.
+$bdroot/Modules/Output Module/Output Module (6 channel)$bdroot/Modules/Output Module/Output Module (6 channel)0625 275 840 380Modules/Output@20@Module/Output@20@Module@20@@28@6@20@channel@29@.svgsignal.in_signal:6M-S-FunctionOutput Module (10 channel)10 Channel Output ModuleWith this function block, you can configure each output of the 10 channel output module (202003xx). During initialization of the controller, the corresponding outputs of the module are set according the settings. During runtime, the value pushed into the block will control the outputs.
Sample time:
Execution frequency from function block. For proper functioning of the output module, us a sampletime of 100 ms or lower.
@@ -1428,7 +1417,7 @@ Module slot:
Sets the location of the module slot where the module is physically plugged into.
Frequency:
-In case a duty Cycle is used, select the frequency.
+In case a duty cycle is used, select the frequency.
Function select:
Select the desired output configuration for each channel
@@ -1446,9 +1435,9 @@ The measured supply voltage of the module in mV. This output only works for hard
Channel current
The current from each channel is measured and given in mA. If the ouput is configured as high side, the result will be positive. If the ouput is configured as low side, the value will be negative
-Channel dutycycle
-This output only appears if the corresponding output module block has a channel in peak and hold mode, and it only works for module firmware 2.1.0 and higher for module hardware version 6.
-This output can be used to monitor the actual output dutycycle, because the peak and hold function works with current control this value was not known. This value can then be used to perform extra checks on the output in this mode.
+Channel duty cycle
+This output only appears if the corresponding output module block has a channel in peak and hold mode, and it only works for module firmware 2.1.0 and higher.
+This output can be used to monitor the actual output duty cycle. This value can then be used to perform extra checks on the output in this mode.
$bdroot/Modules/Output Module/Output Module Monitor (6 channel)$bdroot/Modules/Output Module/Output Module Monitor (6 channel)0625 583 925 717Modules/Output@20@Module/Output@20@Module@20@Monitor@20@@28@6@20@channel@29@.svgsignal.out_signal:10M-S-FunctionBridge Module$bdroot/Modules/Bridge Module$bdroot/Modules/Bridge Module1290 -106 400 -64Modules/Bridge@20@Module.svgNA.NA:0SubSystemBridge ModuleBridge ModuleWith this function block, you can configure each output of the bridge module (202001xx). During initialization of the controller, the corresponding outputs of the module are set according the settings. During runtime, the value pushed into the block will control the outputs.
Module slot:
@@ -1462,7 +1451,7 @@ Function select:
Select the desired output configuration.
Frequency:
-In case a duty Cycle is used, select the frequency.
+In case a duty cycle is used, select the frequency.
$bdroot/Modules/Bridge Module/Bridge Module$bdroot/Modules/Bridge Module/Bridge Module0640 355 885 430Modules/Bridge@20@Module/Bridge@20@Module.svgsignal.in_signal:2M-S-FunctionBridge Module MonitorBridge Module MonitorWith this function block, you can read parameters from the specified bridge module (202001xx). The block will provide some information about the module such as:
Module temperature:
@@ -1482,7 +1471,7 @@ LED: Select the LED that is needs to be controlled.
Color: Select the color the LED needs to illuminate.$bdroot/Enclosure LED's/Enclosure LED$bdroot/Enclosure LED's/Enclosure LED0-20 -166 130 -124Enclosure@20@LED@27@s/Enclosure@20@LED.svgsignal.in_signal:1M-S-FunctionSupply control$bdroot/Supply control$bdroot/Supply control1-330 -196 -230 -154Supply@20@control.svgNA.NA:0SubSystemController ActiveController ActiveThe GOcontroll Moduline IV is able to keep itself alive. As long the K30 power is applied (connector C pin 5-7) and the input of the Controller Active function block is high, the controller will stay on even if the K15 pins (connector C pin 2,3 or 4) are low.
If the controller is switched off by software, a restart is only possible when the device is activated by one of the K15 pins of connector C.
-To detect an external shutdown (K15 pins goes low), simply drag in the K15 Voltage block. This block provides the input voltage from the K15 pins $bdroot/Supply control/Controller Active$bdroot/Supply control/Controller Active0110 334 260 376Supply@20@control/Controller@20@Active.svgsignal.in_signal:1M-S-FunctionK15 VoltageContact VoltageThe K15 voltage provides the K15 voltage in mV that is applied on connector C pin 2,3 or 4. A positive voltage on one of these pins will start-up the controller. These function blocks can be used to read out which K15 input pin triggered the startup.$bdroot/Supply control/K15 Voltage$bdroot/Supply control/K15 Voltage0110 399 260 441Supply@20@control/K15@20@Voltage.svgsignal.out_signal:1M-S-FunctionK30 VoltageSupply voltageThe K30 voltage provides the power supply in mV that is applied on connector C pin 5-7$bdroot/Supply control/K30 Voltage$bdroot/Supply control/K30 Voltage0110 464 260 506Supply@20@control/K30@20@Voltage.svgsignal.out_signal:1M-S-FunctionMemory store$bdroot/Memory store$bdroot/Memory store1-330 -131 -230 -89Memory@20@store.svgNA.NA:0SubSystemVariable to memory$bdroot/Memory store/Variable to memory$bdroot/Memory store/Variable to memory1470 439 570 481Memory@20@store/Variable@20@to@20@memory.svgNA.NA:0SubSystemMemory writeStore data to memoryThis function block stores a value to the memory with a specified key. To get the stored value from memory, use the read from memory function block and retrieve the value by key$bdroot/Memory store/Variable to memory/Memory write$bdroot/Memory store/Variable to memory/Memory write0485 511 640 559Memory@20@store/Variable@20@to@20@memory/Memory@20@write.svgsignal.in_signal:1M-S-FunctionMemory readRead value from memoryThis function block reads a value from memory by the specified key. To store a value to memory, use the store to memory function block.$bdroot/Memory store/Variable to memory/Memory read$bdroot/Memory store/Variable to memory/Memory read0485 585 640 635Memory@20@store/Variable@20@to@20@memory/Memory@20@read.svgsignal.out_signal:1M-S-FunctionDiagnostic to memory$bdroot/Memory store/Diagnostic to memory$bdroot/Memory store/Diagnostic to memory1470 519 570 561Memory@20@store/Diagnostic@20@to@20@memory.svgNA.NA:0SubSystemStore diagnostic codeStore diagnostic code to memoryThis function block stores a diagnostic code to memory.
+To detect an external shutdown (K15 pins goes low), simply drag in the K15 Voltage block. This block provides the input voltage from the K15 pins $bdroot/Supply control/Controller Active$bdroot/Supply control/Controller Active0110 334 260 376Supply@20@control/Controller@20@Active.svgsignal.in_signal:1M-S-FunctionK15 VoltageContact VoltageThe K15 voltage provides the K15 voltage in mV that is applied on the K15 pins of the controller. A positive voltage on one of these pins will start-up the controller. These function blocks can be used to read out which K15 input pin triggered the startup.$bdroot/Supply control/K15 Voltage$bdroot/Supply control/K15 Voltage0110 399 260 441Supply@20@control/K15@20@Voltage.svgsignal.out_signal:1M-S-FunctionK30 VoltageSupply voltageThe K30 voltage provides the power supply in mV that is applied on the K30 pins.$bdroot/Supply control/K30 Voltage$bdroot/Supply control/K30 Voltage0110 464 260 506Supply@20@control/K30@20@Voltage.svgsignal.out_signal:1M-S-FunctionMemory store$bdroot/Memory store$bdroot/Memory store1-330 -131 -230 -89Memory@20@store.svgNA.NA:0SubSystemVariable to memory$bdroot/Memory store/Variable to memory$bdroot/Memory store/Variable to memory1470 439 570 481Memory@20@store/Variable@20@to@20@memory.svgNA.NA:0SubSystemMemory writeStore data to memoryThis function block stores a value to the memory with a specified key. To get the stored value from memory, use the read from memory function block and retrieve the value by key$bdroot/Memory store/Variable to memory/Memory write$bdroot/Memory store/Variable to memory/Memory write0485 511 640 559Memory@20@store/Variable@20@to@20@memory/Memory@20@write.svgsignal.in_signal:1M-S-FunctionMemory readRead value from memoryThis function block reads a value from memory by the specified key. To store a value to memory, use the store to memory function block.$bdroot/Memory store/Variable to memory/Memory read$bdroot/Memory store/Variable to memory/Memory read0485 585 640 635Memory@20@store/Variable@20@to@20@memory/Memory@20@read.svgsignal.out_signal:1M-S-FunctionDiagnostic to memory$bdroot/Memory store/Diagnostic to memory$bdroot/Memory store/Diagnostic to memory1470 519 570 561Memory@20@store/Diagnostic@20@to@20@memory.svgNA.NA:0SubSystemStore diagnostic codeStore diagnostic code to memoryThis function block stores a diagnostic code to memory.
Diagnostic code type:
The type defines the severity of the diagnostic code.$bdroot/Memory store/Diagnostic to memory/Store diagnostic code$bdroot/Memory store/Diagnostic to memory/Store diagnostic code0605 324 840 376Memory@20@store/Diagnostic@20@to@20@memory/Store@20@diagnostic@20@code.svgsignal.in_signal:1SubSystemNumber of stored diagnostic codesRead number of stored codesThis function block reads the number of stored codes under the specified diagnostic code type.
@@ -1546,7 +1535,7 @@ key: byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 ...
block: {byte 2, byte 1, byte 4, byte 3, byte 6, byte 5, ...}
If the model terminates with the error:
-Error: Failed to decrypt2. return code: ##$bdroot/System/License Key$bdroot/System/License Key0515 263 665 307System/License@20@Key.svgNA.NA:0M-S-FunctionCPU temperatureGet CPU temperatureFunction block to retrieve the CPU temperature from the i.MX core$bdroot/System/CPU temperature$bdroot/System/CPU temperature0515 363 665 407System/CPU@20@temperature.svgsignal.out_signal:1M-S-FunctionXCP ServerXCP ServerHaving one block of this type in your model enables the XCP server to use with HANtune$bdroot/System/XCP Server$bdroot/System/XCP Server0515 459 665 501System/XCP@20@Server.svgNA.NA:0M-S-FunctionVersionThis block helps with keeping track of the model version.
+Error: Failed to decrypt2. return code: ##$bdroot/System/License Key$bdroot/System/License Key0515 263 665 307System/License@20@Key.svgNA.NA:0M-S-FunctionCPU temperatureGet CPU temperatureBlock to retrieve the CPU temperature of the i.MX core$bdroot/System/CPU temperature$bdroot/System/CPU temperature0515 363 665 407System/CPU@20@temperature.svgsignal.out_signal:1M-S-FunctionXCP ServerXCP ServerHaving one block of this type in your model enables the XCP server to use with HANtune$bdroot/System/XCP Server$bdroot/System/XCP Server0515 459 665 501System/XCP@20@Server.svgNA.NA:0M-S-FunctionVersionThis block helps with keeping track of the model version.
The values entered will be written to /usr/mem-sim/[MODEL_MAJOR,MODEL_FEATURE,MODEL_FIX].
@@ -1559,43 +1548,43 @@ Positive Y axis is acceleration towards the empty side of the controller, so opp
Positive Z axis is acceleration straight up if the controller was lying on its back so towards the indicator leds$bdroot/System/Read accelerometer$bdroot/System/Read accelerometer0510 639 665 711System/Read@20@accelerometer.svgsignal.out_signal:3M-S-FunctionDisplay specific$bdroot/Display specific$bdroot/Display specific1-330 5 -230 45Display@20@specific.svgNA.NA:0SubSystemSet display brightnessSet display brightnessSet the brightness of a display (only works with the max25014 driver currently)
Keeps the original brightness untill the first non zero value is received$bdroot/Display specific/Set display brightness$bdroot/Display specific/Set display brightness070 114 215 166Display@20@specific/Set@20@display@20@brightness.svgsignal.in_signal:1M-S-Function
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Supply@20@control.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Supply@20@control/Controller@20@Active.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Supply@20@control/K15@20@Voltage.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/Supply@20@control/K30@20@Voltage.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/System.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/System/CPU@20@temperature.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/System/Execute@20@shell@20@command.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/System/License@20@Key.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/System/Read@20@accelerometer.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/System/Version.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/libraryBrowser/System/XCP@20@Server.svg
-
+
__MWOPC_PART_BEGIN__ /simulink/modelDictionary.xml
-
-
+
+
__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_2725.xml.rels
@@ -2246,7 +2235,7 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_3919.xml
@@ -2372,9 +2361,9 @@ Color: Select the color the LED needs to illuminate.
__MWOPC_PART_BEGIN__ /simulink/systems/system_3980.xml
-
[2056, 360, 3531, 1964]
+
[1920, 27, 3840, 2160]
usletter
-
189
+
248
[110, 334, 260, 376]
@@ -2423,7 +2412,7 @@ To detect an external shutdown (K15 pins goes low), simply drag in the K15 Volta
Contact Voltagefprintf('ADC voltage\n%s',get_param(gcb, 'k15pin'));
text(2, 6, ert_linux_target_version());
- The K15 voltage provides the K15 voltage in mV that is applied on connector C pin 2,3 or 4. A positive voltage on one of these pins will start-up the controller. These function blocks can be used to read out which K15 input pin triggered the startup.
+ The K15 voltage provides the K15 voltage in mV that is applied on the K15 pins of the controller. A positive voltage on one of these pins will start-up the controller. These function blocks can be used to read out which K15 input pin triggered the startup. %update RTWdata to run WriteRTW again
modelRTWFields = struct('k15pin', int2str(k15pin));
% Insert modelRTWFields in the I/O block S-Function containing the Tag starting with 'HANcoder_TARGET_'
@@ -2502,7 +2491,7 @@ elseif ContrType == 3
fprintf('K30 Voltage\nConnector A pin 9');
end
text(2, 6, ert_linux_target_version());
- The K30 voltage provides the power supply in mV that is applied on connector C pin 5-7
+ The K30 voltage provides the power supply in mV that is applied on the K30 pins.Controller typeGOcontroll Moduline IV
@@ -2540,9 +2529,9 @@ text(2, 6, ert_linux_target_version());
__MWOPC_PART_BEGIN__ /simulink/systems/system_3989.xml
-
[3912, 0, 7680, 2160]
+
[1920, 27, 3840, 2160]
usletter
-
242
+
122
[205, 216, 390, 379]
@@ -2599,7 +2588,7 @@ port_label('output', 8, pin8Id);
port_label('output', 9, pin9Id);
port_label('output', 10, pin10Id);
text(2, 6, ert_linux_target_version());
- Whit this function block, you can configure each channel of the 6 channel input module (201001xx). The configuration of the module is executed once so the input module acts acording the setting. During runtime, the block outputs give the measured values from eacht measured channel which can directly be used inside the model.
+ With this block, you can configure each channel of the 10 channel input module (201002xx). The configuration of the module is set once at initialization. During runtime, the block outputs the measured values from each channel.
Module location:
Sets the location of the module slot where the module is physically
@@ -2611,17 +2600,6 @@ Each channel has its own configuration tab.
Function select:
Select the desired input signal configuration.
-Voltage range:
-Select the expected input range of the signal.
-
-Analog filter samples:
-The number of samples that are passed into a moving average filter.
-(only active in case of an analog input)
-
-Pulses per rotation
-The number of pulses for one rotation. This parameter is needed in case the
-module needs to calculate the rotation speed from i.e. an axle.
-
Pull Up:
If required, a pull-up resistance can be added to the input signal.
@@ -2747,6 +2725,12 @@ end
+
+
+
+
+
+
@@ -2774,7 +2758,7 @@ end
-
+
@@ -2804,7 +2788,7 @@ end
-
+
@@ -2834,7 +2818,7 @@ end
-
+
@@ -2864,7 +2848,7 @@ end
-
+
@@ -2894,7 +2878,7 @@ end
-
+
@@ -2924,7 +2908,7 @@ end
-
+
@@ -2954,7 +2938,7 @@ end
-
+
@@ -2984,7 +2968,7 @@ end
-
+
@@ -3014,7 +2998,7 @@ end
-
+
@@ -3044,7 +3028,7 @@ end
-
+
@@ -3306,7 +3290,7 @@ port_label('output', 4, pin4Id);
port_label('output', 5, pin5Id);
port_label('output', 6, pin6Id);
text(2, 6, ert_linux_target_version());
- Whit this function block, you can configure each channel of the 6 channel input module (201001xx). The configuration of the module is executed once so the input module acts acording the setting. During runtime, the block outputs give the measured values from eacht measured channel which can directly be used inside the model.
+ With this function block, you can configure each channel of the 6 channel input module (201001xx). The configuration of the module is set once at initialization. During runtime, the block outputs the measured values from each channel.
Module location:
Sets the location of the module slot where the module is physically
@@ -3476,7 +3460,7 @@ end
-
+
@@ -3527,7 +3511,7 @@ end
-
+
@@ -3578,7 +3562,7 @@ end
-
+
@@ -3629,7 +3613,7 @@ end
-
+
@@ -3681,7 +3665,7 @@ end
-
+
@@ -3732,7 +3716,7 @@ end
-
+
@@ -4015,11 +3999,11 @@ Module status:
The status output provides information of the actual state per 2 channels:
0x00 all channels are supplied no problems.
-0x01Channel 1 & 2 over current detected and supply disconnected.
-0x02Channel 3 & 4 over current detected and supply disconnected.
-0x04Channel 5 & 6 over current detected and supply disconnected.
-0x08Channel 7 & 8 over current detected and supply disconnected.
-0x10Channel 9 & 10 over current detected and supply disconnected.
+0x01 Channel 1 & 2 over current detected and supply disconnected.
+0x02 Channel 3 & 4 over current detected and supply disconnected.
+0x04 Channel 5 & 6 over current detected and supply disconnected.
+0x08 Channel 7 & 8 over current detected and supply disconnected.
+0x10 Channel 9 & 10 over current detected and supply disconnected.
% array with module slot infos
moduleSlotInfoStrings = { 'Module slot 1', ...\
@@ -4235,10 +4219,10 @@ end
sfcn_gocontroll_input_module_reset
tsamp
- Reset puls counter
- fprintf('Reset Puls Counter\n%s\n%s', moduleSlotInfoStr, inputChannelInfoStr);
+ Reset pulse counter
+ fprintf('Reset Pulse Counter\n%s\n%s', moduleSlotInfoStr, inputChannelInfoStr);
text(2, 6, ert_linux_target_version());
- This function block resets the pulscounter from a specified input channel of the input module that is configured as a pulscounter. A trigger on input pin 1 wil set the pulscounter to the value applied on pin 2
+ This block resets the pulsecounter from a specified input channel of the input module that is configured as a pulsecounter. A trigger on input pin 1 wil set the pulsecounter to the value applied on pin 2 % array with module slot infos
moduleSlotInfoStrings = {'Module Slot 1', ...\
'Module Slot 2', ...\
@@ -4355,7 +4339,7 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_3990.xml
[1920, 27, 3840, 2160]
usletter
-
406
+
250
[625, 399, 840, 566]
@@ -4395,7 +4379,7 @@ port_label('input', 8, pin4Id);
port_label('input', 9, pin5Id);
port_label('input', 10, pin6Id);
text(2, 6, ert_linux_target_version());
- With this function block, you can configure each output of the 6 channel output module (202002xx). During initialization of the controller, the corresponding outputs of the module are set according the settings. During runtime, the value pushed into the block will control the outputs.
+ With this function block, you can configure each output of the 10 channel output module (202003xx). During initialization of the controller, the corresponding outputs of the module are set according the settings. During runtime, the value pushed into the block will control the outputs.
Sample time:
Execution frequency from function block. For proper functioning of the output module, us a sampletime of 100 ms or lower.
@@ -4404,7 +4388,7 @@ Module slot:
Sets the location of the module slot where the module is physically plugged into.
Frequency:
-In case a duty Cycle is used, select the frequency.
+In case a duty cycle is used, select the frequency.
Function select:
Select the desired output configuration for each channel
@@ -4550,7 +4534,7 @@ end
1
- High side switch dutycycle controlled (0 - 1000)
+ High side switch duty cycle controlled (0 - 1000)2
@@ -4577,7 +4561,7 @@ end
1
- High side switch dutycycle controlled (0 - 1000)
+ High side switch duty cycle controlled (0 - 1000)2
@@ -4614,7 +4598,7 @@ end
1
- High side switch dutycycle controlled (0 - 1000)
+ High side switch duty cycle controlled (0 - 1000)2
@@ -4641,7 +4625,7 @@ end
1
- High side switch dutycycle controlled (0 - 1000)
+ High side switch duty cycle controlled (0 - 1000)2
@@ -4678,7 +4662,7 @@ end
1
- High side switch dutycycle controlled (0 - 1000)
+ High side switch duty cycle controlled (0 - 1000)2
@@ -4705,7 +4689,7 @@ end
1
- High side switch dutycycle controlled (0 - 1000)
+ High side switch duty cycle controlled (0 - 1000)2
@@ -4742,7 +4726,7 @@ end
1
- High side switch dutycycle controlled (0 - 1000)
+ High side switch duty cycle controlled (0 - 1000)2
@@ -4769,7 +4753,7 @@ end
1
- High side switch dutycycle controlled (0 - 1000)
+ High side switch duty cycle controlled (0 - 1000)2
@@ -4806,7 +4790,7 @@ end
1
- High side switch dutycycle controlled (0 - 1000)
+ High side switch duty cycle controlled (0 - 1000)2
@@ -4833,7 +4817,7 @@ end
1
- High side switch dutycycle controlled (0 - 1000)
+ High side switch duty cycle controlled (0 - 1000)2
@@ -4996,7 +4980,7 @@ port_label('input', 5, pin5Id);
port_label('input', 6, pin6Id);
text(2, 6, ert_linux_target_version());
- With this function block, you can configure each output of the 6 channel output module (202002xx). During initialization of the controller, the corresponding outputs of the module are set according the settings. During runtime, the value pushed into the block will control the outputs.
+ With this block, you can configure each output of the 6 channel output module (202002xx). During initialization of the controller, the corresponding outputs of the module are set according the settings. During runtime, the value pushed into the block will control the outputs.
Sample time:
Execution frequency from function block. For proper functioning of the output module, us a sampletime of 100 ms or lower.
@@ -5005,7 +4989,7 @@ Module slot:
Sets the location of the module slot where the module is physically plugged into.
Frequency:
-In case a duty Cycle is used, select the frequency.
+In case a duty cycle is used, select the frequency.
Function select:
Select the desired output configuration for each channel
@@ -5163,9 +5147,9 @@ c.set('Enabled','on');
end
-
-
-
+
+
+
@@ -5208,9 +5192,9 @@ c.set('Enabled','on');
end
-
-
-
+
+
+
@@ -5266,9 +5250,9 @@ c.set('Enabled','on');
end
-
-
-
+
+
+
@@ -5311,9 +5295,9 @@ c.set('Enabled','on');
end
-
-
-
+
+
+
@@ -5369,9 +5353,9 @@ c.set('Enabled','on');
end
-
-
-
+
+
+
@@ -5414,9 +5398,9 @@ c.set('Enabled','on');
end
-
-
-
+
+
+
@@ -5657,9 +5641,9 @@ The measured supply voltage of the module in mV. This output only works for hard
Channel current
The current from each channel is measured and given in mA. If the ouput is configured as high side, the result will be positive. If the ouput is configured as low side, the value will be negative
-Channel dutycycle
-This output only appears if the corresponding output module block has a channel in peak and hold mode, and it only works for module firmware 2.1.0 and higher for module hardware version 6.
-This output can be used to monitor the actual output dutycycle, because the peak and hold function works with current control this value was not known. This value can then be used to perform extra checks on the output in this mode.
+Channel duty cycle
+This output only appears if the corresponding output module block has a channel in peak and hold mode, and it only works for module firmware 2.1.0 and higher.
+This output can be used to monitor the actual output duty cycle. This value can then be used to perform extra checks on the output in this mode.
% array with pinID infos
moduleSlotInfoStrings = { 'Module slot 1', ...\
@@ -5850,9 +5834,9 @@ end
__MWOPC_PART_BEGIN__ /simulink/systems/system_4007.xml
-
@@ -5895,7 +5878,7 @@ __MWOPC_PART_BEGIN__ /simulink/systems/system_4017.xml
Get CPU temperaturefprintf('Get CPU temperature');
text(2, 6, ert_linux_target_version());
- Function block to retrieve the CPU temperature from the i.MX core
+ Block to retrieve the CPU temperature of the i.MX coreSample time1
@@ -6309,9 +6292,9 @@ text(2, 6, ert_linux_target_version());
__MWOPC_PART_BEGIN__ /simulink/systems/system_4026.xml
-
[3912, 0, 7680, 2160]
+
[1920, 27, 3840, 2160]
usletter
-
290
+
250
[640, 355, 885, 430]
@@ -6345,7 +6328,7 @@ Function select:
Select the desired output configuration.
Frequency:
-In case a duty Cycle is used, select the frequency.
+In case a duty cycle is used, select the frequency.
% array with pinID infos
moduleSlotInfoStrings = { 'Module Slot 1', ...
@@ -6439,9 +6422,9 @@ end
Disable (output disabled)
-
-
-
+
+
+
@@ -6464,9 +6447,9 @@ end
Disable (output disabled)
-
-
-
+
+
+
@@ -6669,9 +6652,9 @@ Current related output for each output channel
__MWOPC_PART_BEGIN__ /simulink/systems/system_4032.xml
-