2-4. Usage Example of FB Component
FB “Write Data to Data Carrier”
FB Name
_V60x400_WriteData
File Name
_V60x400_WriteData10.cxf
Functional Overview
Writes data to a Data Carrier.
Program Example
When contact W0.00 is ON, ID sensor writes data “12 34 56 78” into carrier’s address 10.
After normal write, contact W0.02 is set to ON by 1 cycle.
If an error occurs by any reason, contact W0.03 is set to ON by 1 cycle.
Unit No.
&1
Head No.
&1
Data Carrier write address
&10
Bytes to process in Data Carrier
&4
Write data storage area type
P_DM
Write data storage word address
&1000
Communications designation
&0
Processing designation
&0
Cancel
W0.15
Busy flag
W0.0
Normal end
W0.2
Error end
W0.3
Error code
↑
_V60x400_WriteData
(BOOL)
EN
(BOOL)
ENO
(INT)
UnitNo
(BOOL)
BUSY
(INT)
HeadNo
(BOOL)
OK
(WORD)
CarrierAddress
(BOOL)
NG
(INT)
WriteBytes
(WORD)
ErrorCode
(WORD)
DataAreaID
(INT)
DataAreaNo
(INT)
Communications
(INT)
ByteOrder
(BOOL)
Cancel
A200.11
MOV #1234 D1000
MOV #5678 D1001
W0.0
W0.1
2-8 RFID (ID Sensor)
V600-H
Summary of Contents for FB LIBRARY -
Page 1: ......
Page 14: ...2 1 Controller Link Unit CJ1W CLK21 V1...
Page 23: ...2 2 DeviceNet Slave DRT2 Series DRT2...
Page 31: ...2 3 Position Control Unit CJ1W NCF71...
Page 42: ...2 4 Position Control Unit CJ1W NC113 133 213 233 413 433...
Page 49: ...2 5 Position Control Unit CS1W NC113 133 213 233 413 433...
Page 57: ...2 6 Inverter 3G3MV A2 AB A4 3G3RV A2 A4...
Page 71: ...2 7 Servo Driver R88D WT WT H WT HL R7D AP H AP L...
Page 84: ...2 8 RFID ID Sensor V600 H...
Page 95: ...2 9 Vision Sensor F160 C10...
Page 105: ...2 10 2D Code Reader V530 R2000 R160 R150V3...
Page 118: ...2 11 Smart Sensor ZX SF11 ZX LD40 ZX LDA11 N...
Page 129: ...2 12 Temperature Controller E5ZN 2...
Page 139: ...2 13 Temperature Control Unit CJ1W TC001 101 003 103 002 102 004 104...