当前位置:网站首页>PLC program variable definition and hardware IO Association in Bifu twincat3

PLC program variable definition and hardware IO Association in Bifu twincat3

2022-06-22 03:42:00 Dusk and starry sky

Catalog

1、IO I / O variable definitions are associated with hardware

1.1 IO Input
 Insert picture description here

1.2 IO Output

1.3 PLC Variables and IO Module Association

1.4 test IO Output point

2、 Servo variable correlation

1、IO I / O variable definitions are associated with hardware
1.1 IO Input
Add global variable IO_Global

Variable definitions

(IO Input =====================)
DI1_1 AT %I* :BOOL; //
DI1_2 AT %I* :BOOL; //
DI1_3 AT %I* :BOOL; //
DI1_4 AT %I* :BOOL; //
DI1_5 AT %I* :BOOL; //
DI1_6 AT %I* :BOOL; //
DI1_7 AT %I* :BOOL; //
DI1_8 AT %I* :BOOL; //
DI1_9 AT %I* :BOOL; //
DI1_10 AT %I* :BOOL; //

原网站

版权声明
本文为[Dusk and starry sky]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220329009410.html