User`s manual
386
17.4.3 Functions
(1) This instruction changes the current values of the settings below to
transmit/receive data using the following communication protocols:
• Data count unit (word/byte) of the data to be transmitted/received
• Transmission area in the buffer memory used by the on-demand function of the MC protocol
• Transmission and reception areas in the buffer memory used with the non-procedure protocol
• Transmission and reception areas in the buffer memory used with the bidirectional protocol
(2) To change the above setting values from the programmable controller CPU,
execute the CSET instruction.
The CSET instruction must be executed before starting any data communication (execute it before the first scan).
Once data communication begins, the CSET instructions cannot be executed (the setting values cannot be
changed).
More than one CSET instruction cannot be executed simultaneously to perform the initial settings.
(3) Simultaneous execution of dedicated instructions
The following table shows the handling for when executing another instruction during execution of the CSET
instruction or executing the CSET instruction during execution of another instruction in the same channel.
: Available, : Not available
Instruction
Availability of
simultaneous
execution
Handling of simultaneous execution
ONDEMAND
• Dedicated instructions simultaneous execution error (7FF0H) occurs in the dedicated instruction attempted
later.
(However, simultaneous execution is available when channels to be used are not the same.)
OUTPUT
PRR
BIDOUT
BIDIN
INPUT (the right column)
[When instructions are executed in order of INPUT CSET]
• Dedicated instructions simultaneous execution error (7FF0H) occurs in the CSET instruction.
(However, simultaneous execution is available when channels to be used are not the same.)
[When instructions are executed in order of CSET INPUT]
• Simultaneous execution is available.
CSET
• The next instruction will be ignored until the active instruction has been completed.
(However, simultaneous execution is available when channels to be used are not the same.)
PUTE
GETE
BUFRCVS
SPBUSY
UINI
• Dedicated instructions simultaneous execution error (7FF0H) occurs in the dedicated instruction attempted
later.