mewtocol-serial

0.0.5 • Public • Published

Install

This is a lib for panasonic mewtocol protocol via serial communication. A altanatives for serial assistance in nodejs.

Usage

The lib is a serials functions. Before you go, please modify your serial communication parameters in global variances.

The avaliable function as below: Get plc version: -PlcVer() Read contact status: -ReadOne('X0001') -ReadMulti('Y0000','Y001A') Change the relay status: RelayON('R0001')

Every function has comment in the source code. You could refer and enjoy.

/mewtocol-serial/

    Package Sidebar

    Install

    npm i mewtocol-serial

    Weekly Downloads

    3

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    5.31 kB

    Total Files

    3

    Last publish

    Collaborators

    • luweizhao
    • hualu0305