Interface optocouper with wide voltage range
Note. Edits on the question's schematics were performed when I was typing the answer. I will strikeout those considerations that are no more valid.

The circuit is fine except these considerations:


(Minor) You wrote +4V on the logic side: I guess you meant 3V.
(Critical) You're correctly using the 317 as current generator.  However, with that resistors (R1 and R2 at 24 Ohm), the current is set to about 50mA, which is larger than the absolute maximum continuous forward current (30mA). The VOD207T works also with 10mA. You might need to adjust the resistor to 120 Ohm. EDIT: now the current is 5mA. Maybe too low, see later.
(Major) The output resistors are quite low (100 Ohm) , especially  if you change the driving current. EDIT: with a 5mA current and 100 Ohm, you can't have a 3V swing, as the minimum CTR (current transfer ratio) is 100%.  If you don't need a very high switching speed, you should consider to increase it to something about 330-470 Ohm (the larger, the better the low level, but the slower the switching speed). (EDIT: these values is calculated for 10mA current drive). Still, 100 Ohm will be too low, because the CTR min of that optocupler is 100%. With 10mA-input, you get a 10mA output, which corresponds to about only 1V-swing @100 Ohm.
(Major) Be aware of power dissipation. At 30V, 1.2V falls in R1/R2, and about 1.2V on the LED of the optocoupler. This means that there are about 28V on the LM317L. It's thermal resistance Juction-to-Air is 160-180°C/W in TO92 package, i.e. quite high. At 10mA, the increase of the temperature between junction and air is 50°C. If you set a 20-mA current you have a 100-°C difference.