SDM-SIO4 User Guide
5-24
;end of IF
6: End (P95)
*Table 2 Program
02: 0.0000 Execution Interval (seconds)
*Table 3 Subroutines
;interrupt routine for control port 8
1: Beginning of Subroutine (P85)
1: 98 Subroutine 98
;get voltages into locations 3 and 4
2: SDM-SIO4 (P113)
1: 1 Reps
2: 0 Address
3: 1 Send/Receive Port 1
4: 4 Command
5: 0 1st Parameters
6: 0 2nd Parameters
7: 2 Values per Rep
8: 3 Loc [ voltage1 ]
9: 1.0 Mult
10: 0.0 Offset
;set the output flag so that readings can be stored into
;final storage.
3: Do (P86)
1: 10 Set Output Flag High (Flag 0)
;time stamp.
4: Real Time (P77)
1: 1111 Year,Day,Hour/Minute,Seconds
;instantaneous readings stored into final storage.
5: Sample (P70)
1: 2 Reps
2: 3 Loc [ voltage1 ]
;end of interrupt routine.
6: End (P95)
End Program
Where multiple ports are being used, the first instruction would
have to be command 1 to see which port has data, followed by a
second call, or calls, to collect the data.
NOTE