|
Dreamine.PLC.Core 1.0.1
Dreamine.PLC.Core 산업 자동화 및 I/O 기능을 제공합니다.
|
Public 멤버 함수 | |
| PlcResult< bool[]> | ReadBits (PlcAddress address, int count) |
| PlcResult< short[]> | ReadWords (PlcAddress address, int count) |
| PlcResult | WriteBits (PlcAddress address, IReadOnlyList< bool > values) |
| PlcResult | WriteWords (PlcAddress address, IReadOnlyList< short > values) |
| void | Clear () |
Private 멤버 함수 | |
| Dictionary< int, short > | GetOrCreateWordArea (PlcDeviceType deviceType) |
| Dictionary< int, bool > | GetOrCreateBitArea (PlcDeviceType deviceType) |
Private 속성 | |
| readonly object | _syncRoot = new() |
| readonly Dictionary< PlcDeviceType, Dictionary< int, short > > | _words = new() |
| readonly Dictionary< PlcDeviceType, Dictionary< int, bool > > | _bits = new() |
메모리 기반 PLC 디바이스 저장소를 제공합니다.
InMemoryPlcMemory.cs 파일의 14 번째 라인에서 정의되었습니다.
|
inline |
모든 비트 및 워드 메모리 영역을 지웁니다.
InMemoryPlcMemory.cs 파일의 266 번째 라인에서 정의되었습니다.
|
inlineprivate |
지정한 디바이스 타입의 비트 영역을 가져오거나 만듭니다.
| deviceType | 디바이스 타입입니다. |
InMemoryPlcMemory.cs 파일의 334 번째 라인에서 정의되었습니다.
다음을 참조함 : _bits.
다음에 의해서 참조됨 : ReadBits(), WriteBits().

|
inlineprivate |
지정한 디바이스 타입의 워드 영역을 가져오거나 만듭니다.
| deviceType | 디바이스 타입입니다. |
InMemoryPlcMemory.cs 파일의 299 번째 라인에서 정의되었습니다.
다음을 참조함 : _words.
다음에 의해서 참조됨 : ReadWords(), WriteWords().

|
inline |
메모리 저장소에서 비트 값을 읽습니다.
| address | 시작 주소입니다. |
| count | 읽을 비트 수입니다. |
InMemoryPlcMemory.cs 파일의 76 번째 라인에서 정의되었습니다.
다음을 참조함 : _syncRoot, GetOrCreateBitArea().

|
inline |
메모리 저장소에서 워드 값을 읽습니다.
| address | 시작 주소입니다. |
| count | 읽을 워드 수입니다. |
InMemoryPlcMemory.cs 파일의 130 번째 라인에서 정의되었습니다.
다음을 참조함 : _syncRoot, GetOrCreateWordArea().

|
inline |
메모리 저장소에 비트 값을 씁니다.
| address | 시작 주소입니다. |
| values | 쓸 비트 값입니다. |
InMemoryPlcMemory.cs 파일의 184 번째 라인에서 정의되었습니다.
다음을 참조함 : _syncRoot, GetOrCreateBitArea().

|
inline |
메모리 저장소에 워드 값을 씁니다.
| address | 시작 주소입니다. |
| values | 쓸 워드 값입니다. |
InMemoryPlcMemory.cs 파일의 237 번째 라인에서 정의되었습니다.
다음을 참조함 : _syncRoot, GetOrCreateWordArea().

|
private |
bits 값을 보관합니다.
InMemoryPlcMemory.cs 파일의 42 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Clear(), GetOrCreateBitArea().
|
private |
sync Root 값을 보관합니다.
InMemoryPlcMemory.cs 파일의 24 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Clear(), ReadBits(), ReadWords(), WriteBits(), WriteWords().
|
private |
words 값을 보관합니다.
InMemoryPlcMemory.cs 파일의 33 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Clear(), GetOrCreateWordArea().