This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

which ARM version that i should use for PLC

hello !

i am houssam an electrical engineering student, i am new to this forum and new for ARM processore i want to make my own PLC (programable logic controler), and i need a processore for to build this PLC, i find a lot of type of ARM processore (cortex r,m,a...) i dont know which processore that i should use for this application could you help with the type of the ARM and some books or tutorial that i should see.

thank you, and sorry for my english, it's ot my mother thong. 

  • Hi,

    to answer your question, I need answers of at least the following questions?

    How much performance do you need?

    How much power consumption do you assume?

    How wide of the price range do you want?

    Is the definite execution time mandatory?

    How much memory size do you need?

    Is it a flash memory, SRAM or DRAM?

    What Operation System do you want to use?

    Best regards,

    Yasuhiko Koumoto.

  • thank you for your respond

    - for the consumption i dont care because there is no battery it's directly plug in power

    - for the price i want a cheap one.

    - the processor must execute task in real time.

    - and i prefer this characteristics

    CPU processing times
    for bit operations, typ.0.085 µs; / instruction
    for word operations, typ.1.7 µs; / instruction
    for floating point arithmetic, typ.2.5 µs; / instruction
    CPU-blocks
    Number of blocks (total)DBs, FCs, FBs, counters and timers. The maximum number of addressable blocks ranges from 1 to 65535. There is no restriction, the entire working memory can be used

    Best regards,

  • Hi houssamatif,

    your necessary requests seem to be equal to them of the Siemens 6ES7214-1BG40-0XB0.

    Why don't you choice it?

    Or are you intended to make the 6ES7214-1BG40-0XB0 clone with ARM processors?

    The requested performance will be too low and I think any ARM core will be applicable, but because FPU is needed, you can choice Cortex-M4F.

    Regarding peripheral functions such as timers, you have many candidates of microcontrollers and you will select what you like.

    If we consider the BOM costs, I recommend to use the 6ES7214-1BG40-0XB0.

    Best regards,

    Yasuhiko Koumoto.

  • Hi Houssam,

    Building a complete PLC is a huge and difficult task even just for a school project (I just assumed although you did not specifically stated it's for one of your electrical engineering subjects), especially if you only have a limited time to work for it. ARM7, Cortex-A, Cortex-R, Cortex-M are used in PLC subsystems. Which version would you use depends on your exact goal. Of course ARM7 is an older core and it's not recommended for this project unless (or even if) you already have the development board.

    These books are excellent references if you will choose the Cortex-M profile,

    The Definitive Guide to ARM® Cortex®-M0 and Cortex-M0+ Processors, Second Edition 2nd Edition

    by Joseph Yiu

    Publisher: Newnes; 2 edition (July 9, 2015)

    ISBN-10: 0128032774

    ISBN-13: 978-0128032770

    The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, Third Edition 3rd Edition

    by Joseph Yiu

    Publisher: Newnes; 3 edition (November 1, 2013)

    ISBN-10: 0124080820

    ISBN-13: 978-0124080829

    You can find links to tutorials in this blog by Tom Stevens, Important ARM Technical Learning Resources.

    Regards,

    Goodwin

  • I'm quite puzzled on how you came up with such a detailed and precise CPU processing times specification for your project. Maybe you have seen this in the processor section of an specification sheet of a PLC.

    Anyway, I suggest that you visit this page from Texas Instruments, BeagleBone Cape for Programmable Logic Controller Reference Design (TIDA-00312).

    This might be an ideal reference design for a PLC project in school. The BeagleBone Black is relatively cheap and also meet your other requirements. The BeagleBone Black uses a 1GHz AM3359 Sitara ARM Cortex-A8 CPU and priced at US$55.00 (SRP). The AM335x Sitara Processors can help you with standard industrial interfaces such as EtherCAT, PROFINET, EtherNet/IP, PROFIBUS, Ethernet Powerlink, Sercos, etc. For more info on BeagleBone Black visit this page from TI, BeagleBone Black Development Board (BEAGLEBK).

    - the processor must execute task in real time.

    This is a difficult part of your project, the PRU-ICSS of the AM335x may be able to help you meet this requirement.

  • Look for the ones that have the industrial or automotive temperature range.  PLCs should be able to into rugged environments not heated/air conditioned office buildings.  (Not that all of them can, but that's where there's room in the industry.)