FROM PLC TO CNC DESCRIPTIONS

Parent Previous Next

LADDER SOFTWARE INTERFACE C, S, R :




C BITS ( FROM PLC TO CNC) DESCRIPTIONS


Descriptions:


ABBREV-I

ATION



ITEM

DESCRIPTION

FUNCTIONS




C000

ST

Cycle Start

CNC star to execute the NC program

after this bit on under auto mode

C001

SP

Feed Hold

CNC pause the execution of the NC program after this bit on under auto

mode

C006

XP

X Axis JOG+

JOG MODE Press X+ key on the

panel, LADDER enable FLAG ON and also let the machine to move along the X+ direction

C007

XN

X Axis JOG -

Same as above

C008

YP

Y Axis JOG +

Same as above

C009

YN

Y Axis JOG -

Same as above

C010

ZP

Z Axis JOG+

Same as above

C011

ZN

Z Axis JOG -

Same as above

C012

CP

C(6th) Axis JOG +

Same as above

C013

CN

C(6th) Axis JOG -

Same as above

C016

MPGX

X Axis MPG Selection

Select MPG to control X axis, enable

this FLAG ON, controller move the machine along the X axis according to the input of the MPG.

C017

MPGY

Y Axis MPG Selection

Same as above

C018

MPGZ

Z Axis MPG Selection

Same as above

C019

MPGC

C(6th) Axis MPG Selection

Same as above

C020

MPSM

MPG Simulation

Enable this bit ON under Auto mode,

the feedrate override of G00, G01, G02, G03 is controlled by the MPG turning speed. The MPG turns faster, the override get bigger. The movement is stop when the MPG stop.

C023

RT

Rapid Traverse

Under the CON JOG mode, the

movement changes to RAPID mode from the CON JOG after press this key and enable this FLAG ON.

C025

SEMAX

Set X Axis Machine

Position

To set the machine coordinate of X

axis. The set value is written in R38 first and when the X axis servo-of C bit C31 is ON, then the value will be set as the R38 value.

C026

SEMAY

Set Y Axis Machine

Position

Same as above




ABBREV-I

ATION



ITEM

DESCRIPTION

FUNCTIONS




C027

SEMAZ

Set Z Axis Machine

Position

Same as above

C028

SEMAC

Set C(6th) Axis Machine

Position

Same as above

C031

XOFF

X Axis MANUAL

CONTROL

When this C bit on, the controller

changes from the close loop servo mode to only POSITION DISPLAY mode. This function is for the conventional user want to cut the part by turning hand wheel manually. Ladder program need to integrate the servo off of the servo system and also this mode. When this bit off, the controller returns to the close loop control again.

C032

YOFF

Y Axis MANUAL

CONTROL

Same as above

C033

ZOFF

Z Axis MANUAL

CONTROL

Same as above

C034

COFF

C(6th) Axis MANUAL

CONTROL

Same as above

C036

ESP

Emergency Stop

When the Emergency Stop button is pressed, LADDER enable this flag and

CNC stops all the movement of the machine and change to NOT READY status. When the E-stop button release, this flag is disable and CNC

generate the REST command

automatically to change the status back to READY.

C037

ERS

External Reset

Send the RESET signal to the CNC

from external device.

C038

MSTF

M.S.T Finish

When the LADEER program

executing M, S, T codes. CNC go to next block till this flag is ON. Then the LADDER enables this flag after finish the MST codes.

C039

M99HLD

M99 stop request

When this bit ON, the M99 in main

program will let the execution feed hold(B-STOP)

C040

SBK

Single Block

The program will feed hold after one

block is finished when this bit is ON. Press the CYCLE START to continue next block.

C041

BDT1

Optional Skip

The program execution will skip the

block with “/” at the beginning then go to next when this flag ON and under

OPTIONAL SKIP mode.

C042

DRN

Dry Run

All the movement travel in G00 speed

when this Flag is ON and under the




ABBREV-I

ATION



ITEM

DESCRIPTION

FUNCTIONS







DRAY RUN mode

C043

MLK

Machine Lock

All the travel command generate no

movement when this Flag is ON and under the MACHINE LOCK mode. Only the coordinate display change. This is for the program checking.

C044

OPS

Optional Stop

The program feed hold when it reach

the block with M01 and this flag ON. When the flag is off, the M01 is skipped.

C045

ZLOCK

Z Axis Lock

The program stops the movement

along the Z axis when this flag is ON. This for checking the program.

C046

COUPLE

Axes couple state

The system parameter NO 3825 is set

as axes couple, then the axes couple status is decided by this bit. When this flag is ON, the master and slave axes will be enable to couple. Then the slave move in proportion to the master axis.

C047


Inhibit Persist State Flush

When this FLAG ON ,Inhibit system

Persist the state. If this flag state change from off to on, system will persist state .

C050

XOTP

Over Travel X+

The signal from X+ limit switch

enables the flag ON, then the controller change to feed hold mode and can retract only in the opposite direction by MPG or JOG.

C051

XOTN

Over Travel X-

Same as above

C052

YOTP

Over Travel Y+

Same as above

C053

YOTN

Over Travel Y-

Same as above

C054

ZOTP

Over Travel Z+

Same as above

C055

ZOTN

Over Travel Z-

Same as above

C056

COTP

Over Travel C(6th)+

Same as above

C057

COTN

Over Travel C(6th)-

Same as above

C060

SO

Spindle JOG Mode

JOG the spindle as the value set in

system parameter NO. 1721 when this bit is ON. This is used to control the spindle integrate with the gear change or the bar feeder.

C061

SOS

Spindle Orientation Stop

The spindle executes the spindle

orientation function when this flag is ON. This function is for the spindle with encoder and the spindle rotating speed set by the system parameter NO. 1741. The orientation angle is set at NO. 1751. Each time change the motor or the encoder, NO.1761 need



ABBREV-I

ATION



ITEM

DESCRIPTION

FUNCTIONS







to be set again. S61 to notice the

spindle orientation finished signal.

C062

SKIP

Skip Signal State

The measuring escape command G31

will record current machine coordinate when this bit is ON and also interrupt the command.

C063

SPDOFF

Spindle OFF

Wen the system parameter NO. 1791 spindle motor type is set as 1 P servo,

this flag ON let the spindle change to position control mode. When this flag is OFF, then the spindle changes back to velocity control. The

rotation directionS are set by the

C64/C65.

C064

SPDCW

Rotating the spindle

clockwise

Rotating the spindle clockwise

C065

SPDCCW

Rotating the spindle

counterclockwise

Rotating the spindle counterclockwise

C066®

XPLC

X axis controlled by PLC

The PLC controls the X axis when this

flag is on. The controller takes over the X axis control when this bit is OFF. If PLC generate the command during the execution of the program, then controller generates the command interference alarm.

C067®

YPLC

Y axis controlled by PLC

Same as above

C068®

ZPLC

Z axis controlled by PLC

Same as above

C069®

CPLC

C axis(6th) controlled by

PLC

Same as above

C071

MPG1

Enable MPG No1

When this flag is ON, the first MPG

input generate the movement command and control the corespondent axis to move.

C072

MPG2

Enable MPG No2

Same as above

C073

MPG3

Enable MPG No3

Same as above

C076

CLRMPG1

Clear MPG1 position

When this flag is on, current position of first MPG in R6 is cleared when the

flag is ON.

C077

CLRMPG2

Clear MPG2 position

When this flag is on, current position of second MPG in R7 is cleared when

the flag is ON.

C078

CLRMPG3

Clear MPG3 position

When this flag is on, current position

of third MPG in R8 is cleared when the flag is ON.

C079

XDOG

X HOME DOG

Enable the HOME DOG signal from

the IO board. LADDER set this bit to enable the function

C080

YDOG

Y HOME DOG

Same as above

C081

ZDOG

Z HOME DOG

Same as above



ABBREV-I

ATION



ITEM

DESCRIPTION

FUNCTIONS




C082

CDOG

C(6th) HOME DOG

Same as above

C083


Stroke Limit Two Switch

On:enable

Off:disable

C089

EDITINHI

Edit inhibition

The mode setting of program edition.

0: for enable 1: for forbidding edition

C090

SCPRG

Program Edit Screen

Select programming mode

C091

SCGPH

Graph Dialog Screen

Select the dialog mode

C092

SCAUTO

Monitor Screen

Select the RUN mode and monitor the

program execution.

C093

SCPOS

Position Screen

Select the coordinate display mode.

C094


Tool Offset Screen

Select the Tool Offset Screendisplay

mode

C101~C1

32

CVAR

Macro mapping variable

Mapping to the variable of the macros

(#6001~#6032)

C140

OTP4

4th Axis OT +

The signal from A+ limit switch

enables the flag ON, then the controller change to feed hold mode and can retract only in the opposite direction by MPG or JOG.

C141

OTN4

4th Axis OT -

Same as above

C142

OTP5

5th Axis OT +

Same as above

C143

OTN5

5th Axis OT -

Same as above

C144

OTP7

7th Axis OT +

Same as above

C145

OTN7

7th Axis OT -

Same as above

C146

OTP8

8th Axis OT +

Same as above

C147

OTN8

8th Axis OT -

Same as above

C148

OTP9

9th Axis OT +

Same as above

C149

OTN9

9th Axis OT -

Same as above

C150

OTP10

10th Axis OT +

Same as above

C151

OTN10

10th Axis OT -

Same as above

C152

OTP11

11th Axis OT +

Same as above

C153

OTN11

11th Axis OT -

Same as above

C154

OTP12

12th Axis OT +

Same as above

C155

OTN12

12th Axis OT -

Same as above

C156

OTP13

13th Axis OT +

Same as above

C157

OTN13

13th Axis OT -

Same as above

C158

OTP14

14th Axis OT +

Same as above

C159

OTN14

14th Axis OT -

Same as above

C160

OTP15

15th Axis OT +

Same as above

C161

OTN15

15th Axis OT -

Same as above

C162

OTP16

16th Axis OT +

Same as above

C163

OTN16

16th Axis OT -

Same as above

C170®

AXP4

4th Axis JOG +

JOG MODE Press A+ key on the panel, LADDER enable FLAG ON



ABBREV-I

ATION



ITEM

DESCRIPTION

FUNCTIONS







and also let the machine to move along

the A+ direction

C171®

AXN4

4th Axis JOG -

Same as above

C172®

AXP5

5th Axis JOG +

Same as above

C173®

AXN5

5th Axis JOG -

Same as above

C174®

AXP7

7th Axis JOG +

Same as above

C175®

AXN7

7th Axis JOG -

Same as above

C176®

AXP8

8th Axis JOG +

Same as above

C177®

AXN8

8th Axis JOG -

Same as above

C178®

AXP9

9th Axis JOG +

Same as above

C179®

AXN9

9th Axis JOG -

Same as above

C180®

AXP10

10th Axis JOG +

Same as above

C181®

AXN10

10th Axis JOG -

Same as above

C182®

AXP11

11th Axis JOG +

Same as above

C183®

AXN11

11th Axis JOG -

Same as above

C184®

AXP12

12th Axis JOG +

Same as above

C185®

AXN12

12th Axis JOG -

Same as above

C186®

AXP13

13th Axis JOG +

Same as above

C187®

AXN13

13th Axis JOG -

Same as above

C188®

AXP14

14th Axis JOG +

Same as above

C189®

AXN14

14th Axis JOG -

Same as above

C190®

AXP15

15th Axis JOG +

Same as above

C191®

AXN15

15th Axis JOG -

Same as above

C192®

AXP16

16th Axis JOG +

Same as above

C193®

AXN16

16th Axis JOG -

Same as above

C200

DOG4

4th Axis Home Dog

Enable the HOME DOG signal from

the IO board. LADDER set this bit to enable the function

C201

DOG5

5th Axis Home Dog

Same as above

C202

DOG7

7th Axis Home Dog

Same as above

C203

DOG8

8th Axis Home Dog

Same as above

C204

DOG9

9th Axis Home Dog

Same as above

C205

DOG10

10th Axis Home Dog

Same as above

C206

DOG11

11th Axis Home Dog

Same as above

C207

DOG12

12th Axis Home Dog

Same as above

C208

DOG13

13th Axis Home Dog

Same as above

C209

DOG14

14th Axis Home Dog

Same as above

C210

DOG15

15th Axis Home Dog

Same as above

C211

DOG16

16th Axis Home Dog

Same as above

C215

MPG4

4th Axis MPG Selection

Select MPG to control A axis, enable

this FLAG ON, controller move the machine along the A axis according



ABBREV-I

ATION



ITEM

DESCRIPTION

FUNCTIONS







to the input of the MPG.

C216

MPG5

5th Axis MPG Selection

Same as above

C217

MPG7

7th Axis MPG Selection

Same as above

C218

MPG8

8th Axis MPG Selection

Same as above

C219

MPG9

9th Axis MPG Selection

Same as above

C220

MPG10

10th Axis MPG Selection

Same as above

C221

MPG11

11th Axis MPG Selection

Same as above

C222

MPG12

12th Axis MPG Selection

Same as above

C223

MPG13

13th Axis MPG Selection

Same as above

C224

MPG14

14th Axis MPG Selection

Same as above

C225

MPG15

15th Axis MPG Selection

Same as above

C226

MPG16

16th Axis MPG Selection

Same as above

C230

SEMA4

Set 4th Axis Mach-

ine.Position

To set the machine coordinate of A

axis. The set value is written in R38 first and when the A axis servo-of C bit C230 is ON, then the value will be set as the R38 value.

C231

SEMA5

Set 5th Axis Mach-

ine.Position

Same as above

C232

SEMA7

Set 7th Axis Mach-

ine.Position

Same as above

C233

SEME8

Set 8th Axis Mach-

ine.Position

Same as above

C234

SEME9

Set 9th Axis Mach- ine.Position

Same as above

C235

SEME10

Set 10th Axis Mach- ine.Position

Same as above

C236

SEME11

Set 11th Axis Mach-

ine.Position

Same as above

C237

SEME12

Set 12th Axis Mach-

ine.Position

Same as above

C238

SEME13

Set 13th Axis Mach-

ine.Position

Same as above

C239

SEME14

Set 14th Axis Mach-

ine.Position

Same as above

C240

SEME15

Set 15th Axis Mach-

ine.Position

Same as above

C241

SEME16

Set 16th Axis Mach-

ine.Position

Same as above

C245

OFF4

4th Axis MANUAL

CONTROL

When this C bit on, the controller

changes from the close loop servo mode to only POSITION DISPLAY mode. This function is for the conventional user want to cut the part by turning hand wheel manually. Ladder program need to integrate the servo off of the servo system and also



ABBREV-I

ATION



ITEM

DESCRIPTION

FUNCTIONS







this mode. When this bit off, the

controller returns to the close loop control again.

C246

OFF5

5th Axis MANUAL

CONTROL

Same as above

C247

OFF7

7th Axis MANUAL

CONTROL

Same as above

C248

OFF8

8th Axis MANUAL

CONTROL

Same as above

C249

OFF9

9th Axis MANUAL

CONTROL

Same as above

C250

OFF10

10th Axis MANUAL

CONTROL

Same as above

C251

OFF11

11th Axis MANUAL

CONTROL

Same as above

C252

OFF12

12th Axis MANUAL

CONTROL

Same as above

C253

OFF13

13th Axis MANUAL

CONTROL

Same as above

C254

OFF14

14th Axis MANUAL

CONTROL

Same as above

C255

OFF15

15th Axis MANUAL

CONTROL

Same as above

C256

OFF16

16th Axis MANUAL

CONTROL

Same as above

C260®

PLC4

4th axis controlled by PLC

The PLC controls the 4th axis when

this flag is on. The controller takes over the 4th axis control when this bit is OFF. If PLC generate the command during the execution of the program, then controller generates the command interference alarm. controller takes over the A axis control when this bit is OFF. If PLC generate the command during the execution of the program, then

controller generates the command interference alarm.

C261®

PLC5

5th axis controlled by PLC

Same as above

C262®

PLC7

7th axis controlled by PLC

Same as above

C263®

PLC8

8th axis controlled by PLC

Same as above

C264®

PLC9

9th axis controlled by PLC

Same as above

C265®

PLC10

10th axis controlled by PLC

Same as above

C266®

PLC11

11th axis controlled by PLC

Same as above

C267®

PLC12

12th axis controlled by PLC

Same as above

C268®

PLC13

13th axis controlled by PLC

Same as above

C269®

PLC14

14th axis controlled by PLC

Same as above

C270®

PLC15

15th axis controlled by PLC

Same as above



ABBREV-I

ATION



ITEM

DESCRIPTION

FUNCTIONS




C271®

PLC16

16th axis controlled by PLC

Same as above

C301

MJINV1

1th axis MPG jog direction

inverse

The direction of movement controlled

by MPG is inverse when this bit is on. For example, the movement along + direction when the MPG tun CW, the bit off, the movement will be in -.

C302

MJINV2

2th axis MPG inverse

Same as above

C303

MJINV3

3th axis MPG inverse

Same as above

C304

MJINV4

4th axis MPG jog direction

inverse

Same as above

C305

MJINV5

5th axis MPG jog direction

inverse

Same as above

C306

MJINV6

6th axis MPG jog direction

inverse

Same as above

C307

MJINV7

7th axis MPG jog direction

inverse

Same as above

C308

MJINV8

8th axis MPG jog direction

inverse

Same as above

C309

MJINV9

9th axis MPG jog direction

inverse

Same as above

C310

MJINV10

10th axis MPG jog direction

inverse

Same as above

C311

MJINV11

11th axis MPG jog direction

inverse

Same as above

C312

MJINV12

12th axis MPG jog direction inverse

Same as above

C313

MJINV13

13th axis MPG jog direction

inverse

Same as above

C314

MJINV14

14th axis MPG jog direction

inverse

Same as above

C315

MJINV15

15th axis MPG jog direction

inverse

Same as above

C316

MJINV16

16th axis MPG jog direction

inverse

Same as above

C401~C4

88

KEY

Standard keyboard Scan

Code

Mapping to the stand PC keyboard to

1~88

C489

OMEK89

OEM extended key

Extension keys from 89-111

Mapping to PC keyboard ALT-1

C490

OMEK90


Mapping to PC keyboard ALT-2

C491

OMEK91


Mapping to PC keyboard ALT-3

C492

OMEK92


Mapping to PC keyboard ALT-4

C493

OMEK93


Mapping to PC keyboard ALT-5

C494

OMEK94


Mapping to PC keyboard ALT-6

C495

OMEK95


Mapping to PC keyboard ALT-7

C496

OMEK96


Mapping to PC keyboard ALT-8

C497

OMEK97


Mapping to PC keyboard ALT-9

C498

OMEK98


Mapping to PC keyboard ALT-0



ABBREV-I

ATION



ITEM

DESCRIPTION

FUNCTIONS




C499

OMEK99


Mapping to PC keyboard ALT-B

C500

OMEK100


Mapping to PC keyboard ALT-V

C501

OMEK101


Mapping to PC keyboard ALT-E

C502

OMEK102


Mapping to PC keyboard ALT-F

C503

OMEK103


Mapping to PC keyboard ALT-I

C504

OMEK104


Mapping to PC keyboard ALT-J

C505

OMEK105


Mapping to PC keyboard ALT-K

C506

OMEK106


Mapping to PC keyboard ALT-L

C507

OMEK107


Mapping to PC keyboard ALT-W

C508

OMEK108


Mapping to PC keyboard ALT-N

C509

OMEK109


Mapping to PC keyboard ALT-S

C510

OMEK110


Mapping to PC keyboard ALT-T

C511

OMEK111


Mapping to PC keyboard ALT-U

All the C bits will be read simultaneously and only the C bit with ® is handle at real time. The others will be send to the stack and run by sequence


Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source