Problem floppy emualator for CNC machine

Post Reply
seaman_2007
Posts: 22
Joined: Thu Mar 03, 2011 10:26 pm

Problem floppy emualator for CNC machine

Post by seaman_2007 » Thu Mar 03, 2011 11:39 pm

Hi!
I bought your "SDCard HxC Floppy Emulator".
I need to transfer data from the computing system
that runs under DOS to the CNC machine.
Data is written to the disk drive into the 5.25 format 320 KB 8 sectors 40 tracks.
In the BIOS the floppy drive is defined as 5.25 1200 kb.
I can write the data to the emulator at the SD-card under the
DOS-based computer. Data is recorded without errors.

The problem is that the CNC machine
can not read even the file name from the emulator.

The CNC machine is installed the drive NEC FD-1054.
It capacity is 360 kb, it included non twisted cable.
I append the photo of jumper setting floppy drive which is installed on the CNC machine.
Also I append the "hfe" file which can not be reading at the CNC machine .

firmware version 1.5.1.0 revision C
HxCFloppyEmulator version 1.5.2.1

Expect you to how to resolve this error!
Attachments
empty525.zip
file "hfe"
(35.48 KiB) Downloaded 389 times
DSCN0367_mod.jpg
jamper settings
DSCN0367_mod.jpg (98.57 KiB) Viewed 8410 times

Jeff
Site Admin
Posts: 7020
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Problem floppy emualator for CNC machine

Post by Jeff » Thu Mar 03, 2011 11:52 pm

seaman_2007 wrote:Hi!
I bought your "SDCard HxC Floppy Emulator".
I need to transfer data from the computing system
that runs under DOS to the CNC machine.
Data is written to the disk drive into the 5.25 format 320 KB 8 sectors 40 tracks.
In the BIOS the floppy drive is defined as 5.25 1200 kb.
I can write the data to the emulator at the SD-card under the
DOS-based computer. Data is recorded without errors.

The problem is that the CNC machine
can not read even the file name from the emulator.

The CNC machine is installed the drive NEC FD-1054.
It capacity is 360 kb, it included non twisted cable.
I append the photo of jumper setting floppy drive which is installed on the CNC machine.
Also I append the "hfe" file which can not be reading at the CNC machine .

firmware version 1.5.1.0 revision C
HxCFloppyEmulator version 1.5.2.1

Expect you to how to resolve this error!
Is the floppy emulator reacting when you try to read the disk ?

I have just send to you an email with 2 hfe files to test.

seaman_2007
Posts: 22
Joined: Thu Mar 03, 2011 10:26 pm

Re: Problem floppy emualator for CNC machine

Post by seaman_2007 » Fri Mar 04, 2011 12:29 am

I got your files. Error as before
Attachments
DSCN0369_mod.jpg
file loaded
DSCN0369_mod.jpg (52.5 KiB) Viewed 8402 times
DSCN0368_mod.jpg
error on display CNC mashine
DSCN0368_mod.jpg (58.73 KiB) Viewed 8402 times

Jeff
Site Admin
Posts: 7020
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Problem floppy emualator for CNC machine

Post by Jeff » Fri Mar 04, 2011 12:45 am

seaman_2007 wrote:I got your files. Error as before
Hi,

In the picture the floppy emulator jumper seems to be in the wrong position.
Try the --ID0-Drive A-- jumper position or the --ID3-Drive A-- jumper position.

The floppy emulator must at least show you that the CNC machine is trying to read the virtual disk.
You should get a "RA" message on the lcd when the CNC read the disk.
If not the jumper position is wrong.


Best Regards,
Jean-François DEL NERO
Attachments
Image2.gif
Image2.gif (9.43 KiB) Viewed 8400 times

seaman_2007
Posts: 22
Joined: Thu Mar 03, 2011 10:26 pm

Re: Problem floppy emualator for CNC machine

Post by seaman_2007 » Sat Mar 05, 2011 3:46 pm

Hi!

what is jumper setting should be on your device and what HFE files must be installed, if the original floppy NEC FD1054
is connected to the machine CNC non twisted cable and original jumper setting of floppy NEC FD1054 is on the attached photos




This is some information about floppy NEC FD1054:

FD1054 360kB
------------

These drives are compatible with standard Floppy interface.

Configuration 1: Non-twisted cable

Computer USE MON VC M1 DCG LM0 LM1 DX
XT 2 1 On On 1 0 1 see note
AT 2 1 On On 2 0 1 see note

note: Drive 1 (A:) has DX=0, drive 2 (B:) has DX=1


Configuration 2: Twisted cable (pin 10-16 twisted), Drive 2 and controller
are on one the same side of the twist, and drive 1 is on the other side.

Computer USE MON VC M1 DCG LM0 LM1 DX
XT 2 3 On On 1 0 1 see note
AT 2 3 On On 2 0 1 see note

note: Both drive 1 (A:) and drive 2 (B:) has DX=1

My note: The original document had a very unclear layout and it is
possible that the MON values should be interchanged, so that
configuration 1 is MON=3 and configuration 2 is MON=1 instead.





(1) Head Load Condition

HS USE
Drive select & head load 1 1
Drive select 1 2
Head load 2 1
Drive select & motor on 1 3
Motor





(2) Motor On Condition

MON
Drive select 3
Head load 2
Motor on 1 *






(3) Display Lamp Contidion

IUS USC LED
Head load 2 1 1 and 4
Head load & Drive select 2 1 1 and 5
Drive select - 2 and 4
Ready - 3 and 4
Ready & Drive select - 3 and 5
Drive select - 2 and 5
Head load 1 - 1 and 4
Head load & Drive select 1 - 1 and 5 *

Note: "-" indicates that the plug position is allowed
mounting on any position.






(4) Density Switching

Record High/Normal Plug position
density density signal DEN

High H level 1 *
Normal L level

Normal H level 2
High L level

High H level 3
High L level

High H level Open
Normal L level






(5) Rotation Change

Rotation in a normal density mode HDE
360rmp ("single speed mode") 1 *
300rmp ("dual speed mode") 2

Note: A rotation in a high-density mode is 360 rpm for both
short plug "HED"=1 and 2.



(6) Disk Change/Ready

Disk change/ready signal output condition DCG
Ready signal 1
Disk change signal 2 *


Option Plug Position On PWB:





.---.
| |
| |
| |
| `--.
| |
| |
`-. `---. .---.
_| #IOS | | |
ґ= #DX | ----------ґ |
| `------------ґ |
| ## MON## ##HS ## |
| DCG ## DEN |
| HDE## LED |
`-. ____ _ |
`--ґ `-----------------ґ `--------ґ
Attachments
002.jpg
NEC FD1054
002.jpg (242.09 KiB) Viewed 8381 times
001.jpg
NEC FD1054
001.jpg (255.97 KiB) Viewed 8381 times

Jeff
Site Admin
Posts: 7020
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Problem floppy emualator for CNC machine

Post by Jeff » Sat Mar 05, 2011 3:58 pm

I quote my previous message :
Jeff wrote:
seaman_2007 wrote:I got your files. Error as before
Hi,

In the picture the floppy emulator jumper seems to be in the wrong position.
Try the --ID0-Drive A-- jumper position or the --ID3-Drive A-- jumper position.

The floppy emulator must at least show you that the CNC machine is trying to read the virtual disk.
You should get a "RA" message on the lcd when the CNC read the disk.
If not the jumper position is wrong.


Best Regards,
Jean-François DEL NERO
Try the jumper position showed in diagram showed below.

Did you see the "RA" message on the LCD when is trying to read the disk ?


The user manual may help:
http://hxc2001.free.fr/floppy_drive_emu ... Manual.pdf
Attachments
Image2.gif
Image2.gif (9.43 KiB) Viewed 8378 times

seaman_2007
Posts: 22
Joined: Thu Mar 03, 2011 10:26 pm

Re: Problem floppy emualator for CNC machine

Post by seaman_2007 » Wed Mar 09, 2011 7:24 pm

Hi!
Jumper is included in your instructions, but the error remains the same - DISK ERROR on CNC machine. Displayed on the emulator RA Message <<RA T:000/40 S:0>>

The sequence of my actions when creating a disk was as follows:

I took a dump diskettes, shot with a pre-formatted with a specialized program on the computer running the operating system DOS. On this basis, it was found that the floppy has the following format 320 KB 40-Track 8 sectors.
Emulator was created following a floppy disk and written to the SD card emulator.

<pic1>

What has changed as a test of the value of GAP3 ranging from 40 to 70. Unfortunately I could not not format does not write data to the emulator.
Then I did a dump directly from this drive, the menu item «Floppy disk dump».

<pic2>

Dump is created without errors. This type of dump emulated but not completely. That is, write the data I could! And here is a specialized program to format a floppy disk failed.

full floppy dump- is dump original diskette
Attachments
angelSD.rar
full floppy dump
(250 Bytes) Downloaded 457 times
readmsg(1).JPG
pic 2
readmsg(1).JPG (16.35 KiB) Viewed 8353 times
readmsg.JPG
pic 1
readmsg.JPG (23.81 KiB) Viewed 8353 times

Jeff
Site Admin
Posts: 7020
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Problem floppy emualator for CNC machine

Post by Jeff » Wed Mar 09, 2011 10:23 pm

Email sent!

seaman_2007
Posts: 22
Joined: Thu Mar 03, 2011 10:26 pm

cnc machine cannot read the data from hxc floppy emulator

Post by seaman_2007 » Fri Apr 01, 2011 9:00 pm

Good day!

We have an old cnc machine. We have many times tried to use your device,

but we can not reconcile on a device with the cnc machine
Perhaps the problem is the speed of data transmission from the device to the cnc machine and interleaving?

We created a topic in the forum, but it is now removed.

Probably, the emulator sends data faster than they are processed by cnc machine.


Remind contents previous one letter:


Hi!

I bought your "SDCard HXC Floppy emulator.

I need to transfer data from computer system

That runs under DOS for CNC machines.

Data is written to the disk format 5.25 320 KB 8 sectors 40 tracks.

In the BIOS the drive is defined as 5.25 1200 kB.

I can write data to the emulator on the SD-card under

DOS-PC. Data is written without errors.



The problem is that the machine with CNC

can not even read the file name of the emulator.



On CNC machines installed drive NEC FD-1054.

Its capacity is 360 kb, it is connected, not twisted cable.




firmware version 1.5.1.0 revision C

HxCFloppyEmulator version 1.5.2.1



How do we fix this error!



PS sorry for my English!

Jeff
Site Admin
Posts: 7020
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: cnc machine cannot read the data from hxc floppy emulato

Post by Jeff » Fri Apr 01, 2011 9:28 pm

seaman_2007 wrote:We created a topic in the forum, but it is now removed.
No the topic have been moved into the right section :

http://torlus.com/floppy/forum/viewtopic.php?f=25&t=523

seaman_2007
Posts: 22
Joined: Thu Mar 03, 2011 10:26 pm

problem with file transfer on cnc machine

Post by seaman_2007 » Fri Apr 01, 2011 10:23 pm

Hi again

Can we specify in configuration file the data rate, GAP, and the interleaving ?

seaman_2007
Posts: 22
Joined: Thu Mar 03, 2011 10:26 pm

Problem floppy emualator for CNC machine

Post by seaman_2007 » Fri Apr 01, 2011 10:36 pm

we can not reconcile the hxc floppy drive emulator with the cnc machine
Perhaps the problem is the speed of data transmission from the device to the cnc machine and interleaving?



Probably, the emulator sends data faster than they are processed by cnc machine.

Jeff
Site Admin
Posts: 7020
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: problem with file transfer on cnc machine

Post by Jeff » Fri Apr 01, 2011 10:37 pm

seaman_2007 wrote:Hi again

Can we specify in configuration file the data rate, GAP, and the interleaving ?
Yes, with the "Load raw image" function.

Please check your email box and answer me.

seaman_2007
Posts: 22
Joined: Thu Mar 03, 2011 10:26 pm

Problem floppy emualator for CNC machine

Post by seaman_2007 » Fri Apr 01, 2011 11:57 pm

Thank you, but we have again a negative result.

Maybe the situation will clarify the algorithm of the work with cnc machine when we read the data from 5.25 "floppy disks:

Insert the floppy disks, and press/ Load /up the displays cnc machine appears/ 1 = read/,/ 2 = write/, press 1 (read)

the display shows the name of the pattern, which is recorded on floppy disks. Then we press /OK/ button to started to read from diskette


When we connect hxc emulator, while trying to read, we do not observe TOC floppy disks. And the only Disk Error message.


We'll send you an image of the original floppy disks 5.25 "with a pattern which is perceived to machine correctly.
Attachments
Floppy Dump.rar
(18.21 KiB) Downloaded 471 times

Jeff
Site Admin
Posts: 7020
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Problem floppy emualator for CNC machine

Post by Jeff » Sat Apr 02, 2011 12:24 am

ok please try carefully each files images present into this zip file.
Attachments
FDJumberca.zip
(139.52 KiB) Downloaded 416 times

Post Reply