FROM CNC TO PLC DESCRIPTIONS

Parent Previous Next

LADDER SOFTWARE INTERFACE C, S, R :



S Bit (From CNC to PLC) S DESCRIPTIONS



ABBREV-

IATION



ITEM

DESCRIPTION

FUNCTIONS




S000

STL

Cycle Start Light

CNC enable this flag ON to indicates

the BUSY status of the CNC.

S001

SPL

Feed Hold Light

CNC enable this flag ON to indicates

the FEEDHOLD status of the CNC.

S002

BTP

Block stop

CNC enable this flag ON to indicates

the BLOCK STOP status of the CNC.

S003

FEINH

Feedhold inhibit

The flag ON to indicates forbid

feedhold.

S004


Rigid Tapping

When this FLAG is ON,the 1st is on

rigid tapping mode (G63)

S006

XBUSY

X Axis Busy

The flag on to indicates the X axis

busy and can not accept new command. When the flag is OFF, then the X axis can accept the new command.

S007

YBUSY

Y Axis Busy

Same as above

S008

ZBUSY

Z Axis Busy

Same as above

S009

CBUSY

C(6th) Axis Busy

Same as above

S016

HMOKX

X Axis Home Finish

X Homing OK , This flag ON after X

axis finished the HOME operation. The software travel limit is enable after this flag is ON. Must check this before the cycle start in the LADDER program.

S017

HMOKY

Y Axis Home OK

Same as above

S018

HMOKZ

Z Axis Home OK

Same as above

S019

HMOKC

C(6th) Axis Home OK

Same as above

S029

MF

M Code Read

During CNC doing M CODE, enable

this flag ON to notice LADDER to execute the M code. The value of M code is saved in R1. CNC enable this flag till the LADDER sends the C bit MST finished to disable. Then execute the next block after the flag is OFF.

S030

DEN

Distribution End

MOTION G done a BLOCK send a

DEN signal ,usually use in the situation when G,M CODE action together.




ABBREV-

IATION



ITEM

DESCRIPTION

FUNCTIONS




S031

AL

Alarm

When CNC inside occur ALARM

so must Feedhold ,will send S BIT ,DDA overflowsoftware limit

exceed.

S032

RST

Reset

When click RESET ,S BIT this FLAG

will send ONE SHOT message.

S033

MA

NC Ready

Finished open the machine ,and the

system is normal, will send NC READY FLAG

S034

PARFIN

Require Part Count

Reached

When needed jobs reachedthis S

FLAG will turn ON, when Cycle Start or Reset FLAG will turn OFF

S035

M99

The M99 in main

program

When main program doing M99

output to FLAG ON/OFF a pulse

S036


In Guidance Mode

When CNC on Guidance Function

mode, this falg will turn ON

S037


Loss data

When user data is loss ,this flag will

turn ON

S041


PLC Alarm

When system appear PLC ALARM ,

this flag will turn on.When the alarm disappear ,this flag will turn OFF. This

flag only work in WinCE controller.

S054

SF

S Code Read

When CNC doing S CODE ,this

FLAG turn ON ,and tell LADDER to do S CODE ,the contents of S CODE is in R2, after CNC send this FLAG ,until S CODE FIN’s C BIT

FLAG ON , it will start to do next BLOCK

S061

SOSRDY

Spindle Orientation Stop

Finish

Main axis placed finished signal

S063

SPDAX

Spindle axis mode

When S BIT ON represent main

axis in position control modewhen S BIT OFF represent main axis in spindle speed control mode

S069

TF

T Code Read

When CNC doing T CODE ,this FLAG turn ON ,and tell LADDER to

do T CODE ,the contents of T CODE is in R2, after CNC send this FLAG ,until T CODE FIN C BIT

FLAG ON ,it will start to do next BLOCK

S070

START

At start point

When this signal is ON represent in the start of process

S071

ATEND

At end point

When this signal is ON represent is the end of process

S101~S132

SVAR


Mapping macro system variable



ABBREV-

IATION



ITEM

DESCRIPTION

FUNCTIONS







(#6001~#6032)

S140

HMOK4_

4th Axis Home OK

4th axis Homing OK , This flag ON

after 4th axis finished the HOME operation. The software travel limit is enable after this flag is ON. Must

check this before the cycle start in the

LADDER program.

S141

HMOK5

5th Axis Home OK

Same as above

S142

HMOK7

7th Axis Home OK

Same as above

S143

HMOK8

8th Axis Home OK

Same as above

S144

HMOK9

9th Axis Home OK

Same as above

S145

HMOK10

10th Axis Home OK

Same as above

S146

HMOK11

11th Axis Home OK

Same as above

S147

HMOK12

12th Axis Home OK

Same as above

S148

HMOK13

13th Axis Home OK

Same as above

S149

HMOK14

14th Axis Home OK

Same as above

S150

HMOK15

15th Axis Home OK

Same as above

S151

HMOK16

16th Axis Home OK

Same as above

S155

BUSY4

4th Axis Busy

The flag on to indicates the 4th axis

busy and can not accept new command. When the flag is OFF, then the 4th axis can accept the new command.

S156

BUSY4

4th Axis Busy

Same as above

S157

BUSY5

5th Axis Busy

Same as above

S158

BUSY7

7th Axis Busy

Same as above

S159

BUSY8

8th Axis Busy

Same as above

S160

BUSY9

9th Axis Busy

Same as above

S161

BUSY10

10th Axis Busy

Same as above

S162

BUSY11

11th Axis Busy

Same as above

S163

BUSY12

12th Axis Busy

Same as above

S164

BUSY13

13th Axis Busy

Same as above

S165

BUSY14

14th Axis Busy

Same as above

S166

BUSY15

15th Axis Busy

Same as above

S167

BUSY16

16th Axis Busy

Same as above

S401~488

KEY

Keyboard Scan Code

Mapping to the keyboard scan code 1~88

~S511


Reserved for CNC

System reserved


Created with the Personal Edition of HelpNDoc: Full-featured multi-format Help generator