Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 843 of 909
Z(10,5) ' Clear event flag
PRINT("Rx PDO 5",#13)
ENDIF
' Set the User Bits in Status Word 12 to reflect the status of the 8 inputs
UO(W,0)=ab[2]&255
' Turn on outputs (continuous count up)
ab[3]=ab[3]+(1*b)
' Set the User Bits in Status Word 13 to reflect the status of the 8 outputs
UO(W,1)=ab[3]&254
WAIT=100
LOOP
END
Part 3: Examples: CAN Bus - I/OBlock with PDOPoll