Data transfer via communication ports
743
Part III FP Instructions
PLC types
Availability of F159_MTRN (see page 1321)
Variable Data
type
Function
s_Start Send buffer
n_Number Bytes to send:
Positive value: the end code is added in transmission.
Negative value: the end code is not added in transmission.
16#8000: the communication mode of the specified communication port is
changed.
d_Port Communication port
Must be a constant
FP-X, FP and FP2, FP2SH (V1.4 or later):
PLC communication ports:
Value: SYS_COM1_PORT or SYS_COM2_PORT or SYS_TOOL_PORT
MCU communication port:
Value: 16#xx01 (COM1), 16#xx02 (COM2)
xx = slot number (hexadecimal) of the MCU (e.g. 16#0001: COM1 in slot 0,
16#0A02: COM2 in slot 10, 16#1401: COM1 in slot 20)
Other PLCs:
The command will be compiled to F144_TRNS, which works on the COM port of
the CPU (the parameter d_Port will be ignored)
For Relay T/C Register Constant
s_Start WX WY WR WL SV EV DT LD FL -
n_Number WX WY WR WL SV EV DT LD FL dec. or hex.
d_Port - WY WR WL SV EV DT LD FL -
No. IEC address Set If
R9007 %MX0.900.7 permanently
R9008 %MX0.900.8 for an instant
the specified address using the index
modifier exceeds a limit
the number of bytes to be sent specified
by 'n_Number' is outside of the specified
area.
Flags only for the MCU:
the MCU unit does not exist in the
specified slot
16#8000 is specified in
MEWTOCOL-COM Master/Slave mode
Data types
Operands
Error flags