Can someone please write a script for the below requirement? Its a humble request.
Capl script
1) Write the CAPL script for simulation of the ECU. The functionality of ECU is following:

RQ 1) ECU shall generate on the CAN output pulses.(signal is jumping 0<>1 )
RQ 2) ID of the output message is 0x100, start byte =1, start bit = 1, length=1
RQ 3) Cycle time of the output is 10 ms
RQ 4) Output is enabled/disabled by signal. Parameters of the signal are ID=0x300, start byte =5, start bit = 6, length =1, Cycle time of this input is 500 ms
RQ 5) Frequency of the output signal is defined by signal in message 0x200, start byte =4, start bit = 0, length =8, 0=error, 1-200 is frequency, scale 1:1, Cycle time of this input is 200 ms.
RQ 6) Default value of output frequency is 10 Hz
RQ 7) If the input signal with the frequency is in error (0), output is disabled
RQ 8) If the input signal frequency is in range 201 -255, output frequency is in default


2) Make the test specification for the RQ1-RQ8