Transmitting Data - Yamaha RCX Series User Manual

Network board. cc-link compatible module
Hide thumbs Also See for RCX Series:
Table of Contents

Advertisement

3. Communication with master station PLC
3.2

Transmitting data

Data is transmitted by writing the robot controller output port data into the master station
PLC's input device. The correspondence of the master station PLC's input device numbers
and robot controller's output port numbers is shown below.
Master station
input device No.
RXn7~RXn0
Chapter
3
RXnF~RXn8
RX(n+1)7~RX(n+1)0
RX(n+1)F~RX(n+1)8
RX(n+2)7~RX(n+2)0
RX(n+2)F~RX(n+2)8
RX(n+3)7~RX(n+3)0
RX(n+3)F~RX(n+3)8
RX(n+4)7~RX(n+4)0
RX(n+4)F~RX(n+4)8
RX(n+5)7~RX(n+5)0
RX(n+5)F~RX(n+5)8
RX(n+6)7~RX(n+6)0
RX(n+6)F~RX(n+6)8
c
CAUTION
SIW(0) and SIW(1) are viewed as dedicated input ports.
To write the robot controller's bit information into the master station PLC's input device
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
n
NOTE
The SO statement in the robot language can be defi ned from SO2 ( ) to SO27 ( ),
but the CC-Link compatible module accepts from SO2 ( ) to SO15 ( ).
3-6
Robot controller
output port No.
SO(07)~SO(00)
SO(17)~SO(10)
SO(27)~SO(20)
SO(37)~SO(30)
SO(47)~SO(40)
SO(57)~SO(50)
SO(67)~SO(60)
SO(77)~SO(70)
SO(107)~SO(100)
SO(117)~SO(110)
SO(127)~SO(120)
SO(137)~SO(130)
SO(147)~SO(140)
SO(157)~SO(150)
n: Address assigned to master module with station No. setting
: To turn RX(n+1)0 ON
SET SO(20) or SO(20) =1 .... * SO(20) will turn ON.
: To write variable A data into RX(n+1)0 to RX(n+1)7
SO2() = A .......................... * The variable A data will be converted into a
Master station
input device No.
RWrn
RWr(n+1)
RWr(n+2)
SOD(2)
RWr(n+3)
RWr(n+4)
SOD(4)
RWr(n+5)
RWr(n+6)
SOD(6)
RWr(n+7)
RWr(n+8)
SOD(8)
RWr(n+9)
RWr(n+10)
SOD(10)
RWr(n+11)
RWr(n+12)
SOD(12)
RWr(n+13)
RWr(n+14)
SOD(14)
RWr(n+15)
binary and assigned to SO2().
If variable A is 127, 7Fh will be set in SO2().
Robot controller
output port No.
SOW(0)
SOW(1)
SOW(2)
SOW(3)
SOW(4)
SOW(5)
SOW(6)
SOW(7)
SOW(8)
SOW(9)
SOW(10)
SOW(11)
SOW(12)
SOW(13)
SOW(14)
SOW(15)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents