P1-08ND3

Discrete DC Input

This function returns the state of a single channel.

bool point = P1.readDiscrete(1,2); // Read state of slot 1 channel 2
point = base[1][2].value # Read state of slot 1 channel 2

This function returns the state of all 8 channels. It would return 0x7F if channels 1-7 are on.

uint8_t allPoints = P1.readDiscrete(1); // Read state of all channels for slot 1
allPoints = base[1].di_bitmapped() # Read state of all channels for slot 1

Module Configuration and Status Tables

This module does not provide any status data and does not require configuration.

Channels: 8
Discrete Input Type: Sinking or Sourcing
Rated Input Voltage: 12-24 VDC
Examples:
Arduino
CircuitPython

Additional Resources:
Data Sheet
P1-08ND3 on AutomationDirect.com