The popularity of “Star Trek” — in all its TV iterations — makes it challenging to air the classic series with a new wrinkle.

But, starting Sunday, digital network Heroes & Icons will give viewers the chance to watch the entire original “Star Trek” series (79 episodes) — and its four spinoffs — unedited and uncut.

The original “Star Trek” aired on NBC from 1966 to 1969 with stars William Shatner, Leonard Nimoy and DeForest Kelley.

“At the time that the original ‘Star Trek’ was produced, network shows ran much longer than they run now, and longer than what syndication allowed when the shows reran on local stations,” says Neal Sabin, vice chairman of Weigel Broadcasting, which owns Heroes & Icons.

Translation: Scenes from the original “Star Trek” episodes were cut or trimmed down when the show began its afterlife in reruns.

“I can’t definitely say that these episodes haven’t run uncut since they aired on NBC, but most people haven’t seen them [uncut] unless they own the series on DVD,” says Sabin. “These are good shows and we hope to bring some new people to the ‘Star Trek’ franchise.”

Also airing uncut and in their original entirety — as part of the network’s “All Star Trek” programming slate — will be “Star Trek: The Next Generation,” “Star Trek: Deep Space Nine,” “Star Trek: Voyager” and “Star Trek: Enterprise.”

Here’s how it will work: The first episodes of each of the five “Star Trek” series will air consecutively this Sunday from 8 p.m. to 1 a.m. to get the ball rolling.

Then, starting Monday (through Friday), episodes from the original “Star Trek” will air nightly at 6 p.m., followed by episodes of “The Next Generation” (7 p.m.), “Deep Space Nine” (11 p.m.), “Voyager” (midnight) and “Enterprise” (1 a.m.).

No episodes will air Saturdays; the “Star Trek” cycle begins again each Sunday (8 p.m. to 1 a.m.). “We plan on leaving the shows on for a couple of years,” says Sabin. “‘Star Trek’ is the centerpiece of our programming.”

The timing isn’t a coincidence; the original “Star Trek” series is celebrating its 50th anniversary this year, and “Star Trek Beyond,” the franchise’s next big-screen movie, hits theaters on Friday.

“We want to get a jump on the ‘Star Trek’ bandwagon. The new movie comes out this weekend, so why wait?” says Sabin. “The ‘Star Trek’ fan base is very strong.”

Sabin says that the reaction to “Star Trek” on MeTV, another of Weigel’s digital networks, is notable. “MeTV’s sci-fi block on Saturday nights, which includes ‘Star Trek,’ gets tremendous action on Twitter,” he says. “The Twittersphere goes crazy.”

Heroes & Icons airs on Comcast (Ch. 263), Cablevision (Ch. 140), Ch. 9.4 (WWOR’s digital over-the-air channel), DISH (Ch. 42) and DirecTV (Ch. 43).