User`s manual
388
17.4.4 Errors
When the dedicated instruction is completed abnormally, the error flag (SM0) turns on and the error code is stored in
SD0.
See the following manuals regarding the error code, and check the errors and take corrective actions.
<Error codes>
4FFFH or less: User's manual (hardware design, maintenance and inspection) for the CPU module used
7000H or higher: User's Manual (Basic)
17.4.5 Program example
A program that changes the transmission buffer area for interface on CH1 side
• Set the transmission buffer to C00H to FFFH.
• Set the reception buffer to 600H to 7FFH.
When the input/output signals of the Q series C24 are X/Y00 to X/Y1F
Clears D0 to D111
Sets the execution type
Sets the request type
Sets the word/byte units to word
units
Sets the on-demand head
address
Sets the on-demand buffer size
Sets the transmission buffer size
Sets the reception buffer head
address
Sets the reception buffer size
Executes the initial setting
Sets the transmission buffer head
address