Find Docs

Galil Motion Control - optcom (Page 158)

Wodocs >> Electronics : Motion Control >> Galil Motion Control optcom Page 158
Galil Motion Control - optcom
Optima DMC-1xxx and DMC-18x2 Command Reference
OP
i
147
OP
FUNCTION: Output Port
DESCRIPTION:
The OP command sends data to the output ports of the controller. You can use the output port
to control external switches and relays.
ARGUMENTS: OP m,a,b,c,d
where
m is an integer in the range 0 to 65535 decimal, or $0000 to $FFFF hexadecimal. (0 to 255
for 4 axes or less). m is the decimal representation of the general output bits. Output
1 through output 8 for controllers with 4 axes or less. Outputs 1 through output 16 for
controller with 5 or more axes.
a,b,c,d represent the extended I/O in consecutive groups of 16 bits, (values from 0 to 65535).
Arguments which are given for I/O points which are configured as inputs will be ignored.
The following table describes the arguments used to set the state of outputs.
Arguments
Blocks
Bits
Description
M
0
1-8
General Outputs (1-4 axes controllers)
0,1
1-16
General
Outputs
(5-8 axes controllers)
A
2,3
17-32
Extended I/O
B 4,5
33-48
Extended
I/O
C 6,7
49-64
Extended
I/O
D 8,9
65-80
Extended
I/O
n = ? returns the value of the argument, where n is any of the above arguments.
USAGE:
DEFAULTS:
While Moving
Yes
Default Value
0
In a Program
Yes
Default Format
3.0
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_OP0 contains the value of the first argument, m
_OP1 contains the value of the first argument, a
_OP2 contains the value of the first argument, b
_OP3 contains the value of the first argument, c
_OP4 contains the value of the first argument, d
RELATED COMMANDS:
"SB (Binary EA)"
Set output bit
"
CB
"
Clear output bit
"OB "
Output Byte
EXAMPLES:
OP 0
Clear Output Port -- all bits
OP $85
Set outputs 1,3,8; clear the others
MG _OP0
Returns the first parameter "m"
MG _OP1
Returns the second parameter "a"

<< Previous       1 .. 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165       Next >>



Other Documents:
MSDS JEECHEM SHAMPOO CONCENTRATE 1, msds ALOE VERA GEL DECOLORIZED 40 X, msds ALOE VERA OIL EXTRACT Mineral Oil Base, msds ANHYDROUS LANOLIN USP, msds CARROT OIL, msds COTTONSEED OIL, msds JEECHEM 100 CG POWDER, msds JEECHEM 1450, msds JEECHEM 186, msds JEECHEM BUBBLE BATH GSE, msds JEECHEM CA 40, msds JEECHEM CA 9, msds JEECHEM CASTOR OIL PP, msds JEECHEM CER, msds JEECHEM NP 12, msds JEECHEM NP 30, msds JEECHEM NP 6, msds JEECHEM SHAMPOO BWC, msds JEECHEM SHAMPOO COMBE BLEND, msds JEECHEM SHAMPOO CONCENTRATE 2, msds JEECHEM SHAMPOO CONCENTRATE 4, msds JEECHEM SHAMPOO CONCENTRATE 4 CL, msds JEECHEM SHAMPOO CONCENTRATE 5, msds JEECHEM SHAMPOO CONCENTRATE 5 CL, msds JEECHEM SHAMPOO CONCENTRATE 7 CL, msds JEECHEM SHAMPOO ST ARR, msds JEECHEM SML, msds JEECHEM SMS, msds JEECHEM STO, msds JEECHEM STS, msds JEECOL CA 20, msds JEELAN ALCOHOL SP, msds JEELAN ALCOHOL, msds JEELAN L 60, msds JEELATE ALES 2, msds JEELATE ALS 30, msds JEELATE DLS, msds JEEMATE 1000 DPS, msds JEEMATE 1000 ML, msds JEEMATE 200 ML, msds JEEMATE 300 DPS, msds JEEMATE 300 OC, msds JEEMATE 400 DO, msds JEEMATE 400 OC, msds JEEMIDE MEAA, msds JEEMIDE SS 100, msds JEEPHOS P 610, msds JEESILC 74, msds JEESILC CPS 312, msds JEESORB L 10,


WODocs | |
All rights reserved. wodocs.com© 2009
WODocs


New Docs

Documents Category:
Arts (Design, Movies, Music, Radio, Television)
Automotive (Cars, Marine, Motorcycle, ATV, Snowmobiles)
Business (Biotechnology and Pharmaceuticals, Chemicals, Construction and Maintenance, Materials, Real Estate, Services)
Electronics (Computers, Motion Control, Power Supply)
Games (Board, Family, Party, Card, Construction, RC Toys)
Health (Animalm, Beauty, Healthcare, Medicine, Pharmacy, Surgery, Weight Loss)
Home (Accessories, Cooking, Decor and Design, Electrical, Family, Pets)
News (Newspapers, Sports, Television)
Recreation (Collecting, Hiking, Scouting, Survival, Travel)
Reference (Education, Libraries and Archives, Museums)
Science (Agriculture, Astronomy, Biology, Chemistry)
Shopping (Antiques and Collectibles, Clothing, Flowers, Food, Home and Garden)
Sports (Bicycle, Snowboard, Skiing, Other)