13.07.2015 Views

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AppendicesInstruction Mnemonic Code Symbol/Operand Function LocationRECEIVERXD@RXD235 Reads the specified number of bytes of data starting with theRXD(235) specified first word from the RS-232C port built into the <strong>CPU</strong> <strong>Unit</strong>D (no-protocol mode) or the serial port of a Serial CommunicationsBoard or <strong>Unit</strong> with unit version 1.2 or later (no-protocol mode)C according to the start code and end code specified for no-protocolN mode in the PLC Setup.OutputExecutionconditionRequiredD: 1st destinationwordC: Control wordN: Number ofbytes to store0000 to 0100 hex(0 to 256 decimal)TRANSMITVIA SERIALCOMMUNI-CATIONSUNITTXDU@TXDU256 Outputs the specified number of bytes of data without conversionTXDU(256) from the serial port of a Serial Communications <strong>Unit</strong> with unit version1.2 or later. The data is output in no-protocol mode with theSstart code and end code (if any) specified in the allocated DMC Area.NOutputRequiredS: 1st source wordC: 1st control wordN: Number of bytes(0000 to 0256 BCD)RECEIVEVIA SERIALCOMMUNI-CATIONSUNITRXDU@RXDU255 Reads the specified number of bytes of data starting with theRXDU(255) specified first word from the serial port of a Serial CommunicationsD <strong>Unit</strong> with unit version 1.2 or later. The data is read in no-protocolmode with the start code and end code (if any) specified in theC allocated DM Setup Area.NOutputRequiredD: 1st destinationwordC: 1st control wordN: Number of bytesto store(0000 to 0100 hex)DIRECTRECEIVEVIA SERIALCOMMUNI-CATIONSUNIT/SERIAL PORT(CJ1W-SCU22,CJ1W-SCU32, orCJ1W-SCU42 only)DRXDU@DRXDU261 Reads the specified number of bytes of data from the serial port ofDRXDU(261) a CJ1W-SCU22/SCU32/SCU42 Serial Communications <strong>Unit</strong> toD <strong>CPU</strong> <strong>Unit</strong> memory starting at the specified first word. The data isread in no-protocol mode with the start code and end code (if any)C specified in the allocated DM Setup Area.N This instruction reads the data from the Serial Communications<strong>Unit</strong> as soon as the instruction is executed to achieve high-speedD: 1st destination data reception.wordC: 1st control wordN: Number of bytes0000 to 0100 hex(0 to 256)OutputRequiredDIRECTTRANSMITVIA SERIALCOMMUNI-CATIONSUNIT/SERIAL PORT(CJ1W-SCU22,CJ1W-SCU32, orCJ1W-SCU42 only)DTXDU@DTXDI262 Outputs the specified number of bytes of data from the serial portDTXDU(262) of a CJ1WSCU22/SCU32/SCU42 Serial Communications <strong>Unit</strong>.S The data is output in no-protocol mode from the specified firstword with the start code and end code (if any) specified in the allocatedDM Setup Area.CN This instruction sends the data to the Serial Communications <strong>Unit</strong>as soon as the instruction is executed to achieve high-speed dataS: 1st source word transmission.C: 1st control wordN: Number of bytes0000 to 0100 hex(0 to 256)OutputRequiredCHANGESERIALPORTSETUPSTUP@STUP237 Changes the communications parameters of a serial port on theSTUP(237) <strong>CPU</strong> <strong>Unit</strong>, Serial Communications <strong>Unit</strong> (<strong>CPU</strong> Bus <strong>Unit</strong>), or SerialC Communications Board. STUP(237) thus enables the protocolmode to be changed during PLC operation.SOutputRequiredC: Control word(port)S: First sourcewordA-60 <strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!