App. - 27 App. - 27
MELSEC-Q
PPENDIXES
(5) Support for functions dedicated for data communication with
programmable controllers
MX Component provides the functions necessary for data communication with
programmable controllers, including functions for opening/closing communication
lines and reading/writing devices.
Multi-function communication programs can thus easily be developed with MX
Component.
Function name Function
Connect Connects a telephone line.
Open Opens a communication line.
Close Closes a communication line.
Disconnect Disconnects a telephone line.
GetErrorMessage Displays error definition and corrective action.
ReadDeviceBlock Batch-reads data from devices. (LONG type)
WriteDeviceBlock Batch-writes data to devices. (LONG type)
ReadDeviceBlock2 Batch-reads data from devices. (SHORT type/INT type)
WriteDeviceBlock2 Batch-writes data to devices. (SHORT type/INT type)
ReadDeviceRandom Randomly reads data from devices. (LONG type)
WriteDeviceRandom Randomly writes data to devices. (LONG type)
ReadDeviceRandom2 Randomly reads data from devices. (SHORT type/INT type)
WriteDeviceRandom2 Randomly writes data to devices. (SHORT type/INT type)
SetDevice Sets one device. (LONG type)
GetDevice Acquires the data of one device. (LONG type)
SetDevice2 Sets one device. (SHORT type/INT type)
GetDevice2 Acquires data of one device. (SHORT type/INT type)
ReadBuffer Reads from buffer memory.
WriteBuffer Writes to buffer memory.
GetClockData Reads clock data from programmable controller CPU.
SetClockData Writes clock data to programmable controller CPU.
GetCpuType Reads a programmable controller CPU type.
SetCpuStatus Remote RUN/STOP/PAUSE of programmable controller CPU.
EntryDeviceStatus Registers device status monitor.
FreeDeviceStatus Deregisters device status monitor.
OnDeviceStatus Announces event.
For details of the functions, refer to the MX Component Programming Manual.
(6) Collecting data on Excel without programming
Using MX Component and MX Sheet (SWnD5C-SHEET-E) allows users to
collect programmable controller device data on Excel with only simple setting
and without any programming.