Changes

added their official USB to RS-232 cable, and the RJ12 pinout
Line 2: Line 2:     
Small PLCs made by Automation Direct.
 
Small PLCs made by Automation Direct.
 +
 +
== Wiring Diagram ==
 +
 +
=== RJ12 RS-232 Ports ===
 +
 +
TODO: verify that TX/RX aren't swapped in their directions
 +
 +
{| class="wikitable"
 +
! Pin No
 +
! Function
 +
! Direction
 +
|-
 +
| 1
 +
| 0V
 +
| PC ↔ PLC
 +
|-
 +
| 2
 +
| +5V
 +
| PC ← PLC
 +
|-
 +
| 3
 +
| RXD
 +
| PC → PLC
 +
|-
 +
| 4
 +
| TXD
 +
| PC ← PLC
 +
|-
 +
| 5
 +
| +5V
 +
| PC ← PLC
 +
|-
 +
| 6
 +
| 0V
 +
| PC ↔ PLC
 +
|-
 +
|}
 +
 +
[https://cdn.automationdirect.com/static/manuals/d0user/d0userm.pdf#page=76 Page 76] (3-4 in the PDF) shows the communication port pinouts
    
== Software ==
 
== Software ==
Line 16: Line 55:     
[https://www.automationdirect.com/adc/shopping/catalog/cables_(terminated)/plc_cables/d2-dscbl DirectLOGIC Programming Cable (PN# D2-DSCBL) | AutomationDirect]
 
[https://www.automationdirect.com/adc/shopping/catalog/cables_(terminated)/plc_cables/d2-dscbl DirectLOGIC Programming Cable (PN# D2-DSCBL) | AutomationDirect]
 +
 +
Must be used with a USB to RS232 cable, such at this one:
 +
 +
[https://www.automationdirect.com/adc/shopping/catalog/cables_(terminated)/plc_cables/usb-rs232 Cable: 6ft cable length (PN# USB-RS232) | AutomationDirect]
    
=== RJ12 to USB Cable ===
 
=== RJ12 to USB Cable ===