mcu

所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:736KB
下载次数:35
上传日期:2016-04-25 12:05:42
上 传 者wok123
说明:  开源三菱PLC,基于stm32f103c8t6
(Mitsubishi PLC source)

文件列表:
mcu\plc.exe (1112066, 2016-03-22)
mcu\src\core\core_cm3.c (17273, 2016-03-08)
mcu\src\core\core_cm3.h (85714, 2016-03-08)
mcu\src\core\startup_stm32f10x_md.s (12765, 2016-03-12)
mcu\src\fwlib\inc\misc.h (8982, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_adc.h (21690, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_bkp.h (7555, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_can.h (27559, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_cec.h (6573, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_crc.h (2162, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_dac.h (15233, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_dbgmcu.h (3818, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_dma.h (20754, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_exti.h (6824, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_flash.h (25445, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_fsmc.h (27016, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_gpio.h (20175, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_i2c.h (30029, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_iwdg.h (3828, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_pwr.h (4383, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_rcc.h (30452, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_rtc.h (3857, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_sdio.h (21863, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_spi.h (17725, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_tim.h (52427, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_usart.h (16548, 2016-03-08)
mcu\src\fwlib\inc\stm32f10x_wwdg.h (2966, 2016-03-08)
mcu\src\fwlib\src\misc.c (7046, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_adc.c (47201, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_bkp.c (8463, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_can.c (45103, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_cec.c (11656, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_crc.c (3347, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_dac.c (19087, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_dbgmcu.c (5149, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_dma.c (29607, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_exti.c (6959, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_flash.c (62551, 2016-03-08)
mcu\src\fwlib\src\stm32f10x_fsmc.c (35484, 2016-03-08)
... ...

本fx1n PLC基于阿莫论坛开源PLC,现在版本支持windows,stm32。 src stm32f103c8t6下的运行代码,理论上其他103的板子,也不需要做很大的改动。在main.c中有两个函数 void fx1n_readX(u8t* buf, u32t length) { } void fx1n_writeY(u8t* buf, u32t length) { } 这两个函数你可以根据需要自行更改。 plc.exe(windows下可执行文件) plc模拟器,方便在没有具体硬件时调试, 运行方式为 plc com9 test 文件,是plc测试文件,可以用gx works2打开联机测试。 欢迎大家编译测试,如果有问题欢迎论坛留言,或者给我发电邮(youkebing@163.com). 因为是业余维护,可能回复不及时,期望大家理解。本代码只供学习,禁止商业使用。

近期下载者

相关文件


收藏者