Accessory 11E is an
optoisolated 24-bit in & 24-bit out digital I/O board used at the UMAC
MACRO station.
Input active level 12 to 24 V
Output max current 100 mA.
MS0,I71=$10C0A0208800 |
Sets
24-bit-wide
data transfer
between nodes 2&3 and ACC-11E |
MS0, I996=$0FB33F | Change from $0FB333 to $0FB33F enables nodes 2&3 at the UMAC |
MS0,MI975=$C | Enable node 2, 3 for I/O at MACRO Station |
MS0,MI19=1 | Sets period for data transfer equal to one servo period |
MSSAVE0 | Saves to macro station |
MS$$$0 | Reset macro station to enable changes |
I6841=$0FB33F | Change from $0FB333 to $0FB33F enables nodes 2&3 at the PMAC Ultralite |
RHX:$78420 ; Read input in hexadecimal format
WX:$78424, $f0f0f0
; Write $f0f0f0 to the output
M3570->X:$78420,0,24
; Input word, 24 bit, node2
M3600->X:$0010F0,0,24 ; Input mirror word
M3600=M3570 ; Copy input register to the memory for readout via DPRAM
CLOSE
I5=3
; Foreground PLCs enabled; background
PLCs enabled
ENA PLC
2 ; Enables PLC execution