Hardware Reference Manual
Software Setup
29
M7223 = 0
M7226 = 0
// Motor #11 defaults
M7230 = 3
M7231 = 0
M7232 = 1
M7233 = 0
M7236 = 0
// Motor #12 defaults
M7240 = 3
M7241 = 0
M7242 = 1
M7243 = 0
M7246 = 0
DIS PLC 25
CLOSE
Note:
After loading this program, set I5=2 or 3 and ENABLE PLC 1.
Using Flag I/O as General-Purpose I/O
Either the user flags or other unassigned axes flag on the ACC-1P board can be used as general-purpose
I/O for up to 20 inputs and 4 outputs at 5-24Vdc levels. The indicated M-variables definitions, which are
the suggested definitions for motors 5 through 8 in the Turbo PMAC/PMAC2 Software reference, allows
accessing each particular line according to the following table:
Channel Number
Flag Type
#5 #6 #7
#8
HOME
5-24 VDC Input
M520
M620
M720
M820
PLIM
5-24 VDC Input
M521
M621
M721
M821
MLIM
5-24 VDC Input
M522
M622
M722
M822
USER
5-24 VDC Input
M515
M615
M715
M815
AENA
5-24 VDC Output
M514
M614
M714
M814
Motors 9 through 12 must use the following M-variables as defined from the previous section since the
servo gate used for these motors is at a non-standard address:
Channel Number
Flag Type
#9 #10 #11
#12
HOME
5-24 VDC Input
M920
M1020
M1120
M1220
PLIM
5-24 VDC Input
M921
M1021
M1121
M1221
MLIM
5-24 VDC Input
M922
M1022
M1122
M1222
USER
5-24 VDC Input
M915
M1015
M1115
M1215
AENA
5-24 VDC Output
M914
M1014
M1114
M1214
Note:
When using these lines as regular I/O points the appropriate setting of the Ixx24
variable must be used to enable or disable the safety flags feature.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com