Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How to Interface a 16bit DAC with SPI port with HMI or any PLC

Status
Not open for further replies.

ITP

Advanced Member level 4
Joined
Jul 11, 2001
Messages
116
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
1,133
Hi all,
How to Interface a 16bit DAC with SPI port with HMI or with PLC.
Thanks and regards
Itp
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,450
Helped
14,040
Reputation
28,333
Reaction score
12,691
Trophy points
1,393
Location
Bochum, Germany
Activity points
275,972
A first glance, these are incompatible devices. A PLC exposes 24V logic outputs, rarely 3.3 or 5V as expected by a SPI device. But SPI is a fully static protocol without a lower frequency limit, so you might convert three 24V logic level outputs to low voltage to drive nCS, SCK and SDO lines. And write a respective PLC function block to generate SPI data.
 
  • Like
Reactions: ITP

    ITP

    points: 2
    Helpful Answer Positive Rating

ITP

Advanced Member level 4
Joined
Jul 11, 2001
Messages
116
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
1,133
A first glance, these are incompatible devices. A PLC exposes 24V logic outputs, rarely 3.3 or 5V as expected by a SPI device. But SPI is a fully static protocol without a lower frequency limit, so you might convert three 24V logic level outputs to low voltage to drive nCS, SCK and SDO lines. And write a respective PLC function block to generate SPI data.

Thanks FvM for your fast response. I have used SPI port with micro controller for interfacing DAC but not with PLC. Do you have any examples, document or links?

Thanks and regards
Itp
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top