Chapter 11: SEND/RECEIVE function
(2) When the module is used (host PC: JW50H/70H/100H)
PORT- | fileN S | ||
OPCH | |||
|
|
|
|
n | D |
| |
SEND |
| ||
|
|
| |
|
|
|
|
PORT | : Port number on which the |
CH | : Channel number within the specified port number (0 to 3) |
| In the PC program, the same port number can be called 4 |
| times, once for each channel (CH0, CH1, CH2, and CH3). |
ST | : Target node number (01 to FE(H)) |
fileN | : Data area in the target node PC (file number) |
D | : Top file address of the data area in the target node PC |
S | : Data area top register of source station data |
n: Number of data bytes transmitted (000 to 377(8), 256 bytes at 000)
D : Top file address of the data area in the target node PC
- Setting range of D
コ0000 to コ1577 b0000 to b1777 09000 to 99777 E0000 to E1777 @コ0000 to @コ1574 @b0000 to @b1774 @09000 to @99774 @E0000 to @E1774
| This node |
|
|
|
| Target node | ||||
| file 0 | CH number within |
|
| file N | |||||
|
|
|
|
|
|
|
| |||
D |
| the PORT number | S |
|
|
|
| |||
|
|
|
| Send |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| n |
|
|
|
| Response |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
11 | Flag status during and after the operation |
| |||||
|
|
|
|
|
|
|
|
|
|
| Zero | Carry | Error | Non- |
|
|
|
| carry | Description | |||
|
|
| 07357 | 07356 | 07355 | ||
|
|
| 07354 |
| |||
|
|
|
|
|
|
| |
|
| No response | 0 | 0 | 1 | 0 | The value entered for the PORT and the actual |
|
| from port | installed port number may be different. | ||||
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| This condition may instantaneously occur while |
|
| Communi- |
|
|
|
| other send instruction is being executed. |
|
| 0 | 0 | 0 | 1 | However, as soon as the condition becomes clear | |
|
| cation jam | |||||
|
|
|
|
|
| for the execution of an instruction, the status will | |
|
|
|
|
|
|
| |
|
|
|
|
|
|
| turn to "Communicating." |
|
|
|
|
|
|
|
|
|
| Communi- |
|
|
|
| The communicating is being run. Once the |
|
| 1 | 0 | 0 | 1 | communication completes, the status will change | |
|
| cating | |||||
|
|
|
|
|
| to either "normal end" or "abnormal end." | |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| Normal end | 0 | 1 | 0 | 0 | When the send instruction has successfully |
|
| completed. | |||||
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| Abnormal end | 0 | 1 | 1 | 0 | The target node cannot be written to. |
|
| (error) | |||||
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|