You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
2.4 KiB
Plaintext
131 lines
2.4 KiB
Plaintext
version = 2021
|
|
[proc]
|
|
pid = 1052
|
|
type = 0
|
|
name = 虚拟进料盘物料二维码
|
|
start =
|
|
pause =
|
|
step_count = 4
|
|
[step]
|
|
sid = 25201
|
|
state = 1
|
|
desc = step1
|
|
script:
|
|
|
|
script_end
|
|
node_count = 0
|
|
[step]
|
|
sid = 25202
|
|
state = 0
|
|
desc = 1-2SN
|
|
script:
|
|
sn = input_tray_sn
|
|
if (1==k)
|
|
{
|
|
time_temp = (input_tray_row-1)*32+(input_tray_col-1)*2+k
|
|
if (time_temp<10) sn += "0"
|
|
if (time_temp<100) sn += "0"
|
|
sn += str(time_temp)
|
|
sn += "-"
|
|
time_temp = (input_tray_row-1)*2+1//行序号
|
|
if (time_temp<10) sn += "0"
|
|
sn += str(time_temp)
|
|
time_temp = (input_tray_col-1)*2+1//列序号
|
|
if (time_temp<10) sn += "0"
|
|
sn += str(time_temp)
|
|
}
|
|
if (2==k)
|
|
{
|
|
time_temp = (input_tray_row-1)*32+(input_tray_col-1)*2+k
|
|
if (time_temp<10) sn += "0"
|
|
if (time_temp<100) sn += "0"
|
|
sn += str(time_temp)
|
|
sn += "-"
|
|
time_temp = (input_tray_row-1)*2+1//行序号
|
|
if (time_temp<10) sn += "0"
|
|
sn += str(time_temp)
|
|
time_temp = (input_tray_col-1)*2+2//列序号
|
|
if (time_temp<10) sn += "0"
|
|
sn += str(time_temp)
|
|
}
|
|
script_end
|
|
node_count = 0
|
|
[step]
|
|
sid = 25203
|
|
state = 0
|
|
desc = 3-4SN
|
|
script:
|
|
if (3==k)
|
|
{
|
|
time_temp = (input_tray_row-1)*32+(input_tray_col-1)*2+17
|
|
if (time_temp<10) sn += "0"
|
|
if (time_temp<100) sn += "0"
|
|
sn += str(time_temp)
|
|
sn += "-"
|
|
time_temp = (input_tray_row-1)*2+2//行序号
|
|
if (time_temp<10) sn += "0"
|
|
sn += str(time_temp)
|
|
time_temp = (input_tray_col-1)*2+1//列序号
|
|
if (time_temp<10) sn += "0"
|
|
sn += str(time_temp)
|
|
}
|
|
if (4==k)
|
|
{
|
|
time_temp = (input_tray_row-1)*32+(input_tray_col-1)*2+18
|
|
if (time_temp<10) sn += "0"
|
|
if (time_temp<100) sn += "0"
|
|
sn += str(time_temp)
|
|
sn += "-"
|
|
time_temp = (input_tray_row-1)*2+2//行序号
|
|
if (time_temp<10) sn += "0"
|
|
sn += str(time_temp)
|
|
time_temp = (input_tray_col-1)*2+2//列序号
|
|
if (time_temp<10) sn += "0"
|
|
sn += str(time_temp)
|
|
}
|
|
script_end
|
|
node_count = 0
|
|
[step]
|
|
sid = 25204
|
|
state = 1
|
|
desc = test
|
|
script:
|
|
|
|
script_end
|
|
node_count = 5
|
|
[node]
|
|
nid = 3520401
|
|
task = 1052
|
|
type = 27
|
|
state = 0
|
|
desc = node1
|
|
cmd = input_tray_row =1
|
|
[node]
|
|
nid = 3520402
|
|
task = 1052
|
|
type = 27
|
|
state = 0
|
|
desc = node2
|
|
cmd = input_tray_col = input_tray_row % 8
|
|
[node]
|
|
nid = 3520403
|
|
task = 1052
|
|
type = 27
|
|
state = 0
|
|
desc = node3
|
|
cmd = if (0==input_tray_col) input_tray_col=8
|
|
[node]
|
|
nid = 3520404
|
|
task = 1052
|
|
type = 27
|
|
state = 0
|
|
desc = node4
|
|
cmd = input_tray_row = (input_tray_row-input_tray_col)/8
|
|
[node]
|
|
nid = 3520405
|
|
task = 1052
|
|
type = 27
|
|
state = 0
|
|
desc = node5
|
|
cmd = input_tray_row++
|