Specifications

6 - 36 6 - 36
6. HOW TO COMMUNICATE WITH ID TAGS
6.4.8 Program example of FXCPU use
The following describes an example of a sequence program for setting parameters
when executing a data link.
(1) List of devices used in program example
Table 6.15 List of Devices Used in Program Example (With FXCPU Use)
Device Description
X30 Signal input when reading from ID tag
X40 Signal input when writing to ID tag
Y30 ECL2-V680D1 (Station No. 1) data link error
Y40 Host data link status
M8000 RUN monitor
M8002 Initial pulse
M0 Pulse signal when setting parameters
M1 Parameter setting request
M2 Pulse signal at data link startup by buffer memory parameters
M3 Internal relay turned ON when data link startup by buffer memory parameters
is requested
M20 to M35 BFM#10
M20 Module error
M21 Host data link status
M26 Data link startup by buffer memory parameters complete
M27 Data link startup by buffer memory parameters abnormal end
M35 Module READY
M40 to M55 BFM#10
M40 Refresh instruction
M46 Data link startup by buffer memory parameters request
M60 Internal relay turned ON when ID command is executed (Read)
M61 ID command execution (Read) start pulse signal
M62 Internal relay turned ON when ID command is executed (Write)
M63 ID command execution (Write) start pulse signal
M80 Normal end signal
M100 to M227 ECL2-V680D1 remote input
M102 ID communication complete
M103 ID-BUSY
M104 ID command complete
M105 Error detection
M220 Initial data processing request flag
M221 Initial data setting complete flag
M223 Remote READY
M300 to M427 ECL2-V680D1 remote output
M304 ID command execution request
M420 Initial data processing complete flag
M421 Initial data setting request flag
M501 to M516 Remote device station data link status
D0 to D6 Device that sets parameters
D20 Device that sets station information
D50 Own station parameter status storage value
D100 Communication specification area
D101 Communication setting area
D102 Processing specification area
D103 Auto system command wait time setting area
D200 to D212 Source data written to ID tag
D220 to D232 Data read from ID tag
D250 Error details stored value
D300 Command code specification area
D301 Start address specification area
D302 Number of processing points specification area