Download Commissioning with the software CoDeSys for

Transcript
Example startup with BLxx-2RFID-A modules
Writing to the data carrier / Port 1 (CH_0)
This paragraph explains the writing of 12 bytes data with any content to your RFID data
carrier.
Writing to the data carrier of the 1st port is possible after you have executed "Initialization of
the 1st port (CH_0)" page 3-14.
In this example, data was selected that can be easily recognized in the following "Reading
from the data carrier / Port 1 (CH_0)" page 3-18. Please enter any sequence of digits into the
send data field (Transmit Buffer 1 to Transmit Buffer 12). Based on the fact that the send data
field is divided into 1 byte sized buffers, the decimal numerical values in the 0 to 255 range
may be selected.
Figure 31:
PLC_VISU with
Write data
Data to be written
in the
send data field
Writing is implemented with the command "Physical Write" (or physical writing) in
"PLC_VISU" of the tab "Visualization". For a thorough description of this command code,
please refer to "Physical_Write" page 5-24.
Note
Please ensure that the online connection to your control is active and that the
program is running. The mode "ONLINE:BL67_PG_EN" and "RUNNING" is
highlighted black and displayed at the bottom right of the window.
You may monitor command execution via the status messages. Active modes are signalled
here when the respective circles are illuminated green.
D101640 0109 - BL ident ® CoDeSys
3-17