6F8C0904 77
5.4 PC Link Protocol Transmission (Data read)
5
<Error status>
Error status examples
(2) Request command contents
• DRID(Remote station register type code)
... The remote station specifies the type of register to which transmission data is
written. The specifiable codes are listed in the following table.
If the remote station is an S controller, only the D register and SW register can
be specified. Any other registers can be specified only when the remote
station is PROSEC-T3H or T2N.
*1 Includes the expansion F registers (IC card). One bank has 8k words (0 to 8191).
*2 Includes the expansion F registers (IC card). One bank has 64k words (0 to 65535).
*3 The maximum transfer size is 323 words because the T and C registers hold data that
has flags attached. In case of T register, you cannot specify the ranges spreading
across the basic T (0-511) and expansion T (512-1023).
F0
STATUS =0: Normal completion, ≠ 0: Error status
Error status number Description
-5001(16#EC77) Command type error
-5002(16#EC76) Timeout (detected by the S controller)
2848(16#B20) Timeout (detected by the EN311)
Supplemental Remarks
When the PC link is used and the EN311 detects an error, it means that the error occurred in the
local station if the highest bit of the error status shows 0 or it means that error occurred in the
remote station if the bit shows 1. Therefore, the error is in local station if the error status value is
positive or the error is in remote station if the value is negative.
RID Meaning RID Meaning
0000H XW/YW registers **05H F register (0 - 32767) *1
0001H W register **06H F register (0 - 65535) *2
0002H LW register 0007H T register *3
0003H RW register 0008H C register *3
0004H D register 0009H SW register
05H
Bank number: 00H: Controller internal F register, F0000-F32767
01H-0FH: Expansion F register (IC card), F0000-F8191
F
8 7
0
06H
Bank number: 00H: Controller internal F register, F0000-F32767
01H: Expansion F register (IC card), F0000-F65535
02H: Expansion F register (IC card), F0000-F57343
F
8 7
0