![Omron CS1W-MCH71 - Скачать руководство пользователя страница 663](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367663.webp)
618
Slave Modules
Section 10-2
#OB00305 = 0;
Parameter No. specification (05)
#OB00306 = 1;
Parameter No. specification (05)
#OB00307 = 0;
Parameter No. specification (05)
#OW0032 = 2000; ------------ Positioning speed data
#OW0033 = 100; ------------- Positioning Accel/decel time data
#OB00303 = 1; ----------------- Parameter setting started
WAIT #IB00304 = = 1; ---------- Parameter setting completed
#OW0030 = 0; ---------------- Output bit reset
#OB00304 = 0;
Parameter No. specification (00)
#OB00305 = 0;
Parameter No. specification (00)
#OB00306 = 0;
Parameter No. specification (00)
#OB00307 = 0;
Parameter No. specification (00)
;
;*** Positioning target position setting ***
#OL0032 = #PL0010; ------ Value in Position data (PL0010) substituted
;
;*** Positioning operation ***
WHILE #IW0B00 = = 1;
#PL0010 = #IL0C40;
#OB0030F = 1; ----- Servo ON
#OB0030D = 1; ----- Output current OFF signal ON
IF #IW0B01 = = 1; ----- External input for starting positioning (general-purpose
I/O area: PORT_A)
#OB00308 = 1; ------ Positioning started
ENDIF;
WAIT #IB00308 = = 0; ----- Positioning completed
#OB00308 = 0; ---------- Positioning start bit reset
WEND;
#OB0030F = 0; ------- Servo OFF
#OB0030D = 0; ------ Output current OFF signal OFF
END;
Monitor parameters
• When checking the parameters that have been set, users cannot see the
data directly. An example of checking methods is shown below.
• The setting of the parameter No. 02 (JOG speed, JOG Accel/decel time)
for word 1 is read and assigned to desired variables.
PROG P003 Q00000000; Pulse output module (Parameter setting monitor)
WAIT #IB00300 = = 1; ------- Pulse unit ready
#OW0030 = 0; --------------- Output bit reset
;
;*** Read parameter setting ***
#OB00304 = 0;
Parameter No. specification (02)
#OB00305 = 1;
Parameter No. specification (02)
#OB00306 = 0;
Parameter No. specification (02)
#OB00307 = 0;
Parameter No. specification (02)
#OB00302 = 1; ----------------- Data to be monitored selected
#OB00303 = 1; ----------------- Parameter setting started
WAIT #IB00304 = = 1; ---------- Parameter setting completed
;
;*** Parameter read ***
#PL0000 = #IL0032; --------- Assigned to position data (Parameter data)
;
#OW0030 = 0; ---------------- Output bit reset
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...