Data transfer via communication ports
729
Part III FP Instructions
Storage value Baud rate
0 300
1 600
2 1200
3 2400
4 4800
5 9600
6 19200
7 38400
8 57600
9 115K
10 230K
3. CharacterBitsValue (0=7 bits, 1=8 bits)
4. ParityValue (0=no parity, 1=parity 0, 2=odd, 3=even)
5. StopBitLengthValue (0=1 bit, 1=2 bits)
6. RS_CS_IsValid (0=disable, 1=enable)
7. SendWaitingTime (0=time for about three characters/effective time=n*0.01ms (0 to 100ms))
8. SendingHeaderValue (0=No STX, 1=STX)
9. SendingTerminator_ReceptionDoneCriterion_Value (0=CR, 1=CR+LF, 2=No SendingTerminator,
ReceptionDone by Timeout (24 bits), 3 =EXT)
10. ReceptionDoneTimeOut (0=immediate/effective time=n*0.01 ms (0 to 100 ms)
11. InitModemWhenPowerTurnsOn (0=not initialized, 1=initialized)
PLC types
Availability of F161_MRD_PARA (see page 1321)
Variable Data type Function
s_Port
ANY16
Specification of slot number (high byte) and port number
(low byte) of the MCU to which the data is transmitted.
16#xx01: COM1 on MCU in slot 16#xx
16#xx02: COM2 on MCU in slot 16#xx
d1_Para MCU_PARA_DUT Communication parameters defined in the predefined DUT
For Relay T/C Register Constant
s_Port WX WY WR WL SV EV DT LD FL dec. or hex.
d1_Para - 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 MCU unit does not exist in the
specified slot
the specified communication port does
not exist
Data types
Operands
Error flags