1.0.11 • Published 3 years ago

node-red-contrib-redplc-piface v1.0.11

Weekly downloads
10
License
Apache-2.0
Repository
github
Last release
3 years ago

node-red-contrib-redplc-piface

Node-Red node for PiFace Digital

Node Features

  • 8 x Digital Outputs with 2 x Relays
  • 8 x Digital Inputs with 4 tactile Switches
  • 8 x Leds for Digital Inputs
  • Four selectable Module Address

PiFace Digital more Info

Install

For using with Ladder-Logic install redPlc nodes

For using with other nodes, install module nodes

Install with Node-Red Palette Manager or npm command:

cd ~/.node-red
npm install node-red-contrib-redplc-piface

Usage

Update is triggered by redPlc cpu node or module-update node This node reads/writes from/to Node-Red global variables This node works only on Raspberry Pi with Raspberry Pi OS Enable SPI with raspi-config

I/O Mapping

Digital Input (Variable I):

PinBitFunction
I00Input 0, Switch S0
I11Input 1, Switch S1
I22Input 2, Switch S2
I33Input 3, Switch S3
I44Input 4
I55Input 5
I66Input 6
I77Input 7

Digital Output (Variable Q):

PinBitFunction
O00Output 0, Relay 0
O11Output 1, Relay 1
O22Output 2
O33Output 3
O44Output 4
O55Output 5
O66Output 6
O77Output 7

Donate

If you like my work please support it with donate:

Donate