6
- 182
6.24 Serial Communication Function
6
FUNCTIONS
(3) Functions
The serial communication function allows the MC protocol commands in Table6.54 to
be executed.
Refer to the following manual for details of the MC protocol.
Q-Compatible MELSEC Communication Protocol Reference Manual
* 1 : When performing online change of the CPU module, set online change setting to "Enable".
* 2 : Set the number of processing points within the range of the following expression.
(Number of word access points) 12 + (number of double word access points) 14 960
•One point of a bit device corresponds to 16 bits for word access or to 32 bits for double word
access.
•One point of a word device corresponds to one word for word access or to two words for double
word access.
Table6.54 List of MC protocol commands supported by serial communication function
Function
Command
Processing
Processing Points
Devi
ce memory
Batch read
in bits
0401(00 1)
Reads bit devices by 1 point.
ASCII: 3584 points
BIN: 7168 points
in words
0401(00 0)
Reads bit devices by 16 points.
480 words (7680
points)
Reads word devices by 1 point.
480 points
Batch write
*1
in bits
1401(00 1)
Writes to bit devices by 1 point.
ASCII: 3584 points
BIN: 7168 points
in words
1401(00 0)
Writes to bit devices by 16 points
4480 words (7680
points)
Writes to word devices by 1 point.
480 words
Random read
in words
0403(00 0)
Reads bit devices by 16 points or 32 points by
designating the devices at random.
96 points
Reads word devices by 1 point or 2 points by
designating the devices at random.
Test
*1
(Random write)
in bits
1402(00 1)
Sets/resets bit devices by 1 point by designating the
devices at random.
94 points
in words
1402(00 0)
Sets/resets bit devices by 16 points or 32 points by
designating the units at random.
*2
Writes to word devices by 1 point or 2 points by
designating the devices at random.
Monitor registration in words
0801(00 0)
Registers the bit devices to be monitored by 16 points
or 32 points.
96 points
Registers the word devices to be monitored by 1 point
or 2 points.
96 points
Monitor
in words
0802(00 0)
Monitors the devices registered for monitoring.
Number of points
registered for monitor