xiaoxiaocheng_plc/users/PLC_CONF.H

529 lines
17 KiB
C++
Raw Normal View History

2018-11-13 22:25:34 +08:00
/*******************************PLC_CONF.H****************************************
*<EFBFBD><EFBFBD><EFBFBD>˼<EFBFBD>
*2014-05-08
*V1.0
*
******************************************************************************/
#ifndef PLC_CONF_H
#define PLC_CONF_H
extern u16 PLC_16BIT[];
/*************D8000-D8255****************/
#define D8000 PLC_16BIT[0x0700]
#define D8001 PLC_16BIT[0x0701]
#define D8002 PLC_16BIT[0x0702]
#define D8003 PLC_16BIT[0x0703]
#define D8004 PLC_16BIT[0x0704]
#define D8005 PLC_16BIT[0x0705]
#define D8006 PLC_16BIT[0x0706]
#define D8007 PLC_16BIT[0x0707]
#define D8008 PLC_16BIT[0x0708]
#define D8009 PLC_16BIT[0x0709]
#define D8010 PLC_16BIT[0x070A]
#define D8011 PLC_16BIT[0x070B]
#define D8012 PLC_16BIT[0x070C]
#define D8013 PLC_16BIT[0x070D]
#define D8014 PLC_16BIT[0x070E]
#define D8015 PLC_16BIT[0x070F]
#define D8016 PLC_16BIT[0x0710]
#define D8017 PLC_16BIT[0x0711]
#define D8018 PLC_16BIT[0x0712]
#define D8019 PLC_16BIT[0x0713]
#define D8020 PLC_16BIT[0x0714]
#define D8021 PLC_16BIT[0x0715]
#define D8022 PLC_16BIT[0x0716]
#define D8023 PLC_16BIT[0x0717]
#define D8024 PLC_16BIT[0x0718]
#define D8025 PLC_16BIT[0x0719]
#define D8026 PLC_16BIT[0x071A]
#define D8027 PLC_16BIT[0x071B]
#define D8028 PLC_16BIT[0x071C]
#define D8029 PLC_16BIT[0x071D]
#define D8030 PLC_16BIT[0x071E]
#define D8031 PLC_16BIT[0x071F]
#define D8032 PLC_16BIT[0x0720]
#define D8033 PLC_16BIT[0x0721]
#define D8034 PLC_16BIT[0x0722]
#define D8035 PLC_16BIT[0x0723]
#define D8036 PLC_16BIT[0x0724]
#define D8037 PLC_16BIT[0x0725]
#define D8038 PLC_16BIT[0x0726]
#define D8039 PLC_16BIT[0x0727]
#define D8040 PLC_16BIT[0x0728]
#define D8041 PLC_16BIT[0x0729]
#define D8042 PLC_16BIT[0x072A]
#define D8043 PLC_16BIT[0x072B]
#define D8044 PLC_16BIT[0x072C]
#define D8045 PLC_16BIT[0x072D]
#define D8046 PLC_16BIT[0x072E]
#define D8047 PLC_16BIT[0x072F]
#define D8048 PLC_16BIT[0x0730]
#define D8049 PLC_16BIT[0x0731]
#define D8050 PLC_16BIT[0x0732]
#define D8051 PLC_16BIT[0x0733]
#define D8052 PLC_16BIT[0x0734]
#define D8053 PLC_16BIT[0x0735]
#define D8054 PLC_16BIT[0x0736]
#define D8055 PLC_16BIT[0x0737]
#define D8056 PLC_16BIT[0x0738]
#define D8057 PLC_16BIT[0x0739]
#define D8058 PLC_16BIT[0x073A]
#define D8059 PLC_16BIT[0x073B]
#define D8060 PLC_16BIT[0x073C]
#define D8061 PLC_16BIT[0x073D]
#define D8062 PLC_16BIT[0x073E]
#define D8063 PLC_16BIT[0x073F]
#define D8064 PLC_16BIT[0x0740]
#define D8065 PLC_16BIT[0x0741]
#define D8066 PLC_16BIT[0x0742]
#define D8067 PLC_16BIT[0x0743]
#define D8068 PLC_16BIT[0x0744]
#define D8069 PLC_16BIT[0x0745]
#define D8070 PLC_16BIT[0x0746]
#define D8071 PLC_16BIT[0x0747]
#define D8072 PLC_16BIT[0x0748]
#define D8073 PLC_16BIT[0x0749]
#define D8074 PLC_16BIT[0x074A]
#define D8075 PLC_16BIT[0x074B]
#define D8076 PLC_16BIT[0x074C]
#define D8077 PLC_16BIT[0x074D]
#define D8078 PLC_16BIT[0x074E]
#define D8079 PLC_16BIT[0x074F]
#define D8080 PLC_16BIT[0x0750]
#define D8081 PLC_16BIT[0x0751]
#define D8082 PLC_16BIT[0x0752]
#define D8083 PLC_16BIT[0x0753]
#define D8084 PLC_16BIT[0x0754]
#define D8085 PLC_16BIT[0x0755]
#define D8086 PLC_16BIT[0x0756]
#define D8087 PLC_16BIT[0x0757]
#define D8088 PLC_16BIT[0x0758]
#define D8089 PLC_16BIT[0x0759]
#define D8090 PLC_16BIT[0x075A]
#define D8091 PLC_16BIT[0x075B]
#define D8092 PLC_16BIT[0x075C]
#define D8093 PLC_16BIT[0x075D]
#define D8094 PLC_16BIT[0x075E]
#define D8095 PLC_16BIT[0x075F]
#define D8096 PLC_16BIT[0x0760]
#define D8097 PLC_16BIT[0x0761]
#define D8098 PLC_16BIT[0x0762]
#define D8099 PLC_16BIT[0x0763]
#define D8100 PLC_16BIT[0x0764]
#define D8101 PLC_16BIT[0x0765]
#define D8102 PLC_16BIT[0x0766]
#define D8103 PLC_16BIT[0x0767]
#define D8104 PLC_16BIT[0x0768]
#define D8105 PLC_16BIT[0x0769]
#define D8106 PLC_16BIT[0x076A]
#define D8107 PLC_16BIT[0x076B]
#define D8108 PLC_16BIT[0x076C]
#define D8109 PLC_16BIT[0x076D]
#define D8110 PLC_16BIT[0x076E]
#define D8111 PLC_16BIT[0x076F]
#define D8112 PLC_16BIT[0x0770]
#define D8113 PLC_16BIT[0x0771]
#define D8114 PLC_16BIT[0x0772]
#define D8115 PLC_16BIT[0x0773]
#define D8116 PLC_16BIT[0x0774]
#define D8117 PLC_16BIT[0x0775]
#define D8118 PLC_16BIT[0x0776]
#define D8119 PLC_16BIT[0x0777]
#define D8120 PLC_16BIT[0x0778]
#define D8121 PLC_16BIT[0x0779]
#define D8122 PLC_16BIT[0x077A]
#define D8123 PLC_16BIT[0x077B]
#define D8124 PLC_16BIT[0x077C]
#define D8125 PLC_16BIT[0x077D]
#define D8126 PLC_16BIT[0x077E]
#define D8127 PLC_16BIT[0x077F]
#define D8128 PLC_16BIT[0x0780]
#define D8129 PLC_16BIT[0x0781]
#define D8130 PLC_16BIT[0x0782]
#define D8131 PLC_16BIT[0x0783]
#define D8132 PLC_16BIT[0x0784]
#define D8133 PLC_16BIT[0x0785]
#define D8134 PLC_16BIT[0x0786]
#define D8135 PLC_16BIT[0x0787]
#define D8136 PLC_16BIT[0x0788]
#define D8137 PLC_16BIT[0x0789]
#define D8138 PLC_16BIT[0x078A]
#define D8139 PLC_16BIT[0x078B]
#define D8140 PLC_16BIT[0x078C]
#define D8141 PLC_16BIT[0x078D]
#define D8142 PLC_16BIT[0x078E]
#define D8143 PLC_16BIT[0x078F]
#define D8144 PLC_16BIT[0x0790]
#define D8145 PLC_16BIT[0x0791]
#define D8146 PLC_16BIT[0x0792]
#define D8147 PLC_16BIT[0x0793]
#define D8148 PLC_16BIT[0x0794]
#define D8149 PLC_16BIT[0x0795]
#define D8150 PLC_16BIT[0x0796]
#define D8151 PLC_16BIT[0x0797]
#define D8152 PLC_16BIT[0x0798]
#define D8153 PLC_16BIT[0x0799]
#define D8154 PLC_16BIT[0x079A]
#define D8155 PLC_16BIT[0x079B]
#define D8156 PLC_16BIT[0x079C]
#define D8157 PLC_16BIT[0x079F]
#define D8158 PLC_16BIT[0x079E]
#define D8159 PLC_16BIT[0x079F]
#define D8160 PLC_16BIT[0x07A0]
#define D8161 PLC_16BIT[0x07A1]
#define D8162 PLC_16BIT[0x07A2]
#define D8163 PLC_16BIT[0x07A3]
#define D8164 PLC_16BIT[0x07A4]
#define D8165 PLC_16BIT[0x07A5]
#define D8166 PLC_16BIT[0x07A6]
#define D8167 PLC_16BIT[0x07A7]
#define D8168 PLC_16BIT[0x07A8]
#define D8169 PLC_16BIT[0x07A9]
#define D8170 PLC_16BIT[0x07AA]
#define D8171 PLC_16BIT[0x07AB]
#define D8172 PLC_16BIT[0x07AC]
#define D8173 PLC_16BIT[0x07AD]
#define D8174 PLC_16BIT[0x07AE]
#define D8175 PLC_16BIT[0x07AF]
#define D8176 PLC_16BIT[0x07B0]
#define D8177 PLC_16BIT[0x07B1]
#define D8178 PLC_16BIT[0x07B2]
#define D8179 PLC_16BIT[0x07B3]
#define D8180 PLC_16BIT[0x07B4]
#define D8181 PLC_16BIT[0x07B5]
#define D8182 PLC_16BIT[0x07B6]
#define D8183 PLC_16BIT[0x07B7]
#define D8184 PLC_16BIT[0x07B8]
#define D8185 PLC_16BIT[0x07B9]
#define D8186 PLC_16BIT[0x07BA]
#define D8187 PLC_16BIT[0x07BB]
#define D8188 PLC_16BIT[0x07BC]
#define D8189 PLC_16BIT[0x07BD]
#define D8190 PLC_16BIT[0x07BE]
#define D8191 PLC_16BIT[0x07BF]
#define D8192 PLC_16BIT[0x07C0]
#define D8193 PLC_16BIT[0x07C1]
#define D8194 PLC_16BIT[0x07C2]
#define D8195 PLC_16BIT[0x07C3]
#define D8196 PLC_16BIT[0x07C4]
#define D8197 PLC_16BIT[0x07C5]
#define D8198 PLC_16BIT[0x07C6]
#define D8199 PLC_16BIT[0x07C7]
#define D8200 PLC_16BIT[0x07C8]
#define D8201 PLC_16BIT[0x07C9]
#define D8202 PLC_16BIT[0x07CA]
#define D8203 PLC_16BIT[0x07CB]
#define D8204 PLC_16BIT[0x07CC]
#define D8205 PLC_16BIT[0x07CD]
#define D8206 PLC_16BIT[0x07CE]
#define D8207 PLC_16BIT[0x07CF]
#define D8208 PLC_16BIT[0x07D0]
#define D8209 PLC_16BIT[0x07D1]
#define D8210 PLC_16BIT[0x07D2]
#define D8211 PLC_16BIT[0x07D3]
#define D8212 PLC_16BIT[0x07D4]
#define D8213 PLC_16BIT[0x07D5]
#define D8214 PLC_16BIT[0x07D6]
#define D8215 PLC_16BIT[0x07D7]
#define D8216 PLC_16BIT[0x07D8]
#define D8217 PLC_16BIT[0x07D9]
#define D8218 PLC_16BIT[0x07DA]
#define D8219 PLC_16BIT[0x07DB]
#define D8220 PLC_16BIT[0x07DC]
#define D8221 PLC_16BIT[0x07DD]
#define D8222 PLC_16BIT[0x07DE]
#define D8223 PLC_16BIT[0x07DF]
#define D8224 PLC_16BIT[0x07E0]
#define D8225 PLC_16BIT[0x07E1]
#define D8226 PLC_16BIT[0x07E2]
#define D8227 PLC_16BIT[0x07E3]
#define D8228 PLC_16BIT[0x07E4]
#define D8229 PLC_16BIT[0x07E5]
#define D8230 PLC_16BIT[0x07E6]
#define D8231 PLC_16BIT[0x07E7]
#define D8232 PLC_16BIT[0x07E8]
#define D8233 PLC_16BIT[0x07E9]
#define D8234 PLC_16BIT[0x07EA]
#define D8235 PLC_16BIT[0x07EB]
#define D8236 PLC_16BIT[0x07EC]
#define D8237 PLC_16BIT[0x07ED]
#define D8238 PLC_16BIT[0x07EE]
#define D8239 PLC_16BIT[0x07EF]
#define D8240 PLC_16BIT[0x07F0]
#define D8241 PLC_16BIT[0x07F1]
#define D8242 PLC_16BIT[0x07F2]
#define D8243 PLC_16BIT[0x07F3]
#define D8244 PLC_16BIT[0x07F4]
#define D8245 PLC_16BIT[0x07F5]
#define D8246 PLC_16BIT[0x07F6]
#define D8247 PLC_16BIT[0x07F7]
#define D8248 PLC_16BIT[0x07F8]
#define D8249 PLC_16BIT[0x07F9]
#define D8250 PLC_16BIT[0x07FA]
#define D8251 PLC_16BIT[0x07FB]
#define D8252 PLC_16BIT[0x07FC]
#define D8253 PLC_16BIT[0x07FD]
#define D8254 PLC_16BIT[0x07FE]
#define D8255 PLC_16BIT[0x07FF]
/*************M8000-M8255****************/
#define M8000 0X0F00+0
#define M8001 0X0F00+1
#define M8002 0X0F00+2
#define M8003 0X0F00+3
#define M8004 0X0F00+4
#define M8005 0X0F00+5
#define M8006 0X0F00+6
#define M8007 0X0F00+7
#define M8008 0X0F00+8
#define M8009 0X0F00+9
#define M8010 0X0F00+10
#define M8011 0X0F00+11
#define M8012 0X0F00+12
#define M8013 0X0F00+13
#define M8014 0X0F00+14
#define M8015 0X0F00+15
#define M8016 0X0F00+16
#define M8017 0X0F00+17
#define M8018 0X0F00+18
#define M8019 0X0F00+19
#define M8020 0X0F00+20
#define M8021 0X0F00+21
#define M8022 0X0F00+22
#define M8023 0X0F00+23
#define M8024 0X0F00+24
#define M8025 0X0F00+25
#define M8026 0X0F00+26
#define M8027 0X0F00+27
#define M8028 0X0F00+28
#define M8029 0X0F00+29
#define M8030 0X0F00+30
#define M8031 0X0F00+31
#define M8032 0X0F00+32
#define M8033 0X0F00+33
#define M8034 0X0F00+34
#define M8035 0X0F00+35
#define M8036 0X0F00+36
#define M8037 0X0F00+37
#define M8038 0X0F00+38
#define M8039 0X0F00+39
#define M8040 0X0F00+40
#define M8041 0X0F00+41
#define M8042 0X0F00+42
#define M8043 0X0F00+43
#define M8044 0X0F00+44
#define M8045 0X0F00+45
#define M8046 0X0F00+46
#define M8047 0X0F00+47
#define M8048 0X0F00+48
#define M8049 0X0F00+49
#define M8050 0X0F00+50
#define M8051 0X0F00+51
#define M8052 0X0F00+52
#define M8053 0X0F00+53
#define M8054 0X0F00+54
#define M8055 0X0F00+55
#define M8056 0X0F00+56
#define M8057 0X0F00+57
#define M8058 0X0F00+58
#define M8059 0X0F00+59
#define M8060 0X0F00+60
#define M8061 0X0F00+61
#define M8062 0X0F00+62
#define M8063 0X0F00+63
#define M8064 0X0F00+64
#define M8065 0X0F00+65
#define M8066 0X0F00+66
#define M8067 0X0F00+67
#define M8068 0X0F00+68
#define M8069 0X0F00+69
#define M8070 0X0F00+70
#define M8071 0X0F00+71
#define M8072 0X0F00+72
#define M8073 0X0F00+73
#define M8074 0X0F00+74
#define M8075 0X0F00+75
#define M8076 0X0F00+76
#define M8077 0X0F00+77
#define M8078 0X0F00+78
#define M8079 0X0F00+79
#define M8080 0X0F00+80
#define M8081 0X0F00+81
#define M8082 0X0F00+82
#define M8083 0X0F00+83
#define M8084 0X0F00+84
#define M8085 0X0F00+85
#define M8086 0X0F00+86
#define M8087 0X0F00+87
#define M8088 0X0F00+88
#define M8089 0X0F00+89
#define M8090 0X0F00+90
#define M8091 0X0F00+91
#define M8092 0X0F00+92
#define M8093 0X0F00+93
#define M8094 0X0F00+94
#define M8095 0X0F00+95
#define M8096 0X0F00+96
#define M8097 0X0F00+97
#define M8098 0X0F00+98
#define M8099 0X0F00+99
#define M8100 0X0F00+100
#define M8101 0X0F00+101
#define M8102 0X0F00+102
#define M8103 0X0F00+103
#define M8104 0X0F00+104
#define M8105 0X0F00+105
#define M8106 0X0F00+106
#define M8107 0X0F00+107
#define M8108 0X0F00+108
#define M8109 0X0F00+109
#define M8110 0X0F00+110
#define M8111 0X0F00+111
#define M8112 0X0F00+112
#define M8113 0X0F00+113
#define M8114 0X0F00+114
#define M8115 0X0F00+115
#define M8116 0X0F00+116
#define M8117 0X0F00+117
#define M8118 0X0F00+118
#define M8119 0X0F00+119
#define M8120 0X0F00+120
#define M8121 0X0F00+121
#define M8122 0X0F00+122
#define M8123 0X0F00+123
#define M8124 0X0F00+124
#define M8125 0X0F00+125
#define M8126 0X0F00+126
#define M8127 0X0F00+127
#define M8128 0X0F00+128
#define M8129 0X0F00+129
#define M8130 0X0F00+130
#define M8131 0X0F00+131
#define M8132 0X0F00+132
#define M8133 0X0F00+133
#define M8134 0X0F00+134
#define M8135 0X0F00+135
#define M8136 0X0F00+136
#define M8137 0X0F00+137
#define M8138 0X0F00+138
#define M8139 0X0F00+139
#define M8140 0X0F00+140
#define M8141 0X0F00+141
#define M8142 0X0F00+142
#define M8143 0X0F00+143
#define M8144 0X0F00+144
#define M8145 0X0F00+145
#define M8146 0X0F00+146
#define M8147 0X0F00+147
#define M8148 0X0F00+148
#define M8149 0X0F00+149
#define M8150 0X0F00+150
#define M8151 0X0F00+151
#define M8152 0X0F00+152
#define M8153 0X0F00+153
#define M8154 0X0F00+154
#define M8155 0X0F00+155
#define M8156 0X0F00+156
#define M8157 0X0F00+157
#define M8158 0X0F00+158
#define M8159 0X0F00+159
#define M8160 0X0F00+160
#define M8161 0X0F00+161
#define M8162 0X0F00+162
#define M8163 0X0F00+163
#define M8164 0X0F00+164
#define M8165 0X0F00+165
#define M8166 0X0F00+166
#define M8167 0X0F00+167
#define M8168 0X0F00+168
#define M8169 0X0F00+169
#define M8170 0X0F00+170
#define M8171 0X0F00+171
#define M8172 0X0F00+172
#define M8173 0X0F00+173
#define M8174 0X0F00+174
#define M8175 0X0F00+175
#define M8176 0X0F00+176
#define M8177 0X0F00+177
#define M8178 0X0F00+178
#define M8179 0X0F00+179
#define M8180 0X0F00+180
#define M8181 0X0F00+181
#define M8182 0X0F00+182
#define M8183 0X0F00+183
#define M8184 0X0F00+184
#define M8185 0X0F00+185
#define M8186 0X0F00+186
#define M8187 0X0F00+187
#define M8188 0X0F00+188
#define M8189 0X0F00+189
#define M8190 0X0F00+190
#define M8191 0X0F00+191
#define M8192 0X0F00+192
#define M8193 0X0F00+193
#define M8194 0X0F00+194
#define M8195 0X0F00+195
#define M8196 0X0F00+196
#define M8197 0X0F00+197
#define M8198 0X0F00+198
#define M8199 0X0F00+199
#define M8200 0X0F00+200
#define M8201 0X0F00+201
#define M8202 0X0F00+202
#define M8203 0X0F00+203
#define M8204 0X0F00+204
#define M8205 0X0F00+205
#define M8206 0X0F00+206
#define M8207 0X0F00+207
#define M8208 0X0F00+208
#define M8209 0X0F00+209
#define M8210 0X0F00+210
#define M8211 0X0F00+211
#define M8212 0X0F00+212
#define M8213 0X0F00+213
#define M8214 0X0F00+214
#define M8215 0X0F00+215
#define M8216 0X0F00+216
#define M8217 0X0F00+217
#define M8218 0X0F00+218
#define M8219 0X0F00+219
#define M8220 0X0F00+220
#define M8221 0X0F00+221
#define M8222 0X0F00+222
#define M8223 0X0F00+223
#define M8224 0X0F00+224
#define M8225 0X0F00+225
#define M8226 0X0F00+226
#define M8227 0X0F00+227
#define M8228 0X0F00+228
#define M8229 0X0F00+229
#define M8230 0X0F00+230
#define M8231 0X0F00+231
#define M8232 0X0F00+232
#define M8233 0X0F00+233
#define M8234 0X0F00+234
#define M8235 0X0F00+235
#define M8236 0X0F00+236
#define M8237 0X0F00+237
#define M8238 0X0F00+238
#define M8239 0X0F00+239
#define M8240 0X0F00+240
#define M8241 0X0F00+241
#define M8242 0X0F00+242
#define M8243 0X0F00+243
#define M8244 0X0F00+244
#define M8245 0X0F00+245
#define M8246 0X0F00+246
#define M8247 0X0F00+247
#define M8248 0X0F00+248
#define M8249 0X0F00+249
#define M8250 0X0F00+250
#define M8251 0X0F00+251
#define M8252 0X0F00+252
#define M8253 0X0F00+253
#define M8254 0X0F00+254
#define M8255 0X0F00+255
#endif
/*********************************************************************************************************
** End Of File
********************************************************************************************************/