PFSK152 试验板布局可以用于修改后的控制器的布线
¥7,801.00
Description
PFSK152 项目有两个独立的软件组件:
一个用于M5堆栈内核或ESP32终端的IDE
联锁定时器LD的OpenPLC IDE
M5Stack核心软件是使用UiFlow块代码开发的,无代码方法为M5Stack内核创建极具视觉吸引力的用户界面。该开发软件平台与OpenPLC配合良好,因为梯形逻辑也是一种无代码结构。
图11所示的UiFlow块代码处理由Arduino数字引脚13产生的来自M5堆栈内核的控制信号。电阻输入电路接口产生的+2.5 v信号代表数据位二进制1值。相反,电阻输入电路产生的0 v信号代表0位值。
当PFSK152 内核接收到二进制1时,其显示屏将闪烁红色。二进制0值将显示绿色。当按下按钮开关(SW1)时,显示绿色。该触发事件停止了Arduino数字引脚13的闪烁信号。
使用ESP32终端装置时,下面的图10反映了两个小变化。该控制器使用反相逻辑来检测信号的存在,从其自身的GPIO端子提供3.3 v电压。这需要控制电源和地,因此引入了一条红线。此外,需要由Arduino引脚13直接提供5 v电压来防止电流从该引脚流出,请注意下面黄色跳线位置的变化。
The PFSK152 project has two independent software components:
An IDE for M5 stack kernel or ESP32 terminal
OpenPLC IDE for interlocking timer LD
The core software of M5Stack was developed using UiFlow block code, creating a visually appealing user interface for the M5Stack kernel using a codeless approach. This development software platform works well with OpenPLC because ladder logic is also a code free structure.
The UiFlow block code shown in Figure 11 processes the control signal generated by Arduino digital pin 13 from the M5 stack core. The+2.5 V signal generated by the resistor input circuit interface represents a binary 1 value of data bits. On the contrary, the 0 v signal generated by the resistor input circuit represents the 0 bit value.
When the PFSK152 kernel receives binary 1, its display screen will flash red. The binary 0 value will be displayed in green. When the button switch (SW1) is pressed, it displays green. This triggering event stopped the flashing signal of Arduino digital pin 13.
When using the ESP32 terminal device, Figure 10 below reflects two small changes. This controller uses inverse logic to detect the presence of signals, providing a voltage of 3.3 V from its own GPIO terminals. This requires control of power and ground, therefore a red line is introduced. In addition, a 5 V voltage needs to be directly supplied from Arduino pin 13 to prevent current from flowing out of the pin. Please note the change in the position of the yellow jumper below.
Reviews
There are no reviews yet.