Denso RC5 Specifications Page 389

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 388
Chapter 13 Input/Output Control Statements
13-7
RESET (Statement) [Conforms to SLIM]
Function
Sets an I/O port to OFF.
Format
RESET <I/O variable>
Explanation
Sets the port designated by <I/O variable> to OFF.
Related Terms
SET, DEFIO
Example
TAKEARM 'Obtains the robot control priority.
IOBLOK ON 'Executes an I/O instruction concurrently with the next
'instruction.
MOVE P, (902.7,0,415.3,180,50,180,1)
'Moves to the coordinates (902.7,0,415.3,180,50,180,1)
'(PTP control)
SET IO[240] 'Sets the port 240 BIT type to ON.
SET IO[241],40 'Sets the port 241 BIT type to ON for 40 ms.
SET IO[SOL1] 'Sets the port designated by I/O variable SOL1 to ON.
SET IO[104 TO 110] 'Sets the port 104 to 110 BIT type to ON.
IF IO[242] THEN
RESET IO[240] 'Sets the port 104 to 110 BIT type to OFF.
RESET IO[SOL1] 'Sets the port designated by I/O variable SOL1 to OFF.
RESET IO[104 TO 110] 'Sets the port 104 to 110 BIT type to OFF.
ENDIF
IOBLOCK OFF
Page view 388
1 2 ... 384 385 386 387 388 389 390 391 392 393 394 ... 691 692

Comments to this Manuals

No comments