tomfarvour
Member
I have a quick programming question... I'm attempting to use a FFL instruction to load the current month, day, hour, and minute into respective integer stacks:
XIC B93:0/2
XIC B93:0/4
XIO B23:2/4 BST
FFL N97:3 #N247:0 R96:0 20 0 NXB
FFL L99:0 #L248:0 R96:3 20 0 NXB
FFL L99:1 #L249:0 R96:9 20 0 NXB
FFL S:38 #N254:0 R96:15 20 0 NXB
FFL S:39 #N253:0 R96:18 20 0 NXB
FFL S:40 #N252:0 R96:21 20 0 NXB
FFL S:41 #N251:0 R96:24 20 0 BND
However, I get an error
Rung 11 Ins: 11: ERROR: Invalid Data Type!
It seems to be a problem loading the status integers S:39, S:40 etc (the month, day, hour, and minute) in to my stack.
This works fine on the SLC 503... why not on the uLogix 1500?
Thanks!
XIC B93:0/2
XIC B93:0/4
XIO B23:2/4 BST
FFL N97:3 #N247:0 R96:0 20 0 NXB
FFL L99:0 #L248:0 R96:3 20 0 NXB
FFL L99:1 #L249:0 R96:9 20 0 NXB
FFL S:38 #N254:0 R96:15 20 0 NXB
FFL S:39 #N253:0 R96:18 20 0 NXB
FFL S:40 #N252:0 R96:21 20 0 NXB
FFL S:41 #N251:0 R96:24 20 0 BND
However, I get an error
Rung 11 Ins: 11: ERROR: Invalid Data Type!
It seems to be a problem loading the status integers S:39, S:40 etc (the month, day, hour, and minute) in to my stack.
This works fine on the SLC 503... why not on the uLogix 1500?
Thanks!