Transferring file from Omron CJ1 to CF memory card
Equipment used in this experiment is CJ1M-CPU22 and Compact Flash Memory card size 128 MB.
Here we will not mention how to write Program. But to describe the writing of data from DM PLC in the File CF card is only steps in detail.
Typically, the CF card to FAT16 format Omron is the factory is ready for use immediately. But if the CF card has not been must Format the Format CX programmer always before use.
Next, we come from each process to better
Step 1.
Open the PC and PLC power supply to open and then wait for the Software CX programmer has it ครับ.
Step 2.
Format the CF card and then plug the CPU of Figure 1 CJ1M you can see the orange light above the CF card on and off to indicate that plug into the data center.

Figure 1.
Step 3.
Then remove the line for loading Interface Program. Examples of the CS1W-CN226 between computer and PLC by Figure 2.

Figure 2.
Step 4.
Program CX programmer to create a new File Click File> New.
Step 5.
The window ‘Change PLC’, select the PLC you are using in this case by CJ1M Click on Setting.’ll Show window ‘Device Type Setting’, select the type of CPU used, and then Click OK and OK.
Step 6.
Program to write the examples below.
• Bit 0.0 act instructs PLC writes to CF card working at trial.
• Bit A343.15 Flag to say that CF is available if the CF card is invalid or will not Format Flag this off.
• Bit A343.13 Flag that tells the PLC is writing data to CF card.
• Control word of command FWRIT put constant # 3010 the number 3 means write to the File. CSV and stage data, each set (Field) with a Comma. Part No. 0 No. 2 from the left means unattended Enter. No one means to overwrite the last and the number 0 means write to CF card details of more commands from manual written Program.
• First destination word is DM10, which put the amount of data to write And position information to be written to File.
• Filename is the DM20 to Enter Data File to create. Must be preceded by \ D, such as File Name, enter ABC as the DM20 \ ABC.
• First source word is the input data D30 to write to File. To write, stating that the DM10 5 of 5 we can write data input from DM30-DM34.
Step 7.
When finished, Write Program, go to the PLC> Work Online PLC to connect to a computer.
Step 8.
Transfer Program, and then down to the PLC by the Click PLC> Transfer> To PLC PLC should not forget that in Mode Program or Monitor.
Transfer Program to provide specific only
Step 9.
Then Click Memory Monitoring data into the picture for DM.
Step 10.
Click on D for data DM.
Step 11.
Monitor the DM by Click Online> Monitor and Click Monitor the ‘Monitor Memory Areas’.
Step 12.
DoubleClick the D10 is displayed window ‘Set Value’ position D10 is used to specify the amount of data to write to the CF card. In this example, enter number 5, which means writing each fifth set when writing 10 sets to identify A. Because the number HEX (PLC to Monitor mode and is displayed as a HEX).
Step 13.
Specify a File, but to make it easier to enter, change the display of the ‘PLC Memory’ is ASCI by Click on a the image of the DoubleClick to D20 and then type \ A, which means to write to File a A. . csv requires an \ always precede a File.
Click OK, and then displayed on the image data.
Step 14.
G Back to the HEX display by 16 Click the image
Then the D30 DoubleClick to enter the required data written to CF card, which can add to the five samples from D30-D34 of 1234 put the number D30.
Enter the D31 5678, D32 enter 2222, D33 and D34 enter 7777 enter 4321, respectively.
Step 15.
Then close the window ‘PLC memory’ and then back to the window display ladder diagram. From the test run by Turn on Bit 0.00 you will see the light BUSY orange above the CF card on a moment between the PLC writes to CF. card. If unable to show any steps that may be wrong-signature, you can Turn on Bit 0.00 replay to see if lights not working or BUSY.
Step 16.
If everything is working normally, remove the CF card by pressing the button as shown below CF card.
Then be plugged to a computer to read information in File.
The Explorer, open the drive CF card, you will see a File A.csv then View the Program Excel.
File seems to be open, see the File, as shown in the picture below.
Come to this show that we succeeded in writing data from the PLC to CF card but the format of writing data is determined to Control word of command FWRIT example to Write a Column must be set to enter Return each. collection of data etc. It also can specify the overwrite or write more as needed. Should study the manual command FWIT PLC of Omron.
Tags: Cf Card, CF memory card, Omron CJ1, Omron Product, omron software, PLC CJ1, PLC software