Omron SCARA YRC Series User Manual page 44

Devicenet
Hide thumbs Also See for SCARA YRC Series:
Table of Contents

Advertisement

2. Communication with master module
● When IO size is set to "Small"
Master module
intput device No.
(mCH).07 to 00
(mCH).15 to 08
(m+1CH).07 to 00
(m+1CH).15 to 08
Chapter
m : Input-area head CH number assigned to master module
3
CAUTION
• ALWAYs REFER TO THE PLC MANUAL AND CHECk THE sETTINGs FOR
COMMUNICATION WITH THE MAsTER MODULE.
NOTE
The IO size can be set by option board parameter. Refer to section 6 of chapter 2 for more details.
When writing the robot controller's bit information into the master module's input channel No.,
write the following commands in the robot program in the same manner as the DO output port.
sET/REsET command
Assignment statement
OUT command
Example:
Example:
NOTE
The sO statement in the robot language can be defined from sO2 ( ) to sO27 ( ), but the
DeviceNet compatible module accepts from sO2 ( ) to sO15 ( ).
3-6
Robot controller
serial output port No.
sO0(7 to 0)
sO1(7 to 0)
sO2(7 to 0)
sO3(7 to 0)
To turn (m+17CH)0 ON when the IO size is set to "Large"
sET sO (20) or sO (20) = 1 .... *
To write the variable A data into (m+17CH)0 to (m+17CH)7 when the IO size is
set to "Large"
sO2 () = A .............................. *The variable A data will be converted into a
sO (20) will turn ON.
binary and assigned to sO 2(). If variable A is
127, sO2 () will be 7Fh.

Advertisement

Table of Contents
loading

Table of Contents