System register instructions
984
Part III FP Instructions
No. IEC address Set If
R9007
R9008
%MX0.900.7
%MX0.900.8
permanently
for an instant
any character other than a keyword is
specified
no comma is between the first and second
keywords
small letters of the alphabet are used to
specify the keyword (except for numbers
used to specify unit no.)
no communication cassette has been
installed when COM1 or COM2 has been set
the setting of the unit no. setting switch is
anything other than 0 when COM1 or COM2
has been set and the unit no. is being
changed
the unit no. set using this instruction is
anything other than a value between 1 and 99
the baud rate or transmission format for
COM1 has been changed when the PLC link
mode is specified for COM1
the baud rate or transmission format is
changed while the Tool port, COM port 1, or
COM port 2 is being initialized using MODEM
the communication mode is set to anything
other than the general communication mode
when header and terminator have been set
any communication cassette other than the
1-channel RS232C type communication
cassette is installed when using RS control
the specified unit no. is larger than the largest
unit no. specified by the system register when
the COM 1 port is in the PLC link mode
In this example the function SYS1 is programmed in ladder diagram (LD).
The values entered at s* will be right aligned automatically by the compiler.
Error flags
Example
POU header
The same POU header is used for all programming languages.
Body
When CommSettings turns on, the transmission format and baud rate for the COM1 port are set
as follows: Character bit: 8, Parity: Odd; Stop bit: 1; Baud rate: 19,200 bps.
LD