Process control, Other and Communication instructions
(Original Document)
Introduction
Converting a PL7 application into a Control Expert application generates certain differences, which are described in the following paragraphs.
IN, OUT, INOUT parameters
In Control Expert, for all EFs that use input, output and input/output parameters (IN, OUT and INOUT), the order of these parameters has been modified.
Example: in PL7, the order of the parameters is as follows: IN, OUT, INOUT.
In Control Expert, this becomes: IN, INOUT, OUT.
The EFs concerned by this modification are the following:
PL7
Control Expert
PL7
Control Expert
PL7
Control Expert
PID
PID_INT
FTOF
FTOF
DATA_EXCH
DATA_EXCH
PWM
PWM_INT
FTON
FTON
INPUT_CHAR
INPUT_CHAR
SERVO
SERVO_INT
FTP
FTP
OUT_IN_CHAR
OUT_IN_CHAR
SCOUNT
SCOUNT
PRINT_CHAR
PRINT_CHAR
FPULSOR
FPULSOR
RCV_TLG
RCV_TLG
READ_ASYN
READ_ASYN
READ_GDATA
READ_GDATA
READ_VAR
READ_VAR
SEND_REQ
SEND_REQ
SERVER
UNITE_SERVER
NOTE: When you used a TSX series 7 PLC’s PL7-2 or PL7-3 with the function DATA_EXCH, in reception, APP.NUM is interpreted as APP and the message with this address is managed by the first DATA_EXCH executed after reception.
NOTE: FTOF, FTON and FTP are not converted for M340 targets.
The following diagram shows the example of the communication instruction OUT_IN_CHAR.
The following table describes the parameters of the communication instruction OUT_IN_CHAR.
Input parameters (IN)
Input/output parameters (INOUT)
Output parameters (OUT)
ADR
GEST
RECP
TYPE
EMIS
The ST representation of the instruction OUT_IN_CHAR in PL7 is as follows:
OUT_IN_CHAR (Address, Mode, Data_to_Send, Received_Data, Management_Param).
The ST representation of the instruction OUT_IN_CHAR in Control Expert is as follows:
OUT_IN_CHAR (Address, Mode, Data_to_Send, Received_Data, Management_Param).