Many
Manuals
search
Categorias
Marcas
Inicio
ProSoft Technology
Relé
MVI69-ADM
Manual de usuario
Prosoft-technology MVI69-ADM Manual de usuario Pagina 118
Descarga
Compartir
Compartiendo
Añadir a mis manuales
Imprimir
Pagina
/
342
Tabla de contenidos
MARCADORES
Valorado
.
/ 5. Basado en
revisión del cliente
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
Creating Ladder Logic
MVI-ADM
♦
'C' Programmable
Developer's Guide
'C' Programmable App
lication Development Modul
e
Page
118
of
342
ProSoft Technolo
gy, Inc.
February 20, 2013
1
2
...
113
114
115
116
117
118
119
120
121
122
123
...
341
342
MVI-ADM
1
Your Feedback Please
2
Content Disclaimer
2
Warnings
3
Battery Life Advisory
4
Contents
5
1 Introduction
13
In This Chapter
15
2.1 Package Contents
16
2.3.1 Setup Jumper
18
2.4 Cable Connections
19
2.4.3 RS-422
22
3.1 API Libraries
26
3.1.1 Calling Convention
26
3.1.2 Header File
26
3.1.3 Sample Code
26
3.2 Development Tools
28
3.3 Theory of Operation
29
3.3.1 ADM API
29
3.4 ADM Functional Blocks
30
3.4.1 Database
30
3.4.3 Serial Communications
53
3.4.4 Main_app.c
53
3.4.5 Debugprt.c
54
3.4.6 MVIcfg.c
54
3.4.7 Commdrv.c
56
3.5 ADM API Architecture
59
3.6 ADM API Files
60
3.7 Backplane API Files
64
3.8 Serial API Files
66
3.9 Side-Connect API Files
67
3.9.2 Data Transfer
67
4.2 Setting Up WINIMAGE
87
SETDNPSC 10
88
5 Programming the Module
91
5.1 ROM Disk Configuration
92
5.1.1 CONFIG.SYS File
92
5.1.2 Command Interpreter
94
5.1.3 Sample ROM Disk Image
95
5.3 MVIUPDAT
99
CONNECT
100
5.4 MVI System BIOS Setup
101
5.5 Debugging Strategies
102
6 Creating Ladder Logic
103
6.1 MVI46 Ladder Logic
104
6.1.1 Main Routine
104
6.2.2 Read Routine
105
6.2 MVI56 Ladder Logic
105
6.2.1 Main Routine
105
6.3 MVI69 Ladder Logic
106
6.3.1 Main Routine
106
6.3.2 Read Routine
107
6.3.3 Write Routine
108
6.4 MVI71 Ladder Logic
109
6.4.1 Sample Ladder Logic
109
6.5 MVI94 Ladder Logic
115
6.5.1 Main Routine
115
6.5.2 ADM
116
ADM API
119
7.1 ADM API Functions
120
ADM_Open
123
ADM_Close
124
ADM_ProcessDebug
125
ADM_DAWriteSendCtl
126
ADM_DAWriteRecvCtl
127
ADM_DAWriteSendData
128
ADM_DAWriteRecvData
129
ADM_ConPrint
130
ADM_CheckDBPort
131
ADM_DBOpen
132
ADM_DBClose
133
ADM_DBZero
134
ADM_DBGetBit
135
ADM_DBSetBit
136
ADM_DBClearBit
137
ADM_DBGetByte
138
ADM_DBSetByte
139
ADM_DBGetWord
140
ADM_DBSetWord
141
ADM_DBGetLong
142
ADM_DBSetLong
143
ADM_DBGetFloat
144
ADM_DBSetFloat
145
ADM_DBGetDFloat
146
ADM_DBSetDFloat
147
ADM_DBGetBuff
148
ADM_DBSetBuff
149
ADM_DBGetRegs
150
ADM_DBSetRegs
151
ADM_DBGetString
152
ADM_DBSetString
153
ADM_DBSwapWord
154
ADM_DBSwapDWord
155
ADM_GetDBCptr
156
ADM_GetDBIptr
157
ADM_GetDBInt
158
ADM_DBChanged
159
ADM_DBBitChanged
160
ADM_DBOR_Byte
161
ADM_DBNOR_Byte
162
ADM_DBAND_Byte
163
ADM_DBNAND_Byte
164
ADM_DBXOR_Byte
165
ADM_DBXNOR_Byte
166
7.5 ADM API Clock Functions
167
ADM_StartTimer
167
ADM_CheckTimer
168
ADM_BtOpen
169
ADM_BtClose
170
ADM_BtNext
171
ADM_ReadBtCfg
172
ADM_BtFunc
173
ADM_SetStatus
174
ADM_SetBtStatus
175
7.7 ADM LED Functions
176
ADM_SetLed
176
7.8 ADM API Flash Functions
177
ADM_FileGetString
177
ADM_FileGetInt
178
ADM_FileGetChar
179
ADM_GetVal
180
ADM_GetChar
181
ADM_GetStr
182
ADM_SkipToNext
183
ADM_Getc
184
ADM_GetVersionInfo
185
ADM_SetConsolePort
186
ADM_SetConsoleSpeed
187
ADM_ScOpen
188
ADM_ScClose
189
ADM_ReadScFile
190
ADM_ReadScCfg
191
ADM_ScScan
192
7.11 ADM API RAM Functions
193
ADM_EEPROM_ReadConfiguration
193
ADM_RAM_Find_Section
194
ADM_RAM_GetString
195
ADM_RAM_GetInt
196
ADM_RAM_GetLong
197
ADM_RAM_GetFloat
198
ADM_RAM_GetDouble
199
ADM_RAM_GetChar
200
8 Backplane API Functions
201
MVIbp_Open
203
MVIbp_Close
204
MVIbp_GetIOConfig
206
MVIbp_SetIOConfig
208
MVIbp_WaitForInputScan
210
MVIbp_WaitForOutputScan
212
MVIbp_ReadOutputImage
214
MVIbp_WriteInputImage
215
MVIbp_ReceiveMessage
216
MVIbp_SendMessage
218
MVIbp_GetVersionInfo
220
MVIbp_GetModuleInfo
221
MVIbp_ErrorString
222
MVIbp_SetUserLED
223
MVIbp_SetModuleStatus
224
MVIbp_GetConsoleMode
225
MVIbp_GetSetupMode
226
MVIbp_GetProcessorStatus
227
MVIbp_Sleep
228
MVIbp_SetConsoleMode
229
MVIbp_ReadModuleFile (MVI46)
230
MVIsp_Open
235
MVIsp_OpenAlt
237
MVIsp_Close
239
MVIsp_Config
240
MVIsp_SetHandshaking
242
MVIsp_SetRTS
243
MVIsp_GetRTS
244
MVIsp_SetDTR
245
MVIsp_GetDTR
246
MVIsp_GetCTS
247
MVIsp_GetDSR
248
MVIsp_GetDCD
249
MVIsp_GetLineStatus
250
MVIsp_Putch
251
MVIsp_Getch
252
MVIsp_Puts
253
MVIsp_PutData
255
MVIsp_Gets
257
MVIsp_GetData
259
MVIsp_GetCountUnsent
261
MVIsp_GetCountUnread
262
MVIsp_PurgeDataUnsent
263
MVIsp_PurgeDataUnread
264
MVIsp_GetVersionInfo
265
10.2 CIP API Architecture
269
MVIcip_Open
270
MVIcip_Close
271
MVIcip_RegisterAssemblyObj
272
MVIcip_UnregisterAssemblyObj
274
10.5 CIPConnect
275
Data Transfer
275
MVIcip_WriteConnected
275
MVIcip_ReadConnected
276
MVIHANDLE connHandle;
277
BYTE buffer[128];
277
10.6 CIP Callback Functions
278
MVIcip_RegisterFatalFaultRtn
289
MVIcip_RegisterResetReqRtn
290
MVIcip_GetIdObject
292
MVIcip_GetVersionInfo
293
MVIcip_SetUserLED
294
MVIcip_SetModuleStatus
295
MVIcip_ErrorString
296
MVIcip_GetSetupMode
297
MVIcip_GetConsoleMode
298
MVIcip_Sleep
299
11.1 Initialization
302
11.1.1 PLC Data Table Access
302
11.1.2 Synchronization
302
11.2 PLC Message Handling
303
11.2.1 Block Transfer
303
11.2.3 Miscellaneous
303
MVIsc_Open
304
MVIsc_Close
305
MVIsc_GetPLCFileInfo
306
MVIsc_WritePLC
308
MVIsc_ReadPLC
310
MVIsc_RMWPLC
312
MVIsc_WaitForEos
314
MVIsc_PLCMsgRead
315
MVIsc_PLCMsgWrite
316
MVIsc_PLCMsgWait
317
MVIsc_PLCBTRead
318
MVIsc_PLCBTWrite
319
MVIsc_GetPLCStatus
320
MVIsc_GetPLCClock
322
MVIsc_SyncPLCClock
323
MVIsc_ClearFault
324
MVIsc_SetPLCMode
325
MVIsc_GetVersionInfo
326
MVIsc_ErrorStr
327
MVIsc_GetLastPcccError
328
MVIsc_BCD2BIN
329
MVIsc_BIN2BCD
330
13.2 Warranty Information
334
Glossary of Terms
335
Comentarios a estos manuales
Sin comentarios
Publish
Relacionado con productos y manuales para Relé Prosoft-technology MVI69-ADM
Relé Prosoft-technology MVI69-MCM Manual de usuario
(167 paginas)
Relé Prosoft-technology MVI69-HART Manual de usuario
(169 paginas)
Relé Prosoft-technology MVI69-PDPMV1 Manual de usuario
(225 paginas)
Relé Prosoft-technology MVI69-GSC Manual de usuario
(102 paginas)
Relé Prosoft-technology MVI69-DNP Manual de usuario
(129 paginas)
Relé Prosoft-technology MVI56-103M Manual de usuario
(152 paginas)
Relé Prosoft-technology MVI56-DFCMR Manual de usuario
(113 paginas)
Relé Prosoft-technology MVI56-101S Manual de usuario
(193 paginas)
Relé Prosoft-technology MVI56-104S Manual de usuario
(188 paginas)
Relé Prosoft-technology MVI56E-MNETCR Manual de usuario
(159 paginas)
Relé Prosoft-technology MVI56E-GSC/ GSCXT Manual de usuario
(140 paginas)
Relé Prosoft-technology MVI56-PDPMV1 Manual de usuario
(255 paginas)
Relé Prosoft-technology CLX-APACS Manual de usuario
(53 paginas)
Relé Prosoft-technology MVI56E-61850S Manual de usuario
(81 paginas)
Relé Prosoft-technology MVI56E-MCMR Manual de usuario
(225 paginas)
Relé Prosoft-technology MVI56E-DNPNET Manual de usuario
(140 paginas)
Relé Prosoft-technology MVI56E-SIE Manual de usuario
(168 paginas)
Relé Prosoft-technology MVI56E-LDM Manual de usuario
(264 paginas)
Relé Prosoft-technology 3170-MBS Manual de usuario
(55 paginas)
Relé Prosoft-technology MVI71-MNET Manual de usuario
(109 paginas)
Imprimir documento
Imprimir pagina 118
Comentarios a estos manuales