diff --git a/modules.js b/modules.js index e66b578..0f7aad0 100644 --- a/modules.js +++ b/modules.js @@ -110,6 +110,9 @@ let modules = [ }, { name: "P1-08TD-TTL", imageWidth: "130px" + }, { + name: "P1-04TRS", + imageWidth: "200px" }, { name: "P1-08TRS", imageWidth: "200px" diff --git a/modules/P1-04TRS/P1-04TRS.html b/modules/P1-04TRS/P1-04TRS.html new file mode 100644 index 0000000..fadc9ed --- /dev/null +++ b/modules/P1-04TRS/P1-04TRS.html @@ -0,0 +1,116 @@ + + + + + + + + + P1-04TRS | P1AM Documentation + + + + + + + + + + + + + +
+

P1-04TRS

+

Isolated Relay Output

+
+
+
+
+

This function writes the state of a single channel.

+
+ + +
+
+
P1.writeDiscrete(HIGH,1,2); // Turn on slot 1 channel 2
+
base[1][2].value = 1 # Turn on slot 1 channel 2
+
+

This function writes the state of all 4 channels. It turns channels 1-3 on and turns channel 4 off.

+
+ + +
+
+
P1.writeDiscrete(0x07, 1); // Write state of all channels for slot 1
+
base[1].do_bitmapped(0x07) # Write 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: 4
+ Discrete Output Type: 4 Relays - FORM C (SPDT)
+ Rated Voltage: 30 VDC, 100-240 VAC
+ Example: +
+ Arduino +
+ CircuitPython +

+ +

Additional Resources:
+ Data Sheet
+ P1-04TRS on AutomationDirect.com +

+
+
+ + + \ No newline at end of file diff --git a/modules/P1-04TRS/pv_p104trs_04.jpg b/modules/P1-04TRS/pv_p104trs_04.jpg new file mode 100644 index 0000000..91cb102 Binary files /dev/null and b/modules/P1-04TRS/pv_p104trs_04.jpg differ