The M141 S50 gcode means that you set the chamber temperature 50℃.
So we could change Machine start G-code to set the chamber temperature.
Printer-Machine G-code-Machine start G-code
Step 1 Please add the M191 marco into the printer.cfg file.
'''
[gcode_macro M191]
gcode:
{% if printer["heater_generic chamber"] is defined %}
{% set s = params.S|float %}
M141 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %}
{% if s != 0 %}
# M140 S90
TEMPERATURE_WAIT SENSOR="heater_generic chamber" MINIMUM={([s, 65]|min)-2}
{% endif %}
{% endif %}
'''
Where to find the Printer.cfg file: QIDIslicer-Device-Configuration-Printer.cfg
Add the M191 marco and click Save&Restart
Step 2 Enable the chanmber heating function in Orcaslicer