编辑: 旋风 2019-07-04

0 : Variable data not blank bit 5=

1 : Variable data overflowing

0 : Variable data not overflowing

0 : Direct input

1 : Added input

0 : Decimal point invalid

1 : Decimal point valid 2.2.2 Section No. (Rn+1 or Dn+1) The section No. of the data to be read/written is designated with a binary. Refer to the 3. Section No. List for details. 2.2.3 Sub-section No. (Rn+2, Rn+3 or Dn+2, Dn+3) (LOW HIGH) The sub-section No. of the data to be read/written is designated with a binary. Refer to the 4. Sub-section No. List for details. 2.2.4 Data size (Rn+4 or Dn+4) The size of the data to be read/written is designated with a binary. 1:

1 byte 2:

2 bytes 4:

4 bytes (Note) The date size has not been checked, so give an attention to data size when setting. 2. Usage of DDB Function with Ladder -

4 - 2.2.5 Read/write designated axis (Rn+5 or Dn+5) When reading or writing data per axis classified with the section No., designate the axis and part system. F E D C B A

9 8

7 6

5 4

3 2

1 0

0 : 1st part system

6 : 7th part system Part system designation (Note 1) 1st axis 2nd axis 3rd axis 4th axis 5th axis 6th axis ~ (Note 1) The part system designation is used when there is a multi-part system specification. (Note 2) When reading and writing the axis data, if there is no axis designation or if the designation exceeds the maximum control axes, the alarm No. of axes illegal will occur. 2.2.6 Read/write data (Rn+6, Rn+7 or Dn+6, Dn+7) (LOW) (HIGH) When read is designated, the data designated by the PLC will be output by the CNC. When write is designated, the data to be written will be set by the PLC. 1-byte data 2-byte data 4-byte data Rn+6 L Rn+6 L Rn+6 L (Dn+6) H (Dn+6) H (Dn+6) H L Rn+7 Rn+7 Rn+7 L (Dn+7) Code expansion (Dn+7) Code expansion (Dn+7) H H The valid area of the data will differ according to the data size. (Shaded area) When read is designated, a code will be added to the 1-byte and 2-byte data to create a 4-byte data size. Thus, even when reading 1-byte or 2-byte data,

4 bytes are required for the buffer size. 3. Section No. List -

5 - 3. Section No. List Section No. Details Write Axis designation Part system designation Remarks

1 Parameters common to each axis Possible (partially not possible) Partially valid Partially valid

2 Axis independent parameters Possible Invalid Valid

3 Machine error compensation information Not possible (partially possible) Invalid Invalid

4 Workpiece coordinate system offset, external workpiece coordinate system offset Possible Valid Valid

5 Alarm information Not possible Invalid Valid

6 7

8 9

10 11 Axis common non-modal information in block being executed Not possible Invalid Valid

12 Axis independent non-modal information in block being executed Not possible Valid Valid

13 Axis common modal information in block being executed Not possible Invalid Valid

14 Axis independent modal information in block being executed Not possible Valid Valid

15 Axis common non-modal information in next block Not possible Invalid Valid

16 Axis independent non-modal information in next block Not possible Valid Valid

17 Axis common modal information in next block Not possible Invalid Valid

18 Axis independent modal information in next block Not possible Valid Valid

19 20 Axis common machine control information

1 Not possible Invalid Valid

21 Axis independent machine control information

1 Not possible Valid Valid

22 Information input from PLC to controller Not possible Invalid Valid

23 Information output from controller to PLC Not possible Invalid Valid

下载(注:源文件不在本站服务器,都将跳转到源网站下载)
备用下载
发帖评论
相关话题
发布一个新话题