-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
Binary file modified
BIN
-22.6 KB
(56%)
...xcodeproj/project.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,38 @@ | ||
{\rtf1\ansi\ansicpg1251\cocoartf1561\cocoasubrtf400 | ||
{\fonttbl\f0\fswiss\fcharset0 Helvetica;} | ||
{\colortbl;\red255\green255\blue255;} | ||
{\*\expandedcolortbl;;} | ||
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 | ||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0 | ||
|
||
\f0\fs24 \cf0 # ModSwift\ | ||
____\ | ||
## Features} | ||
# ModSwift | ||
[![Swift](https://img.shields.io/badge/Swift-4.1-orange.svg)](https://swift.org) | ||
[![Xcode](https://img.shields.io/badge/Xcode-9.4-blue.svg)](https://developer.apple.com/xcode) | ||
[![MIT](https://img.shields.io/badge/License-MIT-red.svg)](https://opensource.org/licenses/MIT) | ||
____ | ||
|
||
## Summary | ||
____ | ||
This library create for easy generate modbus commands on swift | ||
|
||
## Requirements | ||
____ | ||
|
||
|
||
## Functions | ||
____ | ||
- Read coil (one bit) register: readCoilStatus = 0x01 | ||
- Read discrete (one bit) register: readDiscreteInputs = 0x02 | ||
- Read holding (16 bit) register: readHoldingRegisters = 0x03 | ||
- Read input (16 bit) register: readInputRegisters = 0x04 | ||
|
||
- Write coil (one bit) register: forceSingleCoil = 0x05 | ||
- Write holding (16 bit bit) register: presetSingleRegister = 0x06 | ||
|
||
- Write multiply coil (one bit) registers: forceMultipleCoils = 0x0F | ||
- Write multiply holding (16 bit bit) registers: presetMultipleRegisters = 0x10 | ||
|
||
|
||
## Installation | ||
____ | ||
|
||
|
||
## Usage | ||
____ | ||
|
||
|
||
## License | ||
____ |