Gocator API

- Home
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages
GoEthernet.h
Go to the documentation of this file.
1 /**
2 * @file GoEthernet.h
3 * @brief Declares the GoEthernet class.
4 *
5 * @internal
6 * Copyright (C) 2016 by LMI Technologies Inc.
7 * Licensed under the MIT License.
8 * Redistributed files must retain the above copyright notice.
9 */
10 #ifndef GO_SDK_ETHERNET_H
11 #define GO_SDK_ETHERNET_H
12
13 #include <GoSdk/GoSdkDef.h>
14
15 kBeginHeader()
16
17 /**
18 * @class GoEthernet
19 * @extends kObject
20 * @ingroup GoSdk-Ethernet
21 * @brief Represents Ethernet output settings.
22 */
23 typedef kObject GoEthernet;
24
25 /**
26 * Indicates whether the ethernet connection timeout is enabled. If it is
27 * enabled, the configured timeout value will be used.
28 *
29 * @public @memberof GoEthernet
30 * @version Introduced in firmware 4.3.3.124
31 * @param ethernet GoEthernet object.
32 * @return kTRUE if enabled and kFALSE otherwise.
33 * @see GoEthernet_Timeout, GoEthernet_SetTimeout
34 */
35 GoFx(kBool) GoEthernet_TimeoutEnabled(GoEthernet ethernet);
36
37 /**
38 * Enables or disables the ethernet connection timeout.
39 *
40 * @public @memberof GoEthernet
41 * @version Introduced in firmware 4.3.3.124
42 * @param ethernet GoEthernet object.
43 * @param value kTRUE to enable the connection timeout and
44 * kFALSE to disable it.
45 * @return Operation status.
46 */
47 GoFx(kStatus) GoEthernet_EnableTimeout(GoEthernet ethernet, kBool value);
48
49 /**
50 * Returns the connection timeout value in minutes.
51 *
52 * @public @memberof GoEthernet
53 * @version Introduced in firmware 4.3.3.124
54 * @param ethernet GoEthernet object.
55 * @return Connection timeout value in minutes.
56 */
57 GoFx(k64f) GoEthernet_Timeout(GoEthernet ethernet);
58
59 /**
60 * Sets the connection timeout value.
61 *
62 * @public @memberof GoEthernet
63 * @version Introduced in firmware 4.3.3.124
64 * @param ethernet GoEthernet object.
65 * @param value The timeout value (in minutes).
66 * @return Operation status.
67 */
68 GoFx(kStatus) GoEthernet_SetTimeout(GoEthernet ethernet, k64f value);
69
70 /**
71 * Gets the number of source options for the specified output type.
72 *
73 * @public @memberof GoEthernet
74 * @version Introduced in firmware 4.0.10.27
75 * @param ethernet GoEthernet object.
76 * @param type Output source type.
77 * @return Count of source options.
78 */
79 GoFx(kSize) GoEthernet_OptionCount(GoEthernet ethernet, GoOutputSource type);
80
81 /**
82 * Gets the source option at the specified index.
83 *
84 * @public @memberof GoEthernet
85 * @version Introduced in firmware 4.0.10.27
86 * @param ethernet GoEthernet object.
87 * @param type Output source type.
88 * @param index Source option index.
89 * @return Source option.
90 */
91 GoFx(k32u) GoEthernet_OptionAt(GoEthernet ethernet, GoOutputSource type, kSize index);
92
93 /**
94 * Gets the number of sources of the specified output type that are currently selected for transmission.
95 *
96 * @public @memberof GoEthernet
97 * @version Introduced in firmware 4.0.10.27
98 * @param ethernet GoEthernet object.
99 * @param type Output source type.
100 * @return Count of selected sources.
101 */
102 GoFx(kSize) GoEthernet_SourceCount(GoEthernet ethernet, GoOutputSource type);
103
104 /**
105 * Gets the identifier of the selected output at the specified index.
106 *
107 * @public @memberof GoEthernet
108 * @version Introduced in firmware 4.0.10.27
109 * @param ethernet GoEthernet object.
110 * @param type Output source type.
111 * @param index Selected source index.
112 * @return Source identifier.
113 */
114 GoFx(k32u) GoEthernet_SourceAt(GoEthernet ethernet, GoOutputSource type, kSize index);
115
116 /**
117 * Selects the specified source for transmission.
118 *
119 * @public @memberof GoEthernet
120 * @version Introduced in firmware 4.0.10.27
121 * @param ethernet GoEthernet object.
122 * @param type Output source type.
123 * @param sourceId Output source identifier.
124 * @return Operation status.
125 */
126 GoFx(kStatus) GoEthernet_AddSource(GoEthernet ethernet, GoOutputSource type, k32u sourceId);
127
128 /**
129 * Removes (deselects) the source at the specified index.
130 *
131 * @public @memberof GoEthernet
132 * @version Introduced in firmware 4.0.10.27
133 * @param ethernet GoEthernet object.
134 * @param type Output source type.
135 * @param index Index of the source to be removed.
136 * @return Operation status.
137 */
138 GoFx(kStatus) GoEthernet_RemoveSource(GoEthernet ethernet, GoOutputSource type, kSize index);
139
140 /**
141 * Removes (deselects) all selected sources for the specified output type.
142 *
143 * @public @memberof GoEthernet
144 * @version Introduced in firmware 4.0.10.27
145 * @param ethernet GoEthernet object.
146 * @param type Output source type.
147 * @return Operation status.
148 */
149 GoFx(kStatus) GoEthernet_ClearSources(GoEthernet ethernet, GoOutputSource type);
150
151 /**
152 * Removes (deselects) all selected sources for all possible ethernet output types.
153 *
154 * @public @memberof GoEthernet
155 * @version Introduced in firmware 4.0.10.27
156 * @param ethernet GoEthernet object.
157 * @return Operation status.
158 */
159 GoFx(kStatus) GoEthernet_ClearAllSources(GoEthernet ethernet);
160
161
162 /**
163 * Gets the number of composite source options for the specified output type.
164 *
165 * @public @memberof GoEthernet
166 * @version Introduced in firmware 4.4.4.14
167
168 * @param ethernet GoEthernet object.
169 * @param type Output data type.
170 * @return Count of composite source options.
171 */
172 GoFx(kSize) GoEthernet_CompositeOptionCount(GoEthernet ethernet, GoOutputSource type);
173
174 /**
175 * Gets the composite source option at the specified index.
176 *
177 * @public @memberof GoEthernet
178 * @version Introduced in firmware 4.4.4.14
179 * @param ethernet GoEthernet object.
180 * @param type Output source type.
181 * @param index List index.
182 * @return Composite source option.
183 */
184 GoFx(GoOutputCompositeSource) GoEthernet_CompositeOptionAt(GoEthernet ethernet, GoOutputSource type, kSize index);
185
186 /**
187 * Gets the number of composite sources of the specified output type that are currently selected for transmission.
188 *
189 * @public @memberof GoEthernet
190 * @version Introduced in firmware 4.4.4.14
191 * @param ethernet GoEthernet object.
192 * @param type Output CompositeSource type.
193 * @return Count of selected composite data sources.
194 */
195 GoFx(kSize) GoEthernet_CompositeSourceCount(GoEthernet ethernet, GoOutputSource type);
196
197 /**
198 * Gets the identifier of the selected output at the specified index.
199 *
200 * @public @memberof GoEthernet
201 * @version Introduced in firmware 4.4.4.14
202 * @param ethernet GoEthernet object.
203 * @param type Output CompositeSource type.
204 * @param index Selected index.
205 * @return Composite source value.
206 */
207 GoFx(GoOutputCompositeSource) GoEthernet_CompositeSourceAt(GoEthernet ethernet, GoOutputSource type, kSize index);
208
209 /**
210 * Selects the specified composite source for transmission.
211 *
212 * @public @memberof GoEthernet
213 * @version Introduced in firmware 4.4.4.14
214 * @param ethernet GoEthernet object.
215 * @param type Output CompositeSource type.
216 * @param source Composite source identifier.
217 * @return Operation status.
218 */
219 GoFx(kStatus) GoEthernet_AddCompositeSource(GoEthernet ethernet, GoOutputSource type, GoOutputCompositeSource source);
220
221 /**
222 * Removes (deselects) the composite source at the specified index.
223 *
224 * @public @memberof GoEthernet
225 * @version Introduced in firmware 4.4.4.14
226 * @param ethernet GoEthernet object.
227 * @param type Output type.
228 * @param index Index of the composite source to be removed.
229 * @return Operation status.
230 */
231 GoFx(kStatus) GoEthernet_RemoveCompositeSource(GoEthernet ethernet, GoOutputSource type, kSize index);
232
233 /**
234 * Gets the protocol that the ethernet utilizes for output.
235 *
236 * @public @memberof GoEthernet
237 * @version Introduced in firmware 4.0.10.27
238 * @param ethernet GoEthernet object.
239 * @return The ethernet protocol.
240 */
241 GoFx(GoEthernetProtocol) GoEthernet_Protocol(GoEthernet ethernet);
242
243 /**
244 * Sets the protocol which will be output via ethernet.
245 *
246 * @public @memberof GoEthernet
247 * @version Introduced in firmware 4.0.10.27
248 * @param ethernet GoEthernet object.
249 * @param protocol The selected ethernet protocol.
250 * @return Operation status.
251 */
252 GoFx(kStatus) GoEthernet_SetProtocol(GoEthernet ethernet, GoEthernetProtocol protocol);
253
254 /**
255 * Gets the ASCII protocol operational mode.
256 *
257 * @public @memberof GoEthernet
258 * @version Introduced in firmware 4.0.10.27
259 * @param ethernet GoEthernet object.
260 * @return Operation mode.
261 */
262 GoFx(GoAsciiOperation) GoEthernet_AsciiOperation(GoEthernet ethernet);
263
264 /**
265 * Sets the ASCII operation mode.
266 *
267 * @public @memberof GoEthernet
268 * @version Introduced in firmware 4.0.10.27
269 * @param ethernet GoEthernet object.
270 * @param mode The selected ASCII operation mode.
271 * @return Operation status.
272 */
273 GoFx(kStatus) GoEthernet_SetAsciiOperation(GoEthernet ethernet, GoAsciiOperation mode);
274
275 /**
276 * Gets the ASCII protocol control channel port number.
277 *
278 * @public @memberof GoEthernet
279 * @version Introduced in firmware 4.0.10.27
280 * @param ethernet GoEthernet object.
281 * @return Control channel port number.
282 */
283 GoFx(k32u) GoEthernet_AsciiControlPort(GoEthernet ethernet);
284
285 /**
286 * Sets the port number of the ASCII control port.
287 *
288 * @public @memberof GoEthernet
289 * @version Introduced in firmware 4.0.10.27
290 * @param ethernet GoEthernet object.
291 * @param port The selected ASCII control port value.
292 * @return Operation status.
293 */
294 GoFx(kStatus) GoEthernet_SetAsciiControlPort(GoEthernet ethernet, k32u port);
295
296 /**
297 * Gets the ASCII protocol health channel port number.
298 *
299 * @public @memberof GoEthernet
300 * @version Introduced in firmware 4.0.10.27
301 * @param ethernet GoEthernet object.
302 * @return Health channel port number.
303 */
304 GoFx(k32u) GoEthernet_AsciiHealthPort(GoEthernet ethernet);
305
306 /**
307 * Sets the port number of the ASCII health port.
308 *
309 * @public @memberof GoEthernet
310 * @version Introduced in firmware 4.0.10.27
311 * @param ethernet GoEthernet object.
312 * @param port The selected ASCII health port value.
313 * @return Operation status.
314 */
315 GoFx(kStatus) GoEthernet_SetAsciiHealthPort(GoEthernet ethernet, k32u port);
316
317 /**
318 * Gets the ASCII protocol data channel port number.
319 *
320 * @public @memberof GoEthernet
321 * @version Introduced in firmware 4.0.10.27
322 * @param ethernet GoEthernet object.
323 * @return Data channel port number.
324 */
325 GoFx(k32u) GoEthernet_AsciiDataPort(GoEthernet ethernet);
326
327 /**
328 * Sets the port number of the ASCII data port.
329 *
330 * @public @memberof GoEthernet
331 * @version Introduced in firmware 4.0.10.27
332 * @param ethernet GoEthernet object.
333 * @param port The selected ASCII data port value.
334 * @return Operation status.
335 */
336 GoFx(kStatus) GoEthernet_SetAsciiDataPort(GoEthernet ethernet, k32u port);
337
338 /**
339 * Gets the ASCII protocol output delimiter string.
340 *
341 * @public @memberof GoEthernet
342 * @version Introduced in firmware 4.0.10.27
343 * @param ethernet GoEthernet object.
344 * @return A pointer to the string representing the ASCII protocol output delimiter.
345 */
346 GoFx(kChar*) GoEthernet_AsciiDelimiter(GoEthernet ethernet);
347
348 /**
349 * Sets the ASCII protocol output delimiter string.
350 *
351 * @public @memberof GoEthernet
352 * @version Introduced in firmware 4.0.10.27
353 * @param ethernet GoEthernet object.
354 * @param string A pointer to the string representing the ASCII protocol output delimiter.
355 * @return Operation status.
356 */
357 GoFx(kStatus) GoEthernet_SetAsciiDelimiter(GoEthernet ethernet, const kChar* string);
358
359 /**
360 * Gets the ASCII protocol output terminator string.
361 *
362 * @public @memberof GoEthernet
363 * @version Introduced in firmware 4.0.10.27
364 * @param ethernet GoEthernet object.
365 * @return A pointer to the terminator representing the ASCII protocol output delimiter.
366 */
367 GoFx(kChar*) GoEthernet_AsciiTerminator(GoEthernet ethernet);
368
369 /**
370 * Sets the ASCII protocol output terminator string.
371 *
372 * @public @memberof GoEthernet
373 * @version Introduced in firmware 4.0.10.27
374 * @param ethernet GoEthernet object.
375 * @param string A pointer to the string representing the ASCII protocol output terminator.
376 * @return Operation status.
377 */
378 GoFx(kStatus) GoEthernet_SetAsciiTerminator(GoEthernet ethernet, const kChar* string);
379
380 /**
381 * Gets the ASCII protocol output invalid value string.
382 *
383 * @public @memberof GoEthernet
384 * @version Introduced in firmware 4.0.10.27
385 * @param ethernet GoEthernet object.
386 * @return A pointer to the string representing the ASCII protocol output invalid value.
387 */
388 GoFx(kChar*) GoEthernet_AsciiInvalidValue(GoEthernet ethernet);
389
390 /**
391 * Sets the ASCII protocol output invalid value string.
392 *
393 * @public @memberof GoEthernet
394 * @version Introduced in firmware 4.0.10.27
395 * @param ethernet GoEthernet object.
396 * @param string A pointer to the string representing the ASCII protocol output invalid value.
397 * @return Operation status.
398 */
399 GoFx(kStatus) GoEthernet_SetAsciiInvalidValue(GoEthernet ethernet, const kChar* string);
400
401 /**
402 * Gets the ASCII protocol output custom data format string.
403 *
404 * @public @memberof GoEthernet
405 * @version Introduced in firmware 4.0.10.27
406 * @param ethernet GoEthernet object.
407 * @return A pointer to the string representing the ASCII protocol output custom data format.
408 */
409 GoFx(kChar*) GoEthernet_AsciiCustomDataFormat(GoEthernet ethernet);
410
411 /**
412 * Sets the ASCII protocol output custom data format string.
413 *
414 * @public @memberof GoEthernet
415 * @version Introduced in firmware 4.0.10.27
416 * @param ethernet GoEthernet object.
417 * @param string A pointer to the string representing the ASCII protocol output custom data format.
418 * @return Operation status.
419 */
420 GoFx(kStatus) GoEthernet_SetAsciiCustomDataFormat(GoEthernet ethernet, const kChar* string);
421
422 /**
423 * Enables or disables the ASCII protocol output custom data format.
424 *
425 * @public @memberof GoEthernet
426 * @version Introduced in firmware 4.0.10.27
427 * @param ethernet GoEthernet object.
428 * @param enabled kTRUE to enable custom data format output. kFALSE to use the default output format.
429 * @return Operation status.
430 */
431 GoFx(kStatus) GoEthernet_EnableAsciiCustomFormat(GoEthernet ethernet, kBool enabled);
432
433 /**
434 * Returns the value of whether the ASCII protocol custom data format is enabled or disabled.
435 *
436 * @public @memberof GoEthernet
437 * @version Introduced in firmware 4.0.10.27
438 * @param ethernet GoEthernet object.
439 * @return kTRUE if the custom data format is enabled. kFALSE otherwise.
440 */
441 GoFx(kBool) GoEthernet_AsciiCustomFormatEnabled(GoEthernet ethernet);
442
443 /**
444 * Enables or disables EthernetIP protocol output buffering.
445 *
446 * @public @memberof GoEthernet
447 * @version Introduced in firmware 4.0.10.27
448 * @param ethernet GoEthernet object.
449 * @param enabled kTRUE to enable buffering. kFALSE to disable it.
450 * @return Operation status.
451 */
452 GoFx(kStatus) GoEthernet_SetEIPBufferingEnabled(GoEthernet ethernet, kBool enabled);
453
454 /**
455 * Returns the value of whether the EthernetIP protocol output buffering is enabled or disabled.
456 *
457 * @public @memberof GoEthernet
458 * @version Introduced in firmware 4.0.10.27
459 * @param ethernet GoEthernet object.
460 * @return kTRUE if buffering is enabled. kFALSE otherwise.
461 */
462 GoFx(kBool) GoEthernet_EIPBufferingEnabled(GoEthernet ethernet);
463
464 /**
465 * Sets the EthernetIP protocol endian output type.
466 *
467 * @public @memberof GoEthernet
468 * @version Introduced in firmware 4.1.3.106
469 * @param ethernet GoEthernet object.
470 * @param type The endian output type to set.
471 * @return Operation status.
472 */
473 GoFx(kStatus) GoEthernet_SetEIPEndianOutputType(GoEthernet ethernet, GoEndianType type);
474
475 /**
476 * Returns the value of the EthernetIP protocol endian output type.
477 *
478 * @public @memberof GoEthernet
479 * @version Introduced in firmware 4.1.3.106
480 * @param ethernet GoEthernet object.
481 * @return Endian output type.
482 */
483 GoFx(kBool) GoEthernet_EIPEndianOutputType(GoEthernet ethernet);
484
485 /**
486 * Sets the EthernetIP protocol implicit trigger override.
487 *
488 * @public @memberof GoEthernet
489 * @version Introduced in firmware 4.2.4.7
490 * @param ethernet GoEthernet object.
491 * @param value The implicit trigger override value to set.
492 * @return Operation status.
493 */
494 GoFx(kStatus) GoEthernet_SetEIPImplicitTriggerOverride(GoEthernet ethernet, GoImplicitTriggerOverride value);
495
496 /**
497 * Returns the value of the EthernetIP protocol implicit trigger override.
498 *
499 * @public @memberof GoEthernet
500 * @version Introduced in firmware 4.2.4.7
501 * @param ethernet GoEthernet object.
502 * @return Implicit trigger override value.
503 */
504 GoFx(GoImplicitTriggerOverride) GoEthernet_EIPImplicitTriggerOverride(GoEthernet ethernet);
505
506 /**
507 * Enables or disables Modbus protocol output buffering.
508 *
509 * @public @memberof GoEthernet
510 * @version Introduced in firmware 4.0.10.27
511 * @param ethernet GoEthernet object.
512 * @param enabled kTRUE to enable buffering. kFALSE to disable it.
513 * @return Operation status.
514 */
515 GoFx(kStatus) GoEthernet_SetModbusBufferingEnabled(GoEthernet ethernet, kBool enabled);
516
517 /**
518 * Returns the value of whether Modbus protocol output buffering is enabled or disabled.
519 *
520 * @public @memberof GoEthernet
521 * @version Introduced in firmware 4.0.10.27
522 * @param ethernet GoEthernet object.
523 * @return kTRUE if buffering is enabled. kFALSE otherwise.
524 */
525 GoFx(kBool) GoEthernet_ModbusBufferingEnabled(GoEthernet ethernet);
526
527 kEndHeader()
528 #include <GoSdk/Outputs/GoEthernet.x.h>
529
530 #endif
k32u
GoEthernet::GoEthernet_CompositeOptionAt
GoOutputCompositeSource GoEthernet_CompositeOptionAt(GoEthernet ethernet, GoOutputSource type, kSize index)
Gets the composite source option at the specified index.
GoEthernet::GoEthernet_ClearAllSources
kStatus GoEthernet_ClearAllSources(GoEthernet ethernet)
Removes (deselects) all selected sources for all possible ethernet output types.
GoEthernet::GoEthernet_SetEIPImplicitTriggerOverride
kStatus GoEthernet_SetEIPImplicitTriggerOverride(GoEthernet ethernet, GoImplicitTriggerOverride value)
Sets the EthernetIP protocol implicit trigger override.
GoEthernet::GoEthernet_AsciiCustomDataFormat
kChar * GoEthernet_AsciiCustomDataFormat(GoEthernet ethernet)
Gets the ASCII protocol output custom data format string.
GoEthernet::GoEthernet_ModbusBufferingEnabled
kBool GoEthernet_ModbusBufferingEnabled(GoEthernet ethernet)
Returns the value of whether Modbus protocol output buffering is enabled or disabled.
GoEthernet::GoEthernet_AddCompositeSource
kStatus GoEthernet_AddCompositeSource(GoEthernet ethernet, GoOutputSource type, GoOutputCompositeSource source)
Selects the specified composite source for transmission.
GoEthernet::GoEthernet_RemoveSource
kStatus GoEthernet_RemoveSource(GoEthernet ethernet, GoOutputSource type, kSize index)
Removes (deselects) the source at the specified index.
GoEthernet::GoEthernet_CompositeSourceAt
GoOutputCompositeSource GoEthernet_CompositeSourceAt(GoEthernet ethernet, GoOutputSource type, kSize index)
Gets the identifier of the selected output at the specified index.
GoEthernet::GoEthernet_AsciiDataPort
k32u GoEthernet_AsciiDataPort(GoEthernet ethernet)
Gets the ASCII protocol data channel port number.
kSize
GoEthernet::GoEthernet_AsciiControlPort
k32u GoEthernet_AsciiControlPort(GoEthernet ethernet)
Gets the ASCII protocol control channel port number.
GoEthernet::GoEthernet_SetProtocol
kStatus GoEthernet_SetProtocol(GoEthernet ethernet, GoEthernetProtocol protocol)
Sets the protocol which will be output via ethernet.
GoEthernet::GoEthernet_SetAsciiHealthPort
kStatus GoEthernet_SetAsciiHealthPort(GoEthernet ethernet, k32u port)
Sets the port number of the ASCII health port.
GoEthernet::GoEthernet_SetAsciiDelimiter
kStatus GoEthernet_SetAsciiDelimiter(GoEthernet ethernet, const kChar *string)
Sets the ASCII protocol output delimiter string.
GoEthernetProtocol
Represents a ethernet output protocol.
GoEthernet::GoEthernet_TimeoutEnabled
kBool GoEthernet_TimeoutEnabled(GoEthernet ethernet)
Indicates whether the ethernet connection timeout is enabled.
GoEndianType
Represents an endian output type.
kChar
GoEthernet::GoEthernet_EIPImplicitTriggerOverride
GoImplicitTriggerOverride GoEthernet_EIPImplicitTriggerOverride(GoEthernet ethernet)
Returns the value of the EthernetIP protocol implicit trigger override.
GoOutputCompositeSource
Represents a composite data source.
Definition: GoSdkDef.h:693
GoEthernet::GoEthernet_AsciiDelimiter
kChar * GoEthernet_AsciiDelimiter(GoEthernet ethernet)
Gets the ASCII protocol output delimiter string.
GoEthernet::GoEthernet_SetAsciiCustomDataFormat
kStatus GoEthernet_SetAsciiCustomDataFormat(GoEthernet ethernet, const kChar *string)
Sets the ASCII protocol output custom data format string.
GoEthernet::GoEthernet_SetAsciiInvalidValue
kStatus GoEthernet_SetAsciiInvalidValue(GoEthernet ethernet, const kChar *string)
Sets the ASCII protocol output invalid value string.
GoEthernet::GoEthernet_Timeout
k64f GoEthernet_Timeout(GoEthernet ethernet)
Returns the connection timeout value in minutes.
GoEthernet::GoEthernet_SetAsciiControlPort
kStatus GoEthernet_SetAsciiControlPort(GoEthernet ethernet, k32u port)
Sets the port number of the ASCII control port.
GoEthernet::GoEthernet_AsciiOperation
GoAsciiOperation GoEthernet_AsciiOperation(GoEthernet ethernet)
Gets the ASCII protocol operational mode.
GoEthernet::GoEthernet_AddSource
kStatus GoEthernet_AddSource(GoEthernet ethernet, GoOutputSource type, k32u sourceId)
Selects the specified source for transmission.
GoSdkDef.h
Essential SDK declarations.
GoEthernet::GoEthernet_EnableTimeout
kStatus GoEthernet_EnableTimeout(GoEthernet ethernet, kBool value)
Enables or disables the ethernet connection timeout.
GoEthernet::GoEthernet_CompositeOptionCount
kSize GoEthernet_CompositeOptionCount(GoEthernet ethernet, GoOutputSource type)
Gets the number of composite source options for the specified output type.
GoEthernet::GoEthernet_AsciiHealthPort
k32u GoEthernet_AsciiHealthPort(GoEthernet ethernet)
Gets the ASCII protocol health channel port number.
GoImplicitTriggerOverride
Represents an EthernetIP implicit messaging trigger override.
GoEthernet::GoEthernet_CompositeSourceCount
kSize GoEthernet_CompositeSourceCount(GoEthernet ethernet, GoOutputSource type)
Gets the number of composite sources of the specified output type that are currently selected for tra...
GoEthernet::GoEthernet_ClearSources
kStatus GoEthernet_ClearSources(GoEthernet ethernet, GoOutputSource type)
Removes (deselects) all selected sources for the specified output type.
GoEthernet::GoEthernet_SetTimeout
kStatus GoEthernet_SetTimeout(GoEthernet ethernet, k64f value)
Sets the connection timeout value.
GoOutputSource
Represents output sources.
GoEthernet::GoEthernet_EnableAsciiCustomFormat
kStatus GoEthernet_EnableAsciiCustomFormat(GoEthernet ethernet, kBool enabled)
Enables or disables the ASCII protocol output custom data format.
GoEthernet::GoEthernet_Protocol
GoEthernetProtocol GoEthernet_Protocol(GoEthernet ethernet)
Gets the protocol that the ethernet utilizes for output.
GoAsciiOperation
Represents an ASCII protocol operational type.
GoEthernet::GoEthernet_SetEIPBufferingEnabled
kStatus GoEthernet_SetEIPBufferingEnabled(GoEthernet ethernet, kBool enabled)
Enables or disables EthernetIP protocol output buffering.
GoEthernet::GoEthernet_OptionAt
k32u GoEthernet_OptionAt(GoEthernet ethernet, GoOutputSource type, kSize index)
Gets the source option at the specified index.
GoEthernet::GoEthernet_SetAsciiTerminator
kStatus GoEthernet_SetAsciiTerminator(GoEthernet ethernet, const kChar *string)
Sets the ASCII protocol output terminator string.
GoEthernet::GoEthernet_RemoveCompositeSource
kStatus GoEthernet_RemoveCompositeSource(GoEthernet ethernet, GoOutputSource type, kSize index)
Removes (deselects) the composite source at the specified index.
GoEthernet::GoEthernet_SetAsciiOperation
kStatus GoEthernet_SetAsciiOperation(GoEthernet ethernet, GoAsciiOperation mode)
Sets the ASCII operation mode.
kObject
kStatus
GoEthernet::GoEthernet_SourceAt
k32u GoEthernet_SourceAt(GoEthernet ethernet, GoOutputSource type, kSize index)
Gets the identifier of the selected output at the specified index.
GoEthernet::GoEthernet_SetModbusBufferingEnabled
kStatus GoEthernet_SetModbusBufferingEnabled(GoEthernet ethernet, kBool enabled)
Enables or disables Modbus protocol output buffering.
GoEthernet::GoEthernet_EIPEndianOutputType
kBool GoEthernet_EIPEndianOutputType(GoEthernet ethernet)
Returns the value of the EthernetIP protocol endian output type.
k64f
GoEthernet::GoEthernet_SetEIPEndianOutputType
kStatus GoEthernet_SetEIPEndianOutputType(GoEthernet ethernet, GoEndianType type)
Sets the EthernetIP protocol endian output type.
GoEthernet::GoEthernet_SetAsciiDataPort
kStatus GoEthernet_SetAsciiDataPort(GoEthernet ethernet, k32u port)
Sets the port number of the ASCII data port.
GoEthernet
Represents Ethernet output settings.
kBool
GoEthernet::GoEthernet_EIPBufferingEnabled
kBool GoEthernet_EIPBufferingEnabled(GoEthernet ethernet)
Returns the value of whether the EthernetIP protocol output buffering is enabled or disabled...
GoEthernet::GoEthernet_SourceCount
kSize GoEthernet_SourceCount(GoEthernet ethernet, GoOutputSource type)
Gets the number of sources of the specified output type that are currently selected for transmission...
GoEthernet::GoEthernet_OptionCount
kSize GoEthernet_OptionCount(GoEthernet ethernet, GoOutputSource type)
Gets the number of source options for the specified output type.
GoEthernet::GoEthernet_AsciiCustomFormatEnabled
kBool GoEthernet_AsciiCustomFormatEnabled(GoEthernet ethernet)
Returns the value of whether the ASCII protocol custom data format is enabled or disabled.
GoEthernet::GoEthernet_AsciiTerminator
kChar * GoEthernet_AsciiTerminator(GoEthernet ethernet)
Gets the ASCII protocol output terminator string.
GoEthernet::GoEthernet_AsciiInvalidValue
kChar * GoEthernet_AsciiInvalidValue(GoEthernet ethernet)
Gets the ASCII protocol output invalid value string.