Monitor (Command: BM, JM, WM, QM, MB, MJ, MN, MQ)
The monitor data registration function registers the devices and numbers to be monitored from an external device to C24.
The monitor function reads the data of the registered devices from the CPU module and processes it in the external device.
When the batch read (BR/WR/JR/QR) is performed, the read device numbers will be consecutive, however, by using this
function, devices can be monitored by specifying the device numbers randomly
The following example shows the control procedure for monitoring and registering name and number of the devices to be
monitored to the C24.
Monitoring procedure
1.
Process the monitor data registration (Edit of commands for registration and transmission of device specification.)
• ACPU common commands: BM, WM
• AnA/AnUCPU common commands: JM, QM
2.
Perform read process. (Execution of command for monitoring.)
• ACPU common commands: MB, MN
• AnA/AnUCPU common commands: MJ, MQ
3.
Process the data. (Screen display, etc.)
4.
If do not change the devices to be monitored, return to step 2, and repeat the process.
• When monitoring data as the procedure shown above, the monitor data registration is required. If monitoring
data without registering the data, a protocol error occurs.
• The content of registered monitor data are deleted when C24 is rebooted.
• The devices can be registered for each command for bit units (BM or JM), word units (WM or QM), or the
extended file register (EM) in C24. (Monitoring extended file registerPage 378 Monitor (command: EM,
ME))
• When registering device memory of the CPU module as a monitor data from more than one C24s on the
same station, the recently registered device memory will be available since the registration data is
overwritten.
17 COMMUNICATING USING 1C FRAMES
366
17.4 Device Memory Read and Write