Download AMPERR Amplifier error automatic subroutine

Transcript
7
$80 (128)
$E8 (232)
* Digital input 8 is low @IN[8] = 0
UDP Interrupts Framing
The UDP packet can contain up to 16 individual status bytes and is framed as follows
Format Header (Fixed
Status Byte (1-16 bytes)
Byte)
Example
0x01
0xD0F1DBE1
Interrupt
Example
Axis A Profiled Motion Complete; User Interrupt 1; Application
Packet
Decoded
Program Stopped; Digital Input 1 is low
Indicator
Payload Byte Count (0x03 - 0x12) [Includes
header and footer in count]
0x06
6 bytes in payload
Examples
'Galil DMC Code Example
'Interrupt when motion is complete on all axes OR if a limit switch is hit:
'From the table, enable bits 8 and 10. n1 = 256 + 1024 = 1280
EI 1280
'
'Interrupt when digital input 3 is low.
'Enable bit 15 of n1 and bit 2 of n2.
EI 32768,4
EI applies to DMC40x0,DMC42x0,DMC41x3,DMC18x6,DMC18x2,DMC30010,DMC500x0,DMC52xx0
©2015 Galil Motion Control. Corrections, Feedback: [email protected]
Galil Motion Control
EI
139/313