REDWOOD CITY — A convicted sex offender and former Silicon Valley executive has pleaded not guilty to allegations he lured a Canadian teen to the Bay Area for a sexual encounter, attorneys said.

San Jose resident Scott McKibbin is accused of setting up the tryst with a 16-year-old Vancouver boy at a Burlingame hotel. He faces two felonies and a misdemeanor stemming from his conversations over the Internet to set up the Oct. 27 meeting, said San Mateo County District Attorney Steve Wagstaffe.

Within the past month, McKibbin, who entered his plea Tuesday in San Mateo County Superior Court, has stopped working as director of global distribution at Sunnyvale-based Maxim Integrated Products. LuAnn Walden, a spokeswoman for the semiconductor company, which has 9,200 employees, declined to say if he was fired or quit.

McKibbin, 40, was arrested at San Francisco International Airport after the alleged tryst by local police and the FBI agents who had tracked down the teen. The boy, now 17, met McKibbin online, and they engaged in sexual discussion via e-mail and Skype, according to police. When the man invited the boy to come to California for an encounter, he agreed and got on a plane without his parents’ knowledge. The parents have since filed a civil suit against McKibbin.

McKibbin has a previous felony conviction in Santa Cruz County for oral copulation with a minor that stems from a 1999 incident, according to court records. In that case, he lured a 14-year-old San Jose boy to Santa Cruz, gave him alcohol and had sexual relations with him, attorneys said.

Defense attorney John Runfola said he is reviewing the evidence in the case. “He has denied all the charges,” Runfola said of his client.