Download Programming manual (CC
Transcript
5. Communication Between the Master Station and ME96NSR 5.1 Communication Guideline There are three communication statuses (Initial Communication, Normal Communication, Error Communication) between the Master station and ME96NSR. The following can be performed at normal communication. ・ Monitoring of the measurement values such as the current, voltage and energy, etc. ・ Monitoring of the bit data of the alarm state and the digital input state. ・ Setting the set data of the time constant for current demand. ME96NSR has a special-purpose command for each measurement items and each setting items. It becomes possible to monitor measurement value or to set the setting value by writing the command into the remote register RWw of the master station. Overview of the Command Communication to ME96NSR Master station Command/Data Remote register(RWw) ① Bit device(Ex:Y) Command ③ Command Automatic refresh Bit device(Ex:X) Command/Data Remote output(RY) Command execution request execution request ⑥ Remote register (RWw) ② Remote input(RX) Command execution request Remote input(RX) ⑤ Command Command/Data Remote output(RY) ④ Link scan Word device(Ex:W) ME96NSR Command execute PLC CPU Command completion reply completion reply completion reply Word device(Ex:W) Remote register(RWr) Remote register(RWr) Reply data to command ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑧ Reply data to command ⑦ Reply data to command By automatic refresh, command and data stored in the word device of PLC CPU are stored in the “remote register RWw” of the master station. By link scan, command and data stored in the “remote register RWw” of the master station are sent to ME96NSR, and is stored in the “remote register RWw” of the ME96NSR. By automatic refresh, command execution request stored in the bit device of PLC CPU is stored in the “remote output RY” of the master station. By link scan, command execution request stored in the “remote output RY” of the master station is sent to ME96NSR, and is stored in the “remote output RY” of the ME96NSR. And then ME96NSR executes the command and data. By link scan, command completion reply stored in the “remote input RX” of the ME96NSR is sent to the master station, and is stored in the “remote input RX” of the master station. By automatic refresh, command completion reply stored in the “remote input RX” of the master station is stored in the bit device of the PLC CPU. By link scan, reply data to command stored in the “remote register RWr” of the ME96NSR is sent to the master station, and is stored in the “remote register RWr” of the master station. By automatic refresh, reply data to command stored in the “remote register RWr” of the master station is stored in the word device of the PLC CPU. (12/n) LEN080334