Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
15 Applied Instructions (External Device (optional device))
15.8 RS2 / Serial Communication 2
412
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. 16-bit operation(RS2)
This instruction transmits and receives data by no-procedure communication via serial port of RS-232C or
RS-485 installed in the basic unit.
As for the detailed explanation, refer to the communication control manual.
Related devices
As for the detailed explanation, refer to the communication control manual.
*1. Ch0 is applicable to FX
3G and FX3GC PLCs only.
In the case of FX
3S and FX3G (14-point and 24-point type) PLCs, ch2 cannot be used.
*2. Cleared when changed from RUN to STOP.
*3. The FX
3U, FX3UC PLCs are applicable at Ver.2.30 or later.
*4. Cleared when PLC power supply is turned from OFF to ON.
Device
Name
Device
Name
ch0
*1
ch1
ch2
*1
ch0
*1
ch1
ch2
*1
M8371 M8401 M8421
Transmission waiting flag
*2
D8370 D8400 D8420 Communication format setting
M8372 M8402 M8422
Transmission request
*2
-
-
--
M8373 M8403 M8423
Reception complete flag
*2
D8372 D8402 D8422
Transmission data remainder points
*2
- M8404 M8424 Carrier detection flag D8373 D8403 D8423
Reception points monitor
*2
- M8405 M8425
Data set ready (DSR) flag
*3
- D8405 D8425 Communication parameter display
- - - - D8379 D8409 D8429 Time out time setting
M8379 M8409 M8429 Time out judging flag D8380 D8410 D8430 Headers 1, 2
--- -
D8381 D8411 D8431 Headers 3, 4
D8382 D8412 D8432 Terminators 1, 2
D8383 D8413 D8433 Terminators 3, 4
D8384 D8414 D8434 Reception sum (reception data)
D8385 D8415 D8435 Reception sum (calculation result)
D8386 D8416 D8436 Transmission sum
D8389 D8419 D8439 Operation mode display
M8062 M8063 M8438
Serial communication error
*4
D8062 D8063 D8438
Error code number of serial
communication error
*4
Command input
RS2
EN
s
ENO
m
n
n1
d
Head device in which
transmission data is stored
Head device for storing reception
data upon completion of reception
Number of transmission
data bytes
Number of reception
data bytes
ch used