Before initial operation read these instructions thoroughly, and retain for future reference.
Y.4smwA
TOE-C843-11 .336
GENERAL DESCRIPTION
Computercommunicationfunctionfor YASNACi Seriesprovideswide-rangingcommunicationwith a host computerby addinga communicationmoduleto the CPU unit.
Since this moduleis equippedwith a microprocessorfor the purposeof communication,it
canperformcommunicationbetweenthehostcomputerandtheNC at highspeedby
minimizingthe effecton the motioncontrolthat is a basicperformanceof the NC.
Mountthis modulein the positionas shownin Fig. 2.1
Dimensionsin mm
e
11
404
426
Fig. 2.1Module Mounting Position
,1
,.,:
1-
,4”
,,..,
....
145
2.2 Selectionof RS-232Cor RS-422
2 types of interfaces,RS-232Cand RS-422,are providedfor this communicationmodule.
Table 2.1Perameter Setting of Interface
NC Parameter
Interface
RS-232C
RS-422
pmO030 D6
o
1
2.3 Descriptionof Signals
FG :
Frame grounding
SD :
Sendingdata (output)
Receivingdata (input)
RD :
I
RS :
Requestsending(output)
This signalturns ON whenstartingto send out in case of transmittingthe data from
this module.
Note : It functionsas a requestreceivingsignalin Protocol1.
Refer to item 3. PROTOCOL1 for furtherdetails.
Cs :
Capableof sending(input)
The data can be send out from this modulewhen this input signalis ON.
SG :
Signalgrounding
—4–
ER : Data terminalready (output)
When this signal turns ON, it shows the communicationmoduleis ready for operation.
If it is OFF, processthe error withhost computer.
DR : Data set ready (input)
When this signalturns ON, it showsthat the host computeris ready for operation.
If it is OFF, this moduleprocessesthe error.
Note : In RS-422,* SD, * RD, * RS, * CS, * ER and * DR signalsare also providedin
additionto the above signals.These signalsare the reverse of the signalsexplained
above.
Due to differencebetweenRS-232Cand RS-422actualsignallevel becomesas shownin
Table 2.2.
Table 2.2Correspondencebetween Signal Level and Logic
Signal
Name
RD
SD
Cs
RS
DR
LogicI
1
o
o
1
+
o
1
o
1
1
1
Function
Mark
Space
ON
(Active)
OFF
(Disable)
ON
OFF
ON
OFF
Signal Level
RS232C
Below–3VVD < –0.2V
Above+3VI VD> +0.2V
Above + 3VVD > + 0.2V
I
RS422
ER
o
1
i
ON
OFF
Below–3VI VD < –0.2V
Note : VD is the voltagethat sees RS-422with referenceto * signal.
5—
2.4 ConnectorTable
For CN12 RS-422
(1)
Table 2.3 CN12
RS-422
713
612
511
4* RD
3RD
2
Cs8
*
Cs
1
10
9
Connector
MR-20RMA(HONDA)
* DR
DR
*R
R17*SD
SG2
SG2
20FG
19
18
16SD
15* RS
14RS
Power supplycapacityto externaldevices
Note: Isolationpower supply
+ 12VI30mA
–12VI30mA
+ 5VI
500mA
(2) For CN13 RS-232C
2.4 CN13 Connecter
Table
RS-232C17LF-13092-27(DDK)
FG
1
SD
2
RD
3
RS
4
6
7
8
9
ZW1 R50512
1
} ZS30505
DR
SG2
ER
TransmissionSpeed Setting
2.5
Set the transmissionspeedby NC parameterfrom the followingtable.
Table 2.5 Transmission Speed Setting
NC Parameter
Transmission
SpeedD2
1200 bps
2400 bps
4800 bps
9600 bps
19200bps
38400 bpsIl]oll
IOlolo
I
Iololl
Iolllo
I
II
II
1I
pmO031 (RS-232C)
pmO032 (RS-422)
D1DO
I
I
o
1
I
0[0
I
1
I
1
1
I
—6-
2.6 TransmissionFrame and Parity
Check Setting
Transmissionframecompositionand
parameter.
;O”‘B’“
;:
Fig. 2.2Transmission
(1) CharacterCodeSetting
Table 2.6Character Code Setilng
NC Parameter
Frame
Character>
7 bits
8 bits
paritybit to confirmif anycan
‘7’+
o
1
I
Iol
be set up by NC
I
(2)Parity CheckSettingfor CharacterCode
Table 2.7Parity Check Setting for Character Code
NC Parameter
Character Code
Even Number Checko
Odd Number Ckeck
Noneo
-.
pmO031 : RS-232C
pmO032 : RS-422
D6D5
10
RecommendedSetup
Protocol
123
1
0
0
Protocol
0
Protocol
0
—7—
(3)Stop Bit Setting
x
Table 2.8Stop Bit Setting
pmO031: D3 (RS-232C)
pmO032 : D3 (RS-422)
w
1 bit
2 bits
Note : The framebecomesas shownbelowif characteris 7 bits withoutparity check.
In communicationmodule,8th bit of charactercodeis regardedas “O”.
The framebecomesas shownbelowif charactercodeis 7 bits with paritycheck.
Start
Bit
BOB1B2
CharacterCode
B3B4B5
~’ra”’
o
1
~: ;“’‘B’
000
“‘7’+-
B’P
Parity
Bit
Stop Bit
lor2
+
I
In this communicationmodulealso, 8th bit of charactercode is
The frame becomesas shownbelowif charactercodeis 8 bits
Start
Bit
I
The framebecomesas shownbelowif charactercodeis 8 bits withparity check.
Start
Bit
BOB1B2
BOB1B2
B3B4B’
B3B4B5
—8—
B’B7
B6B7P
regardedas “O”.
withoutparity check.
I
II
I
I
2.7 Protocol Selection
This communicationmodulecan selectthe followingprotocols.
Set up the protocolselectionwith NC parameter.
Table 2.9Protocol Salection
Protocol
NC Parameter
Protocol1
Protocol2001
Protocol301
pm3006
D7D6D5
000
0
-.
—9—
3. PROTOCOL 1
3.1 Outline of Protocol 1
This is Protocol1 preparedfor DNC operationby the NC part programtransferredfrom the host
computerand otherexternalequipment.For this purpose,it uses the transmissioncontrol
signal“RS (requestsending)”throughthe serial transmissionline of communicationmodule
(optional)for NC unit.
3.2 Connectionwith Host Computer
3.2.1
CommunicationCS ~
ModuleSideER
RS-232C(Cable lengthless than 15m)
SD
RD ~
RS—~
DR
SG
FG
.,
.,.,
● -------------------...-. ..-..............
Fig. 3.1RS232C Connection
3.2.2RS-422(Cablelengthless than Ikm)
SD
*SD
RD
* RD
...
,,
~ER
,,,
5P X 0.2mm’,fully shielded
.
SD
RD
RS
Cs
DR
SG
FG
SD
*SD
RD
* RD
Host Computer
Side
RS
* RS
CommunicationCs
Module Side
* Cs
ER
* ER
DR
* DR
SG
FG
RS
* RS
CsHost Computer
* CS side
ER
* ER
DR
* DR
(
,,
-----------------....--. -.........’....
10P X 0.2mm’,fully shielded
Fig. 3.2RS-422C Connection
.’
SG
>
FG
-lo—
3.3 TransmissionFormat
The followingformatis NC part programfor DNC operation.
E
%:
B
Refer to Operator’sManualof YASNACi80M for detailsof NC part programformat.
(NC Part Program)M30O%
B
3.4 Operation
NC Part Program
● Host Computer
Sending Data
Request Sending
●Communication
Module
RS Signal
Part Program
Stored in
Buffer Memory
NC Unit
Operation
Status
Sequence
16k-‘
bytes :~
12k
1’
bytes ~
2k
~
bytes
%.
Illllllllllllln
‘1
f
T*
–- NC Part Program
nlllllln
~
DNC OperationStart
I
I
I
–—-~+M30%
//
I
Y
I
t
Buff er
Full
Buffer
~ Empty
Output Signal for
Cycle Start
(STL)
-.
I
I
I
DNC Under Operation
Fig. 3.3 Operation Sequence
Reset Operation
(RST)
M30
J
— 11
3.5 Precautions
The receivingdata is disregardeduntil initial“%”code (or “EOB”code)is received.
(1)
The part programsstoredin buffer memoryto start DNC operationcan be made for 128/
If NC part programis not receivedfor longer than 3sec. even if turningON request sending
(3)
signalduringNC part programreceivingmode, it is regardedas the end of the NC part
programand processedin the samemanneras “%”codereceiving.
(4)
If DNC operationis interruptedby alarm issue(at communicationmoduleor NC control
unit) or by NC reset input ON duringDNC operation,RS signal (requestsending)turns OFF.
Transmissionsequenceis the sameas readingDC1 to RS ON and DC3 to RS OFF,
When DR (data set ready) signal is not used, or when DR signalis turned off to use during
(6)
communication,set the pmO030 D5 parameter“DR signal checked/notchecked”to “DR
signalnot checked.”
. .
—12—
4. PROTOCOL2
4.1 Outline of Protocol 2
This is the protocolpreparedfor DNC operationby the NC part programtransferredfrom a host
computerandotherexternalequipment.For thispurpose,it usesthepopular
characters(DC1,DC3)throughtheserialtransmissionlineof a communication
(optional)for NC unit
Connectionand Control Character
4.2
4.2.1Connectionwith Host Computer
(1)RS-232CConnection(Cablelengthless than 15m)
control
module
Communication
Module Side
RS-422 Connection(Cablelengthless than Ikm)
(2)
~s J
ER
DR~~
SG
FG
Fig. 4.1RS-232C Connection
.—.
*::&
*::=
RS p
* RS
CommunicationCs
Module Side
* Cs
3
LCs
ERSide
DR
.,
5P x 0.2mm2,fully shielded
$*SD
~*RD
E
SG
FG
* RS
* Cs
Host Computer
SD
RD
RS
Cs
Host Computer
Side
*::=
*::=
“SG <—
FG
,.,,
Fig. 4.2RS-422 Connection
13 —
SG
)
,.,.,
5P X 0.2mm’,fully shielded
FG
Loading...
+ 29 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.