![]() ![]() The “DBGetDemo” read 100 bytes values from DB2 and displayed them on the Serial Monitor of Arduino IDE.In PLC program, I created DB2 containing 100 bytes with initial values assigned in order from 0 ~ 99.Arduino read DB values from PLC - “DBGetDemo” I was tested in the case of S7-300 CPU + CP343.ģ.1. ) or via a separated Ethernet card (like CP343 for CPU S7-300), or CP443 for CPU S7-400). Settimino can directly access the Siemens PLCs with built-in Ethernet moldule (such as CPU 315-2PN/DP, CPU412-2PN/DP, CPU414-3PN/DP. You can also use the SIMATIC WinCC as an HMI / SCADA system to control Siemens S7 ™ PLCs or ARDUINO ™. If you are an automatic engineer, you will be very knowledgeable about it. I used STEP 7 Professional 2010 V5.5 to configure hardware & write program for PLC. Little Endian: LSB (left-most bit) -> MSB (right-most bit), with same DWORD above but ARDUINO ™ will be stored in the opposite way to PLC.Big –Endian: MSB (left-most bit) -> LSB (right-most bit), for example, DWORD 0x4C21112F is stored in PLC Siemens S7 ™ as follows:.In the manual, please note the terms "Big-Endian" and "Little-Endian" to describe differences in reading and writing data between ARDUINO ™ (Little -Endian) and PLC Siemens S7 ™ ( Big -Endian). You can download the link at: Settimino Library, which includes: library, detailed instructions for using settiminno library and sample programs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |