External Output Commands - Mitsubishi Electric MELDAS C6 Programming Manual

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

13. Program Support Functions

13.5.7 External output commands

Function and purpose
Besides the standard user macro commands, the following macro instructions are also available
as external output commands. They are designed to output the variable values or characters via
the RS-232C interface.
Command format
POPEN For preparing the processing of data outputs
PCLOS For terminating the processing of data outputs
BPRNT For character output and variable value binary output
DPRNT For character output and digit-by-digit variable numerical output
Command sequence
Open command : POPEN
(1) The command is issued before the series of data output commands.
(2) The DC2 control code and % code are output from the NC system to the external output
device.
(3) Once POPEN; has been issued, it will remain valid until PCLOS; is issued.
Close command : PCLOS
(1) This command is issued when all the data outputs are completed.
(2) The DC4 control code and % code are output from the NC unit to the external output device.
(3) This command is used together with the open command and it should not be issued unless the
open mode has been established.
(4) Issue the close command at the end of the program even when operation has been
suspended by resetting or some other operation during data output.
POPEN
DPRNT
PCLOS
227
13.5 User macro specifications
Open command
Data output command
Closed command

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64Meldas c64t

Table of Contents