Hello!
Promise SS8 08.11.13.57.
Looking for a possibility to (automatically) build the wire number based on the Device ID (TargetDevice in the Wiring Manager) of the device it connects to. Not terminal, not PLC, but the instrument. Closest I cam is use 'Cable id' if by chance the cable id contains the device id of the instrument it connects to.
Thanks,
Adam
Adam, there is an existing enhancement request (TFS 29912) for this capability, meaning it is not currently available. Different users want different things with respect to this request. Are you expecting the wire number to be a concatenation of the device ID:CP of the devices on each end? Or each end of the wire should show the device ID:CP of the device that end is connected to? Or vice versa? Or maybe something else entirely?
Matt,
The request basically is to have the IO address on one side of the wires in the Jbox and have the Device ID of the instrument on the other side. Having the IO address is not a problem, 'splitting' the number across the terminal is not a problem. I could not find a wire number scheme to allocate the Device ID with any other combination. The closest I can get is to use the cable tag (available in the 'cable type' number scheme) and CP or some other variable to it. In our case the cable ID is based on the instrument device ID but has an alpha and a numeric added to it (like 'Device_ID-CC-01'). Mind you it is the first time we see this request, but based on the TFS you mentioned it is not unheard of.
Adam, so in your example, the wire between the instrument and the terminal block should have the instrument's device ID in the wire number and not the terminal ID or number. And the wire between the terminal and the I/O point should have the I/O address in the wire number and not hte terminal ID or number. Is that corrrect?
Yes this is correct.
Ok, I've added your company to the requestor list for TFS 29912 along with notes from this thread.
Looking for an quick solution for now. I can generate the wire number based on cable ID. My Cable ID is based on 'target' DeviceID. I could could generate the wire numbers with cable type definition and modify the generated numbers in blocks in the wire_number table. I need a way (if you know one) to update the numbers in the drawings form table. It seems that changing the wire number in the table and opening the drawing will not populate the wire number in the drawing with the new (modified) number in the table.
Adam, in general the drawing is considered the "master", so the Maintenance tools typically update the database based on the drawings. The only way I found to get changes to the WireNoText table to be reflected on drawings was to delete the wire labels and add them back. Or I suppose first adding wire labels after changing the data in the table would work too. I can't say this whole idea is a recommended practice, nor guarantee that you will not run into problems using it.