Pulser3 Installation Download PDF

CNC to PLC Signals

Address

Description

448

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_F1MS

c_F250MS

c_TOUT

c_MP

c_PIER

c_PIOP

c_MSGN

c_EDITF

 

 

Bit

7

6

5

4

3

2

1

0

 

c_PTR

c_PSE

c_SPL

c_STL

c_RST

c_SALM

c_ALM

c_PON

 

Bit15    c_F1S:            1-second flasher

Bit14    c_F250MS:     250 millisecond flasher

Bit13    c_TOUT:         Modbus TCP communication timed out

Bit12    c_MP:              The machine panel (MP1) is active in the system parameters

Bit11    c_PIER:           RS485 port in error state

Bit10    c_PIOP:          RS485 port in operation

Bit9      c_MSGN:        User triggered motion signal

Bit8      c_EDITF:        The user executed a function that requires EDIT mode

Bit7      c_PTR:            System is transitioning from pause to automatic operation

Bit6      c_PSE:            System is paused (Feed Hold)

Bit5      c_SPL:            System has finished executing G code in auto or MDI mode

Bit4      c_STL:            System is executing G code in auto or MDI mode

Bit3      c_RST:            The RESET command has been given to the system

Bit2      c_SALM:         System is in servo alarm state (It will be '1' only in the case of axis alarms)

Bit1      c_ALM:           System is in alarm state (Including servo alarms)

Bit0      c_PON:           Power on (Always true)

 

Address

Description

449

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_SCCW2

c_SCW2

c_SCCW

c_SCW

c_M30

c_M02

c_M01

c_M00

 

 

Bit

7

6

5

4

3

2

1

0

 

c_GR4

c_GR3

c_GR2

c_GR1

c_BF

c_TF

c_SF

c_MF

 

Bit15    c_SCCW2:      Spindle2 counter clockwise output

Bit14    c_SCW2:         Spindle2 clockwise output

Bit13    c_SCCW:        Spindle1 counter clockwise output

Bit12    c_SCW:           Spindle1 clockwise output

Bit11    c_M30:            M30 code is executed in the program

Bit10    c_M02:            M02 code is executed in the program

Bit9      c_M01:            M01 code is executed in the program

Bit8      c_M00:            M00 code is executed in the program

Bit7      c_GR4:            The given spindle speed is within the range of the 4th gear

Bit6      c_GR3:            The given spindle speed is within the range of the 3rd gear

Bit5      c_GR2:            The given spindle speed is within the range of the 2nd gear

Bit4      c_GR1:            The given spindle speed is within the range of the 1st gear

For these commands to work, the 'Spindle Gear Change Mode' parameter must be set to 'Automatic' and the speed ranges of the gears must be entered into the relevant parameters.

 

Bit3      c_BF:              The B code is being processed in the program. The Bxxx value is loaded at the c_BCODE address

For this command to work, the axis names must NOT contain 'B'.

 

Bit2      c_TF:              The T code is being processed in the program. The Txxx value is loaded at the c_TCODE address

Bit1      c_SF:              The S code is being processed in the program. The Sxxx value is loaded at the c_SCODE address

Bit0      c_MF:              The M code is being processed in the program. The Mxxx value is loaded at the c_MCODE address

 

Address

Description

450

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_MCODE (High 8 bits)

 

 

Bit

7

6

5

4

3

2

1

0

 

c_MCODE (Low 8 bits)

 

Bit0-15             c_MCODE:      The M code value executed by the system

 

Address

Description

451

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_SCODE (High 8 bits)

 

 

Bit

7

6

5

4

3

2

1

0

 

c_SCODE (Low 8 bits)

 

Bit0-15             c_SCODE:      The S code value executed by the system

 

Address

Description

452

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_TCODE (High 8 bits)

 

 

Bit

7

6

5

4

3

2

1

0

 

c_TCODE (Low 8 bits)

 

Bit0-15             c_TCODE:      The T code value executed by the system

 

Address

Description

453

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_BCODE (High 8 bits)

 

 

Bit

7

6

5

4

3

2

1

0

 

c_BCODE (Low 8 bits)

 

Bit0-15             c_BCODE:      The B code value executed by the system

When the system is operating in automatic or MDI mode and encounters Mxx, Sxx, Txx, Bxx commands, it loads the values of these commands into the corresponding addresses and then sets the relevant bits of c_MF, c_SF, c_TF, and c_BF to "1".

Example:

O000(MSTB Code Demo)

G00 G90 X100. Y100. ---->  Move to position X100.0 Y100.0

 M03 S100  ----> When the system reaches this line, it loads the value "3" into the c_MCODE address and the value 100 into the c_SCODE address. c_MF is set to "1", and c_SF is set to "1". After the Internal PLC completes these commands, it sets the p_FIN bit to "1" to allow the line to be passed.

M30 ----> End of program

%

 

 

Address

Description

454

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_ZP82

c_ZP72

c_ZP62

c_ZP52

c_ZP42

c_ZPZ2

c_ZPY2

c_ZPX2

 

 

Bit

7

6

5

4

3

2

1

0

 

c_ZP8

c_ZP7

c_ZP6

c_ZP5

c_ZP4

c_ZPZ

c_ZPY

c_ZPX

 

Bit15    c_ZP82:          8th Axis is at the 2nd reference point

Bit14    c_ZP72:          7th Axis is at the 2nd reference point

Bit13    c_ZP62:          6th Axis is at the 2nd reference point

Bit12    c_ZP52:          5th Axis is at the 2nd reference point

Bit11    c_ZP42:          4th Axis is at the 2nd reference point

Bit10    c_ZPZ2:          Z Axis is at the 2nd reference point

Bit9      c_ZPY2:          Y Axis is at the 2nd reference point

Bit8      c_ZPX2:          X Axis is at the 2nd reference point

Bit7      c_ZP8:            8th Axis is at the reference point

Bit6      c_ZP7:            7th Axis is at the reference point        

Bit5      c_ZP6:            6th Axis is at the reference point

Bit4      c_ZP5:            5th Axis is at the reference point

Bit3      c_ZP4:            4th Axis is at the reference point

Bit2      c_ZPZ:            Z Axis is at the reference point

Bit1      c_ZPY:            Y Axis is at the reference point

Bit0      c_ZPX:            X Axis is at the reference point

The ZPx bits indicate that the axes are at their actual reference points.
The ZPx2 bits indicate that the axes are at the position defined in the "2nd Reference Point" parameter.To send the axes to the 2nd reference point, the G30 P2 command is used.

 

Address

Description

455

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_ZP84

c_ZP74

c_ZP64

c_ZP54

c_ZP44

c_ZPZ4

c_ZPY4

c_ZPX4

 

 

Bit

7

6

5

4

3

2

1

0

 

c_ZP83

c_ZP73

c_ZP63

c_ZP53

c_ZP43

c_ZPZ3

c_ZPY3

c_ZPX3

 

Bit15    c_ZP84:          8th Axis is at the 4th reference point

Bit14    c_ZP74:          7th Axis is at the 4th reference point

Bit13    c_ZP64:          6th Axis is at the 4th reference point

Bit12    c_ZP54:          5th Axis is at the 4th reference point

Bit11    c_ZP44:          4th Axis is at the 4th reference point

Bit10    c_ZPZ4:          Z Axis is at the 4th reference point

Bit9      c_ZPY4:          Y Axis is at the 4th reference point

Bit8      c_ZPX4:          X Axis is at the 4th reference point

Bit7      c_ZP83:          8th Axis is at the 3rd reference point

Bit6      c_ZP73:          7th Axis is at the 3rd reference point  

Bit5      c_ZP63:          6th Axis is at the 3rd reference point

Bit4      c_ZP53:          5th Axis is at the 3rd reference point

Bit3      c_ZP43:          4th Axis is at the 3rd reference point

Bit2      c_ZPZ3:          Z Axis is at the 3rd reference point

Bit1      c_ZPY3:          Y Axis is at the 3rd reference point

Bit0      c_ZPX3:          X Axis is at the 3rd reference point

The ZPx3 bits indicate that the axes are at the position defined in the "3rd Reference Point" parameter.To send the axes to the 3rd reference point, use the G30 P3 command.

The ZPx4 bits indicate that the axes are at the position defined in the "4th Reference Point" parameter.To send the axes to the 4th reference point, use the G30 P4 command.

 

Address

Description

456

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_RDY8

c_RDY7

c_RDY6

c_RDY5

c_RDY4

c_RDYZ

c_RDYY

c_RDYX

 

 

Bit

7

6

5

4

3

2

1

0

 

c_PAX8

c_PAX7

c_PAX6

c_PAX5

c_PAX4

c_PAXZ

c_PAXY

c_PAXX

 

Bit15    c_RDY8:         8th Axis servo ready (No alarm in the driver)

Bit14    c_RDY7:         7th Axis servo ready (No alarm in the driver)

Bit13    c_RDY6:         6th Axis servo ready (No alarm in the driver)

Bit12    c_RDY5:         5th Axis servo ready (No alarm in the driver)

Bit11    c_RDY4:         4th Axis servo ready (No alarm in the driver)

Bit10    c_RDYZ:         Z Axis servo ready (No alarm in the driver)

Bit9      c_RDYY:         Y Axis servo ready (No alarm in the driver)

Bit8      c_RDYX:         X Axis servo ready (No alarm in the driver)

Bit7      c_PAX8:          The control of the 8th axis has been handed over to the Internal PLC

Bit6      c_PAX7:          The control of the 7th axis has been handed over to the Internal PLC

Bit5      c_PAX6:          The control of the 6th axis has been handed over to the Internal PLC

Bit4      c_PAX5:          The control of the 5th axis has been handed over to the Internal PLC

Bit3      c_PAX4:          The control of the 4th axis has been handed over to the Internal PLC

Bit2      c_PAXZ:         The control of the Z axis has been handed over to the Internal PLC

Bit1      c_PAXY:         The control of the Y axis has been handed over to the Internal PLC

Bit0      c_PAXX:         The control of the X axis has been handed over to the Internal PLC

 

Address

Description

457

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_PEND

c_PENU

 

 

 

 

 

 

 

 

Bit

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

Bit15    c_PEND:         Pen down command for plotters/cutting knife tables

Bit14    c_PENU:         Pen up command for plotters/cutting knife tables

Bit13   

Bit12   

Bit11   

Bit10   

Bit9     

Bit8     

Bit7     

Bit6     

Bit5     

Bit4     

Bit3     

Bit2     

Bit1     

Bit0     

 

Address

Description

458

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_AZS2

c_AZS1

c_AYS2

c_AYS1

c_AXS2

c_AXS1

c_A6S2

c_A6S1

 

 

Bit

7

6

5

4

3

2

1

0

 

c_A5S2

c_A5S1

c_A4S2

c_A4S1

c_SPOSC

c_JZS

c_SLOW

c_SPOS

 

Bit15    c_AZS2:          Axis Z is ready to use as spindle 2

Bit14    c_AZS1:          Axis Z is ready to use as spindle 1

Bit13    c_AYS2:          Axis Y is ready to use as spindle 2

Bit12    c_AYS1:          Axis Y is ready to use as spindle 1

Bit11    c_AXS2:          Axis X is ready to use as spindle 2

Bit10    c_AXS1:          Axis X is ready to use as spindle 1

Bit9      c_A6S2:          Axis 6 is ready to use as spindle 2

Bit8      c_A6S1:          Axis 6 is ready to use as spindle 1

Bit7      c_A5S2:          Axis 5 is ready to use as spindle 2

Bit6      c_A5S1:          Axis 5 is ready to use as spindle 1

Bit5      c_A4S2:          Axis 4 is ready to use as spindle 2

Bit4      c_A4S1:          Axis 4 is ready to use as spindle 1

Bit3      c_SPOSC:      Spindle orientation request in canned cycles

Bit2      c_JZS:            All axes stopped in JOG mode

Bit1      c_SLOW:        Spindle reduced to low speed

Bit0      c_SPOS:         Spindle orientation command completed

With the Pulser3 CNC controller, all axes can be set as normal axes or as Spindle 1 or Spindle 2. The information that the axis has been set as a spindle can be read via the c_AxSx bits.

 

Address

Description

459

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_SOUT ( High 8 bit )

 

 

Bit

7

6

5

4

3

2

1

0

 

c_SOUT ( Low 8 bit )

 

Bit0-15             c_SOUT:         Analog output value for the desired spindle 1 speed

 

Address

Description

460

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

c_SOUT2 ( High 8 bit )

 

 

Bit

7

6

5

4

3

2

1

0

 

c_SOUT2 ( Low 8 bit )

 

Bit0-15             c_SOUT2:       Analog output value for the desired spindle 2 speed

The system converts the given spindle speed command into an analog signal based on the spindle speed ratio and the relevant gear parameters, and loads it to these addresses. The relevant data can be copied to the AOUT0 address and directed to the analog output.

 

Address

Description

461

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

 

 

 

 

 

 

 

c_LEN

 

 

Bit

7

6

5

4

3

2

1

0

 

c_TIPP

c_TIPF

c_TIPT

c_GASA

c_GASW

c_DAIR

c_N2

c_O2

 

Bit15   

Bit14   

Bit13   

Bit12   

Bit11   

Bit10   

Bit9     

Bit8      c_LEN:            Laser enable output signal

Bit7      c_TIPP:          Laser tip at piercing start position signa

Bit6      c_TIPF:           Laser nozzle moved away from the metal (tip far signal)

Bit5      c_TIPT:           Laser nozzle touched the metal (tip touch signal)

Bit4      c_GASA:         Laser cutting low gas pressure alarm

Bit3      c_GASW:        Laser cutting low gas pressure warning

Bit2      c_DAIR:          Laser cutting dry air selection

Bit1      c_N2:              Laser cutting nitrogen (N2) selection

Bit0      c_O2:              Laser cutting oxygen (O2) selection

These signals are only valid in laser cutting software. They are not included in standard software.

 

Address

Description

462

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

 

 

 

 

 

 

 

 

 

 

Bit

7

6

5

4

3

2

1

0

 

 

 

 

c_PRTOC

c_AHCON

c_PNCE

c_PRDYA

c_PCUT

 

Bit15   

Bit14   

Bit13   

Bit12   

Bit11   

Bit10   

Bit9     

Bit8     

Bit7     

Bit6     

Bit5     

Bit4      c_PRTOC:      Plasma is ready for cutting

Bit3      c_AHCON:      AHC active (Automatic Height Control)

Bit2      c_PNCE:         Plasma nozzle contact active (Nozzle Contact Enable)

Bit1      c_PRDYA:      Plasma ready signal is off

Bit0      c_PCUT:         Plasma ON signal

These signals are only valid in plasma cutting software. They are not included in standard software.

 

Address

Description

463

CNC to PLC Signals

Bit

15

14

13

12

11

10

9

8

 

 

 

 

 

 

 

 

 

 

 

 

Bit

7

6

5

4

3

2

1

0

 

 

 

 

 

c_A8S2

c_A8S1

c_A7S2

c_A7S1

 

Bit15   

Bit14   

Bit13   

Bit12   

Bit11   

Bit10   

Bit9     

Bit8     

Bit7     

Bit6     

Bit5     

Bit4     

Bit3      c_A8S2:          Axis 8 is ready to use as spindle 2

Bit2      c_A8S1:          Axis 8 is ready to use as spindle 1

Bit1      c_A7S2:          Axis 7 is ready to use as spindle 2

Bit0      c_A7S1:          Axis 7 is ready to use as spindle 1