PMAC2A PC104 Hardware Reference Manual
In order to properly setup the digital outputs an initialization PLC must be written scanning through once on
OPEN PLC1 CLEAR | ;BITS | |
M32=$FF | ||
M34=$0 | ;BITS | |
M40=$FF00 | ;Define inputs and outputs voltages | |
M42=$FFFF | ;All lines are I/O type | |
DIS PLC1 | ;Disable PLC1 (scanning through once on | |
CLOSE | ||
| ||
|
|
|
|
| Note: |
After loading this program, set I5=2 or 3 and ENABLE PLC 1.
Acc-2P with Jumper E5 in Position 2-3
; Digital Output M00 |
| |
; Digital Output M01 |
| |
; Digital Output M02 |
| |
; Digital Output M03 |
| |
; Digital Output M04 |
| |
; Digital Output M05 |
| |
; Digital Output M06 |
| |
; Digital Output M07 |
| |
; Digital Input MI0 |
| |
; Digital Input MI1 |
| |
; Digital Input MI2 |
| |
; Digital Input MI3 |
| |
; Digital Input MI4 |
| |
; Digital Input MI5 |
| |
; Digital Input MI6 |
| |
; Digital Input MI7 | 0 = input) | |
; Direction Control (1=output, | ||
; Direction Control (1=output, | 0 = input) | |
; Inversion control (0 = 0V, 1 = 5V) | ||
; JI/O port data type control (1 = I/O) |
In order to properly setup the digital outputs, an initialization PLC must be written scanning through once on
OPEN PLC1 CLEAR | ;BITS | |
M32=$FF | ||
M34=$0 | ;BITS | |
M40=$FFFF | ;Define inputs and outputs voltages | |
M42=$FFFF | ;All lines are I/O type | |
DIS PLC1 | ;Disable PLC1 (scanning through once on | |
CLOSE | ||
| ||
|
|
|
|
| Note: |
After loading this program, set I5=2 or 3 and ENABLE PLC 1.
26 | Software Setup |