📄 hitechword.h
字号:
//****************************************************************************
// 文件名: HitechWord.H
// 功 能: 人机使用字变量对应word 地址声明头文件
//****************************************************************************
#ifndef _HitechWord_H_
#define _HitechWord_H_
#define ModBus_PLC_Word_max 100
#define ModBus_PLC_Byte_max 200
typedef union
{
ubyte word_int[ModBus_PLC_Byte_max];
uword uword_value[ModBus_PLC_Word_max];
}union_word_byte_Array;
// 变量与缓冲区间的映射
typedef union
{
union_word_byte_Array U_W_B_A;
struct
{
ubyte laji;
//添加需要的变量
}parameter_Map;
}PLC_Word_Map;
extern PLC_Word_Map PLC_Word_Buffer;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -