13.07.2015 Views

Concurrent I/O•Parameter - Motoman

Concurrent I/O•Parameter - Motoman

Concurrent I/O•Parameter - Motoman

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

1.3 Classification of I/O SignalsNumeric DataBinary number is the one that the numeric data was expressed by 1(ON) and 0(OFF). Internaldata of a usual computer is expressed by the binary number. On the other hand, BCD(BinaryCode Decimal) makes one digit of the decimal number by using four bits of the binary number ,that is, four digits, combines these, and shows the decimal number. The equipment connectedwith XRC occasionally uses BCD as an input and a output signal. When transfering the databetween these, it is necessary to convert BCD into the binary number when XRC receives thedata, and it is necessary to convert the binary number into BCD when outputting the data tothe equipment. It is possible to convert the data by BIN and the BCD instruction in the concurrentI/O function.Binary NumberBit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 02 15 2 14 2 13 2 12 2 11 2 10 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0BCDDigit of 1000 Digit of 100 Digit of 10 Digit of 1Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 02 3 2 2 2 1 2 0 2 3 2 2 2 1 2 0 2 3 2 2 2 1 2 0 2 3 2 2 2 1 2 0Binary number and BCD expression of the decimal numberDecimal Number Binary BCD1 0000 0000 0000 0001 0000 0000 0000 000112 0000 0000 0000 1100 0000 0000 0001 0010123 0000 0000 0111 1011 0000 0001 0010 00111234 0000 0100 1101 0010 0001 0010 0011 01001-8

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

Saved successfully!

Ooh no, something went wrong!