Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:configuration_api [2021/08/05 15:30] peter |
en:configuration_api [2021/08/06 15:19] kateyu [BS2InputConfigEx] |
||
---|---|---|---|
Line 2422: | Line 2422: | ||
- | ==== BS2InputConfigEx ==== | + | ==== BS2InputConfigEx ==== |
- | <code cpp> | + | <code cpp> |
- | typedef struct { | + | typedef struct { |
- | uint8_t numInputs; | + | uint8_t numInputs; |
- | uint8_t numSupervised; | + | uint8_t numSupervised; |
- | uint8_t reserved[18]; | + | uint8_t reserved[18]; |
- | + | ||
- | struct { | + | struct { |
- | uint8_t portIndex; | + | uint8_t portIndex; |
- | uint8_t switchType; | + | uint8_t switchType; |
- | uint16_t duration; | + | uint16_t duration; |
- | | + | |
- | uint8_t reserved; | + | uint8_t reserved; |
- | uint8_t supervisedResister; | + | uint8_t supervisedResister; |
- | uint8_t reserved1[16]; | + | uint8_t reserved1[16]; |
- | | + | |
- | uint8_t reserved2[26]; | + | uint8_t reserved2[26]; |
- | } inputs[BS2_MAX_INPUT_NUM_EX]; | + | } inputs[BS2_MAX_INPUT_NUM_EX]; |
- | + | ||
- | uint8_t reserved2[200]; | + | uint8_t reserved2[200]; |
- | } BS2InputConfigEx; | + | } BS2InputConfigEx; |
- | </code> | + | </code> |
1. //numInputs// \\ | 1. //numInputs// \\ | ||
Number of Input port. \\ \\ | Number of Input port. \\ \\ | ||
Line 2453: | Line 2453: | ||
Input Port Number. \\ \\ | Input Port Number. \\ \\ | ||
5. //switchType// \\ | 5. //switchType// \\ | ||
- | Input Signal Type\\ | + | Input Signal Type. \\ |
- | <WRAP group 50%> | + | <WRAP group 50%> |
^Value ^Description ^ | ^Value ^Description ^ | ||
|0 |Normally Open | | |0 |Normally Open | | ||
Line 2479: | Line 2479: | ||
11. //reserved2// \\ | 11. //reserved2// \\ | ||
Reserved Space. \\ \\ | Reserved Space. \\ \\ | ||
- | + | 5. //switchType// \\ | |
+ | Input 신호 유형입니다. \\ | ||
+ | <WRAP group 50%> | ||
+ | ^값 ^설명 ^ | ||
+ | |0 |Normally Open | | ||
+ | |1 |Normally Closed | | ||
+ | </WRAP> | ||
+ | 6. //duration// \\ | ||
+ | Input 신호의 지속시간으로 단위는 밀리초(ms)입니다. \\ \\ | ||
+ | 7. //reserved// \\ | ||
+ | 예약된 공간입니다. \\ \\ | ||
+ | 8. //supervisedResister// \\ | ||
+ | Supervised input 저항 값의 유형을 설정하거나, 해제할 수(unsupervised) 있습니다. \\ | ||
+ | <WRAP group 50%> | ||
+ | ^값 ^설명 ^ | ||
+ | |0 |1K 저항 | | ||
+ | |1 |2.2K 저항 | | ||
+ | |2 |4.7K 저항 | | ||
+ | |3 |10K 저항 | | ||
+ | |254 |Unsupervised(기본값) | | ||
+ | </WRAP> | ||
==== BS2RelayActionConfig ==== | ==== BS2RelayActionConfig ==== |