Getting The Statuses In Run Mode From Mcu's Com Port - Panasonic FP Series Programming Manual

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer via communication ports
F161_MRD_STATUS
Status data is read from the specified COM port of a Multi-Communication Unit.
Description
The DUT MCU_STATUS_DUT is predefined in the FP Library.
DUT
settings
Example
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
Configuration of monitor data
1. CommunicationMode (0 to 7)
(0=MEWTOCOL-COM Slave, 1=Program controlled serial communication, 2=PLC Link, 7=modem
initialization)
2. CommunicationCassette
(0=no communication cassette, 232=RS232C, 422=RS422, 485=RS485)
3. ReceptionErrorCode
(Bit 0=receive buffer overrun (hardware), bit 1=stop bit not detected, bit 2=parity unmatched)
(Bit 8=receive buffer overflow, bit 9=receive buffer full)
4. NumberReceptionErrors (number of times the reception error stored in the lower byte of
ReceptionErrorCode is detected)
5. SettingErrorCode
(Bit0=error in the DIP switch setting of the operation mode, bit1=operation mode setting exceeds the
usable limit of the unit)
(Bit 8=error in the communication parameter setting, bit 9=error in the number of transmitted data)
6. ErrorParameterNumber (0 to 11)
7. ModemInitializationStatus
730

Getting the statuses in RUN mode from MCU's COM port

Advertisement

Table of Contents
loading

Table of Contents